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

58 Commits

Author SHA1 Message Date
Thomas Markwalder
e39b419396 [master] Added include of isc/util.h as needed
Merges in 46332.
2017-10-19 13:21:18 -04:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Shawn Routhier
21f3982ab3 [master] When opening a connection, if the socket can't be bound close it. 2016-07-28 21:11:24 -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
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
Shawn Routhier
199f0b8abb Convert ISC_R_INPROGRESS status to ISC_R_SUCCESS when called from other
than the dispatch handler.  This fixes an issue where omshell, when
run from the same platform as the server, would appear to fail to
connect.  This is a companion to #21839.  [ISC-Bugs #23592]
2011-05-24 00:36:58 +00:00
Shawn Routhier
23d39ae2d8 Don't pass the ISC_R_INPROGRESS status to the omapi signal handlers.
Passing it through to the handlers caused the omshell program to fail
to connect to the server.  [ISC-Bugs #21839]

Fix the paranthesis in the code to process configuration statements
beginning with "auth".  The previous arrangement caused
"auto-partner-down" to be processed incorrectly.  [ISC-Bugs #21854]
2010-12-14 21:59:44 +00:00
Shawn Routhier
3004babab1 Ignore sigpipe if possible. 22269 2010-11-18 19:47:36 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Shawn Routhier
8fa0112dd1 Ticket 20540 - clean ups for DHCP-DDNS work, add an change dropped in the
merge, arrange to handle callbacks from the socket code after we've deleted
the socket and deal with the quantum issue in the tasks.  This last will
be removed shortly as a better fix is now available.
2009-11-19 23:49:57 +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
0493fdca5e Fix handling of changing a connectiong from connecting to connected, avoiding
releasing the memory for the omapi io object.
2009-10-15 18:39:49 +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
David Hankins
4619c0a2fb - A memory leak when using omapi has been fixed. [ISC-Bugs #17560] 2008-03-18 18:28:14 +00:00
David Hankins
66cebfcb89 - ./configure was extended to cover many optional build features, such
as failover, server tracing, debugging, and the execute() command.
  [ISC-Bugs #17678]
2008-02-28 21:21:56 +00:00
Shane Kerr
06eb8bab55 Fix a number of warnings (and a few real bugs) found by enabling
gcc warnings.

See RT ticket #17013 for more.
2007-08-22 13:41:37 +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
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
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
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
31bbee784c Sync with 3.0rc7 2001-05-17 19:04:09 +00:00
Ted Lemon
aaa98d8c5b Return connection failure status codes. 2001-05-02 06:52:03 +00:00
Ted Lemon
c4cbdd1407 Undo previous change. 2001-04-20 19:24:20 +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
a7394d157f Fix cross-platform compile warnings 2001-02-17 21:34:56 +00:00
Damien Neil
5f23e89579 Fixes for several log_*() format bugs: %d -> %ld, plus a cast to (long int). 2001-02-15 20:35:40 +00:00
Damien Neil
2844788f4e Fixed a typecast bug: the third argument of omapi_connection_array_extend()
is an (int *), not a (u_int32_t *).
2001-02-15 20:31:36 +00:00
Ted Lemon
ef5cc1830b Add tracing support for OMAPI connects and disconnects. 2001-02-15 05:38:52 +00:00
Ted Lemon
3ce5a42015 Add some support for tracing connections. 2001-02-12 20:49:54 +00:00
Ted Lemon
2321120a86 Oops, fix the cast from the previous commit so it actually helps. 2001-01-08 17:26:04 +00:00
Ted Lemon
b8a4e41a7a Fix a signed vs. unsigned problem. 2001-01-08 15:39:43 +00:00
Damien Neil
8c3c655296 Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms. 2000-12-09 00:10:55 +00:00
Ted Lemon
67a291cfbf Do better status checking when starting connections. 2000-09-29 20:58:26 +00:00
Ted Lemon
275082ddad Support ISC_R_INCOMPLETE for partial connects. 2000-08-31 04:39:18 +00:00
Ted Lemon
4b63c26ef8 Use unsigned char instead of u_char. 2000-08-17 19:43:04 +00:00
Damien Neil
e11a162ff4 Added a number of (#ifdef-guarded) debugging statements. 2000-08-14 21:58:57 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Ted Lemon
ee3aeca67f Completely break connection to I/O object when connection is severed. 2000-06-06 23:47:14 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +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
d86ec998a2 Get rid of SO_USELOOPBACK. Use omapi_unregister_io_object. 2000-05-03 06:12:28 +00:00
Ted Lemon
fc24e951a2 - Make the connect system call asynchronous.
- Add a new call that takes a list of addresses of arbitrary types,
  rather than just IPv4 addresses.
- Allow caller to also specify a local address to which to bind before
  connecting.
2000-05-01 23:50:16 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
d1f313b300 socklen_t -> SOCKLEN_T 2000-02-03 03:43:51 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
37e365b490 - In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
2000-01-27 22:40:55 +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
d05243c113 Include inet.h 2000-01-25 01:26:52 +00:00