tcpdump mailing list archives

Re: Dropping Packets


From: Michael Richardson <mcr () sandelman ottawa on ca>
Date: Mon, 04 Oct 2004 20:13:25 -0400

-----BEGIN PGP SIGNED MESSAGE-----


"Jonathan" == Jonathan Smith <ctcljavarox () yahoo com> writes:
    Jonathan> Hello, Does anybody know if the pcap library supports
    Jonathan> dropping packets?  (As in, blocking them, like a firewall)
    Jonathan> Also, if not, what other libraries can I use?  (And how
    Jonathan> :D)

  It does not.
  pcap can use kernel or userland filters to limit which packets are
passed up, but it does not affect what packets the kernel receives.
  use a firewall system appropriate to your OS.

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr () xelerance com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQWHnJIqHRg3pndX9AQFuygQA7NITPWEbaH+/urHgkgfHSVuNcAUXZDSB
uQeU9A8iPfHw6toxIFMCWvVowADk34ouOdt5M82KZSBRK2O04ncQrPeSsr7pRpyk
V7eppxGG1U5Ch+QcuFCliFArzkmMHq81BLJO2VJhnKYbLcY346Mk+7T9z07VCyJy
hw54RUP2EtE=
=Bgyb
-----END PGP SIGNATURE-----
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: