Commit Graph

25 Commits

Author SHA1 Message Date
christos 9ab78e153b use /dev/bpf 2004-12-01 23:45:12 +00:00
dsl cfe7f80ff0 Add (unsigned char) cast to ctype functions 2004-10-29 20:51:11 +00:00
perry 808ab1197e Use packet length from IP header instead of packet length from BPF
header.
Patches given to me by Ted Lemon.
This avoids using potentially garbage data returned if the ethernet
driver returns a packet that's too long.
2004-10-22 05:22:39 +00:00
darrenr 221fa57241 With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.)  In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
mellon de4e43d0c5 - Add declarations for lhs_context and rhs_context. For some reason these
were missing from the diff between 3.0.1rc11 and 3.0.1rc12, so the previous
  commit didn't compile.   :'(
2003-10-27 21:08:25 +00:00
mellon 0f26f5c9ea - Apply patches from ISC DHCP 3.0.1rc12 to correct a parser bug that causes
the ISC DHCP server to fail to start when it is configured to use the
  ad-hoc DNS update mechanism.   This fixes PR#20460 and PR#23284 (once
  this is pulled up to the 1.6 branch).
2003-10-27 20:16:09 +00:00
mellon 5ec655da0e increase ttl - internet is getting big. 2003-10-24 05:30:33 +00:00
mycroft 769c59467e The I/O path is assymetric -- we can't deal with IPsec packets coming in, so
don't send them out.  For now.

XXX "Oh my does this need work."
2003-09-25 01:01:39 +00:00
abs 7aabc9df8a Skip !IFF_BROADCAST interfaces (such as strip). After discussion
with Ted Lemon leave in checks for IFF_LOOPBACK and IFF_POINTTOPOINT
in case an OS incorrectly marks them with IFF_BROADCAST.
Patch submitted back to dhcp-server@isc.org
2003-05-16 15:16:41 +00:00
drochner b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
drochner 49c6e76122 import of ISC dhcp-3.0.1rc11 2003-02-18 16:37:52 +00:00
drochner 7020df4066 make it compile with -Wall again 2002-06-11 14:12:58 +00:00
drochner c12aee07f2 merge dhcp-3.0.1rc9 2002-06-11 13:59:59 +00:00
drochner 0fbf47fd83 import of ISC dhcp-3.0.1rc9 2002-06-11 12:24:31 +00:00
itojun 5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
itojun 5ecb76484a missing initialization of sockaddr. from deraadt 2002-06-02 15:17:17 +00:00
wiz 6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz b8625f9b65 extensions-path-name -> extensions-path (misc/14147). 2001-10-04 12:26:25 +00:00
eeh c994f996ff Fix LP64 bug. 2001-08-24 15:28:47 +00:00
drochner 6c1ac34eb0 remove .cvsignore files which got imported inadvertently, as pointet
out by Ben Harris
2001-08-07 08:31:16 +00:00
wiz 2b4b375b7e Remove unneeded files. okay'd by drochner. 2001-08-03 15:35:09 +00:00
drochner fce24bb552 pull in manpage adaptions / corrections from usr.sbin/dhcp 2001-08-03 13:34:08 +00:00
drochner e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00