]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
28 years agoFreeBSD client script
Ted Lemon [Mon, 2 Jun 1997 23:37:12 +0000 (23:37 +0000)] 
FreeBSD client script

28 years agoFix typo
Ted Lemon [Mon, 2 Jun 1997 23:37:04 +0000 (23:37 +0000)] 
Fix typo

28 years agoFix operator precedence bug
Ted Lemon [Mon, 2 Jun 1997 23:28:18 +0000 (23:28 +0000)] 
Fix operator precedence bug

28 years agoMake name-servers option ien116-name-servers
Ted Lemon [Mon, 2 Jun 1997 23:27:22 +0000 (23:27 +0000)] 
Make name-servers option ien116-name-servers

28 years agoAdd cftest flag which just tests config file but doesn't actually run.
Ted Lemon [Mon, 2 Jun 1997 23:26:29 +0000 (23:26 +0000)] 
Add cftest flag which just tests config file but doesn't actually run.

28 years agoDefine alias_names_permuted: Solaris has similar lossage to Linux WRT per-interface...
Ted Lemon [Mon, 2 Jun 1997 23:25:48 +0000 (23:25 +0000)] 
Define alias_names_permuted: Solaris has similar lossage to Linux WRT per-interface address aliases.

28 years agoDon't use polling on SunOS4 - it seems to tweak an O.S. Bug.
Ted Lemon [Mon, 2 Jun 1997 23:25:04 +0000 (23:25 +0000)] 
Don't use polling on SunOS4 - it seems to tweak an O.S. Bug.

28 years agoAdd iaddrlist structure for tracking lists of IP addresses
Ted Lemon [Mon, 2 Jun 1997 23:24:32 +0000 (23:24 +0000)] 
Add iaddrlist structure for tracking lists of IP addresses

28 years agoAdd REJECT token
Ted Lemon [Mon, 2 Jun 1997 23:24:05 +0000 (23:24 +0000)] 
Add REJECT token

28 years agoAdd cygwin32 ifdefs; new prototypes; add some fields to dhcp client structures.
Ted Lemon [Mon, 2 Jun 1997 23:23:05 +0000 (23:23 +0000)] 
Add cygwin32 ifdefs; new prototypes; add some fields to dhcp client structures.

28 years agoSample dhclient.conf takes advantage of some new features.
Ted Lemon [Mon, 2 Jun 1997 22:50:44 +0000 (22:50 +0000)] 
Sample dhclient.conf takes advantage of some new features.

28 years agoTry to renew active lease in REBOOT state even if it's expired.
Ted Lemon [Mon, 2 Jun 1997 22:45:08 +0000 (22:45 +0000)] 
Try to renew active lease in REBOOT state even if it's expired.

28 years agoSupport rejection of messages from rogue servers; print IP addr of server instead...
Ted Lemon [Mon, 2 Jun 1997 22:36:25 +0000 (22:36 +0000)] 
Support rejection of messages from rogue servers; print IP addr of server instead of MAC addr.

28 years agoHandle the REJECT statement
Ted Lemon [Mon, 2 Jun 1997 22:34:19 +0000 (22:34 +0000)] 
Handle the REJECT statement

28 years agoInstall 1.0 README updates and modify for 2.0
Ted Lemon [Mon, 2 Jun 1997 22:33:41 +0000 (22:33 +0000)] 
Install 1.0 README updates and modify for 2.0

28 years agoSupply extra argument to pretty_print_options
Ted Lemon [Mon, 2 Jun 1997 22:32:37 +0000 (22:32 +0000)] 
Supply extra argument to pretty_print_options

28 years agoAdd emit_quotes qualifier to pretty_print_option, so that we don't get extra quotes...
Ted Lemon [Mon, 2 Jun 1997 22:32:05 +0000 (22:32 +0000)] 
Add emit_quotes qualifier to pretty_print_option, so that we don't get extra quotes when emitting strings into configuration scripts

