]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
27 years agoAllow trailing dot in hostnames.
Ted Lemon [Tue, 17 Mar 1998 06:13:02 +0000 (06:13 +0000)] 
Allow trailing dot in hostnames.

27 years agoIf client sends a packet with a larger option buffer than allowed in the standard...
Ted Lemon [Tue, 17 Mar 1998 06:12:17 +0000 (06:12 +0000)] 
If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer.

27 years agoDo memcpy inside of if statement since results are only used there. Add ns_inaddr_l...
Ted Lemon [Tue, 17 Mar 1998 06:11:25 +0000 (06:11 +0000)] 
Do memcpy inside of if statement since results are only used there.   Add ns_inaddr_lookup (commented out for now).

27 years agoStore query in query buffer in query structure, not in the query structure itself.
Ted Lemon [Tue, 17 Mar 1998 06:09:59 +0000 (06:09 +0000)] 
Store query in query buffer in query structure, not in the query structure itself.

27 years agoFix line buffer handling
Ted Lemon [Tue, 17 Mar 1998 06:09:11 +0000 (06:09 +0000)] 
Fix line buffer handling

27 years agoDon't memset allocated memory if we didn't allocate it.
Ted Lemon [Tue, 17 Mar 1998 06:08:49 +0000 (06:08 +0000)] 
Don't memset allocated memory if we didn't allocate it.

27 years agoMake install directories from top down.
Ted Lemon [Tue, 17 Mar 1998 06:08:19 +0000 (06:08 +0000)] 
Make install directories from top down.

27 years agoMake install directories from top down. Quiet client script test.
Ted Lemon [Tue, 17 Mar 1998 06:08:07 +0000 (06:08 +0000)] 
Make install directories from top down.   Quiet client script test.

27 years agoSite-specific Makefile configuration.
Ted Lemon [Tue, 17 Mar 1998 06:06:49 +0000 (06:06 +0000)] 
Site-specific Makefile configuration.

27 years agoInclude a site.conf file after Makefile.dist.
Ted Lemon [Tue, 17 Mar 1998 06:06:35 +0000 (06:06 +0000)] 
Include a site.conf file after Makefile.dist.

27 years agoDon't *require* a /etc/dhclient.conf file.
Ted Lemon [Mon, 16 Mar 1998 20:00:00 +0000 (20:00 +0000)] 
Don't *require* a /etc/dhclient.conf file.

27 years agoDeclare arguments that can be promoted so that the compiler's behaviour doesn't chang...
Ted Lemon [Mon, 16 Mar 1998 06:19:46 +0000 (06:19 +0000)] 
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.   Fix signed vs. unsigned char discrepencies.

27 years agoDeclare dhcp_max_agent_option_packet_length as required by library code. Fix bogus...
Ted Lemon [Mon, 16 Mar 1998 06:19:16 +0000 (06:19 +0000)] 
Declare dhcp_max_agent_option_packet_length as required by library code.   Fix bogus malloc error check.

27 years agoDeclare dhcp_max_agent_option_packet_length as required by library code.
Ted Lemon [Mon, 16 Mar 1998 06:18:50 +0000 (06:18 +0000)] 
Declare dhcp_max_agent_option_packet_length as required by library code.

27 years agoUpdate copyright
Ted Lemon [Mon, 16 Mar 1998 06:18:16 +0000 (06:18 +0000)] 
Update copyright

27 years agoClean up unsigned char vs. signed char discrepencies.
Ted Lemon [Mon, 16 Mar 1998 06:17:37 +0000 (06:17 +0000)] 
Clean up unsigned char vs. signed char discrepencies.

27 years agoDeclare arguments that can be promoted so that the compiler's behaviour doesn't chang...
Ted Lemon [Mon, 16 Mar 1998 06:16:54 +0000 (06:16 +0000)] 
Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.

