]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
29 years agoFix up a few typos and pastos
Ted Lemon [Sat, 29 Mar 1997 00:10:22 +0000 (00:10 +0000)] 
Fix up a few typos and pastos

29 years agoFix install dependencies
Ted Lemon [Sat, 29 Mar 1997 00:09:51 +0000 (00:09 +0000)] 
Fix install dependencies

29 years agoAdd a couple more fussy defines to work around Linux weirdnesses
Ted Lemon [Sat, 29 Mar 1997 00:08:40 +0000 (00:08 +0000)] 
Add a couple more fussy defines to work around Linux weirdnesses

29 years agoAllow users to specify vendor-encapsulated-options as a string of hex digits
Ted Lemon [Sat, 29 Mar 1997 00:06:50 +0000 (00:06 +0000)] 
Allow users to specify vendor-encapsulated-options as a string of hex digits

29 years agoIgnore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now).
Ted Lemon [Sat, 29 Mar 1997 00:06:07 +0000 (00:06 +0000)] 
Ignore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now).

29 years agoSkip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeo...
Ted Lemon [Sat, 29 Mar 1997 00:02:45 +0000 (00:02 +0000)] 
Skip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeout -> what, not timeout -> interface

29 years agoFix stupid, stupid, stupid allocation size underrun
Ted Lemon [Sat, 29 Mar 1997 00:01:18 +0000 (00:01 +0000)] 
Fix stupid, stupid, stupid allocation size underrun

29 years agoDon't have ARP code look up names; net_netmask_arg, not new_subnet_arg
Ted Lemon [Fri, 28 Mar 1997 23:59:56 +0000 (23:59 +0000)] 
Don't have ARP code look up names; net_netmask_arg, not new_subnet_arg

29 years agoMove top_level_config to clparse.c; use more defaults from client config structure...
Ted Lemon [Fri, 28 Mar 1997 23:57:47 +0000 (23:57 +0000)] 
Move top_level_config to clparse.c; use more defaults from client config structure; be less noisy about broadcasts that aren't for us; fix up exponential backoff code; time out in REQUESTING state if server doesn't ACK; record how long we've been trying to boot in the DHCP packet.

29 years agoSet up enough defaults that we can actually boot without a configuration file.
Ted Lemon [Fri, 28 Mar 1997 23:50:15 +0000 (23:50 +0000)] 
Set up enough defaults that we can actually boot without a configuration file.

29 years agoClean up subdir targets
Ted Lemon [Fri, 28 Mar 1997 23:48:43 +0000 (23:48 +0000)] 
Clean up subdir targets

29 years agoIANA ARP code types and hardware types
Ted Lemon [Fri, 28 Mar 1997 22:27:50 +0000 (22:27 +0000)] 
IANA ARP code types and hardware types

29 years agoDNS Support code
Ted Lemon [Sat, 8 Mar 1997 02:24:16 +0000 (02:24 +0000)] 
DNS Support code

29 years agoUse MAX_TIME for abandoned leases rather than an explicit constant (which was wrong).
Ted Lemon [Sat, 8 Mar 1997 00:22:47 +0000 (00:22 +0000)] 
Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong).

29 years agoraw reads include IP header before icmp header, so we have to skip over it.
Ted Lemon [Sat, 8 Mar 1997 00:22:01 +0000 (00:22 +0000)] 
raw reads include IP header before icmp header, so we have to skip over it.

29 years agoRecord the time of the db_startup rewrite of the lease file so that we don't rewrite...
Ted Lemon [Thu, 6 Mar 1997 23:41:27 +0000 (23:41 +0000)] 
Record the time of the db_startup rewrite of the lease file so that we don't rewrite the file again the next time we offer a lease.

29 years agoIf a lease is abandoned, write it out even though it doesn't appear to be assigned...
Ted Lemon [Thu, 6 Mar 1997 22:20:17 +0000 (22:20 +0000)] 
If a lease is abandoned, write it out even though it doesn't appear to be assigned.   When abandoning a lease, set hardware type to zero, not -1

29 years agoPut parentheses around & operations
Ted Lemon [Thu, 6 Mar 1997 20:23:27 +0000 (20:23 +0000)] 
Put parentheses around & operations

29 years agoIf a lease is abandoned, it's okay to supersede even if things don't quite match up.
Ted Lemon [Thu, 6 Mar 1997 20:21:32 +0000 (20:21 +0000)] 
If a lease is abandoned, it's okay to supersede even if things don't quite match up.

29 years agoSend client identifier when declining.
Ted Lemon [Thu, 6 Mar 1997 20:13:42 +0000 (20:13 +0000)] 
Send client identifier when declining.

29 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

29 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.

29 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.

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

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

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

29 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.

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

29 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.

29 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.

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

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

29 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.

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

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

29 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

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

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

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

29 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.

29 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().

29 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.

29 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.

29 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.

29 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

29 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

29 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

29 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.

29 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

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

29 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.

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

29 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

29 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

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

29 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

29 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

29 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

29 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

29 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

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

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

29 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

29 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

29 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 /

29 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

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

29 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

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

29 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

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

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

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

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

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

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

29 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

29 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

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

29 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

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

29 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.

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

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

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

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

29 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

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

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

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

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

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

29 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

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

29 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...

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

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

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

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

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