2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 02:47:42 +00:00

90 Commits

Author SHA1 Message Date
Shawn Routhier
fc48033aa1 [master] Remove an extra set of msg_controllen 2014-04-28 14:32:46 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
4b8251a0c0 -n [master]
Fix the socket handling for DHCPv6 clients to allow multiple instances
of a clinet on a single machine to work properly.
[ISC-Bugs #34784]
2013-10-21 14:59:41 -07:00
Francis Dupont
eff1c7d831 set SO_REUSEPORT only for multicast 2013-09-25 10:22:43 +02:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Tomek Mrugalski
dd9237c309 Fixed many compilation problems ("set, but not used" warnings) for
gcc 4.6 that may affect Ubuntu 11.10 users. [ISC-Bugs #27588]
2012-03-09 11:18:14 +00:00
Shawn Routhier
b047bd385b Add support for Infiniband over sockets to the server and
relay code.  We've tested this on Solaris and hope to expand
support for Infiniband in the future.  This patch also corrects
some issues we found in the socket code.  [ISC-Bugs #24245]
2012-02-16 21:05:28 +00:00
Shawn Routhier
865afd5e44 Tidy up the receive calls and eliminate the need for found_pkt
[ISC-Bugs #25066]
2012-02-10 00:07:06 +00:00
Shawn Routhier
7cfeb9160d In Solaris 11 switch to using sockets instead of DLPI, thanks
to a patch form Oracle.  [ISC-Bugs #24634].
2011-06-27 16:00:32 +00:00
Shawn Routhier
436e808ad1 Update to 20378, print receive_packet6 in the log message 2010-09-09 22:49:58 +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
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +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
ecddae64a2 - The v6 BSD socket method was updated to use a single UDP BSD socket
no matter how many interfaces are involved, differentiating the
  interfaces the packets were received on by the interface index supplied
  by the OS.
- The relay agent no longer listens to the All DHCP Servers Multicast
  address.
- A bug was fixed in data_string_sprintfa() where va_start was only called
  once for two invocations of vsprintf() variants.
  [ISC-Bugs #17610b]
2008-08-29 17:48:57 +00:00
David Hankins
0524508a91 Backing out [ISC-Bugs #17610] 2008-08-08 22:37:46 +00:00
David Hankins
08c4e7ce2b - The BSD socket code will now permit multiple DHCPv6 server instances to
operate on different interfaces. [ISC-Bugs #17610]
2008-08-08 20:26:57 +00:00
Evan Hunt
7de20a9518 - Merge dhcrelay6 into dhcrelay
- Prep for 4.1.0a2 release
2008-06-13 00:55:53 +00:00
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Shane Kerr
cff9b78fca Build fixes for Solaris 9.
See RT ticket #17444 for more.
2008-01-09 23:02:42 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
David Hankins
c71c6399b1 - sendmsg()/recvmsg() control buffers are now declared in such a way to
ensure they are correctly aligned on all (esp. 64-bit) architectures.
  [ISC-Bugs #17087b]
2007-10-23 21:39:56 +00:00
Shane Kerr
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +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
049833eee0 Do not try to sense the hardware address of the interface "fallback"
which we produce artificially.
2007-05-19 23:16:13 +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
6705543f81 - Additional warnings and such from robie. [ISC-Bugs #16865d] 2007-05-17 18:27:11 +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
David Hankins
a512d11b6d - Corrected some situations where variables might be used without being
initialized. [ISC-Bugs #16865]

- Silenced several other compiler warnings. [ISC-Bugs #16865]

- Include the more standard sys/uio.h rather than rely upon other header
  files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865]
2007-05-11 15:50:18 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
David Hankins
41e4506776 - DHCPD is now RFC2131 section 4.1 compliant (broadcast to all-ones ip and
ethernet mac address) on the SCO platform specifically without any strange
  ifconfig hacks.  Many thanks go to the Kroger Co. for donating the
  hardware and funding the development. [V3-0-1-KROGER-WORK-BRANCH] - funded
  development.
2006-07-25 17:41:18 +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
4089dd2111 Merge from branch: Don't print errors in fallback_discard(). 2002-06-09 22:19:37 +00:00
Murray
5c1f23c421 Properly initialize sockaddr
Submitted by:	Jun-ichiro itojun Hagino <itojun@iijlab.net>
RT #:		3040
2002-06-09 22:17:09 +00:00
Ted Lemon
a47105d60d Fix Linux 2.0 fallback setup bug. 2000-09-30 01:24:55 +00:00
Ted Lemon
3782236d61 Fix if_deregister_send compilation on old linuces. 2000-09-12 20:23:54 +00:00
Ted Lemon
950c6a0699 Fix fallback interface setup code. 2000-09-11 17:39:14 +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
7eae478ed8 Make the "can't bind" error message more helpful. 2000-07-20 03:15:00 +00:00
Ted Lemon
3bd7d53fec Don't use SO_USELOOPBACK 2000-05-03 23:05:37 +00:00
Ted Lemon
d92a27a77c Allow a local address to be specified (so I can run two servers at once). 2000-05-01 23:31:49 +00:00
Ted Lemon
05af58984c Replace a missing right brace that got deleted. 2000-04-06 23:56:01 +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
d1f313b300 socklen_t -> SOCKLEN_T 2000-02-03 03:43:51 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
e48c5c5cc1 Fix linux-specific casting error. 2000-01-02 22:21:23 +00:00
Ted Lemon
a1b705e544 Fix Linux compile. 1999-10-24 23:23:41 +00:00
Ted Lemon
deeef5295a Cast unsigned to signed for Solaris. 1999-10-24 17:17:51 +00:00