Ted Lemon
007e3ee4df
Rework DHCP lease state handling to be compatible with failover protocol.
2000-06-02 21:27:21 +00:00
Ted Lemon
7bb809483c
Fix a buffer overflow problem (not a security issue). Thanks to Joe.
2000-05-30 21:43:42 +00:00
Ted Lemon
67569fa648
Initialize omapi before parsing command line.
2000-05-30 21:17:04 +00:00
Ted Lemon
20916cae75
- Fix all the OMAPI objects in the DHCP server and client that weren't
...
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
134ceef89f
Add persist flag to stop the client from exiting if no interfaces are found.
2000-05-01 17:15:23 +00:00
Ted Lemon
291c524f45
Don't use the same OMAPI port as the server.
2000-04-04 06:24:37 +00:00
Ted Lemon
3b106356e0
Clarify credits on client implementation.
2000-03-24 00:20:33 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
bdcaf7b95d
Incorporate Brian Murrell's new OMAPI DHCP client changes.
2000-02-15 20:40:36 +00:00
Ted Lemon
7804c030de
Fix call to snprintf
2000-02-02 20:47:55 +00:00
Ted Lemon
9458e9aa07
Minor solaris fixes.
2000-02-02 20:01:50 +00:00
Ted Lemon
347de8bdb6
Brian Murrell's changes to allow the client to be directed using OMAPI.
2000-01-28 20:30:37 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
cf78bf2090
Support variable scoping. Support debugging malloc.
2000-01-25 00:58:57 +00:00
Ted Lemon
31730f17c7
struct hardware conversion.
2000-01-05 18:01:15 +00:00
Ted Lemon
d9eefc5dec
Mass commit for Brian Murrell.
1999-11-20 18:36:32 +00:00
Ted Lemon
6767b59234
- Add dummies for agent information option handling.
...
- Don't spin if /tmp missing or some other unexpected error happens when
invoking client script.
1999-11-13 23:49:41 +00:00
Ted Lemon
78a33b8260
Don't log to stderr if -q is set.
1999-10-30 14:07:29 +00:00
Ted Lemon
11373fb651
- Allow the user to specify giaddr on the command line, for testing.
...
- If giaddr is specified, and it's not INADDR_LOOPBACK, use port 67 as
the source port and also listen on port 67, since we're pretending to
be a relay agent, and not a client.
- Stagger the first renew by +/- 1/4 of a lease interval, to mitigate 9am
syndrome.
- Stagger startup time by up to five seconds, to even out the startup load.
1999-10-24 19:44:15 +00:00
Ted Lemon
1c0166794d
Correct ordering of log arguments.
1999-10-14 17:40:05 +00:00
Ted Lemon
ab58ff49e0
Fix up args to printf-like functions (thanks to Pedro Ribiero).
1999-10-12 16:00:34 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
7d7a35faab
Adjust dummy db_startup call.
1999-10-01 03:42:47 +00:00
Ted Lemon
bfdb842e27
Add dummy for find_subnet().
1999-09-28 22:49:10 +00:00
Ted Lemon
628beb0ecd
Add another empty hook for memory.c. Initialize the OMAPI explicitly.
1999-09-09 21:00:13 +00:00
Ted Lemon
0852a27f32
- Fix two stupid bugs that caused filename and server_name not to be usable
...
by the client.
- Rototill expression evaluation calls.
1999-07-31 17:50:41 +00:00
Ted Lemon
3020a2c1f1
Add a -s flag to specify the server IP address (handy for debugging).
1999-07-06 16:48:34 +00:00
Ted Lemon
da38df1433
Pervasive changes to support leased_address, reverse and binary_to_ascii.
1999-07-02 20:58:48 +00:00
Ted Lemon
31020a36fd
Update version info.
1999-05-07 17:32:38 +00:00
Ted Lemon
426f5bd08b
Update version number.
1999-05-06 20:44:58 +00:00
Ted Lemon
ea573d1a93
Update version number.
1999-04-25 13:21:52 +00:00
Ted Lemon
05223b724c
Update version.
1999-04-23 23:35:44 +00:00
Ted Lemon
7026ed182f
Update version.
1999-04-12 22:24:24 +00:00
Ted Lemon
70e3642f9c
Update version.
1999-04-08 19:47:55 +00:00
Ted Lemon
4bf33120c3
Use option_state_reference instead of just copying the pointer.
1999-04-05 19:00:50 +00:00
Ted Lemon
230e73e42d
- Adjust option_state-related calls to use new, more general calls.
1999-04-05 15:19:59 +00:00
Ted Lemon
37fc56b47d
Update version
1999-03-30 21:54:03 +00:00
Ted Lemon
196be7203b
Update version.
1999-03-29 23:00:02 +00:00
Ted Lemon
96c2624b8d
Adjust version numbers.
1999-03-29 19:04:36 +00:00
Ted Lemon
f345b36d53
Fix a bug in BOOTP broadcast flag setting for DHCPDISCOVER.
1999-03-29 18:49:58 +00:00
Ted Lemon
6869f9360f
Update version number.
1999-03-26 21:27:24 +00:00
Ted Lemon
2d1b06e071
Pull up changes in Patchlevel 19
1999-03-26 19:19:46 +00:00
Ted Lemon
af6df788ab
Fix bug in secs handling.
1999-03-25 21:51:29 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
9ffa442ca4
Update version string.
1999-03-16 00:17:20 +00:00
Ted Lemon
7d3bc735ce
- Only use broadcast flag if we have to.
...
- Only use our lease address as our source address in RENEWING and
REBINDING states.
- Fix typo in cast.
1999-03-13 18:52:41 +00:00
Ted Lemon
e16f4c3e09
Fix DHCPDECLINE support
1999-03-11 01:46:43 +00:00
Ted Lemon
ce0ec46d27
Pass parameter request list to cons_options.
1999-03-10 20:39:22 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00