2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 01:49:35 +00:00

54 Commits

Author SHA1 Message Date
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Tomek Mrugalski
f6b8f48d16 [#189] Whitespace fixes in opened files 2022-01-20 12:04:28 +01:00
Tomek Mrugalski
429a56d73c [#189] ISC address updated 2022-01-20 12:04:28 +01:00
Francis Dupont
563f0b8aef Merged rt44535 (relay port) 2017-12-23 01:18:23 +01:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Thomas Markwalder
9deef2e73e [master] Pre-release tag prep for 4.3.4b1: version #, copyright etc... 2016-03-04 16:19:27 -05:00
Thomas Markwalder
0f1a34e915 [master] Fixed interface device naming for DLPI under Solaris 11
Merges in rt37954.
2016-02-23 07:09:17 -05:00
Thomas Markwalder
7ff6ae5aa8 [master] Checkum handling fixes
Merges in rt22806
2014-09-18 15:25:02 -04:00
Shawn Routhier
cc17cbc398 [master]
[rt33032]
    Move declaration of fudge so it's only declared if we will use it.
2013-04-08 11:14:20 -07:00
Tomek Mrugalski
a34feb7d81 - Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
[ISC-Bugs #13151]
2011-05-11 14:01:25 +00:00
Shawn Routhier
17a8f0e2b4 Modify the dlpi code to accept getmsg() returning a positive value.
[ISC-Bugs #22824]
2011-02-18 19:12:50 +00:00
Shawn Routhier
57fbc77221 Another batch of fixes
Correct error handling in DLPI [ISC-Bugs #20378]
 Remove __sun__ and __hpux__ typedefs in osdep.h as they are now being
 checked in configure.  [ISC-Bugs #20443]
 Modify how the cmsg header is allocated the v6 send and received routines
 to compile on more compilers.  [ISC-Bugs #20524]
 When parsing a domain name free the memory for the name after we are
 done with it.  [ISC-Bugs #20824]
2010-09-09 22:18:02 +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
a57df74a1a - Compilation on Solaris with USE_SOCKETS defined in includes/site.h has
been repaired.  Other USE_ overrides should work better. [ISC-Bugs #19434]

- A check for the local flavor of IFNAMSIZ had a broken 'else' condition,
  that probably still resulted in the correct behaviour (but wouldn't use
  a larger defined value provided by the host OS). [ISC-Bugs #19434]
2009-04-30 18:42:52 +00:00
David Hankins
f9453d21f2 - A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server
to stop receiving packets is fixed.  The same fix also means that the MAC
  address will no longer appear 'bogus' on DLPI-based systems.
  [ISC-Bugs #19186]

- A bug in select handling was discovered where the results of one select()
  call were discarded, causing the server to process the next select() call
  and use more system calls than required.  This has been repaired - the
  sockets will be handled after the first return from select(), resulting in
  fewer system calls.  [ISC-Bugs #19186]
2009-03-24 18:33:52 +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
Francis Dupont
27905a7d5e fix sunos compile 2008-02-29 23:57:56 +00:00
David Hankins
2394b26b27 - Additional compilation problems on HP/UX have been repaired.
[ISC-Bugs #17201]
2007-10-08 14:27:53 +00:00
David Hankins
109e00db7f - Compilation with DLPI and -Werror has been repaired. [ISC-Bugs #17189] 2007-10-03 23:36:27 +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
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
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
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +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
Ted Lemon
b089b9af9e Apply a patch supplied by Tuan Uong for a buffer offset error. 2001-04-05 20:53:01 +00:00
Ben Cottrell
3d2aa1bff4 More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.
2001-03-16 22:12:19 +00:00
Ben Cottrell
c9007bfd68 Doh! Syntax error that I really should have noticed. Hind paw firmly
entrenched in muzzle.
2001-02-02 18:14:17 +00:00
Ben Cottrell
00bb1cad79 Patch from Joost Mulders <dhcp@j-mulders.demon.nl> to make DLPI work better,
especially on Solaris/x86.
2001-01-31 19:00:34 +00:00
Ted Lemon
298ab04561 Fix a small nit in the dlpi code. 2001-01-25 21:54:25 +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
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
d4feef6509 Fixups for haddr/htype->hbuf 2000-01-25 01:07:41 +00:00
Ted Lemon
cbc6bf4b97 Correct printf argument type (Brian Murrell) 1999-10-14 17:47:54 +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
c541727bf5 Add recognition of token ring hardware type. 1999-05-27 14:10:22 +00:00
Ted Lemon
61629d4876 Only one binary file copyright required. 1999-04-25 13:17:17 +00:00
Ted Lemon
341b9d40a1 Add binary file copyright. 1999-04-23 22:07:38 +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