From: mogul@actitis.pa.dec.com (Jeffrey Mogul)
Subject: Re: Packetfilter(7) -- Suggestions?
Date: 1999/02/09 [thread overview]
Message-ID: <79o241$45j@usenet.pa.dec.com> (raw)
In-Reply-To: 79ne55$ctv$1@newsflash.concordia.ca
In article <79ne55$ctv$1@newsflash.concordia.ca>, syl@alcor.concordia.ca (Sylvain Robitaille) writes:
|> The plan is simple: I would like to be able to apply a packet filter to
|> IP packets destined for a particular port on the host. There is only one
|> network adapter on the host. I would have preferred to use something
|> like tcp_wrappers, but the service I'm concerned about is not wrappable,
|> and it is commercial software, so I can't modify it to use libwrap.
|>
|> The use of a firewall has been considered, but this *is* a university,
|> so I need something with a finer granularity, (thus the idea of
|> packet-filtering on the host).
|>
|> I know it's possible to do, but I don't see any evidence that anyone's
|> doing this, either on this newsgroup or on the alpha-osf-managers
|> mailing list. I've reviewed the /usr/examples/packetfilters/pfsamp.c
|> file, as well as /usr/include/net/pfilt.h, but this still isn't really
|> clear to me.
Actually, it's not possible to do. (I should point that I wrote
a large chunk of the packetfilter code in the kernel, a long time
ago.)
The packetfilter is specifically designed NOT to disturb packets
that would normally go to a port on the local host.
If you want to set up the system as a firewall, you could use
the "screend" facility (which I also designed). But this also
will not affect packet delivery to ports on the local host.
And apparently you cannot use tcp_wrappers, so I think you
are pretty much out of luck, for now.
Sorry,
-Jeff
next prev parent reply other threads:[~1999-02-09 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-08 5:00 Packetfilter(7) -- Suggestions? Sylvain Robitaille
1999-02-09 5:00 ` Jeffrey Mogul [this message]
1999-02-09 5:00 ` Sylvain Robitaille
1999-02-09 5:00 ` Martin Gall
1999-02-09 5:00 ` Sylvain Robitaille
1999-02-10 5:00 ` Mark Gelinas USG
1999-02-12 5:00 ` Peter Mayne
1999-02-16 5:00 ` Sylvain Robitaille
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox