2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

37665 Commits

Author SHA1 Message Date
Jelte Jansen
0102a47f3b CCSession constructor now does not take a module_name argument anymore, the module name is read from the .spec file (in both python and cpp)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@578 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:52:20 +00:00
Likun Zhang
806f218116 Add Help information.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@577 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:14:12 +00:00
Jelte Jansen
33ae332cb5 more command handling for CCSession stuff
added CCSession to Boss module
removed hard-coded boss stuff from cmd-ctrld and bindctl
removed a few unnecessary subscriptions from default channels


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@576 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:09:16 +00:00
Likun Zhang
9ff70349e7 Remove unused functions.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@575 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:08:24 +00:00
JINMEI Tatuya
b04f89110c use Message::getRRcount() to rejrect >1 question RRs
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@573 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 21:09:37 +00:00
JINMEI Tatuya
9653ab59eb added getRRCount() method to Message class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@571 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:55:02 +00:00
Jeremy C. Reed
13b80a6b0d misspelling typo fix
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@570 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:53:51 +00:00
Jelte Jansen
fe46dcc175 handle shutdown command in bob
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@569 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:12:53 +00:00
Jelte Jansen
989d0d7180 a bit of checks on get_config answer
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@568 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:05:51 +00:00
Jelte Jansen
6a70f64c5e 'stub' call to CCSession from bob, and mini-sample-specfile
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@567 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 19:54:40 +00:00
Jelte Jansen
8541de1b5e documentation and cleanup of CCSession.py
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@566 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 19:11:19 +00:00
Jelte Jansen
97a6c1671a data definition checker in python api
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@565 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 14:49:35 +00:00
JINMEI Tatuya
e3accd375c cleanup: localize and avoid using temporary variables as much as possible
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@564 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 09:34:01 +00:00
JINMEI Tatuya
d212f61872 renamed a confusing local variable (was a copy-paste typo indeed)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@563 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 09:19:08 +00:00
JINMEI Tatuya
81f56e2daa added an experimental implementation of "optimized built-in answers".
this version records pre-rendered authors/version.bind answers and reuses
them to build responses very efficiently.
This implementation intends to show how we can customize the RRset class
by inheritance from the base abstract class to optimize response generation.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@562 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 09:15:19 +00:00
JINMEI Tatuya
edf3f3c766 simplified the code logic using the for_each algorithm instead of
explicit loops


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@561 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 07:22:00 +00:00
JINMEI Tatuya
c7d15b42d3 - some improvements on builtin (authors/version.bind) data:
+ let the daemon answer these queries without having configured data sources
  + add CH/NS RR
  + use 0 TTL (just to be compatible with prior versions of BIND)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@560 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 07:14:56 +00:00
JINMEI Tatuya
2771f5516a constified class member functions whenever possible.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@559 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 05:06:46 +00:00
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