27 years agoOnly include linux/ files when compiling on Linux 1.x.
Ted Lemon [Mon, 16 Mar 1998 06:16:30 +0000 (06:16 +0000)] 
Only include linux/ files when compiling on Linux 1.x.

27 years agoClean up bogus Sun CC pointer type mismatches.
Ted Lemon [Mon, 16 Mar 1998 06:14:51 +0000 (06:14 +0000)] 
Clean up bogus Sun CC pointer type mismatches.

27 years agoClean up bogus Sun CC pointer type mismatches. Clean up signed vs. unsigned charact...
Ted Lemon [Mon, 16 Mar 1998 06:13:01 +0000 (06:13 +0000)] 
Clean up bogus Sun CC pointer type mismatches.   Clean up signed vs. unsigned character pointer mismatches.

27 years agoInclude dhcpd.h only once. Clean up dangling ifdef. Clean up interface discovery...
Ted Lemon [Mon, 16 Mar 1998 06:11:03 +0000 (06:11 +0000)] 
Include dhcpd.h only once.   Clean up dangling ifdef.   Clean up interface discovery messages.

27 years agoCheck chaddr as well as xid in all cases. hw_address hangs off of interface, not...
Ted Lemon [Mon, 16 Mar 1998 06:08:41 +0000 (06:08 +0000)] 
Check chaddr as well as xid in all cases.   hw_address hangs off of interface, not client data.

27 years agoSigned vs. unsigned char fixes
Ted Lemon [Mon, 16 Mar 1998 06:02:14 +0000 (06:02 +0000)] 
Signed vs. unsigned char fixes

27 years agoDifferent config options for Linux 1.x, 2.0 and 2.1.
Ted Lemon [Mon, 16 Mar 1998 06:01:46 +0000 (06:01 +0000)] 
Different config options for Linux 1.x, 2.0 and 2.1.

27 years agoPrevent some type incompatibility warnings.
Ted Lemon [Sun, 15 Mar 1998 21:16:39 +0000 (21:16 +0000)] 
Prevent some type incompatibility warnings.

27 years agoAdd declaration for agent option global (used by option parser).
Ted Lemon [Sun, 15 Mar 1998 21:07:11 +0000 (21:07 +0000)] 
Add declaration for agent option global (used by option parser).

27 years agoIf interfaces are specified, don't configure any that weren't. In INIT-REBOOT state...
Ted Lemon [Sun, 15 Mar 1998 21:04:52 +0000 (21:04 +0000)] 
If interfaces are specified, don't configure any that weren't.   In INIT-REBOOT state, initialize the xid before calling make_request().   Check chaddr as well as xid to validate return from server.   Make write_client_lease rewrite the client lease file after 20 leases have been written.   Fix an xid bug in DHCPRELEASE code.   Document Y2K non-bug.

27 years agoUse DLPI, not sockets. Also, since we're using rand instead of random, use srand...
Ted Lemon [Sun, 15 Mar 1998 21:00:44 +0000 (21:00 +0000)] 
Use DLPI, not sockets.   Also, since we're using rand instead of random, use srand instead of srandom.

27 years agoMore DLPI stuff
Ted Lemon [Sun, 15 Mar 1998 20:59:47 +0000 (20:59 +0000)] 
More DLPI stuff

27 years agoMore prototypes. Agent Option support.
Ted Lemon [Sun, 15 Mar 1998 20:57:28 +0000 (20:57 +0000)] 
More prototypes.   Agent Option support.

27 years agoAdd defines for relay agent options.
Ted Lemon [Sun, 15 Mar 1998 20:56:27 +0000 (20:56 +0000)] 
Add defines for relay agent options.

27 years agoDLPI support, contributed by Eric James Negaard.
Ted Lemon [Sun, 15 Mar 1998 20:55:19 +0000 (20:55 +0000)] 
DLPI support, contributed by Eric James Negaard.

