]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
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

28 years agocatted man page for nroff-less systems
Ted Lemon [Sat, 22 Nov 1997 07:06:23 +0000 (07:06 +0000)] 
catted man page for nroff-less systems

28 years agocatted man pages, for machines that don't have troff/nroff
Ted Lemon [Sat, 22 Nov 1997 07:04:24 +0000 (07:04 +0000)] 
catted man pages, for machines that don't have troff/nroff

28 years agoDHCP lease database description
Ted Lemon [Sat, 22 Nov 1997 06:43:37 +0000 (06:43 +0000)] 
DHCP lease database description

28 years agoBuild and install dhclient.leases man page
Ted Lemon [Sat, 22 Nov 1997 06:34:58 +0000 (06:34 +0000)] 
Build and install dhclient.leases man page

28 years agoDHCP Client lease database description
Ted Lemon [Sat, 22 Nov 1997 06:31:53 +0000 (06:31 +0000)] 
DHCP Client lease database description

28 years agoDon't echo ifconfig parameters - that was for debugging.
Ted Lemon [Sat, 22 Nov 1997 06:15:01 +0000 (06:15 +0000)] 
Don't echo ifconfig parameters - that was for debugging.

28 years agoDHCP client configuration script
Ted Lemon [Sat, 22 Nov 1997 06:13:54 +0000 (06:13 +0000)] 
DHCP client configuration script

28 years agoWrite an actual manual page
Ted Lemon [Sat, 22 Nov 1997 00:54:56 +0000 (00:54 +0000)] 
Write an actual manual page

28 years agoAdd prototype for broadcast_addr()
Ted Lemon [Sat, 22 Nov 1997 00:46:40 +0000 (00:46 +0000)] 
Add prototype for broadcast_addr()

28 years agoAdd broadcast_addr function which produces the broadcast address of a subnet given...
Ted Lemon [Sat, 22 Nov 1997 00:45:55 +0000 (00:45 +0000)] 
Add broadcast_addr function which produces the broadcast address of a subnet given the subnet number and subnet mask.

28 years agoMove dhcp option documentation to dhcp-options(5)
Ted Lemon [Sat, 22 Nov 1997 00:31:56 +0000 (00:31 +0000)] 
Move dhcp option documentation to dhcp-options(5)

28 years agoBuild and install dhcp-options.5
Ted Lemon [Fri, 21 Nov 1997 23:46:16 +0000 (23:46 +0000)] 
Build and install dhcp-options.5

28 years agoDocumentation for DHCP option declaration syntax
Ted Lemon [Fri, 21 Nov 1997 23:43:50 +0000 (23:43 +0000)] 
Documentation for DHCP option declaration syntax

28 years agobsd/os client script (pretty much identical to NetBSD)
Ted Lemon [Thu, 20 Nov 1997 04:37:20 +0000 (04:37 +0000)] 
bsd/os client script (pretty much identical to NetBSD)

28 years agoCheck if variables have value before doing set $variable
Ted Lemon [Thu, 20 Nov 1997 04:37:04 +0000 (04:37 +0000)] 
Check if variables have value before doing set $variable

28 years agoDon't need to compute network number or broadcast address anymore
Ted Lemon [Thu, 20 Nov 1997 04:36:13 +0000 (04:36 +0000)] 
Don't need to compute network number or broadcast address anymore

28 years agoCompute network number and (if not offered by server) broadcast address for linux...
Ted Lemon [Thu, 20 Nov 1997 04:19:21 +0000 (04:19 +0000)] 
Compute network number and (if not offered by server) broadcast address for linux client script

28 years agoFix up references
Ted Lemon [Wed, 29 Oct 1997 18:37:02 +0000 (18:37 +0000)] 
Fix up references

28 years agofix up name
Ted Lemon [Wed, 29 Oct 1997 18:35:50 +0000 (18:35 +0000)] 
fix up name

28 years agoSupport hostname keyword
Ted Lemon [Wed, 29 Oct 1997 18:32:53 +0000 (18:32 +0000)] 
Support hostname keyword

28 years agoFix up handling of hostname
Ted Lemon [Mon, 27 Oct 1997 20:22:40 +0000 (20:22 +0000)] 
Fix up handling of hostname

28 years agoFix up handling of hostname
Ted Lemon [Mon, 27 Oct 1997 20:16:26 +0000 (20:16 +0000)] 
Fix up handling of hostname

28 years agoFix spelling
Ted Lemon [Mon, 27 Oct 1997 20:13:21 +0000 (20:13 +0000)] 
Fix spelling

28 years agoDon't ping static leases - there's no persistent structure for them! NetBSD_1_3_Alpha
Ted Lemon [Mon, 20 Oct 1997 22:28:18 +0000 (22:28 +0000)] 
Don't ping static leases - there's no persistent structure for them!