2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 19:08:08 +00:00

94 Commits

Author SHA1 Message Date
Shawn Routhier
e9326fd0f4 [master] Add define to disable gentle shutodwn by default
Add a define to disable the gentle shutdown feature by default.
The feature has some effects (recover-wait in failvoer pairs)
and release in clients that are always desired.  We plan to
revisit this in order to make it easier to use but with the
define it can be enabled if necessary.
2014-07-02 08:49:19 -07:00
Shawn Routhier
00e9af8ee0 [master] Add configure option to incude PID in syslog entries 2014-05-07 12:19:33 -07:00
Shawn Routhier
f950de775f [master] Add code to remove pid files and to log killing of clients 2014-05-07 08:03:19 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
324257e3db [master] Update version stamps and such for 4.3.0b1 2014-01-15 19:38:55 -08:00
Shawn Routhier
32da1939af [master] Prepare for 4.3.0a1
Update vesion stamps, copyright dates and the bind version to use.
2013-12-13 13:32:35 -08:00
Shawn Routhier
61ef216b8d [master] Add support for user selection of the from address for DDNS transactions 2013-12-11 08:08:42 -08:00
Shawn Routhier
619304cd87 [master] Support using v6 relay options in server decicions. 2013-11-25 21:00:41 -08:00
Shawn Routhier
0895c955d1 [master] Fix up the gentle shutdown code to handle failover
This patch modifies the gentle failover patch to
be cleaner and to handle failover peers better.
2013-11-14 12:55:10 -08:00
Shawn Routhier
47e8308dea [master]
[32692] Signal handlers added: sigint (ctrl-c) and sigterm (default kill)
2013-10-30 13:52:36 -07:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Shawn Routhier
0f750c4fb1 [master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool.  Runs courtesy of Red Hat.
2012-10-16 15:05:24 -07:00
Tomek Mrugalski
c6455252e8 Relay now properly logs that packet was received over interface without
global IPv6 address [ISC-Bugs #24070]
2011-05-10 12:54:36 +00:00
Tomek Mrugalski
1185c76639 Relay no longer crashes, when DHCP packet is received over interface without
any IPv4 address assigned. Also extended logging message about discarding
packets with invalid hlen with information about relevant interface name.
[ISC-Bugs #22409]
2011-05-10 11:24:44 +00:00
Shawn Routhier
4a5bfeacbe Add the option "--no-pid" to the client, relay and server code,
to disable writing a pid file.  Add the option "-pf pidfile"
to the relay to allow the user to supply the pidfile name at
runtime.  Add the "with-relay6-pid-file" option to configure
to allow the user to supply the pidfile name for the relay
in v6 mode at configure time.
[ISC-Bugs #23351] [ISC-Bugs #17541]
2011-04-15 21:58:12 +00:00
Shawn Routhier
69c1bf48d3 Add include for stddef.h and remove an extra space from dhcrelay.c 2010-02-02 19:58:18 +00:00
Shawn Routhier
a35285748d Clean up some compiler warnings 2010-02-02 00:44:06 +00:00
Shawn Routhier
98bf16077d Support for asynchronous ddns per ticket 19216 - convert to using isclib and
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
Paul Selkirk
4c750c5881 Add dummy initializers to a few local variables to fix build errors on v4-only builds with older versions of gcc. [rt19321] 2009-02-11 16:58:01 +00:00
Shawn Routhier
ae56655628 Update for 19054 - modifications to keep GCC 4.3 happy 2009-01-22 00:43:58 +00:00
Shawn Routhier
59112e84f5 Validate argument to port option - bug 18695 2009-01-06 00:32:19 +00:00
Evan Hunt
ebf076feea A missing "else" in dhcrelay.c could have caused an interface not to
be recognized. [rt18887]
2008-11-12 23:22:14 +00:00
Evan Hunt
9733358a3e local and remote port numbers in dhcpv4 were both set to 67; fixed. [rt18172] 2008-07-16 16:29:14 +00:00
Evan Hunt
d352732ea7 Fix handling of -A and -a flags in dhcrelay; it was failing to expand
packet size as needed to add relay agent options. [rt18296]
2008-07-16 16:18:22 +00:00
Evan Hunt
7de20a9518 - Merge dhcrelay6 into dhcrelay
- Prep for 4.1.0a2 release
2008-06-13 00:55:53 +00:00
Evan Hunt
28ccc50f57 Oh guess what, this is 2008, not 2007... 2008-01-24 02:17:41 +00:00
Evan Hunt
e4a896be6b Fix "dhcrelay --version" [rt17350] 2008-01-17 17:18:28 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
Evan Hunt
a546f2a714 Chdir to "/" before going into daemon mode. Use realpath() to
canonicalize relative pathnames. [rt16729]
2007-06-07 15:29:31 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70 - Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
David Hankins
78c553c4a0 Removing the new I/O changes from HEAD. [ISC-Bugs #16328] 2006-08-09 14:57:48 +00:00
Shane Kerr
509df655d1 Merging in final change from rt15937, getting rid of space
before () in function calls.
2006-05-11 14:48:59 +00:00
David Hankins
3a16098f0b Pulling work between V3-0-4B3 and present v3-release-branch to HEAD. 2006-05-05 20:32:31 +00:00
Shane Kerr
185d16f9f9 Changes as documented in ticket #15937 (stdio file descriptor fixes). 2006-03-27 09:45:47 +00:00
David Hankins
25b988c68f - The IO system now tracks all local IP addresses, so that the DHCP
applications (particularly the dhcrelay) can discern between what frames
  were tranmsitted to it, and what frames are being carried through it which
  it should not intercept. [ISC-Bugs #15573]
2006-02-27 23:56:13 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +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
dfb6c5aa43 Make sure we have a stdin, stdout and stderr. 2001-04-05 22:44:23 +00:00
Ted Lemon
c466184540 Fix up NetBSD/alpha build. 2001-02-26 22:21:15 +00:00
Ted Lemon
36dd644c00 Print a version number and exit if given the --version flag. 2001-02-12 20:50:31 +00:00
Ted Lemon
6cecb7c50d Initialize omapi before trying to mess with interfaces. 2000-12-29 06:47:46 +00:00
Ted Lemon
1a48c9c331 Make dhcrelay link when DEBUG is defined. 2000-10-12 09:05:04 +00:00
Ted Lemon
a9ef57b1e5 Use interface_allocate() to allocate interfaces. 2000-09-29 18:14:00 +00:00
Ted Lemon
639b70fa45 Fix uninitialized use of automatic variable (Hans Persson) 2000-09-27 19:35:56 +00:00