27 years agoDon't mention compiling with BPF if user has multiple interfaces - if it's not happen...
Ted Lemon [Sun, 15 Mar 1998 20:54:20 +0000 (20:54 +0000)] 
Don't mention compiling with BPF if user has multiple interfaces - if it's not happening now, it probably doesn't work.   Also, correct = vs == confusion that was causing packets to go out with bogus destination addresses.

27 years agoAdd a comment to document the non-presence of a Y2K bug, since people are getting...
Ted Lemon [Sun, 15 Mar 1998 20:53:12 +0000 (20:53 +0000)] 
Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that.

27 years agoReword dns query code
Ted Lemon [Sun, 15 Mar 1998 20:50:53 +0000 (20:50 +0000)] 
Reword dns query code

27 years agoDocument that NBNS and WINS are the same thing
Ted Lemon [Sun, 15 Mar 1998 20:50:23 +0000 (20:50 +0000)] 
Document that NBNS and WINS are the same thing

27 years agoDon't invalidate a lease if we receive an ICMP echo reply for it when it has a valid...
Ted Lemon [Sun, 15 Mar 1998 20:47:27 +0000 (20:47 +0000)] 
Don't invalidate a lease if we receive an ICMP echo reply for it when it has a valid lease.   This can happen if some other user on the host pings the client after we've assigned it an address.

27 years agoAdd a comment to document the non-presence of a Y2K bug, since people are getting...
Ted Lemon [Sun, 15 Mar 1998 20:46:22 +0000 (20:46 +0000)] 
Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that.

27 years agoParse agent options specially. Pack agent options into outgoing messages if supplie...
Ted Lemon [Fri, 6 Feb 1998 01:18:33 +0000 (01:18 +0000)] 
Parse agent options specially.   Pack agent options into outgoing messages if supplied.   Allow caller to pass dhcp_max_message_size into cons_options if the original packet is no longer available.

27 years agoAdd dhcp_max_agent_option_packet_length.
Ted Lemon [Fri, 6 Feb 1998 01:10:28 +0000 (01:10 +0000)] 
Add dhcp_max_agent_option_packet_length.

27 years agoAdjust cons_options calls. Copy the entire chaddr field even if hlen indicates...
Ted Lemon [Fri, 6 Feb 1998 01:08:38 +0000 (01:08 +0000)] 
Adjust cons_options calls.   Copy the entire chaddr field even if hlen indicates it's shorter.   Keep track of Relay Agent Information options.

27 years agoCopy the entire chaddr field, even if the length is shorter than the total. This...
Ted Lemon [Fri, 6 Feb 1998 01:05:39 +0000 (01:05 +0000)] 
Copy the entire chaddr field, even if the length is shorter than the total.   This works around a bug in certain Microsoft clients.   If the options aren't valid, just copy the option buffer from the incoming packet into the outgoing packet.   This lets NeXT boxes boot.   Adjust calling conventions for cons_options.

27 years agoChange cons_option calling convention. Declare dhcp_max_agent_option_packet_length.
Ted Lemon [Fri, 6 Feb 1998 00:58:36 +0000 (00:58 +0000)] 
Change cons_option calling convention.   Declare dhcp_max_agent_option_packet_length.

27 years agoCorrect freudian slip.
Ted Lemon [Mon, 12 Jan 1998 01:29:29 +0000 (01:29 +0000)] 
Correct freudian slip.

27 years agoFinish documenting dhcpd.leases format.
Ted Lemon [Mon, 12 Jan 1998 01:28:42 +0000 (01:28 +0000)] 
Finish documenting dhcpd.leases format.

27 years agoDocument token ring hardware type.
Ted Lemon [Mon, 12 Jan 1998 01:09:00 +0000 (01:09 +0000)] 
Document token ring hardware type.

27 years agoAdd DLPI support
Ted Lemon [Mon, 12 Jan 1998 01:07:21 +0000 (01:07 +0000)] 
Add DLPI support

