2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 23:15:20 +00:00
Commit Graph

22978 Commits

Author SHA1 Message Date
Jeremy C. Reed
e9b6a2eaee Add Makefile.am for bind-cfgd.
Update AC_CONFIG_FILES.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@598 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:00:50 +00:00
Jeremy C. Reed
ddf622e2a8 Also go into the python subdir. Sorry this was supposed to be in
my last commit.

This is incomplete because I don't commit the configure.ac changes
at this time.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@597 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:53:52 +00:00
Jeremy C. Reed
d33ca87f84 Allow these to be installed. Note that this commit is incomplete since the
I didn't commit the change to parent Makefile.am


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@596 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:52:19 +00:00
Jeremy C. Reed
179b23543e Install the parkinglot executable to the pkglibexecdir.
It isn't useful ran by itself.
(This won't break bind10.py since its current wrapper only looks in src tree.)

Also add a TODO comment about builtin_bench.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@595 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:46:50 +00:00
Jelte Jansen
8bf0d326cf linking dependencies should be on build dir, not source dir (now building in a build/ directory should work)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@594 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:35:55 +00:00
Likun Zhang
9254898383 Add ISC CopyRight to files.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@592 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:12:22 +00:00
Michael Graff
f56313db58 add as per discussion
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@589 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 18:56:20 +00:00
Likun Zhang
263a414654 Save username and password to file for the next logining.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@587 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 10:16:40 +00:00
JINMEI Tatuya
cabcb384b0 added a test case
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@586 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 09:25:16 +00:00
JINMEI Tatuya
7029232a9b added microbenchmark tests for built-in RRset optimization
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@585 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:49:48 +00:00
JINMEI Tatuya
74296ec2be added clear() method
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@584 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:49:08 +00:00
JINMEI Tatuya
4becc5864a removed redundant namespace prefixes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@583 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:48:55 +00:00
Michael Graff
f38058856e more review comments
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@582 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 04:09:37 +00:00
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