2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

27647 Commits

Author SHA1 Message Date
JINMEI Tatuya
9af1172530 corrected typo in a previous commit of mine: s/ANSWER/AUTHORITY/
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@557 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 01:42:32 +00:00
JINMEI Tatuya
7cb0576d88 simplification by eliminating unnecessary temporary variables.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@556 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 01:39:14 +00:00
Jelte Jansen
1fbdb10467 more python client side API stuff for configuration
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@555 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 01:27:34 +00:00
Michael Graff
c3e6c86cb3 fix up comments a bit more
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@553 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:59:12 +00:00
Michael Graff
84fcb30c69 fix up comment to not mention that this is a rewrite
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@551 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:56:04 +00:00
Likun Zhang
7cca5aa337 Prompt the user for a password without echoing.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@550 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:52:10 +00:00
JINMEI Tatuya
ee8fefeaf6 removed a (seemingly) unnecessary white space
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@549 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:49:20 +00:00
Michael Graff
4754ad3431 fix up per review comments
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@548 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:49:04 +00:00
JINMEI Tatuya
f7a928e06c removed a redundant author
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@547 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:47:39 +00:00
JINMEI Tatuya
a3d9a1e5f6 use NS::getNSName() to retrieve NS name from an NS RDATA entry.
the use of dynamic_cast is intientional, assuming such specialization is rare.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@546 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:38:25 +00:00
JINMEI Tatuya
6cd40e8084 added getNSName()
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@545 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:33:28 +00:00
Likun Zhang
4a72bd9596 Make the socket address can be reused.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@544 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:27:12 +00:00
JINMEI Tatuya
bff50de170 format fix for Message::toText()
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@543 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:26:33 +00:00
JINMEI Tatuya
5c8f340a7a corrected Additional section ID
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@542 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:20:16 +00:00
Jeremy C. Reed
f8ec205857 jinmei: DNS msg API now doesn't rely on socket API. so the app
should include necessary .h's explicitly.

so:
#include <netinet/in.h>



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@541 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 00:04:05 +00:00
JINMEI Tatuya
9bf0fe6c05 missing header file
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@540 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:45:29 +00:00
JINMEI Tatuya
5de1f70e0d be sure to set Rcode in responses
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@539 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:42:24 +00:00
JINMEI Tatuya
bca8ede488 adapted the "host" implementation with the latest DNS message lib
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@538 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:39:27 +00:00
JINMEI Tatuya
46f36f53a7 made it compile with the latest DNS message lib
(not tested yet)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@535 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:10:10 +00:00
JINMEI Tatuya
b4db67074b added some more well known RR Type constants
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@534 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:08:23 +00:00
Jelte Jansen
8c390e8980 incredibly non-functional start for client-side config API in python
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@533 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 23:05:43 +00:00
Shane Kerr
45f81b418a Refactor the child reaping code to sit in the boss class, so we don't
have to kill processes that respect the shutdown command.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@532 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:54:35 +00:00
JINMEI Tatuya
3d514aca61 #-Woverloaded-virtual will produce so many warnings. Suppress them for rapid
# prototyping, but we should soon fix the code, rather than ignoring the
# warnings!!


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@531 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:22:49 +00:00
JINMEI Tatuya
19760b1bb1 merged the latest snapshot of DNS message library to parkinglot
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@530 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:15:42 +00:00
Likun Zhang
8fdab175f3 Change command run_bindctl to bindctl.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@529 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:11:25 +00:00
Likun Zhang
11510aca9c 1. Rename run_bindctl to bindctl.
2. Rename file name "bindctl.py" to 'bindcmd.py'.
3. Rename file name "command.py" to 'cmdparse.py'.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@528 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:06:30 +00:00
Jelte Jansen
30a7e3fce4 merged back branches/jelte_datasource1 branch
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@527 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 21:55:00 +00:00
Jelte Jansen
0962844906 renamed lib/bind-cfgd to lib/config because it will also contain client-config stuff
moved data_def.* and ccsession.* to lib/config/cpp, they are compiled into lib/config/libclient.a (for now)
fixed includes and ldadds for the rest of the stuff

also fixed an include problem in parkinglot/common.h


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@526 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 21:33:45 +00:00
Michael Graff
d255a50214 add kqueue() support in parallel to poll() support
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@525 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 21:32:10 +00:00
Jelte Jansen
35fabdf103 some minor include fixes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@523 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 20:46:42 +00:00
Jelte Jansen
98cb1b7335 rest of doxygen for DataDefinition class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@522 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 20:16:56 +00:00
Jeremy C. Reed
13b30757df Sorry another dummy commit -- testing svn post-commit hook.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@521 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 20:08:45 +00:00
Shane Kerr
22ec353059 First BoB tests created
Respect verbose flag when starting BoB
Make message processing robust
Refactor to make testable
Convert from poll() to select() 

Update TODO list



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@520 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 20:03:47 +00:00
Jeremy C. Reed
ca1cfc039a Minor changes. (Testing svn post-commit hook.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@519 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 20:01:50 +00:00
Jelte Jansen
d15a22cd34 a bit of documentation for the DataDefinition class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@518 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 19:57:03 +00:00
Jelte Jansen
c6233a9430 removed manual test binary (this 'test' belongs in a to-be made data_spec_unittests file)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@517 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 19:48:29 +00:00
Jeremy C. Reed
b8b4032ff3 This is for http://bind10.isc.org/ticket/18.
Update configure for lcov and gtest detection.
Be more verbose.
Use gtest-config if available.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@516 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 19:41:22 +00:00
Jelte Jansen
f389d00070 merged back branches/jelte_datasource1 branch
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@515 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 18:44:38 +00:00
Jelte Jansen
86b6d221bb fix call to python_exec
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@514 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 18:33:51 +00:00
Jeremy C. Reed
bd010e8cc2 Add directory for the userguide and beginning of style guide for it.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@508 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-25 23:16:09 +00:00
Jelte Jansen
c7378aa072 removed old c msgq
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@500 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 15:58:53 +00:00
Likun Zhang
b1f321649b Add TODO for bindctl and cmd-ctrld.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@499 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 15:40:22 +00:00
Jeremy C. Reed
b7791c0eff Add a brief description.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@498 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 14:52:35 +00:00
Jeremy C. Reed
8e57f3c2c3 Beginning of manual page.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@497 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 13:53:49 +00:00
Jelte Jansen
845df07f81 parkinglots zoneset now contains Names instead of strings,
made std:set an attribute instead of zoneset a subclass
Added a very temporary operator< to Name (this is the 'old' name), which was needed for zoneset.
Made the DS API interaction a bit smarter
parkinglot can now return NXDOMAIN if you ask for a subdomain of a known one (still returns SERVFAIL for unknown zones)



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datasource1@496 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 13:28:40 +00:00
Likun Zhang
515208794c The tool for user and password generation.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@495 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 13:06:35 +00:00
Likun Zhang
2019e5737c Change the code to support new module 'cmd-ctrld'.
When bindctl starts up, it needs login into cmd-ctrld. The communication between bindctl and cmd-ctrld is protected by SSL.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@494 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 09:08:32 +00:00
Likun Zhang
e3e8cda089 Change the code to support new module 'cmd-ctrld', Now,
1. bindctl(bigtool) will send the command to cmd-ctrl.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@493 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 08:56:27 +00:00
Likun Zhang
94a69d0f92 Add code for cmd-ctrld.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@492 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 08:53:36 +00:00
Jeremy C. Reed
d2d260606c Fix typo in a pydoc comment.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@490 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-20 18:00:27 +00:00