27 years agoDefine Async DNS structures. Add new dns functions. Add DLPI functions.
Ted Lemon [Mon, 12 Jan 1998 01:06:16 +0000 (01:06 +0000)] 
Define Async DNS structures.   Add new dns functions.   Add DLPI functions.

27 years agoAdjust provided functionality to be compatible with asynchronous resolver.
Ted Lemon [Mon, 12 Jan 1998 01:01:44 +0000 (01:01 +0000)] 
Adjust provided functionality to be compatible with asynchronous resolver.

27 years agoHandle ICMP packets with IP header options correctly.
Ted Lemon [Mon, 12 Jan 1998 01:00:42 +0000 (01:00 +0000)] 
Handle ICMP packets with IP header options correctly.

27 years agoPreliminary rewrite of asynchronous DNS code (needs work)
Ted Lemon [Mon, 12 Jan 1998 01:00:09 +0000 (01:00 +0000)] 
Preliminary rewrite of asynchronous DNS code (needs work)

27 years agoAdd dlpi.c
Ted Lemon [Mon, 12 Jan 1998 00:40:53 +0000 (00:40 +0000)] 
Add dlpi.c

27 years agoUse new_network_number, not new_network_address. Use search, not domain in /etc...
Ted Lemon [Mon, 12 Jan 1998 00:39:31 +0000 (00:39 +0000)] 
Use new_network_number, not new_network_address.   Use search, not domain in /etc/resolv.conf.

27 years agoAdd missing fi
Ted Lemon [Sun, 11 Jan 1998 22:25:43 +0000 (22:25 +0000)] 
Add missing fi

27 years agoFix up option declaration modifier documentation.
Ted Lemon [Sun, 11 Jan 1998 22:23:40 +0000 (22:23 +0000)] 
Fix up option declaration modifier documentation.

28 years agoDefine ssize_t and NEED_INET_ATON.
Ted Lemon [Wed, 17 Dec 1997 21:42:18 +0000 (21:42 +0000)] 
Define ssize_t and NEED_INET_ATON.

28 years agoDocument changes in Beta 1 (oops)
Ted Lemon [Thu, 11 Dec 1997 22:35:03 +0000 (22:35 +0000)] 
Document changes in Beta 1 (oops)

28 years agoDocument broadcast addr hack for HP-UX 9.x
Ted Lemon [Thu, 11 Dec 1997 22:33:35 +0000 (22:33 +0000)] 
Document broadcast addr hack for HP-UX 9.x

28 years agoCheck mktemp() return and die with error message if it's NULL
Ted Lemon [Tue, 9 Dec 1997 20:29:00 +0000 (20:29 +0000)] 
Check mktemp() return and die with error message if it's NULL

28 years agoUse yiaddr to transmit response to client
Ted Lemon [Tue, 9 Dec 1997 19:04:04 +0000 (19:04 +0000)] 
Use yiaddr to transmit response to client

28 years agoBOOTP Protocol specification
Ted Lemon [Sat, 6 Dec 1997 12:13:48 +0000 (12:13 +0000)] 
BOOTP Protocol specification

28 years agoCurrent DHCP Options specification
Ted Lemon [Sat, 6 Dec 1997 12:09:40 +0000 (12:09 +0000)] 
Current DHCP Options specification

28 years agoCurrent DHCP protocol specification
Ted Lemon [Sat, 6 Dec 1997 12:08:03 +0000 (12:08 +0000)] 
Current DHCP protocol specification

28 years agofile rfc2131.txt was initially added on branch RELEASE_1.
Ted Lemon [Sat, 6 Dec 1997 12:04:21 +0000 (12:04 +0000)] 
file rfc2131.txt was initially added on branch RELEASE_1.

28 years agoUpdate for 2.0 Beta 1
Ted Lemon [Sat, 6 Dec 1997 11:36:58 +0000 (11:36 +0000)] 
Update for 2.0 Beta 1