28 years agoDon't select for exceptions, since we don't know how to handle them.
Ted Lemon [Mon, 2 Jun 1997 22:31:30 +0000 (22:31 +0000)] 
Don't select for exceptions, since we don't know how to handle them.

28 years agoAdd REJECT keyword
Ted Lemon [Mon, 2 Jun 1997 22:30:52 +0000 (22:30 +0000)] 
Add REJECT keyword

28 years agoCygwin32 compatibility. Initialize DNS
Ted Lemon [Fri, 9 May 1997 08:27:56 +0000 (08:27 +0000)] 
Cygwin32 compatibility.   Initialize DNS

28 years agoFix bug introduced into dhcprequest processing. Fix core dump differently. Store...
Ted Lemon [Fri, 9 May 1997 08:27:14 +0000 (08:27 +0000)] 
Fix bug introduced into dhcprequest processing.   Fix core dump differently.   Store client-supplied hostname.   Fix ciaddr copy.

28 years agoWrite out client_hostname and hostname values when writing out a lease
Ted Lemon [Fri, 9 May 1997 08:22:00 +0000 (08:22 +0000)] 
Write out client_hostname and hostname values when writing out a lease

28 years agoMove parse_host_name to parse.c. Add support for recording client-supplied and...
Ted Lemon [Fri, 9 May 1997 08:21:25 +0000 (08:21 +0000)] 
Move parse_host_name to parse.c.   Add support for recording client-supplied and locally-derived hostname in lease file

28 years agoCheck for BOOTREQUEST moved here
Ted Lemon [Fri, 9 May 1997 08:20:12 +0000 (08:20 +0000)] 
Check for BOOTREQUEST moved here

28 years agoCygwin32 definitions
Ted Lemon [Fri, 9 May 1997 08:19:38 +0000 (08:19 +0000)] 
Cygwin32 definitions

28 years agoLose BROKEN_FREEBSD_CF by default
Ted Lemon [Fri, 9 May 1997 08:18:37 +0000 (08:18 +0000)] 
Lose BROKEN_FREEBSD_CF by default

28 years agoCygwin32 support
Ted Lemon [Fri, 9 May 1997 08:18:06 +0000 (08:18 +0000)] 
Cygwin32 support

28 years agoAdd new keywords
Ted Lemon [Fri, 9 May 1997 08:17:23 +0000 (08:17 +0000)] 
Add new keywords

28 years agoIf there's no h_errno, assume the error is Host Not Found
Ted Lemon [Fri, 9 May 1997 08:14:57 +0000 (08:14 +0000)] 
If there's no h_errno, assume the error is Host Not Found

28 years agoname-servers -> ien116-name-servers, to reduce confusion. Add nds- options
Ted Lemon [Fri, 9 May 1997 08:13:38 +0000 (08:13 +0000)] 
name-servers -> ien116-name-servers, to reduce confusion.   Add nds- options

28 years agoHandle line-oriented parsing. Add parse_host_name function. Move parse_ip_addr...
Ted Lemon [Fri, 9 May 1997 08:08:53 +0000 (08:08 +0000)] 
Handle line-oriented parsing.   Add parse_host_name function.   Move parse_ip_addr and make it return status.   Fix date parsing off-by-one-day bug

28 years agoWork around Ultrix gotcha
Ted Lemon [Fri, 9 May 1997 08:07:33 +0000 (08:07 +0000)] 
Work around Ultrix gotcha

28 years agoLet bootp() check for correct type of packet
Ted Lemon [Fri, 9 May 1997 08:07:09 +0000 (08:07 +0000)] 
Let bootp() check for correct type of packet

28 years agoCall new ns_inaddr_lookup code for testing
Ted Lemon [Fri, 9 May 1997 08:06:29 +0000 (08:06 +0000)] 
Call new ns_inaddr_lookup code for testing

28 years agoFix alpha ptrsize botch. Try even harder to make sure ICMP Echo request packets...
Ted Lemon [Fri, 9 May 1997 08:05:28 +0000 (08:05 +0000)] 
Fix alpha ptrsize botch.   Try even harder to make sure ICMP Echo request packets are routed.   Better error message.

