]>
git.ipfire.org Git - thirdparty/kea.git/log
JINMEI Tatuya [Fri, 30 Dec 2011 20:50:09 +0000 (12:50 -0800)]
[1522] forgot to make another cleanup: made the constructor of
SocketRequestorCCSession 'explicit'.
JINMEI Tatuya [Fri, 30 Dec 2011 18:12:59 +0000 (10:12 -0800)]
[805] added explicit 'this' in TYPED_TESTs. At least clang doesn't compile
it without them.
Tomek Mrugalski [Fri, 30 Dec 2011 15:29:05 +0000 (16:29 +0100)]
Merge branch 'trac1367'
Conflicts:
ChangeLog
Shane Kerr [Fri, 30 Dec 2011 15:16:45 +0000 (16:16 +0100)]
Merge branch 'trac1367' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac1367
Shane Kerr [Fri, 30 Dec 2011 15:11:48 +0000 (16:11 +0100)]
Language fixes for DHCP parts of guide.
JINMEI Tatuya [Fri, 30 Dec 2011 09:11:51 +0000 (01:11 -0800)]
[1522] normalize the log message file.
JINMEI Tatuya [Fri, 30 Dec 2011 09:09:01 +0000 (01:09 -0800)]
[1522] added some logging messages for the socket requestor.
JINMEI Tatuya [Fri, 30 Dec 2011 08:22:08 +0000 (00:22 -0800)]
[master] added changelog entry for #1502. also fixed entry number gaps
introduced at entry "359" (which should have been 350).
JINMEI Tatuya [Fri, 30 Dec 2011 08:18:54 +0000 (00:18 -0800)]
[master] Merge branch 'trac1502'
JINMEI Tatuya [Fri, 30 Dec 2011 07:12:41 +0000 (23:12 -0800)]
[1462] added (improved) a test case where serial number arithmetic is crucial.
JINMEI Tatuya [Fri, 30 Dec 2011 07:01:56 +0000 (23:01 -0800)]
[1462] added one more request_serial > current_serial case. some comment
cleanup, eliminating redundancy.
JINMEI Tatuya [Fri, 30 Dec 2011 06:57:33 +0000 (22:57 -0800)]
[1462] recovered another ixfr-to-axfr test case.
JINMEI Tatuya [Fri, 30 Dec 2011 06:52:57 +0000 (22:52 -0800)]
[1462] recovered an AXFR-style IXFR test case.
JINMEI Tatuya [Fri, 30 Dec 2011 06:38:21 +0000 (22:38 -0800)]
[1462] some style fixes, mainly removing white spaces from blank lines.
JINMEI Tatuya [Fri, 30 Dec 2011 06:25:11 +0000 (22:25 -0800)]
[1522] added SIGPIPE filter and re-enabled tests that failed due to the signal.
JINMEI Tatuya [Fri, 30 Dec 2011 06:15:35 +0000 (22:15 -0800)]
[1522] made sure sending socket token to the boss before receiving the FD.
updated the test to check the sent tokens, skipping them unless we can specify
read timeout so we can avoid deadlock in the worst case.
right now there's one remaining bug: once the boss side socket is closed
subsequent call to requestSocket() will result in SIGPIPE. I'll fix it
in the next commit. For now I disabled offending tests.
JINMEI Tatuya [Fri, 30 Dec 2011 06:14:58 +0000 (22:14 -0800)]
[1522] fixed a bug on dependency library: error handling was incorrect. also
made some style fixes.
Tomek Mrugalski [Thu, 29 Dec 2011 22:26:40 +0000 (23:26 +0100)]
Merge branch 'trac1230'
Conflicts:
ChangeLog
src/lib/dhcp/iface_mgr.h
Tomek Mrugalski [Thu, 29 Dec 2011 22:22:59 +0000 (23:22 +0100)]
[1230] Changes after review:
- ChangeLog from master merged.
- dhcp4_srv cleanup (echo remnants removed, assignLease renamed)
- Pkt4::unpack() now is void and throws in case of problems
JINMEI Tatuya [Thu, 29 Dec 2011 22:06:10 +0000 (14:06 -0800)]
[1522] avoid trying read from unix domain socket once an unexpected error
happens.
Michal 'vorner' Vaner [Thu, 29 Dec 2011 18:48:12 +0000 (19:48 +0100)]
[1454] Check we check for new commands
Michal 'vorner' Vaner [Thu, 29 Dec 2011 18:43:42 +0000 (19:43 +0100)]
[1454] Loop to listen
Tomek Mrugalski [Thu, 29 Dec 2011 17:13:19 +0000 (18:13 +0100)]
Merge remote-tracking branch 'origin/trac1527'
Tomek Mrugalski [Thu, 29 Dec 2011 14:49:58 +0000 (15:49 +0100)]
[1367] Acknowledgements section added, foreword updated (DHCP).
Tomek Mrugalski [Thu, 29 Dec 2011 14:49:05 +0000 (15:49 +0100)]
[1367] Sections are now numbered in BIND10 Guide
Tomek Mrugalski [Thu, 29 Dec 2011 13:18:02 +0000 (14:18 +0100)]
fix: memory leak in IfaceMgr::receive4(), reference in IfaceMgr test (cppcheck)
Xie Jiagui [Thu, 29 Dec 2011 09:46:29 +0000 (17:46 +0800)]
[1462] Add test for Serial Object,not integer.
JINMEI Tatuya [Thu, 29 Dec 2011 08:21:50 +0000 (00:21 -0800)]
[1522] made sure the status code includes \n. also made sure passed sockets
will be successfully closed.
JINMEI Tatuya [Thu, 29 Dec 2011 07:05:50 +0000 (23:05 -0800)]
[1522] some more cleanups: mainly style, some for more constify; some for
simplification; some for preferring reference over real object when possible.
JINMEI Tatuya [Thu, 29 Dec 2011 02:58:59 +0000 (18:58 -0800)]
[1522] more cleanup: changed some static member functions to non members
as they don't have to get access to class internal.
JINMEI Tatuya [Thu, 29 Dec 2011 02:38:14 +0000 (18:38 -0800)]
[1522] cleanups: move some private member function to non member when they
don't have to access class internals; constify; other style fixes.
JINMEI Tatuya [Wed, 28 Dec 2011 22:58:13 +0000 (14:58 -0800)]
[1522] style fix: added parentheses for return
JINMEI Tatuya [Wed, 28 Dec 2011 20:07:37 +0000 (12:07 -0800)]
[1462] cleanup: removed white space in a blank line.
JINMEI Tatuya [Wed, 28 Dec 2011 19:37:47 +0000 (11:37 -0800)]
[1502] revised the logic of checking equality of RR types as suggested in review
Tomek Mrugalski [Wed, 28 Dec 2011 17:34:53 +0000 (18:34 +0100)]
[1367] ChangeLog update.
Michal 'vorner' Vaner [Wed, 28 Dec 2011 14:36:16 +0000 (15:36 +0100)]
[1515] Make sure the same error is not in named_set
Michal 'vorner' Vaner [Wed, 28 Dec 2011 14:30:30 +0000 (15:30 +0100)]
[1515] Don't crash when printing exception
The thing should be converted to string properly
Jeremy C. Reed [Wed, 28 Dec 2011 14:26:09 +0000 (08:26 -0600)]
[master] commit regenerated manuals
This documentation was updated previously in Docook XML format,
now commit the regenerated nroff versions.
Tomek Mrugalski [Wed, 28 Dec 2011 12:39:21 +0000 (13:39 +0100)]
[1367] BIND10 Guide update (DHCP)
- Supported standards section added
- Numerous smaller updates
Michal 'vorner' Vaner [Wed, 28 Dec 2011 12:17:39 +0000 (13:17 +0100)]
[1510] Remove the -u flag from resolver
Michal 'vorner' Vaner [Wed, 28 Dec 2011 12:15:19 +0000 (13:15 +0100)]
[1510] Remove the -u flag from auth
Michal 'vorner' Vaner [Wed, 28 Dec 2011 12:06:34 +0000 (13:06 +0100)]
[1510] Don't call auth and resolver with -u
Michal 'vorner' Vaner [Wed, 28 Dec 2011 11:34:07 +0000 (12:34 +0100)]
[1509] Remove switching to user for Msgq and Cfgmgr
The boss is (would be, when #1508 is merged) already switched at the
time.
Tomek Mrugalski [Wed, 28 Dec 2011 11:33:38 +0000 (12:33 +0100)]
[1367] DHCPv6 doc added, DHCPv4 doc updated.
Tomek Mrugalski [Wed, 28 Dec 2011 11:04:41 +0000 (12:04 +0100)]
[1367] Initial documentation for DHCPv4 is ready.
Michal 'vorner' Vaner [Tue, 27 Dec 2011 14:52:56 +0000 (15:52 +0100)]
[1508] Remove the documentation
Michal 'vorner' Vaner [Tue, 27 Dec 2011 14:41:53 +0000 (15:41 +0100)]
[1508] The specification
It no longer contains the setuid component, as it is gone and not
needed.
Michal 'vorner' Vaner [Tue, 27 Dec 2011 14:26:27 +0000 (15:26 +0100)]
[1508] Move the dropping root into the socket creator
And removed the setuid component
Tomek Mrugalski [Fri, 23 Dec 2011 15:22:20 +0000 (16:22 +0100)]
Fix for unused variable in iface_mgr.cc
Tomek Mrugalski [Fri, 23 Dec 2011 16:33:27 +0000 (17:33 +0100)]
Another fix for MacOS compilation.
Tomek Mrugalski [Fri, 23 Dec 2011 10:12:47 +0000 (11:12 +0100)]
[1237] Compilation fix for MacOS
Tomek Mrugalski [Tue, 27 Dec 2011 13:48:29 +0000 (14:48 +0100)]
[1230] Generic DHCPv6 server clean-up:
- DHCPv6 server now sends DNS-SERVERS option
- refactored processSolicit(), processRequest()
- added appendDefaultOptions(), appendRequestedOptions(), assignLeases()
- many parameters are now const &
- const HARDCODDED_* parameters added for similar customizations
- IfaceMgr::openSockets6() now skips loopback, down, or unicast interfaces.
Tomek Mrugalski [Tue, 27 Dec 2011 11:49:43 +0000 (12:49 +0100)]
[1230] Changes after review:
- Vector initialization clean-ups
- Typo in comment
Jelte Jansen [Sat, 24 Dec 2011 13:04:19 +0000 (14:04 +0100)]
[1522] address vorner's comments
Jelte Jansen [Sat, 24 Dec 2011 12:15:38 +0000 (13:15 +0100)]
[1522] Addressed jinmei's comments
Michal 'vorner' Vaner [Sat, 24 Dec 2011 10:53:38 +0000 (11:53 +0100)]
[805] Some test cleanups
* Use IPv6 address for the test
* Don't use static strings, use char*
* Don't call them static if they are in anonymous namespace
* Use getaddrinfo to get the (slightly system dependant) address structure
* Use protocol field (even if it probably doesn't matter for SOCK_STREAM
and SOCK_DGRAM)
* Be more careful about releasing resources in error states (even if
it's a test and they would terminate on the error anyway)
Tomek Mrugalski [Fri, 23 Dec 2011 17:11:19 +0000 (18:11 +0100)]
[1367] Added sections about DHCP in Reference Guide, fixed whitespaces.
Tomek Mrugalski [Fri, 23 Dec 2011 17:06:17 +0000 (18:06 +0100)]
Warning about unused found variable fixed.
Tomek Mrugalski [Fri, 23 Dec 2011 16:33:27 +0000 (17:33 +0100)]
Another fix for MacOS compilation.
Tomek Mrugalski [Fri, 23 Dec 2011 16:26:24 +0000 (17:26 +0100)]
[1230] Changes after review:
- appendRequestedOptions(), assignLease() added in dhcpv4_srv class.
- dhcpv4_srv now uses hardcoded values from 192.0.2.0/24 range.
Stephen Morris [Fri, 23 Dec 2011 16:17:42 +0000 (16:17 +0000)]
[1527] Disable perfdhcp if getifaddrs() is not available
This is a fairly complex function so instead of writing a replacement
for it, compile a short program that outputs a message saying that
perfdhcp is not supported on that operating system.
Tomek Mrugalski [Fri, 23 Dec 2011 15:22:20 +0000 (16:22 +0100)]
Fix for unused variable in iface_mgr.cc
Michal 'vorner' Vaner [Fri, 23 Dec 2011 14:45:05 +0000 (15:45 +0100)]
[805] Documentation of the fake socket requestor
Tomek Mrugalski [Fri, 23 Dec 2011 14:37:52 +0000 (15:37 +0100)]
Fixed Clang warning about unused function in iface_mgr_unittest.cc
Michal 'vorner' Vaner [Fri, 23 Dec 2011 14:03:10 +0000 (15:03 +0100)]
[805] Make the resolver tests pass
The same problem as with the auth ones - the socket requestor needs to
be faked.
Michal 'vorner' Vaner [Fri, 23 Dec 2011 13:46:02 +0000 (14:46 +0100)]
[805] Make the auth tests pass
We need to fake the SocketRequestor in them. This also asked for little
update of the general base for socket requesting tests.
Tomek Mrugalski [Fri, 23 Dec 2011 13:44:01 +0000 (14:44 +0100)]
Fix for warning about unused variables in iface_mgr_unittest.cc
Tomek Mrugalski [Fri, 23 Dec 2011 12:52:12 +0000 (13:52 +0100)]
Merge branch 'trac1237'
Conflicts:
ChangeLog
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp6/dhcp6_srv.cc
src/lib/dhcp/iface_mgr.cc
src/lib/dhcp/iface_mgr.h
src/lib/dhcp/tests/iface_mgr_unittest.cc
Tomek Mrugalski [Fri, 23 Dec 2011 12:41:30 +0000 (13:41 +0100)]
[1237] joinMcast() renamed to joinMulticast()
Tomek Mrugalski [Fri, 23 Dec 2011 11:44:23 +0000 (12:44 +0100)]
[1239] ChangeLog commit-id update.
Tomek Mrugalski [Fri, 23 Dec 2011 11:43:37 +0000 (12:43 +0100)]
Merge branch 'trac1239'
Conflicts:
ChangeLog
Tomek Mrugalski [Fri, 23 Dec 2011 11:16:43 +0000 (12:16 +0100)]
[1237] Reading interfaces.txt file is now optional.
Jelte Jansen [Fri, 23 Dec 2011 10:26:59 +0000 (11:26 +0100)]
[1440] update configure help string for botan-config
Tomek Mrugalski [Fri, 23 Dec 2011 10:14:52 +0000 (11:14 +0100)]
[1237] Fix for failing IfaceMgrTest.{basic|getIface}
Tomek Mrugalski [Fri, 23 Dec 2011 10:12:47 +0000 (11:12 +0100)]
[1237] Compilation fix for MacOS
JINMEI Tatuya [Fri, 23 Dec 2011 08:28:58 +0000 (00:28 -0800)]
[1424] added some more comments
JINMEI Tatuya [Fri, 23 Dec 2011 08:19:58 +0000 (00:19 -0800)]
[1424] made sure any installable initial configs are installed on startup
even if listen_on failed. this fix is a kind of an ugly hack, but the symptom
is quite counter intuitive, so it's probably better than not-fixing.
I guess the introducing of socket creator will situation a bit, and in
any event I believe we should refactor the configuration mechanism later.
I also removed setConfigure() method and configured_ member as they are
effectively unused in the code anymore.
Xie Jiagui [Fri, 23 Dec 2011 07:40:36 +0000 (15:40 +0800)]
[1462] Changed 'int' serial to 'Serial' object.
JINMEI Tatuya [Fri, 23 Dec 2011 06:48:50 +0000 (22:48 -0800)]
[master] removed perfdhcp/Makefile from AC_CONFIG_FILES, too (part of urgent
care workaround).
JINMEI Tatuya [Fri, 23 Dec 2011 04:16:29 +0000 (20:16 -0800)]
[1502] fixed log parameters for LIBXFRIN_DIFFERENT_TTL. this will solve #1471.
JINMEI Tatuya [Fri, 23 Dec 2011 04:10:05 +0000 (20:10 -0800)]
[1502] made sure comparing RRSIG type covered in compact() to avoid incorrect
compaction of non compatible RRSIGs.
JINMEI Tatuya [Fri, 23 Dec 2011 03:31:30 +0000 (03:31 +0000)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Fri, 23 Dec 2011 03:30:43 +0000 (03:30 +0000)]
[master] reverted the sunstudio "workaround". more accurately we should have
specified std:: when we included <cstring>.
JINMEI Tatuya [Fri, 23 Dec 2011 03:08:09 +0000 (19:08 -0800)]
[1522] cleanup: constify
JINMEI Tatuya [Thu, 22 Dec 2011 22:53:13 +0000 (14:53 -0800)]
[1522] made sockaddr_un length calculation more portable/accurate by using
offsetof(struct sockaddr_un, sun_path) instead of sizeof(sun_family).
the latter doesn't work for platforms that have sun_len.
also use socklen_t instead of size_t mostly for being pedantic.
JINMEI Tatuya [Thu, 22 Dec 2011 21:59:29 +0000 (13:59 -0800)]
[1522] missing 'this' for TYPED_TESTs
JINMEI Tatuya [Thu, 22 Dec 2011 21:52:44 +0000 (13:52 -0800)]
[master] (urgent care workaround) temporarily stop building perfdhcp, which
breaks solaris buildbot due to portability of getifaddrs.
JINMEI Tatuya [Thu, 22 Dec 2011 18:32:52 +0000 (10:32 -0800)]
[master] workaround for test failure using a deeper build dir: use a relative
path for the test unix domain socket.
JINMEI Tatuya [Thu, 22 Dec 2011 18:04:22 +0000 (10:04 -0800)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Thu, 22 Dec 2011 18:03:46 +0000 (10:03 -0800)]
[master] applied workaround for build error with macos+clang+static link.
Jeremy C. Reed [Thu, 22 Dec 2011 18:00:23 +0000 (12:00 -0600)]
[master]Merge branch 'trac1526'
JINMEI Tatuya [Thu, 22 Dec 2011 17:38:26 +0000 (09:38 -0800)]
[master] workaround for cppcheck failure: avoid using an 'immediately
destructed scoped object'
Jeremy C. Reed [Thu, 22 Dec 2011 17:37:51 +0000 (11:37 -0600)]
[trac1526] check for clock_gettime in -lrt
Remove the OS detection from this branch. It will be part of different
branch (1237).
(I will test on MacOS X shortly.)
Jeremy C. Reed [Thu, 22 Dec 2011 17:31:47 +0000 (11:31 -0600)]
[master] getaddrinfo portability
check for AI_ADDRCONFIG
This was from the trac1526 branch.
Tomek Mrugalski [Thu, 22 Dec 2011 16:53:27 +0000 (17:53 +0100)]
[1526] Conditional compilation for perfdhcp improved.
Tomek Mrugalski [Thu, 22 Dec 2011 16:44:55 +0000 (17:44 +0100)]
[1526] NetBSD compilation fix for perfdhcp.
Tomek Mrugalski [Thu, 22 Dec 2011 16:26:23 +0000 (17:26 +0100)]
[1526] perfdhcp compilation fix (part 2, perfdhcp.c)
Tomek Mrugalski [Thu, 22 Dec 2011 16:21:45 +0000 (17:21 +0100)]
[1526] perfdhcp compilation fix (makefile.am/configure.ac)
Jelte Jansen [Thu, 22 Dec 2011 15:36:33 +0000 (16:36 +0100)]
[1522] some more cleanup
Jelte Jansen [Thu, 22 Dec 2011 15:29:35 +0000 (16:29 +0100)]
[1522] cleanup