Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-31 | remove the broken auto-append-'0' code; ok canacar, deraadt, thierry | Markus Friedl | |
2004-05-28 | bpf device cloning. | Alexander Yurchenko | |
Now to have more bpf devices just add device nodes in /dev, no need to recompile kernel anymore. Code from form@pdp-11.org.ru, some help from markus@. ok markus@ canacar@ deraadt@ | |||
2004-05-25 | Return buffered packets when reading from a bpf descriptor and the | Can Erkin Acar | |
interface is detached, and wakeup any polling processes when the bpf descriptor is closed. ok henning@, tedu@ | |||
2004-05-08 | reference count bpf descriptors to protect against disappearing interfaces | Can Erkin Acar | |
while asleep in read. ok deraadt@ | |||
2004-02-24 | sysctl knob for bpf tunables. some tips from canacar@ | Ted Unangst | |
ok canacar@ deraadt@ mcbride@ | |||
2004-02-06 | as seen in netbsd. crank bpf sizes to adapt to faster networks. | Ted Unangst | |
max size goes to 2MB, default goes to 32k. ok canacar@ mcbride@ | |||
2003-12-10 | de-register. deraadt ok | Jun-ichiro itojun Hagino | |
2003-10-24 | Fix write filter blocking when no filter was set. Fixes | Can Erkin Acar | |
problems with dhcp. ok frantzen@ krw@ deraadt@ | |||
2003-10-22 | Add locking and write filtering to bpf descriptors. | Can Erkin Acar | |
Locking prevents dangerous ioctls such as changing the interface and sending signals to be executed by an unprivileged process. A filter can also be applied to packets injected through a bpf descriptor. These features allow programs using bpf descriptors to safely drop/seperate privileges. ok frantzen@ henning@ mcbride@ | |||
2003-10-04 | bpf support for atm cards; from jason@ackley.net | Theo de Raadt | |
none of us can test this, but that does not mean it has to sit in the pr database | |||
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-07-29 | avoid stack smash on FDDI case. found by kernel propolice. | Jun-ichiro itojun Hagino | |
markus ok. miod/paul confirmed | |||
2003-06-18 | Do not panic on no memory available when allocating bufs, pass ENOBUFS | Henning Brauer | |
to userland instead. fixes PRs 2235, 2236 and 2640 from Otto Moerbeek <otto@drijf.net> ok frantzen@, tedu@, deraadt@ | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-01 | When using bpf(4) in immediate mode, and using kevent(2) to receive | Artur Grabowski | |
notification of packet arrival, the usermode application isn't notified until a second packet arrives. This is because KNOTE() calls filt_bpfread() before bd_slen has been updated with the newly arrived packet length, so it looks like there is no data there. Moving the bpf_wakeup() call for immediate mode to after bd_slen is set fixes it. From: wayne@epipe.com.au in pr 3175 | |||
2002-06-06 | kqueue support for bpf; okay markus@ | Niels Provos | |
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-10-02 | change timeval to bpf_timeval; 32 bit in size, permitting much greater ↵ | Theo de Raadt | |
portability | |||
2001-09-15 | Revert the sleep priority to something more sane | Mike Frantzen | |
(the previous priority didn't help performance in tests on a hacked up BPF and it weighed down the load average) | |||
2001-06-08 | Move ifpromisc() from bpf.c to if.c, include cleanup. | Angelos D. Keromytis | |
2001-05-28 | add BIOC[GS]HDRCMPLT ioctl for BPF, to disable overwriting of link level ↵ | Dug Song | |
source address in forged frames. from NetBSD. art@ok | |||
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
2001-04-04 | check for return value of ENODEV from ifpromisc(). This will happen | Jason Wright | |
at detach time when if_detach_ioctl() has been installed for an outgoing interface and does not represent an error. | |||
2001-03-25 | Don't set pbp to point to free memory. Thanks to Dawson Engler and team | Constantine Sapuntzakis | |
2001-03-13 | allow configuring number of these in ukc | Michael Shalayeff | |
2000-06-19 | de-#ifdef-ize | Jason Wright | |
2000-06-08 | Add explicit inclusions of signalvar.h to files actually using syms defined | Niklas Hallqvist | |
there but relying on an indirect inclusion | |||
2000-03-23 | Remove code from the stone age. | Artur Grabowski | |
2000-02-19 | set interface fields to null when detaching substructures | Niklas Hallqvist | |
in preparation for softc retainment. | |||
1999-08-10 | code we do not use, had a typo; sirsyko@temp.ishiboo.com | Theo de Raadt | |
1999-08-08 | Support detaching of network interfaces. Still work to do in ipf, and | Niklas Hallqvist | |
other families than inet. | |||
1999-05-26 | Implement DLT_RAW, DLT_{SLIP,PPP}_BSDOS from libpcap 0.4 | Brad Smith | |
1999-04-22 | we don't need to include buf.h | Artur Grabowski | |
1998-11-12 | crank BPF_BUFSIZE so that fddi frames fit | Theo de Raadt | |
1998-06-26 | fix bpf select(); from mts@rare.net | Theo de Raadt | |
1997-09-30 | Check for NULL argument in bpf_mtap(). Some ethernet drivers | Todd C. Miller | |
can call this with a NULL pointer, resulting in a panic. Matthias Scheler <tron@lyssa.owl.de> | |||
1997-09-05 | make bpfread return ENXIO if a read is attempted on an uninitialized | Theo de Raadt | |
descriptor; newsham@secnet.com | |||
1997-08-31 | for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uid | Theo de Raadt | |
and euid as well, then deliver them using new csignal() interface which ensures that pgid setting process is permitted to signal the pgid process(es). Thanks to newsham@aloha.net for extensive help and discussion. | |||
1997-03-17 | Removed static specifiers. Align bpf headers on sizeof(long) boundaries | Niklas Hallqvist | |
as it begins with a timeval struct. This fixes the alpha bpf panics. Removed double prototypes. Reordered includes. The last change came from NetBSD. Updated $NetBSD$ tags. Slight KNF too. | |||
1997-02-12 | mark descriptors free in bpfilterattach() instead of bpfattach(); clearly | Theo de Raadt | |
must not re-marking them when new interfaces are added while one or more bpf channels are in use; my fix to netbsd pr#3189, Jean-Luc.Richier@imag.fr | |||
1997-01-27 | select subsystem si_pid becomes si_selpid, to not conflict against ↵ | Theo de Raadt | |
user/kernel siginfo si_pid #define | |||
1996-12-07 | avoid race, avoid mbuf leak | Theo de Raadt | |
1996-06-18 | bpf BIOCSRTIMEOUT can round tv_usec down to zero & block; netbsd pr#2531; ↵ | Theo de Raadt | |
jhawk@mit.edu | |||
1996-05-10 | if_name/if_unit -> if_xname/if_softc | Theo de Raadt | |
1996-04-21 | partial sync with netbsd 960418, more to come | Theo de Raadt | |
1996-03-03 | From NetBSD: 960217 merge | Niklas Hallqvist | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |