]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
28 years agoSend client identifier when declining.
Ted Lemon [Thu, 6 Mar 1997 20:13:42 +0000 (20:13 +0000)] 
Send client identifier when declining.

28 years agoWhen we toss all our leases, just go back to init state - don't try to get fancy
Ted Lemon [Thu, 6 Mar 1997 20:00:51 +0000 (20:00 +0000)] 
When we toss all our leases, just go back to init state - don't try to get fancy

28 years agoABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede...
Ted Lemon [Thu, 6 Mar 1997 19:45:20 +0000 (19:45 +0000)] 
ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure.

28 years agoIf a lease has been abandoned, don't find it.
Ted Lemon [Thu, 6 Mar 1997 19:30:52 +0000 (19:30 +0000)] 
If a lease has been abandoned, don't find it.

28 years agoSupport abandoned keyword in leases
Ted Lemon [Thu, 6 Mar 1997 19:29:39 +0000 (19:29 +0000)] 
Support abandoned keyword in leases

28 years agoAdd ABANDONED token
Ted Lemon [Thu, 6 Mar 1997 19:28:49 +0000 (19:28 +0000)] 
Add ABANDONED token

28 years agoAdd ABANDONED_LEASE flag
Ted Lemon [Thu, 6 Mar 1997 19:28:35 +0000 (19:28 +0000)] 
Add ABANDONED_LEASE flag

28 years agoSet ABANDONED_LEASE flag when abandoning a lease.
Ted Lemon [Thu, 6 Mar 1997 19:28:18 +0000 (19:28 +0000)] 
Set ABANDONED_LEASE flag when abandoning a lease.

28 years agoAdd abandoned keyword
Ted Lemon [Thu, 6 Mar 1997 19:27:57 +0000 (19:27 +0000)] 
Add abandoned keyword

28 years agoStart up icmp protocol; handle ICMP EchoReplies and also handle non-replies.
Ted Lemon [Thu, 6 Mar 1997 18:41:36 +0000 (18:41 +0000)] 
Start up icmp protocol; handle ICMP EchoReplies and also handle non-replies.

28 years agoAdd a message to abandon_lease; ping before sending DHCPREQUEST.
Ted Lemon [Thu, 6 Mar 1997 18:40:22 +0000 (18:40 +0000)] 
Add a message to abandon_lease; ping before sending DHCPREQUEST.

28 years agoAdjust and add prototypes
Ted Lemon [Thu, 6 Mar 1997 18:38:59 +0000 (18:38 +0000)] 
Adjust and add prototypes

28 years agoExport checksum and wrapsum
Ted Lemon [Thu, 6 Mar 1997 18:27:55 +0000 (18:27 +0000)] 
Export checksum and wrapsum

28 years agoAdd informational message to abandon_lease.
Ted Lemon [Thu, 6 Mar 1997 18:27:20 +0000 (18:27 +0000)] 
Add informational message to abandon_lease.

28 years agoDon't use n_* types
Ted Lemon [Thu, 6 Mar 1997 07:29:36 +0000 (07:29 +0000)] 
Don't use n_* types

28 years agoFix prototype for icmp_startup
Ted Lemon [Thu, 6 Mar 1997 07:28:54 +0000 (07:28 +0000)] 
Fix prototype for icmp_startup

28 years agoRemove declaration for relay() - no longer needed
Ted Lemon [Thu, 6 Mar 1997 07:27:56 +0000 (07:27 +0000)] 
Remove declaration for relay() - no longer needed

28 years agoOops - didn't compile
Ted Lemon [Thu, 6 Mar 1997 07:27:32 +0000 (07:27 +0000)] 
Oops - didn't compile

28 years agoICMP structure definitions
Ted Lemon [Thu, 6 Mar 1997 07:09:59 +0000 (07:09 +0000)] 
ICMP structure definitions

28 years agoSupport for ICMP Echo protocol
Ted Lemon [Thu, 6 Mar 1997 07:08:00 +0000 (07:08 +0000)] 
Support for ICMP Echo protocol

28 years agoTraversal of interface list to weed out bad interfaces was broken when I added the...
Ted Lemon [Thu, 6 Mar 1997 07:06:08 +0000 (07:06 +0000)] 
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.

