2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

33255 Commits

Author SHA1 Message Date
Jelte Jansen
7730fa872a added Element::create_from_string(std::string) (as an addition to Element::create_from_string(std::stringstream)
small updates to documentation, still need to do it doxygen style


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@286 e5f2f494-b856-4b98-b285-d166d9295462
2009-11-03 13:07:00 +00:00
Jelte Jansen
a9d524843d ask config manager for zones on startup instead of using a hardcoded default list
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@285 e5f2f494-b856-4b98-b285-d166d9295462
2009-11-02 11:34:40 +00:00
JINMEI Tatuya
23f1419311 make sure binding listening sockets to specific addresses.
previously msgq accepts connection from any address, which is not good.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@284 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 20:20:32 +00:00
JINMEI Tatuya
439ce05432 use parking.example instead of parking.com (to avoid using an existing domain)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@283 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 07:20:14 +00:00
JINMEI Tatuya
8dc36dbcb4 more authors
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@282 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 07:09:55 +00:00
JINMEI Tatuya
087dcc96e8 more style fix
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@281 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 07:03:14 +00:00
JINMEI Tatuya
aa8ce4a2ed style (indentation fix)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@280 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 07:02:34 +00:00
JINMEI Tatuya
e7f8965c39 supported version.bind (which is 10.0.0s20091030)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@279 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 07:02:16 +00:00
Evan Hunt
ef93bc175b #include <sys/time.h> for gettimeofday()
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@278 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 04:11:33 +00:00
JINMEI Tatuya
0794e56fdd now allowed incoming commands from bigtool via the cfg manager
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@277 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 00:48:39 +00:00
Jelte Jansen
1d24a900d1 also build msgq
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@276 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 00:41:13 +00:00
JINMEI Tatuya
04cf72b320 supported statistics in an ad hoc manner
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@275 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 00:31:32 +00:00
JINMEI Tatuya
30ab8873c2 check value of msg->get before using it
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@274 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-31 00:11:20 +00:00
JINMEI Tatuya
ef3594c51c make it at least compile
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@273 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:59:02 +00:00
JINMEI Tatuya
73ad893856 recovered Jeremy's RR for authors.bind
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@272 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:43:19 +00:00
JINMEI Tatuya
c9e2f1254c needed to subscribe to "statistics"
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@271 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:36:35 +00:00
JINMEI Tatuya
0c998ea23f sample code responding to statistics requests
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@270 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:30:34 +00:00
Jelte Jansen
8f9a4c381f use subtype=meonly for channel subscriptions in bigtool (i think it currently only wants responses, not other chatter)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@269 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:30:27 +00:00
Evan Hunt
d7827f2289 Added sendcmd.py, which sends a specified command to a specified channel
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@268 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:20:42 +00:00
Evan Hunt
d1ce6d6866 more meaningful error message on connect failure
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@267 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 23:03:11 +00:00
Kazunori Fujiwara
2bbcc35155 Changed output to file "statistics.out".
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@266 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:57:48 +00:00
Evan Hunt
14f0c66736 parkinglot now works with command channel
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@265 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:37:13 +00:00
JINMEI Tatuya
858bd245a9 FD_ZERO/SET must be done everytime before select().
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@264 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:34:59 +00:00
Jelte Jansen
271fc481f9 exec_python stuff like in bind10.in
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@263 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:14:47 +00:00
Shane Kerr
2fef71dd60 HACK HACK HACK - only send msgq to /dev/null for now.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@262 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:10:16 +00:00
Jelte Jansen
93540f8e24 chmod startup scripts for bind10 and bind-cfgd
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@261 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:09:40 +00:00
JINMEI Tatuya
07a441b4e6 print the reason if isc_socket_bind() fails
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@260 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:57:49 +00:00
Shane Kerr
c3932c43f7 Better error messages on execution failure.
Environment cleanup.



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@259 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:55:51 +00:00
JINMEI Tatuya
36f532ed5c typo
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@258 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:35:37 +00:00
JINMEI Tatuya
70b1528a6a allow specifying python path (should probably better to let autoconf do this)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@257 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:32:13 +00:00
JINMEI Tatuya
6336b4fb45 sample code of using CC API
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@256 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:10:16 +00:00
Evan Hunt
392839e604 - move parkinglot class to its own files
- add select loop


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@255 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:08:41 +00:00
Jelte Jansen
335e2a1213 added my name :)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@254 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 21:07:10 +00:00
Jelte Jansen
b1c8f9126e configure time settings for bind10 start script as well
we need to add chmod +x somewhere


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@253 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 20:51:37 +00:00
Likun Zhang
e779959e67 change the format of message.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@252 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 20:01:12 +00:00
Jeremy C. Reed
a74fe5f7e1 Non-verbose output partially working now.
(TODO: IPv6 address and mail handler...)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@251 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:40:27 +00:00
Shane Kerr
2dedee9fa3 Trying to work with commands.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@250 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:39:02 +00:00
Jelte Jansen
1ae988a918 new shutdown command
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@249 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:34:33 +00:00
Likun Zhang
ce747fe7b9 Add instance name to the message of command "Boss shutdown"
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@248 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:32:11 +00:00
JINMEI Tatuya
e258d1b633 make it compile
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@247 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:25:54 +00:00
JINMEI Tatuya
03ef4eee4b ugly quick hack of making getRdatalist() virtual.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@246 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:23:42 +00:00
Kazunori Fujiwara
2abad64cb6 Adopted to python 3.1
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@245 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:14:18 +00:00
Jeremy C. Reed
8782da109f Comment out some incomplete code (so will compile).
For now use the -v switch.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@244 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 19:00:56 +00:00
Jeremy C. Reed
aa1c824500 Commit code for non-verbose for A first.
THIS IS BROKEN.



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@243 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 18:48:40 +00:00
Jeremy C. Reed
4d42a12988 Add myself to authors.bind :)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@242 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 18:40:02 +00:00
Evan Hunt
c2fa11a7bd switch to using a ParkingLot class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@241 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 18:38:17 +00:00
JINMEI Tatuya
8b88381f05 added zoneset.h to parkinglot_SOURCES
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@240 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 18:19:42 +00:00
Jeremy C. Reed
35c37773ce Some code cleanup.
Now verbose is off (but non-verbouse output is not enabled yet).
Options added:
 -v 	verbose and elapsed time
 -t type
 -r	clear recursive bit


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@239 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 18:11:43 +00:00
Likun Zhang
001852c1f3 Catch all the errors when BigTool send/receive message to/from other modules.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@238 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:55:07 +00:00
Evan Hunt
ae0982d306 add configure test for sockaddr_in.sin_len member
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@237 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:47:35 +00:00