2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00
Commit Graph

2690 Commits

Author SHA1 Message Date
Ted Lemon
86c60cbea0 Don't malloc zero-length uid buffer. 2001-04-24 01:02:24 +00:00
Ted Lemon
18529fb0c5 Unbill classes before dereferencing them. 2001-04-24 00:55:31 +00:00
Ted Lemon
3a4f23b5c4 Don't continue to try to trace if we can't open the tracefile. 2001-04-24 00:51:31 +00:00
Ted Lemon
33c281465a Put offsets into packet into comments. 2001-04-24 00:50:38 +00:00
Ted Lemon
2a1d78f094 Oops. 2001-04-24 00:46:14 +00:00
Ted Lemon
083335faeb Update for testing in RWC. 2001-04-24 00:44:41 +00:00
Ted Lemon
05dcd0936e Make lpf input packet reassembly buffer slightly bigger. 2001-04-24 00:36:00 +00:00
Ted Lemon
c6f810c2d5 If ICMP doesn't come up, continue. 2001-04-23 21:41:36 +00:00
Ted Lemon
79ea3de8b4 Update version and changelog 2001-04-20 21:34:41 +00:00
Ted Lemon
5b9b3c1f96 When a release expires or is released, unbill it. 2001-04-20 20:39:54 +00:00
Ted Lemon
bf7a92842a Notice if a lease is billed when it's already been billed. 2001-04-20 20:39:26 +00:00
Ted Lemon
c1d58ae6ec Don't allow writes on a closed connection. 2001-04-20 20:14:07 +00:00
Ted Lemon
06fa897b5e Use -f instead of -x to look for hooks. 2001-04-20 20:01:19 +00:00
Ted Lemon
61aaca12d9 Make put_message work with mallocs that don't allocate zero-length buffers. 2001-04-20 19:58:42 +00:00
Ted Lemon
c4cbdd1407 Undo previous change. 2001-04-20 19:24:20 +00:00
Ted Lemon
9bf59e8353 If an IO descriptor goes bad, stop waiting on it. 2001-04-20 19:23:45 +00:00
Ted Lemon
17a5059ba0 - If we are get a contact timeout on a link, drop it, regardless of
what state we're in.
2001-04-20 19:05:53 +00:00
Ted Lemon
d889f74498 - If we get an ECONNRESET, drop the connection immediately - don't
wait for the output queue to drain.
2001-04-20 19:04:26 +00:00
Ted Lemon
d07ccee395 Don't ignore 'no-op' peer state changes when we're disconnected. 2001-04-20 18:48:25 +00:00
Ted Lemon
837d4342f8 Oops, keep the old stos but take the new state when moving to recover_wait! 2001-04-20 18:34:27 +00:00
Ted Lemon
fd273e02d9 - Add recover_wait state.
- If we make transition from startup to recover_wait, set a timer to
  get us to recover_done.
- If peer state update is received, _always_ check to see if we should
  do a transition out of startup.
2001-04-20 18:11:40 +00:00
Ted Lemon
3417f5cf6a Add recover_wait state goo. 2001-04-20 18:07:29 +00:00
Ted Lemon
f67a7be59e - Don't print out spurious messages and initiate reconnect timeouts when
dhcp_failover_link_initiate returns ISC_R_INCOMPLETE.
2001-04-20 15:14:40 +00:00
Ted Lemon
740e7d2aa7 Don't use the same UID for all test leases. 2001-04-20 14:55:46 +00:00
Ted Lemon
b9eacded77 Adjust for alpha/solaris testing 2001-04-20 14:54:17 +00:00
Ted Lemon
f4c06dadd8 Use interface_snorf to register interfaces specified on the command line. 2001-04-19 16:48:53 +00:00
Ted Lemon
ca53ccc8be Convert 3.0b1 lease to current. 2001-04-18 19:17:34 +00:00
Ted Lemon
e831c83087 Update version. 2001-04-18 19:02:48 +00:00
Ted Lemon
755acf8875 - Add some informational statements in recover mode when it looks like nothing
is happening.
- Fix another compile option incompatibility.
2001-04-18 19:00:42 +00:00
Ted Lemon
79f3c35c6d - Fix a case where a by-value argument pointer is dereferenced, resulting
in a memory smash.
2001-04-18 18:58:39 +00:00
Ted Lemon
7243b3690d If we find an active IO object with a bad descriptor, unregister it. 2001-04-18 18:56:10 +00:00
Ted Lemon
36ed3a00a5 Fix a small bug in binary-to-ascii. 2001-04-18 18:54:47 +00:00
Ted Lemon
87784777a1 Update changelog and version 2001-04-18 18:53:44 +00:00
Ted Lemon
22f894cb67 Make them work on my alpha. 2001-04-18 18:46:16 +00:00
Ted Lemon
2bc8c870ad Test failover initial synchronization, etc. 2001-04-18 18:38:05 +00:00
Ted Lemon
6d779c721b Update version and changelog V3-RC1 2001-04-17 04:50:38 +00:00
Ted Lemon
294d641edb Fix a couple of ifdef compatibility mistakes. 2001-04-17 04:10:47 +00:00
Ted Lemon
f1d453af09 Fix -r documentation 2001-04-16 22:48:59 +00:00
Ted Lemon
a58978f058 Fix lease binding state transitions. 2001-04-16 22:32:58 +00:00
Ted Lemon
da2928331e Rototill the failover protocol support. 2001-04-16 22:28:50 +00:00
Ted Lemon
8100bfb0e3 Document how to put server into partner-down. 2001-04-16 22:26:30 +00:00
Ted Lemon
6f8a0361b4 - Default tstp if none is specified.
- Default initial state to recover instead of potential_conflict.
- Allow star-time-of-state to be left unspecified.
2001-04-16 22:25:04 +00:00
Ted Lemon
8206384cd8 Don't do refcount tracing on dmalloc/dfree unless the user asks for it. 2001-04-16 22:19:20 +00:00
Ted Lemon
9c1a8943d1 Add DEBUG_LEASE_STATE_TRANSITIONS 2001-04-16 22:17:58 +00:00
Ted Lemon
e540864ef1 Fix prototypes. 2001-04-16 22:15:23 +00:00
Ted Lemon
78b044faca Document the -nw flag. 2001-04-16 22:13:30 +00:00
Ted Lemon
37c1f13f27 Add nowait flag. Remove -D flag. 2001-04-16 22:07:33 +00:00
Ted Lemon
024ceae5c8 Remove obsolete documenation for -D 2001-04-16 22:05:43 +00:00
Ben Cottrell
45cf20c6e2 troff source from james replaces plain text. 2001-04-16 17:44:11 +00:00
Ben Cottrell
dc6d4b5a3e Arf... these are nroff output, but I don't have the original troff source.
Hopefully James does, so he can replace these with the nroff.

I just used:
	memcpy(ipaddrstring->value, &convaddr.s_addr, 4);
for the byte order thingy. I'm hoping this is right. inet_pton will
spit out the address in network byte order, and Ted says that
dhcpctl_set_value is expecting it in network byte order, also.
2001-04-12 21:23:14 +00:00