28 years agoChange calling conventions to dispatch(). Set bootp_packet_handler to do_packet().
Ted Lemon [Thu, 6 Mar 1997 07:02:54 +0000 (07:02 +0000)] 
Change calling conventions to dispatch().   Set bootp_packet_handler to do_packet().

28 years agoMove a ton of bits from the lease structure into the lease_state structure. The...
Ted Lemon [Thu, 6 Mar 1997 07:02:00 +0000 (07:02 +0000)] 
Move a ton of bits from the lease structure into the lease_state structure.   The lease structure is permanent, whereas the state structure is ephemeral, which means that leases now consume less memory (memory consumption is now about the same as in Beta 5 Patchlevel 14).   Allocate and free the lease_state structure.   If ack_lease is called on a lease that already has a state structure, we're already acking something, so we don't try to ack it again.

28 years agoDeclare relay() same as do_packet(). Set bootp_handler to relay(). Change dispatc...
Ted Lemon [Thu, 6 Mar 1997 06:58:37 +0000 (06:58 +0000)] 
Declare relay() same as do_packet().   Set bootp_handler to relay().   Change dispatch() calling conventions.

28 years agoAdjust prototypes; prototype new functions. Add protocol structure; add move some...
Ted Lemon [Thu, 6 Mar 1997 06:57:19 +0000 (06:57 +0000)] 
Adjust prototypes; prototype new functions.   Add protocol structure; add move some lease fields into lease state structure.

28 years agoAdjust declaration of fallback_discard so that it can be a protocol handler
Ted Lemon [Thu, 6 Mar 1997 06:55:53 +0000 (06:55 +0000)] 
Adjust declaration of fallback_discard so that it can be a protocol handler

28 years agoOptions whose format is X now print as colon-seperated hex, so that pretty_print...
Ted Lemon [Thu, 6 Mar 1997 06:55:06 +0000 (06:55 +0000)] 
Options whose format is X now print as colon-seperated hex, so that pretty_print output can be parsed.   do_packet() moved here from dispatch.c

28 years agoCheck address ranges to see if they're on the right net (previously we just silently...
Ted Lemon [Thu, 6 Mar 1997 06:53:49 +0000 (06:53 +0000)] 
Check address ranges to see if they're on the right net (previously we just silently made them be on the right net, with interesting results).   In supersede_leases, don't copy offered_expiry anymore since it's now in the state structure

28 years agoMake dispatch() run through a list of protocol structures to select against, rather...
Ted Lemon [Thu, 6 Mar 1997 06:52:30 +0000 (06:52 +0000)] 
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.

28 years agoadd allocator for lease state structure and protocol structure
Ted Lemon [Thu, 6 Mar 1997 06:49:29 +0000 (06:49 +0000)] 
add allocator for lease state structure and protocol structure

28 years agoAdd icmp.c
Ted Lemon [Thu, 6 Mar 1997 06:48:49 +0000 (06:48 +0000)] 
Add icmp.c

