From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8195a99e7982bad4 X-Google-Attributes: gidfee84,public From: Martin Gall Subject: Re: Packetfilter(7) -- Suggestions? Date: 1999/02/09 Message-ID: <36C060EC.167E@capmedia.fr>#1/1 X-Deja-AN: 442438116 Content-Transfer-Encoding: 7bit References: <79ne55$ctv$1@newsflash.concordia.ca> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@oleane.net X-Trace: minus.oleane.net 918573268 27939 195.25.99.1 (9 Feb 1999 15:14:28 GMT) Organization: Guest of OLEANE Mime-Version: 1.0 NNTP-Posting-Date: 9 Feb 1999 15:14:28 GMT Newsgroups: comp.unix.osf.osf1 Sylvain Robitaille wrote: > > Hello, > > I've been meaning to use the packet filtering ability of DEC Unix-4.0B, > (I will be upgrading to 4.0E in the very near future, so if there's > something in that version that I should wait for, I'm prepared to wait). > > 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. > > I hope someone on this newsgroup can give me some pointers that might > help me create such a packet filter. > > Followups to the newsgroup would be my preference, but if this subject > is not wholly appropriate to the newsgroup, I'll gladly accept email > replies. > You'll need to use a sentry (e.g. NSR or http://www.capmedia.fr/mgall).