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

46 Commits

Author SHA1 Message Date
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Thomas Markwalder
9121bf6749 [#76] Added new functions to man page dhcpctl/dhcpctl.3
Also updated copyrights
2022-01-20 16:31:28 -05:00
Thomas Markwalder
7f15246697 [#76] Initial implemention to dhcpctl_timed_wait_for_completion
common/conflex.c
includes/dhctoken.h
dhcpctl/omshell.c
    Added support for "disconnect"

dhcpctl/cltest.2 - new file that exercizes timed waits and disconnect

dhcpctl/Makefile.am.in
    Added cltest2.c

dhcpctl/dhcpctl.*
    dhcpctl_timed_wait_for_completion() - new function
    dhcpctl_disconnect() - new function
    Added debug logging

omapip/dispatch.c
    Added protocol logging

    omapi_wait_for_completion()
        Fixed dangling waiter reference

    omapi_one_dispatch()
        Added logic to skip emit writefds from select list

omapip/support.c
    Changed annoying DEBUG logs to DEBUG_PROTOCOL
2022-01-20 16:30:49 -05:00
Tomek Mrugalski
f6b8f48d16 [#189] Whitespace fixes in opened files 2022-01-20 12:04:28 +01:00
Tomek Mrugalski
429a56d73c [#189] ISC address updated 2022-01-20 12:04:28 +01:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Thomas Markwalder
9564b4f04c [master] Removed extraneous expression from omapi socket callback
Merges in rt42834.
2016-09-06 15:34:38 -04: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
47e8308dea [master]
[32692] Signal handlers added: sigint (ctrl-c) and sigterm (default kill)
2013-10-30 13:52:36 -07:00
Shawn Routhier
1e2a127bfe [master]
[rt31231]
Check the status when trying to read from a connection
and don't ask for more if we seem to have a closed
connection.
[ISC-Bugs #31231]
2012-11-26 12:14:27 -08: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
f9453d21f2 - A bug in DLPI packet transmission (Solaris, HP/UX) that caused the server
to stop receiving packets is fixed.  The same fix also means that the MAC
  address will no longer appear 'bogus' on DLPI-based systems.
  [ISC-Bugs #19186]

- A bug in select handling was discovered where the results of one select()
  call were discarded, causing the server to process the next select() call
  and use more system calls than required.  This has been repaired - the
  sockets will be handled after the first return from select(), resulting in
  fewer system calls.  [ISC-Bugs #19186]
2009-03-24 18:33:52 +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
Evan Hunt
dccb6edf66 Updated copyright strings for 4.1.0a1 release 2008-01-24 02:43:06 +00:00
David Hankins
6368a1bd72 - Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
released in bursts after single fsync() events when the upper limit is
  reached or if the receiving sockets go dry.  The practical upshot is
  that fsync-coupled server performance is now multiplicitively increased.
  The default delayed ack limit is 28.  Thanks entirely to a patch from
  Christof Chen.
2008-01-21 19:53:21 +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
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
86a9cf83c2 Cosmetic fix. 2001-05-02 07:00:30 +00:00
Ted Lemon
9bf59e8353 If an IO descriptor goes bad, stop waiting on it. 2001-04-20 19:23:45 +00:00
Damien Neil
d01dde7682 Fix for bug #416: If a server hands dhclient an insanely large
lease time, select() can get passed a too-large timeout, causing it
to return EINVAL.  This fix restricts the select() timeout to one day.
2000-11-01 23:59:57 +00:00
Ted Lemon
645eab7bec Print more information when bad socket is found. 2000-09-12 21:53:15 +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
Damien Neil
c3064fe0cf Properly initialize 'last' when removing I/O objects: removing the first
one should no longer croak.
2000-07-10 17:03:38 +00:00
Ted Lemon
edbb766799 Get rid of some debugging statements 2000-07-05 09:13:02 +00:00
Ted Lemon
477e97ddd3 Fix some debugging code so it compiles on Solaris. 2000-06-29 20:07:00 +00:00
Ted Lemon
cfb3f45dac - Add some code to actually track down and report the I/O object that's
producing a bad descriptor, and to try to shut it down.
2000-06-20 20:30:27 +00:00
Ted Lemon
d8c4674091 Account for possibility that io object has no inner object. 2000-06-06 23:47:27 +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
b6237fb286 - Fix up reference counting of io object chain.
- Add omapi_unregister_io_object.
2000-05-03 06:15:31 +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
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
6a4c4be871 Seperate public and private object declarations. 1999-10-08 03:43:15 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
727ebc3a15 Strip the waiter from its object after the wait completes! 1999-09-09 21:08:28 +00:00
Ted Lemon
61b844bfd7 Omapi library, initial checkin 1999-09-02 00:32:56 +00:00