28 years agoNAK if a client requests an address that we own but can't give to it.
Ted Lemon [Sat, 6 Dec 1997 04:04:50 +0000 (04:04 +0000)] 
NAK if a client requests an address that we own but can't give to it.

28 years agoIgnore lines in resolv.conf whose first token isn't recognized.
Ted Lemon [Sat, 6 Dec 1997 04:04:07 +0000 (04:04 +0000)] 
Ignore lines in resolv.conf whose first token isn't recognized.

28 years agoHandle token ring...
Ted Lemon [Sat, 6 Dec 1997 04:03:37 +0000 (04:03 +0000)] 
Handle token ring...

28 years agoCast pid_t up to long so that printf will work on systems where it's long and not...
Ted Lemon [Sat, 6 Dec 1997 04:03:04 +0000 (04:03 +0000)] 
Cast pid_t up to long so that printf will work on systems where it's long and not int.

28 years agoDocument Linux 2.1 version that supports SO_BINDTODEVICE
Ted Lemon [Sat, 6 Dec 1997 04:01:54 +0000 (04:01 +0000)] 
Document Linux 2.1 version that supports SO_BINDTODEVICE

28 years agoDocument changes in current snapshot since June. DHCP-971202
Ted Lemon [Tue, 2 Dec 1997 10:31:24 +0000 (10:31 +0000)] 
Document changes in current snapshot since June.

28 years agoIf we're responding to a BOOTP request, hunt for a lease that's applicable - there...
Ted Lemon [Tue, 2 Dec 1997 09:28:08 +0000 (09:28 +0000)] 
If we're responding to a BOOTP request, hunt for a lease that's applicable - there might be more than one lease matching the network and the hardware address.

28 years agoCopy the hardware address into the static lease structure so that it can be used...
Ted Lemon [Tue, 2 Dec 1997 09:07:03 +0000 (09:07 +0000)] 
Copy the hardware address into the static lease structure so that it can be used later.

28 years agoCreate database with mode 0664 & ~umask, not 0666 & ~umask.
Ted Lemon [Tue, 2 Dec 1997 07:44:56 +0000 (07:44 +0000)] 
Create database with mode 0664 & ~umask, not 0666 & ~umask.

28 years agoIf we find more than one lease for the same client on the same network, give it the...
Ted Lemon [Tue, 2 Dec 1997 07:43:56 +0000 (07:43 +0000)] 
If we find more than one lease for the same client on the same network, give it the one it asked for.

28 years agoDocument Linux 2.1.x bootp agent screw
Ted Lemon [Tue, 2 Dec 1997 07:42:21 +0000 (07:42 +0000)] 
Document Linux 2.1.x bootp agent screw

28 years agoFix DHCPRELEASE handling to conform to spec
Ted Lemon [Sat, 29 Nov 1997 07:57:02 +0000 (07:57 +0000)] 
Fix DHCPRELEASE handling to conform to spec

28 years agoAlways print two digits for day and month in leases.
Ted Lemon [Sat, 29 Nov 1997 07:53:53 +0000 (07:53 +0000)] 
Always print two digits for day and month in leases.

28 years agoIf AF_LINK is defined, need to include if_dl.h
Ted Lemon [Sat, 29 Nov 1997 07:53:12 +0000 (07:53 +0000)] 
If AF_LINK is defined, need to include if_dl.h

28 years agoDon't use sun_len on systems that don't support it
Ted Lemon [Sat, 29 Nov 1997 07:52:33 +0000 (07:52 +0000)] 
Don't use sun_len on systems that don't support it

28 years ago%02x, not %2.2x
Ted Lemon [Sat, 29 Nov 1997 07:52:10 +0000 (07:52 +0000)] 
%02x, not %2.2x

28 years agoTest return value of socket for <0, not ==0 to indicate failure.
Ted Lemon [Sat, 29 Nov 1997 07:51:49 +0000 (07:51 +0000)] 
Test return value of socket for <0, not ==0 to indicate failure.

