- 01 Jul, 2010 1 commit
-
-
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
-
- 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
-
- 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 8 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
-
JINMEI Tatuya authored
(with additional cleanup: removed unnecessary UNUSED_PARAM, minimize the use of temporary varaibles) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1524 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(regression of r1292) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1523 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
fixed a problem with asio port binding, if you specify v6() without further options, it binds to both IPv4 and IPv6 (at least in my version), so we need to specify a v6-only option for the UDPServer and TCPServer that listen on v6 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1512 e5f2f494-b856-4b98-b285-d166d9295462
-
- 16 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1460 e5f2f494-b856-4b98-b285-d166d9295462
-
- 12 Mar, 2010 5 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1380 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1378 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
style guideline conformance deprecated file-static, and put everything except main() in an anonymous namespace. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1377 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
added sanity checks within those functions (and tests for that) changes createAnswer(int rcode) to createAnswer() since rcode should only be 0 if there is not argument git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1368 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
also changed the return type of AuthSrv::processMessage() from int to bool (we actually used it as a boolean flag, so it didn't make sense to call it an integer) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1351 e5f2f494-b856-4b98-b285-d166d9295462
-
- 11 Mar, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1322 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1307 e5f2f494-b856-4b98-b285-d166d9295462
-
- 10 Mar, 2010 5 commits
-
-
JINMEI Tatuya authored
- avoid using an unnecessary temporary variable when possible - make sure it's allocated in constructor's memeber initialization list - some cleanups: conslidate definitions of private member variables, variable name consistency git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1292 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1291 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1290 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
also fixed command handling and shutdown for non-boost version git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1276 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
renamed it to io_service to avoid naming collision with boost::io_service namespace added a variable listening to TCPServer, that keeps track of the currently listening TCPClient pointer, and delete it on destruction (without this we have a fixed-size memory 'leak') git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1274 e5f2f494-b856-4b98-b285-d166d9295462
-