- 16 Aug, 2010 2 commits
-
-
JINMEI Tatuya authored
- added surrandong parentheses for return values based on agreed guideline - removed redundant semicolons after a block - fixed curly brace position diff is large, but the change is very trivial. so I'm skipping explicit review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2745 e5f2f494-b856-4b98-b285-d166d9295462
-
Jerry authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac289@2730 e5f2f494-b856-4b98-b285-d166d9295462
-
- 11 Aug, 2010 1 commit
-
-
Jelte Jansen authored
use the correct socket file to pass to the XfroutClient in b10-auth when run from source (ticket #283) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2705 e5f2f494-b856-4b98-b285-d166d9295462
-
- 22 Jul, 2010 1 commit
-
-
JINMEI Tatuya authored
(trivial) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2582 e5f2f494-b856-4b98-b285-d166d9295462
-
- 16 Jul, 2010 3 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac268@2527 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac268@2525 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2517 e5f2f494-b856-4b98-b285-d166d9295462
-
- 10 Jul, 2010 4 commits
-
-
JINMEI Tatuya authored
commented about some weirdness with this option. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2472 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
on second thought, it would be better to separate constructors for the explicit address case and the "any" address case. This will make the validation process a lot easier and helps reduce code duplicate. option conflict between -a and -4|-6 is now caught in main.cc. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2471 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
this is very trivial so I'll skip explicit review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2470 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
to pass NULL port string, which simplifies validation. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221b@2466 e5f2f494-b856-4b98-b285-d166d9295462
-
- 02 Jul, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac275@2404 e5f2f494-b856-4b98-b285-d166d9295462
-
- 01 Jul, 2010 2 commits
-
-
Evan Hunt authored
Add "-a" (address) option to bind10 to specify an address for the auth server to listen on. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2396 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
introduced an abstract base Session class so that we can easily create test cases using a mock sessio implementation. This is probably beyond the scope of this ticket, so it's probably better to make a separate ticket focusing on this refactoring. Some tests currently fail. They'll be fixed in the next commit. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2393 e5f2f494-b856-4b98-b285-d166d9295462
-
- 30 Jun, 2010 1 commit
-
-
Evan Hunt authored
Added a hot-spot cache to libdatasrc to speed up access to repeatedly-queried data and reduce the number of queries to the underlying database; this should substantially improve performance. Also added a "-n" ("no cache") option to bind10 and b10-auth to disable the cache if needed. (Trac #192, svn r2383) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2383 e5f2f494-b856-4b98-b285-d166d9295462
-
- 29 Jun, 2010 3 commits
-
-
JINMEI Tatuya authored
one of the tests currently fails. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2332 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
completed one notify test case using a mock session. it identified a bug in the main code so the test fails right now. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2327 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
introduced an abstract base class for XfroutClient, introduced a mock derived class of it, and added detailed tests for xfrout using it. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2317 e5f2f494-b856-4b98-b285-d166d9295462
-
- 19 Jun, 2010 1 commit
-
-
JINMEI Tatuya authored
trivial, skipping review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2173 e5f2f494-b856-4b98-b285-d166d9295462
-
- 18 Jun, 2010 1 commit
-
-
JINMEI Tatuya authored
trivial, skipping review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2163 e5f2f494-b856-4b98-b285-d166d9295462
-
- 04 Jun, 2010 1 commit
-
-
Jelte Jansen authored
Applied second patch from ticket #227 (print module name on stdout/stderr output), reviewed by Jeremy git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2074 e5f2f494-b856-4b98-b285-d166d9295462
-
- 02 Jun, 2010 1 commit
-
-
Jelte Jansen authored
add a second B10_FROM_SOURCE env var to run_bind10.sh.in; B10_FROM_BUILD (some spec files are now generated and end up in the build tree instead of the source tree) git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2056 e5f2f494-b856-4b98-b285-d166d9295462
-
- 31 May, 2010 1 commit
-
-
Jelte Jansen authored
Use asio's io_service for the msgq handling in auth as well. Needed to add a getter for the io_service to asio_link. This may very wel come under reconsideration for the next release, but it is needed right now to get it to work again ;) (most likely refactor is to move the ModuleCCSession into the link or maybe even into AuthSrv itself) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2007 e5f2f494-b856-4b98-b285-d166d9295462
-
- 29 May, 2010 1 commit
-
-
Evan Hunt authored
by the removal of the non-ASIO query processing code). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1985 e5f2f494-b856-4b98-b285-d166d9295462
-
- 28 May, 2010 1 commit
-
-
JINMEI Tatuya authored
- suppress the gcc unused parameters warning selectively (as a workaround) in a most portable way - introduce B10_CXXFLAGS as the default to AM_CXXFLAGS to make the first change possible (that's why I modified so many other Makefile.am's even if they are irrelevant to asio) - remove dependency on boost system library: it was only needed for the boost version of ASIO. - hide details that require ASIO related definitions from xfr_client.h to avoid being hit by the 'unused parameter' problem accidentally. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1953 e5f2f494-b856-4b98-b285-d166d9295462
-
- 27 May, 2010 1 commit
-
-
JINMEI Tatuya authored
used a separate internal library for ASIO related code to avoid the unused-parameter warning due to the ASIO code. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1950 e5f2f494-b856-4b98-b285-d166d9295462
-
- 20 May, 2010 2 commits
-
-
Jelte Jansen authored
(message queuing on cc channel) see also http://bind10.isc.org/ticket/58 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1870 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
http://sourceforge.net/projects/asio/files, project page http://think-async.com/Asio). - removed uses of boost::asio - removed custom TCP/UDP code git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1864 e5f2f494-b856-4b98-b285-d166d9295462
-
- 17 May, 2010 1 commit
-
-
Jelte Jansen authored
made wrappers for libxfr (we need another name for that, i suggest libfdshare), xfrout can now work without boost.python. Boost-system is still needed for boost.asio git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1837 e5f2f494-b856-4b98-b285-d166d9295462
-
- 14 May, 2010 1 commit
-
-
Jelte Jansen authored
made xfrout use the dns python wrappers instead of the boost.python one (still needs boost.python for the wrappers for sending sockets around) also fixed a few other problems in xfrout; - UNIX_SOCKET_FILE (the socket that is used to send other socket descriptors over) only worked if installed, updated to use @abs_top_srcdir@/auth_sock_conn for the domain socket file (for now, where should we really put this?) Also updated bin/auth/main.cc to use this one if run from source tree - That file descriptor that is passed wasn't closed, so after a while the system would run out of file descriptors. Added os.close(fd) for that to xfrout. We might want to think about adding this to our send_fd/recv_fd lib - Other (temporary) workaround; When the AXFR response is rendered, it triggers truncation. So for now I used renderer.setLengthLimit(65535). But we might want to simply make multiple message packets within the stream. (all three of these problems also occur in trunk/ btw, but since all of them might be temporary and i'm focusing on the main wrappers here, i committed them here for now) git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1828 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Apr, 2010 1 commit
-
-
Likun Zhang authored
2. Remove unused socket file when Xfrout process exits.(Reported in ticket 151) 3. Make sure Xfrout can exit by itself when it receives SIGINT, instead of being killed by the signal SIGTERM or SIGKILL sent from boss.(Get more details in ticket 134). (This patch has been reviewed by Shane.) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1797 e5f2f494-b856-4b98-b285-d166d9295462
-
- 24 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
(first aid workaround with ugly ifdef's, but worked) also fixed the problem that "from source" didn't work. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1636 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Mar, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1632 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
1. When auth server get axfr query in tcp, the query message and tcp socket will be sent to xfrout process over sendmsg/recvmsg, then auth server will close the tcp socket, or get the next tcp query on the socket. Xfrout send the query response over the tcp socket it received from auth server. 2. Since python3.1 didn't provide the wrapper of sendmsg() and recvmsg() for C socket module(Seems they plan do it in python3.2), I have to write the code in c++, and make python binding for it. See the code in file /src/lib/xfr/fd_share.cc and /src/lib/xfr/python_xfr.cc. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1630 e5f2f494-b856-4b98-b285-d166d9295462
-
- 20 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
additional related cleanups were made as well. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1617 e5f2f494-b856-4b98-b285-d166d9295462
-
- 18 Mar, 2010 5 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1557 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1544 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
Full fix needs to be to do partial reads on TCP connections. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1540 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
/tmp/zone.sqlite3. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1536 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(also shorten the name space specification for the V6ONLY option) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1525 e5f2f494-b856-4b98-b285-d166d9295462
-