Thomas Markwalder
7ff6ae5aa8
[master] Checkum handling fixes
...
Merges in rt22806
2014-09-18 15:25:02 -04:00
Shawn Routhier
59a351d6d5
[master] Enhance support for vlans on freebsd.
2014-05-19 14:01:20 -07:00
Shawn Routhier
8ee352ee9a
[master] Tidy up bpf processing
...
Make bpf processing a bit better so we properly
process broken packets and their successors
2014-01-24 20:00:12 -08:00
Shawn Routhier
32e651c418
A problem with missing get_hw_addr function when --enable-use-sockets
...
was used is now solved on GNU/Linux, BSD and GNU/Hurd systems. Note
that use-sockets feature was not tested on those systems. Client and
server code no longer use MAX_PATH constant that is not defined on
GNU/Hurd systems. [ISC-Bugs 25979]
2012-06-08 23:28:11 +00:00
Shawn Routhier
a47d63362f
Update copyright years
2009-11-24 02:06:57 +00:00
Shawn Routhier
2c85ac9b24
Switch isc urls from http to https and correct sw to services or software
...
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
David Hankins
0829d595f8
- If configured, dhclient may now transmit to an anycast MAC address,
...
rather than using a broadcast address. Thanks to a patch from David
Cantrell at Red Hat. [ISC-Bugs #17740 ]
2009-03-13 21:41:45 +00:00
Shane Kerr
9aa669fc96
Warning-enabled build fixes for BSD.
2007-08-23 09:49:51 +00:00
Shane Kerr
28868515f6
Code cleanup to remove warnings from "gcc -Wall".
...
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
David Hankins
3d1cf13dac
Merge errors on rt16890.
2007-05-19 23:39:51 +00:00
David Hankins
203ec8e289
- Parse AF_LINK contents properly - sa->sdl_type is the hardware type,
...
not if_addr->sa_family ("AF_LINK" != "ARPHRD_ETHER"). [ISC-Bugs #16890 ]
2007-05-19 23:28:38 +00:00
David Hankins
fe5b0fdd70
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
...
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
d1045c25b5
Conditionally include ifaddrs.h if USE_BPF_RECEIVE is defined. 'struct
...
ifaddr' is only used if this method is being used for receive, and not all
systems have ifaddrs.h. [ISC Bugs #16865-p1].
2007-05-19 16:14:48 +00:00
David Hankins
4ba5891941
- DHCPv4 I/O methods that failed to sense hardware address were corrected.
...
[ISC-Bugs #16881 ]
- DHCPv4 is now the default (as documented) rather than DHCPv6. The default
was set to DHCPv6 to facilitate ease early development, and forgotten.
[ISC-Bugs #16881 ]
- Corrected a segmentation violation in DHCPv4 socket processing.
[ISC-Bugs #16881 ]
2007-05-18 17:21:46 +00:00
Shane Kerr
99fe695e1c
FreeBSD, NetBSD, OpenBSD support added in (again).
...
See RT ticket #16865 for more (still expect some warnings).
2007-05-16 22:27:35 +00:00
Evan Hunt
83c0372e28
Assorted fixes for broken network devices: IP header length field is now
...
determined from payload, because some NIC drivers return more data than
they actually recived; IP and UDP packets now stored in aligned data
structures; outgoing packet TTL increased from 16 to 128. [rt15583]
2007-04-27 23:54:06 +00:00
David Hankins
98311e4ba9
MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
...
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Murray
d1d0d78ad5
When an interface goes away in FreeBSD, read(2) returns ENXIO, not
...
EIO.
This fixes an annoying infinite-loop bug on FreeBSD.
Fix suggested by: mellon
2002-06-08 09:28:15 +00:00
Ted Lemon
611ba57c99
Fix an incorrect use of BPF_WORDALIGN
2001-04-08 21:12:49 +00:00
Ted Lemon
89000b2e13
If we get an EIO on read, the interface is gone, so delete it.
2001-04-05 20:47:34 +00:00
Ted Lemon
c466184540
Fix up NetBSD/alpha build.
2001-02-26 22:21:15 +00:00
Ted Lemon
e93c7089ca
Account for word alignment of buffer returned by bpf.
2000-12-28 23:13:07 +00:00
Ted Lemon
eec641ca22
Word-align BPF buffers.
2000-11-30 18:12:56 +00:00
Ted Lemon
52b2c64036
Don't compile in token ring stuff if we don't support it.
2000-10-10 22:00:09 +00:00
Ted Lemon
5cefe5e556
- Do what people expect when they don't declare the subnet to which an
...
interface is attached.
2000-09-01 23:03:39 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
68e1f67a18
- Fix a mistake that was causing the fallback interface not to be used (thanks
...
to Christof Chen for catching this!)
2000-06-08 21:14:16 +00:00
Ted Lemon
20916cae75
- Fix all the OMAPI objects in the DHCP server and client that weren't
...
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
201601d5bf
dhcp_fddi_filter -> bpf_fddi_filter
2000-04-14 16:17:35 +00:00
Ted Lemon
0e944b0662
Fix credits section.
2000-04-06 23:49:29 +00:00
Ted Lemon
95e585542a
Add support for a DEC FDDI input filter.
2000-03-24 00:21:47 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
7203e8eedf
Add interface deregistration routines (Brian Murrell).
2000-03-06 19:39:54 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
31730f17c7
struct hardware conversion.
2000-01-05 18:01:15 +00:00
Ted Lemon
ab58ff49e0
Fix up args to printf-like functions (thanks to Pedro Ribiero).
1999-10-12 16:00:34 +00:00
Ted Lemon
8ca113391a
Fix a few more machine-specific signed vs. unsigned pointer bufs.
1999-10-07 06:47:50 +00:00
Ted Lemon
e92653f1ec
Bug fixes courtesy of Brian Murrell
1999-09-09 23:53:29 +00:00
Ted Lemon
acc2151278
Make interfaces OMAPI objects.
1999-09-08 01:44:08 +00:00
Ted Lemon
7d29d66d88
Support token ring packets.
1999-05-27 17:43:28 +00:00
Ted Lemon
c5b0f52958
Sanitize Solaris build.
1999-03-16 06:37:55 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
21d21e9172
Add interface argument to can_*().
1999-03-13 18:56:47 +00:00
Ted Lemon
b547818bbf
Add can_receive_unicast_unconfigured
1999-03-13 18:53:15 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
d2bc90bd80
Pull up recent 2.0 changes.
1999-02-14 19:04:05 +00:00
Ted Lemon
3648a2a167
Don't print startup banner if quiet_interface_discovery is set
1997-10-20 21:47:15 +00:00
Ted Lemon
4595a58c25
size_t -> ssize_t in return values where < 0 == error
1997-06-08 03:18:09 +00:00
Ted Lemon
8d929f2fa2
Remove if_enable()
1997-02-26 05:20:53 +00:00