28 years agoCygwin32 compatibility; reindent; add routine for printing WinSock errors
Ted Lemon [Fri, 9 May 1997 08:03:44 +0000 (08:03 +0000)] 
Cygwin32 compatibility; reindent; add routine for printing WinSock errors

28 years agoUse new resolv.conf parser. Clean up some code. Add experimental (and non-functio...
Ted Lemon [Fri, 9 May 1997 08:02:33 +0000 (08:02 +0000)] 
Use new resolv.conf parser.   Clean up some code.   Add experimental (and non-functional) zone discovery code.

28 years agoFix stupid allocation bug. Handle IFF_POINTTOPOINT only if defined
Ted Lemon [Fri, 9 May 1997 08:00:50 +0000 (08:00 +0000)] 
Fix stupid allocation bug.   Handle IFF_POINTTOPOINT only if defined

28 years agoSwap shorts with htons, not htonl!
Ted Lemon [Fri, 9 May 1997 07:58:33 +0000 (07:58 +0000)] 
Swap shorts with htons, not htonl!

28 years agoAdd keywords supersede, search, prepend, nameserver, domain, append. Add support...
Ted Lemon [Fri, 9 May 1997 07:57:54 +0000 (07:57 +0000)] 
Add keywords supersede, search, prepend, nameserver, domain, append.   Add support for handling newline as its own token instead of as a token seperator, to enable parsing of resolv.conf files

28 years agoFix sizeof bug. Add allocators for name server entries and domain search list entries
Ted Lemon [Fri, 9 May 1997 07:56:13 +0000 (07:56 +0000)] 
Fix sizeof bug.   Add allocators for name server entries and domain search list entries

28 years agoAdd resolver parser
Ted Lemon [Fri, 9 May 1997 07:55:19 +0000 (07:55 +0000)] 
Add resolver parser

28 years agoCygwin32 compatibility. Handle prepend, append and supersede option modifiers....
Ted Lemon [Fri, 9 May 1997 07:54:14 +0000 (07:54 +0000)] 
Cygwin32 compatibility.   Handle prepend, append and supersede option modifiers.   Minimal BOOTP support.   Handle seed generation differently.

28 years agoMake parse_option_decl return the option structure it parsed. parse_ip_addr now...
Ted Lemon [Fri, 9 May 1997 07:48:34 +0000 (07:48 +0000)] 
Make parse_option_decl return the option structure it parsed.   parse_ip_addr now returns a status.   Handle bootp flag in lease declaration.   Handle default, supersede and append option declarators.

28 years agoAdd cygwin32 configuration information
Ted Lemon [Fri, 9 May 1997 07:42:28 +0000 (07:42 +0000)] 
Add cygwin32 configuration information

28 years agoDefine PTRSIZE_64BIT on alpha
Ted Lemon [Mon, 31 Mar 1997 23:35:57 +0000 (23:35 +0000)] 
Define PTRSIZE_64BIT on alpha

28 years agoSolaris needs inet_aton and faked-up endian.h DHCP-970329
Ted Lemon [Sat, 29 Mar 1997 10:39:11 +0000 (10:39 +0000)] 
Solaris needs inet_aton and faked-up endian.h

28 years agoSunOS needs inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:38:38 +0000 (10:38 +0000)] 
SunOS needs inet_aton

28 years agoAdd prototype for inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:38:08 +0000 (10:38 +0000)] 
Add prototype for inet_aton

28 years agoLose const in inet_aton declaration
Ted Lemon [Sat, 29 Mar 1997 10:37:51 +0000 (10:37 +0000)] 
Lose const in inet_aton declaration

28 years agoCast pointer to char * in sendto for SunOS
Ted Lemon [Sat, 29 Mar 1997 10:37:18 +0000 (10:37 +0000)] 
Cast pointer to char * in sendto for SunOS