28 years agochange prototypes to functions called by timeouts; initialize bootp_handler to do_pac...
Ted Lemon [Thu, 6 Mar 1997 06:48:09 +0000 (06:48 +0000)] 
change prototypes to functions called by timeouts; initialize bootp_handler to do_packet(); lose relay() function call (not needed now that we have bootp_handler hook.

28 years agoBack out back checksum changes
Ted Lemon [Wed, 5 Mar 1997 20:06:03 +0000 (20:06 +0000)] 
Back out back checksum changes

28 years agoOops - we're supposed to zero interfaces_invalidated at the end of the loop, not... DHCP-970305A
Ted Lemon [Wed, 5 Mar 1997 08:39:38 +0000 (08:39 +0000)] 
Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin

28 years agobehave differently if we got a renewal via INIT-REBOOT
Ted Lemon [Wed, 5 Mar 1997 08:38:20 +0000 (08:38 +0000)] 
behave differently if we got a renewal via INIT-REBOOT

28 years agoAdd REBOOT token DHCP-970305
Ted Lemon [Wed, 5 Mar 1997 06:39:09 +0000 (06:39 +0000)] 
Add REBOOT token

28 years agoAdd flags field to tree_cache structure so we can track updates and free temporary...
Ted Lemon [Wed, 5 Mar 1997 06:38:55 +0000 (06:38 +0000)] 
Add flags field to tree_cache structure so we can track updates and free temporary cache buckets

28 years agoAdd function prototypes; add state to lease structure
Ted Lemon [Wed, 5 Mar 1997 06:38:27 +0000 (06:38 +0000)] 
Add function prototypes; add state to lease structure

28 years agoMove some state into the lease structure so that we can test a lease before acking...
Ted Lemon [Wed, 5 Mar 1997 06:37:05 +0000 (06:37 +0000)] 
Move some state into the lease structure so that we can test a lease before acking it, and so that we can do DNS lookups asynchronously

28 years agolose lease -> state; add lease -> uid_buf to eliminate mallocs when assigning uids...
Ted Lemon [Wed, 5 Mar 1997 06:34:36 +0000 (06:34 +0000)] 
lose lease -> state; add lease -> uid_buf to eliminate mallocs when assigning uids to leases except with really big uids

28 years agoMaintain a free list for tree_cache structs
Ted Lemon [Wed, 5 Mar 1997 06:34:27 +0000 (06:34 +0000)] 
Maintain a free list for tree_cache structs

28 years agoAdd REBOOT token
Ted Lemon [Wed, 5 Mar 1997 06:33:36 +0000 (06:33 +0000)] 
Add REBOOT token

28 years agoremove lease -> state
Ted Lemon [Wed, 5 Mar 1997 06:33:06 +0000 (06:33 +0000)] 
remove lease -> state

28 years agoAlways send packets of at least BOOTP_MIN_LEN; abbreviate option setup code; don...
Ted Lemon [Wed, 5 Mar 1997 06:30:08 +0000 (06:30 +0000)] 
Always send packets of at least BOOTP_MIN_LEN; abbreviate option setup code; don't send requested address unless we're rebooting or requesting; send options as requested in config file; add support for DHCPNAK and INIT-REBOOT state

28 years agoAdd an INIT-REBOOT timeout; don't ever call a static lease the active lease
Ted Lemon [Wed, 5 Mar 1997 06:24:21 +0000 (06:24 +0000)] 
Add an INIT-REBOOT timeout; don't ever call a static lease the active lease

28 years agoInstall dhclient-script in /etc, not in /
Ted Lemon [Wed, 5 Mar 1997 06:23:12 +0000 (06:23 +0000)] 
Install dhclient-script in /etc, not in /

28 years agoDon't check the lease we have for the client until we've verified that the client...
Ted Lemon [Wed, 5 Mar 1997 06:18:55 +0000 (06:18 +0000)] 
Don't check the lease we have for the client until we've verified that the client thinks it's on the right network

28 years agoAdd DHCPLIB to depends
Ted Lemon [Wed, 5 Mar 1997 06:17:33 +0000 (06:17 +0000)] 
Add DHCPLIB to depends

28 years agoRelay to server port, not client
Ted Lemon [Wed, 5 Mar 1997 06:16:44 +0000 (06:16 +0000)] 
Relay to server port, not client

28 years agoAdd UPF support
Ted Lemon [Wed, 5 Mar 1997 06:16:07 +0000 (06:16 +0000)] 
Add UPF support

28 years agoNew IP header checksum code supplied by Anatoli Logvinski
Ted Lemon [Wed, 5 Mar 1997 06:15:00 +0000 (06:15 +0000)] 
New IP header checksum code supplied by Anatoli Logvinski

28 years agoAdd upf.c
Ted Lemon [Wed, 5 Mar 1997 06:13:07 +0000 (06:13 +0000)] 
Add upf.c

28 years agoFix typos
Ted Lemon [Wed, 5 Mar 1997 06:12:19 +0000 (06:12 +0000)] 
Fix typos

28 years agoUltrix Packetfilter support
Ted Lemon [Wed, 5 Mar 1997 06:09:04 +0000 (06:09 +0000)] 
Ultrix Packetfilter support

28 years agonew draft
Ted Lemon [Wed, 5 Mar 1997 04:58:19 +0000 (04:58 +0000)] 
new draft

28 years agonew draft
Ted Lemon [Wed, 5 Mar 1997 04:36:44 +0000 (04:36 +0000)] 
new draft

28 years agoNew draft
Ted Lemon [Wed, 5 Mar 1997 04:32:11 +0000 (04:32 +0000)] 
New draft

28 years agoFix Socket API-specific error DHCP_970226A
Ted Lemon [Thu, 27 Feb 1997 03:41:28 +0000 (03:41 +0000)] 
Fix Socket API-specific error

28 years agoDon't specify netmask or broadcast address keywords to ifconfig if no subnet_mask...
Ted Lemon [Thu, 27 Feb 1997 03:40:49 +0000 (03:40 +0000)] 
Don't specify netmask or broadcast address keywords to ifconfig if no subnet_mask or broadcast_address options were supplied

28 years agoFix some warnings
Ted Lemon [Thu, 27 Feb 1997 03:39:11 +0000 (03:39 +0000)] 
Fix some warnings

28 years agoDelete extraneous sin_len initialization; don't statically initialize inadr_any;...
Ted Lemon [Thu, 27 Feb 1997 03:38:44 +0000 (03:38 +0000)] 
Delete extraneous sin_len initialization; don't statically initialize inadr_any; fix some warnings

28 years agoOnly supply prototypes where appropriate
Ted Lemon [Wed, 26 Feb 1997 18:25:07 +0000 (18:25 +0000)] 
Only supply prototypes where appropriate

28 years agoUse medium passed to us, not necessarily the one attached to the client status structure.
Ted Lemon [Wed, 26 Feb 1997 05:21:55 +0000 (05:21 +0000)] 
Use medium passed to us, not necessarily the one attached to the client status structure.

28 years agoRemove if_enable()
Ted Lemon [Wed, 26 Feb 1997 05:20:53 +0000 (05:20 +0000)] 
Remove if_enable()

28 years agoMove some more parameters around
Ted Lemon [Sat, 22 Feb 1997 14:44:56 +0000 (14:44 +0000)] 
Move some more parameters around

28 years agoAdd SCRIPT config parameter
Ted Lemon [Sat, 22 Feb 1997 14:36:42 +0000 (14:36 +0000)] 
Add SCRIPT config parameter

28 years agoInstall client script
Ted Lemon [Sat, 22 Feb 1997 14:36:20 +0000 (14:36 +0000)] 
Install client script

28 years agoAdd DHCP Client SCRIPT configuration info
Ted Lemon [Sat, 22 Feb 1997 14:31:42 +0000 (14:31 +0000)] 
Add DHCP Client SCRIPT configuration info

28 years agoDHCP Client script for NetBSD
Ted Lemon [Sat, 22 Feb 1997 14:30:19 +0000 (14:30 +0000)] 
DHCP Client script for NetBSD

28 years agoSample dhcp client configuration file
Ted Lemon [Sat, 22 Feb 1997 14:28:03 +0000 (14:28 +0000)] 
Sample dhcp client configuration file

28 years agoIsolate configuration information from Makefiles
Ted Lemon [Sat, 22 Feb 1997 14:20:26 +0000 (14:20 +0000)] 
Isolate configuration information from Makefiles

28 years agoLocalize makefile config
Ted Lemon [Sat, 22 Feb 1997 14:19:12 +0000 (14:19 +0000)] 
Localize makefile config

28 years agoDistributed Makefile
Ted Lemon [Sat, 22 Feb 1997 14:12:34 +0000 (14:12 +0000)] 
Distributed Makefile

28 years agoMake it a bit more informative
Ted Lemon [Sat, 22 Feb 1997 14:11:35 +0000 (14:11 +0000)] 
Make it a bit more informative

28 years agoMoved to common/
Ted Lemon [Sat, 22 Feb 1997 14:03:34 +0000 (14:03 +0000)] 
Moved to common/

28 years agoHack makefiles in all the subdirectories...
Ted Lemon [Sat, 22 Feb 1997 13:24:33 +0000 (13:24 +0000)] 
Hack makefiles in all the subdirectories...

28 years agoMake subdirs
Ted Lemon [Sat, 22 Feb 1997 13:12:47 +0000 (13:12 +0000)] 
Make subdirs

28 years agoNo longer needed
Ted Lemon [Sat, 22 Feb 1997 13:08:54 +0000 (13:08 +0000)] 
No longer needed

28 years agomoved to relay/
Ted Lemon [Sat, 22 Feb 1997 13:08:03 +0000 (13:08 +0000)] 
moved to relay/

28 years agomoved to server/
Ted Lemon [Sat, 22 Feb 1997 13:07:40 +0000 (13:07 +0000)] 
moved to server/

28 years agomoved to client/
Ted Lemon [Sat, 22 Feb 1997 13:07:02 +0000 (13:07 +0000)] 
moved to client/

28 years agoMoved to server/
Ted Lemon [Sat, 22 Feb 1997 13:02:49 +0000 (13:02 +0000)] 
Moved to server/

28 years agomoved to client/
Ted Lemon [Sat, 22 Feb 1997 12:59:29 +0000 (12:59 +0000)] 
moved to client/

28 years agoMoved to relay/
Ted Lemon [Sat, 22 Feb 1997 12:58:31 +0000 (12:58 +0000)] 
Moved to relay/

28 years agoMoved to server/
Ted Lemon [Sat, 22 Feb 1997 12:56:43 +0000 (12:56 +0000)] 
Moved to server/

28 years agomoved to common/
Ted Lemon [Sat, 22 Feb 1997 12:55:05 +0000 (12:55 +0000)] 
moved to common/

28 years agomoved to include/cf/
Ted Lemon [Sat, 22 Feb 1997 12:52:57 +0000 (12:52 +0000)] 
moved to include/cf/

28 years agoMoved to include/
Ted Lemon [Sat, 22 Feb 1997 12:51:16 +0000 (12:51 +0000)] 
Moved to include/

28 years agoIgnore messages generated by dhcp relay agents (including self); send replies to...
Ted Lemon [Sat, 22 Feb 1997 12:28:26 +0000 (12:28 +0000)] 
Ignore messages generated by dhcp relay agents (including self); send replies to correct port; more debugging info

28 years agoAdd DISCOVER_RELAY state
Ted Lemon [Sat, 22 Feb 1997 12:26:41 +0000 (12:26 +0000)] 
Add DISCOVER_RELAY state

28 years agoDon't name dhcpd - this is used by dhclient and dhcrelay as well
Ted Lemon [Sat, 22 Feb 1997 12:26:12 +0000 (12:26 +0000)] 
Don't name dhcpd - this is used by dhclient and dhcrelay as well

28 years agoAdd support for alias declaration
Ted Lemon [Sat, 22 Feb 1997 12:25:32 +0000 (12:25 +0000)] 
Add support for alias declaration

28 years agoDon't NAK leases from competing servers
Ted Lemon [Sat, 22 Feb 1997 12:25:11 +0000 (12:25 +0000)] 
Don't NAK leases from competing servers

28 years agoOops - poll() isn't implemented in NetBSD-1.2...
Ted Lemon [Sat, 22 Feb 1997 11:01:10 +0000 (11:01 +0000)] 
Oops - poll() isn't implemented in NetBSD-1.2...

28 years agoFix up select version of dispatch to take parse argument
Ted Lemon [Sat, 22 Feb 1997 10:55:40 +0000 (10:55 +0000)] 
Fix up select version of dispatch to take parse argument

28 years agoClean up some bugs in the DHCPREQUEST lease code
Ted Lemon [Sat, 22 Feb 1997 10:22:05 +0000 (10:22 +0000)] 
Clean up some bugs in the DHCPREQUEST lease code

28 years agoAdd new man page targets
Ted Lemon [Sat, 22 Feb 1997 10:21:03 +0000 (10:21 +0000)] 
Add new man page targets

28 years agoUpdate documentation
Ted Lemon [Sat, 22 Feb 1997 10:20:28 +0000 (10:20 +0000)] 
Update documentation

28 years agonew man pages
Ted Lemon [Sat, 22 Feb 1997 10:19:33 +0000 (10:19 +0000)] 
new man pages

28 years agoNew manual pages
Ted Lemon [Sat, 22 Feb 1997 10:19:20 +0000 (10:19 +0000)] 
New manual pages