28 years agoUse ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized. errno, not...
Ted Lemon [Sat, 29 Nov 1997 07:51:09 +0000 (07:51 +0000)] 
Use ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized.   errno, not ERRNO.

28 years agoUpdate README DHCP-971122
Ted Lemon [Sat, 22 Nov 1997 08:45:04 +0000 (08:45 +0000)] 
Update README

28 years agoAdd a caveat that this doesn't include everything
Ted Lemon [Sat, 22 Nov 1997 08:23:45 +0000 (08:23 +0000)] 
Add a caveat that this doesn't include everything

28 years agoUpdate release notes (lose obsolete cruft about old lease database formats)
Ted Lemon [Sat, 22 Nov 1997 08:18:16 +0000 (08:18 +0000)] 
Update release notes (lose obsolete cruft about old lease database formats)

28 years agonew catted man page
Ted Lemon [Sat, 22 Nov 1997 07:58:30 +0000 (07:58 +0000)] 
new catted man page

28 years agoDocument -q. Fix typos/pastos. Reword some bad stuff. Fix SEE ALSO
Ted Lemon [Sat, 22 Nov 1997 07:58:22 +0000 (07:58 +0000)] 
Document -q.  Fix typos/pastos.   Reword some bad stuff.   Fix SEE ALSO

28 years agoDaemonize by default. Fix a couple of uninitialized automatic variables. Add...
Ted Lemon [Sat, 22 Nov 1997 07:55:36 +0000 (07:55 +0000)] 
Daemonize by default.   Fix a couple of uninitialized automatic variables.   Add -q flag which shuts up interface status printout.   Write a pid file.

28 years agoName server definitions
Ted Lemon [Sat, 22 Nov 1997 07:54:19 +0000 (07:54 +0000)] 
Name server definitions

28 years agoOverride default value for _PATH_DHCRELAY_PID
Ted Lemon [Sat, 22 Nov 1997 07:52:43 +0000 (07:52 +0000)] 
Override default value for _PATH_DHCRELAY_PID

28 years agoSet a default value for _PATH_DHCRELAY_PID
Ted Lemon [Sat, 22 Nov 1997 07:52:16 +0000 (07:52 +0000)] 
Set a default value for _PATH_DHCRELAY_PID

28 years agoFix typo in comment.
Ted Lemon [Sat, 22 Nov 1997 07:51:38 +0000 (07:51 +0000)] 
Fix typo in comment.

28 years agonew catted man page
Ted Lemon [Sat, 22 Nov 1997 07:51:02 +0000 (07:51 +0000)] 
new catted man page

28 years agonew catted man pages
Ted Lemon [Sat, 22 Nov 1997 07:15:53 +0000 (07:15 +0000)] 
new catted man pages

28 years agoAdd dhcpd.leases man page. Globalize sed scripts on man pages.
Ted Lemon [Sat, 22 Nov 1997 07:14:58 +0000 (07:14 +0000)] 
Add dhcpd.leases man page.   Globalize sed scripts on man pages.

28 years agonew catted man pages
Ted Lemon [Sat, 22 Nov 1997 07:10:40 +0000 (07:10 +0000)] 
new catted man pages

28 years agoFix errors mentioned by cgd. s/dhcp(5)/dhcp-options(5)/ Fix SEE ALSO.
Ted Lemon [Sat, 22 Nov 1997 07:10:15 +0000 (07:10 +0000)] 
Fix errors mentioned by cgd.   s/dhcp(5)/dhcp-options(5)/   Fix SEE ALSO.

28 years agoMove BUGS up. Add FILES section documenting location of script files in distribution
Ted Lemon [Sat, 22 Nov 1997 07:09:37 +0000 (07:09 +0000)] 
Move BUGS up.   Add FILES section documenting location of script files in distribution

28 years agoglobalize sed commands on man pages
Ted Lemon [Sat, 22 Nov 1997 07:08:36 +0000 (07:08 +0000)] 
globalize sed commands on man pages