28 years agoWrap prototype with PROTO for SunOS
Ted Lemon [Sat, 29 Mar 1997 10:36:56 +0000 (10:36 +0000)] 
Wrap prototype with PROTO for SunOS

28 years agoCast malloc so that we don't get an error on SunOS
Ted Lemon [Sat, 29 Mar 1997 10:36:24 +0000 (10:36 +0000)] 
Cast malloc so that we don't get an error on SunOS

28 years agofoo DHCP-970328
Ted Lemon [Sat, 29 Mar 1997 04:07:32 +0000 (04:07 +0000)] 
foo

28 years agoBuild inet_addr.o
Ted Lemon [Sat, 29 Mar 1997 03:57:20 +0000 (03:57 +0000)] 
Build inet_addr.o

28 years agoLocal copy of inet_ntoa for systems that don't provide it
Ted Lemon [Sat, 29 Mar 1997 03:56:23 +0000 (03:56 +0000)] 
Local copy of inet_ntoa for systems that don't provide it

28 years agoUpdate copyright
Ted Lemon [Sat, 29 Mar 1997 03:32:34 +0000 (03:32 +0000)] 
Update copyright

28 years agoAllow IP addresses to be specified on the command line; don't use herror().
Ted Lemon [Sat, 29 Mar 1997 03:30:44 +0000 (03:30 +0000)] 
Allow IP addresses to be specified on the command line; don't use herror().

28 years agoDon't include netdevice.h - it causes compilation problems
Ted Lemon [Sat, 29 Mar 1997 03:19:54 +0000 (03:19 +0000)] 
Don't include netdevice.h - it causes compilation problems

28 years agoto is pointer to struct, not struct
Ted Lemon [Sat, 29 Mar 1997 03:19:02 +0000 (03:19 +0000)] 
to is pointer to struct, not struct

28 years agoCompile checksum code whether or not we're doing a low-level packet driver
Ted Lemon [Sat, 29 Mar 1997 03:18:28 +0000 (03:18 +0000)] 
Compile checksum code whether or not we're doing a low-level packet driver

28 years agoDon't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined
Ted Lemon [Sat, 29 Mar 1997 01:39:38 +0000 (01:39 +0000)] 
Don't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined

28 years agoAdd initial_interval and backoff_cutoff elements to client_config struct; dns.c proto...
Ted Lemon [Sat, 29 Mar 1997 01:26:56 +0000 (01:26 +0000)] 
Add initial_interval and backoff_cutoff elements to client_config struct; dns.c prototypes

28 years agoReturn the result of sends and receives
Ted Lemon [Sat, 29 Mar 1997 01:26:08 +0000 (01:26 +0000)] 
Return the result of sends and receives

28 years agoAdjust indentation; fix up calling conventions
Ted Lemon [Sat, 29 Mar 1997 01:25:32 +0000 (01:25 +0000)] 
Adjust indentation; fix up calling conventions

28 years agoAdd bnackoff-cutoff and initial-interval keywords
Ted Lemon [Sat, 29 Mar 1997 01:25:10 +0000 (01:25 +0000)] 
Add bnackoff-cutoff and initial-interval keywords

28 years agoip -> client -> packet is a struct, not a pointer to a struct
Ted Lemon [Sat, 29 Mar 1997 01:24:30 +0000 (01:24 +0000)] 
ip -> client -> packet is a struct, not a pointer to a struct

28 years agoAdd backoff_cutoff and initial_interval parse keywords; fix send_options thinko
Ted Lemon [Sat, 29 Mar 1997 01:23:17 +0000 (01:23 +0000)] 
Add backoff_cutoff and initial_interval parse keywords; fix send_options thinko

28 years agoUse -pipe on NetBSD
Ted Lemon [Sat, 29 Mar 1997 01:20:40 +0000 (01:20 +0000)] 
Use -pipe on NetBSD

28 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

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

28 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

28 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

28 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).

28 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

28 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

28 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

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

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

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

28 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

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

28 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).

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

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

28 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

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

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

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