2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

74 Commits

Author SHA1 Message Date
Shawn Routhier
7aa153b882 Primarly fix the trace code. This was broken during the modfictions of the
DDNS code to use the bind libraries.  This patch fixes that breakage and
includes support for the new DDNS code.  This patch also deletes some dead
code and neatens up some log messages.
2010-02-11 23:55:36 +00:00
Shawn Routhier
3ac2a573a5 Cleanup for ddns changes ticket rt20527 2009-10-29 00:46:48 +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
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
David Hankins
39725d921f Version to 4.0.0a3.
README/RELNOTES to new version.
Copyright updates.
2007-09-05 17:32:10 +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
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +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
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
eb6b5a2014 Subroutinize some stuff so that it can be called in trace playback. 2001-02-12 19:41:30 +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
bdcaf7b95d Incorporate Brian Murrell's new OMAPI DHCP client changes. 2000-02-15 20:40:36 +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
eac1e66f4b Fix a typo. 1999-10-04 23:46:30 +00:00
Ted Lemon
00763cc18e Log a message if omapi_one_dispatch fails. 1999-10-04 23:14:00 +00:00
Ted Lemon
ce26120d2c Move locate_network out of common code, since it's server-specific. 1999-09-28 22:50:02 +00:00
Ted Lemon
16be393750 Use OMAPI dispatcher 1999-09-08 01:44:21 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
b25cbbad95 Update some comments. 1999-02-14 18:46:20 +00:00
Ted Lemon
7d77172d26 Move discover_interfaces and relate goop to discover.c 1998-10-17 13:35:24 +00:00
Ted Lemon
ca0e3669b8 Read DHCP packet into aligned buffer and pass it as a struct pointer instead of a character buffer. 1998-06-25 02:55:16 +00:00
Ted Lemon
fb1989a8aa Check HAVE_SIN_LEN in sockaddr_dl code. Kludge hardware address length for now if HAVE_SIN_LEN isn't set. Return pointer to struct proto from add_protocol. 1998-04-09 04:30:00 +00:00
Ted Lemon
15c1fd2cd8 Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI. 1998-03-16 06:16:54 +00:00
Ted Lemon
161d49ebc8 Handle token ring... 1997-12-06 04:03:37 +00:00
Ted Lemon
93ad415e65 Use ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized. errno, not ERRNO. 1997-11-29 07:51:09 +00:00
Ted Lemon
6ba81331d1 Fix typo in comment. 1997-11-22 07:51:38 +00:00
Ted Lemon
73d0a743c4 Define quiet_interface_discovery. Don't consider EAGAIN or EINTR to be fatal in poll(). 1997-10-20 21:47:54 +00:00
Ted Lemon
78b8c3061c If sa_len is zero, skip interface. Add remove_protocol. Fix automatic/manual interface selection. 1997-09-16 18:12:32 +00:00
Ted Lemon
b52a650cbc Don't select for exceptions, since we don't know how to handle them. 1997-06-02 22:31:30 +00:00
Ted Lemon
a198e2673e Fix stupid allocation bug. Handle IFF_POINTTOPOINT only if defined 1997-05-09 08:00:50 +00:00
Ted Lemon
94b63c6467 Wrap prototype with PROTO for SunOS 1997-03-29 10:36:56 +00:00
Ted Lemon
b607837f9a Don't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined 1997-03-29 01:39:38 +00:00
Ted Lemon
9652af24d0 Skip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeout -> what, not timeout -> interface 1997-03-29 00:02:45 +00:00
Ted Lemon
c800b2aa41 Traversal of interface list to weed out bad interfaces was broken when I added the dummy interface list - fix is to save the next pointer before weeding out interfaces. 1997-03-06 07:06:08 +00:00
Ted Lemon
e4749e754c Make dispatch() run through a list of protocol structures to select against, rather than running through the interface list and then special casing other stuff. This simplifies things substantially. add_protocol() function allows new protocols to be selected against. Timeouts now pass a void * instead of a struct interface_info *. Move do_packet into options.c so that options.c isn't pulled into dhcrelay. 1997-03-06 06:52:30 +00:00
Ted Lemon
e7b9429fea Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin 1997-03-05 08:39:38 +00:00
Ted Lemon
fb4693d230 Only supply prototypes where appropriate 1997-02-26 18:25:07 +00:00
Ted Lemon
11777d4819 Add DISCOVER_RELAY state 1997-02-22 12:26:41 +00:00
Ted Lemon
1f2d04e414 Fix up select version of dispatch to take parse argument 1997-02-22 10:55:40 +00:00
Ted Lemon
eb8c87b634 dispatch() now takes an argument indicating whether to decode the packet or just call relay(); save the first ip address we encounter for each interface as the primary address. 1997-02-22 08:34:16 +00:00
Ted Lemon
c358521715 Restructure to allow interface reinitialization 1997-02-19 10:51:44 +00:00
Ted Lemon
6806c5ae3f Add support for timeouts; add support for scanning interfaces before they have addresses assigned. 1997-02-18 14:33:43 +00:00
Ted Lemon
469cf3a4b5 Initial merge of Poger dhclient and linux hacks 1997-01-02 12:00:19 +00:00
Ted Lemon
0b5d360d4b replace ARPHRD with HTYPE 1996-11-08 20:09:41 +00:00
Ted Lemon
3a2087ec92 discover_interfaces() needs to behave differently for client and server 1996-09-11 18:53:33 +00:00
Ted Lemon
688a235b8e dmalloc already zeros allocated memory 1996-09-11 06:35:16 +00:00