From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: packetfiltering. how to use it?
Date: 1999/10/19 [thread overview]
Message-ID: <7ui7ul$cgs$1@nserve1.acs.ucalgary.ca> (raw)
In-Reply-To: 7ui2vk$9oa$1@nsl.nts.nnov.ru
Alexei Sorokin (Alexei.Sorokin@rcm.nnov.ru) wrote:
: i have installed packetfilter package on DU4.0f and configured kernel as
: described in man.
: however i can't still understand how to tune packetfilter to reject some
: tcp/udp packets.
: let's say how can i filter all smtp (tcp 25) or dns (udp 53) packets?
You can't. The packetfilter interface in DU is for programs which wish
to access raw Ethernet packets to do some processing IN ADDITION to
whatever is done by the kernel. This is particularly useful for packets
which kernel "processes" by dropping them :-)
You can configure DU IP stack to drop *all* packets coming from a range
of IP adresses (see man ifconfig). However, this does not allow you to
selectively drop packets depending on port and protocol.
Cheers,
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
next prev parent reply other threads:[~1999-10-19 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-19 4:00 packetfiltering. how to use it? Alexei Sorokin
1999-10-19 4:00 ` Serguei Patchkovskii [this message]
1999-10-19 4:00 ` Pit Linnartz
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