Commit Graph

281 Commits

Author SHA1 Message Date
wouter
4db7b0022f Fix unbound-host compile with --enable-alloc-checks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1836 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-09-17 10:50:44 +00:00
wouter
e947c5b54f variable processing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1795 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-31 15:58:38 +00:00
wouter
d6a58dba46 autotrust probing and testbound with fake timer support.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1787 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-26 13:23:49 +00:00
wouter
0f8ead12a8 autotrust options
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1776 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-25 08:46:33 +00:00
wouter
d3a9449a97 autotrust work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1758 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-08-12 15:26:47 +00:00
wouter
4c611f0e08 Log option for bogus only.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1734 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-20 14:22:29 +00:00
wouter
e666a96c36 mesh callbacks review, call error if deleted unfulfilled, check fptr wlist.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1652 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-06-12 07:53:36 +00:00
wouter
d24b90660c Windows handle leakage fixes: closesocket or else the networkstack leaks handles (for ever, even after closing the application), and use own mutex implementation (whee!).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1622 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-29 15:23:08 +00:00
wouter
d9d9497e07 unit test for python module.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1581 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-02 14:44:57 +00:00
wouter
370233ed08 Python checks fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1568 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-30 12:32:54 +00:00
wouter
3f805f0c3d python work
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1561 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-26 15:47:45 +00:00
wouter
a93beb8c1c python contribution from Zdenek Vasicek and Marek Vavrusa (BSD licensed).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1556 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-25 14:47:47 +00:00
wouter
4f8f64499f update anchors on win.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1524 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-12 16:31:57 +00:00
wouter
77d35f1b23 log and tests fixups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1521 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-12 09:36:28 +00:00
wouter
d0c66259bf windows registry settings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1509 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-03 15:55:02 +00:00
wouter
f96620901c document unbound-host config file behaviour.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1483 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-13 15:31:03 +00:00
wouter
827f9bfef1 forward command for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1482 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-13 15:26:37 +00:00
wouter
5e2773f065 flush_requestlist feature for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1479 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 13:21:19 +00:00
wouter
ba6e303e45 stats_noreset feature for unbound-control
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1478 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 11:41:51 +00:00
wouter
ce503cc9e8 flush_stats feature for unbound-control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1477 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-12 10:37:00 +00:00
wouter
d4801f9030 dump_requestlist feature.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1473 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-10 15:11:54 +00:00
wouter
a9902c452b bugzilla 231: print option from config file. Useful for scripting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1469 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-02-06 15:15:15 +00:00
wouter
66becd36c8 - unbound-host -4 and -6 options. Stops annoying ipv6 errors when
debugging with unbound -4 -d ... 
        - more cycle detection for NS-check, addr-check, root-prime and
          stub-prime queries in the iterator.  Avoids possible deadlock
          when priming fails.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1444 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-16 10:38:19 +00:00
wouter
e874093c85 typo fix and iana portlist updated
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1414 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-07 14:05:09 +00:00
wouter
ccea9bc14f Wildcard support (from patch by Paul Wouters).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1413 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-07 12:24:34 +00:00
wouter
7bd73ba9ca chrooted include file fix
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1411 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 15:47:15 +00:00
wouter
2da85eb762 unbound-control status command.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1395 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-17 14:03:49 +00:00
wouter
46e1a348e8 fix bug 221.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1384 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-12-09 09:28:39 +00:00
wouter
7a4d4eec4d Updated documentation for key user privileges.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1372 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-24 10:55:14 +00:00
wouter
fc4fafff68 remove permissions from others.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1371 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-21 18:41:10 +00:00
wouter
d0b7ea1e50 write-strings warnings fixed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1330 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-04 14:53:50 +00:00
wouter
de176c3e56 fixup unbound control compilation on windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1314 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-20 15:41:12 +00:00
wouter
5ab29cef3b remote control tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1270 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-26 13:02:34 +00:00
wouter
3a10f7e4ab flush data from cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1268 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 14:07:02 +00:00
wouter
c8f39cf0a7 lookup delegation from cache and printout.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1266 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 10:55:36 +00:00
wouter
3de2c0e61b load from cache works
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1265 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-23 09:23:38 +00:00
wouter
d1ccb2e4c4 dump and load cache.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1263 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-22 15:20:18 +00:00
wouter
af05e11f7c add remove local data and local zone with remote control
(ldns-testpkts sync with ldns trunk).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1261 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-19 14:49:29 +00:00
wouter
2c4feef3ba verbosity and stats control.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1237 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 14:19:41 +00:00
wouter
898deabe11 Test, exit value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1236 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 10:36:13 +00:00
wouter
08f31399a3 start, stop, reload commands.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1235 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-15 08:35:45 +00:00
wouter
fb5e76e515 remote setup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1234 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-12 13:01:20 +00:00
wouter
519d395018 proto spec.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1233 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-12 12:09:00 +00:00
wouter
30af8be06a control channel security.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1229 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-11 14:14:12 +00:00
wouter
d0a4ad4331 remote control setup, port binding and service.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1227 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-10 15:23:01 +00:00
wouter
c25824b8e4 certificate creation script.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1226 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-09 14:15:55 +00:00
wouter
289d02effe refactored code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1225 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-09-04 14:29:05 +00:00
wouter
c3fdf2a59c bug #199.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1212 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-27 11:29:46 +00:00
wouter
e3726cb80b proper handling of empty files and neater code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1189 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-13 15:18:39 +00:00
wouter
ccf1d99a58 dlv anchor file and chroot.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1188 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-08-13 14:46:33 +00:00
wouter
9d25fafcf4 - moved pipe actions to util/tube.c. easier porting and shared code.
- check _raw() commpoint callbacks with fptr_wlist.
- iana port update.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1163 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-23 09:23:03 +00:00
wouter
748f4967c1 please doxygen, fixup fake func prototypes and make typedef more portable.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1160 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-18 15:29:33 +00:00
wouter
11c5d9d992 iana update.
checklocks.c is not in the compile path for production code anymore.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1129 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-24 09:24:08 +00:00
wouter
ec6b2e504a bug184 fixed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1104 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-02 13:14:12 +00:00
jelte
06b64d2889 fix for bug 180
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1101 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-28 14:29:29 +00:00
wouter
ec5253b25a - mingw32 porting.
- test for sys/wait.h
          - WSAEWOULDBLOCK test after nonblocking TCP connect.
          - write_iov_buffer removed: unused and no struct iov on windows.
          - signed/unsigned warning fixup mini_event.
          - use ioctlsocket to set nonblocking I/O if fnctl is unavailable.
          - skip signals that are not defined
          - detect pwd.h.
          - detect getpwnam, getrlimit, setsid, sbrk, chroot.
          - default config has no chroot if chroot() unavailable.
          - if no kill() then no pidfile is read or written.
          - gmtime_r is replaced by nonthreadsafe alternative if unavail.
            used in rrsig time validation errors.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1097 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-23 14:13:07 +00:00
wouter
191762f4c4 chroot more tests and more documentation.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1067 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-24 12:37:01 +00:00
wouter
1c926424c3 checkconf better.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1047 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-15 08:22:17 +00:00
wouter
8b498a6e53 please doxygen
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1040 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-14 15:01:11 +00:00
wouter
d094698b6b 0x20 document, checkconf fix.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1037 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-14 14:48:17 +00:00
wouter
a448a5e8d9 patch from Jan-Piet Mens.
Error checking added.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@960 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-18 08:49:11 +00:00
wouter
9dedf483f9 ub_
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@942 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 08:52:14 +00:00
wouter
156de1cf0b result_free to resolve_free (thanks Benno).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@924 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 13:10:40 +00:00
wouter
d72f75b70f statistics-interval config setting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@917 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-05 10:23:44 +00:00
wouter
0e6c6e9734 chroot checks for roothints and anchor files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@910 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-30 11:21:20 +00:00
wouter
9093c79fdd fix quit on timeout, and printing trailing dots.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@885 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 12:01:13 +00:00
wouter
1f15a9c219 unbound lib work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@880 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-18 13:52:22 +00:00
wouter
cf15550ede more checks by checkconf.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@842 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-11 11:24:30 +00:00
wouter
620153de1c small fries.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@821 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 14:54:10 +00:00
wouter
efdc7ee4d1 portability of header file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@818 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 14:07:38 +00:00
wouter
bf2a50f40a small improvements.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@816 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 11:01:04 +00:00
wouter
02783ad75a cname handling improved.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@815 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 10:43:10 +00:00
wouter
06d283ba5c manpage for unbound-host.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@814 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 09:03:29 +00:00
wouter
fceef7aad5 debug option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@813 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 08:29:09 +00:00
wouter
4b6f94e414 unbound-host shows security info.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@811 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-06 17:05:21 +00:00
wouter
29e62c132c unbound-host works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@810 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-06 16:35:36 +00:00
wouter
d1d55313d2 library resolution working.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@809 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-06 15:11:07 +00:00
wouter
a1ba0ccb3f coverity run fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@803 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 17:54:14 +00:00
wouter
dd05be2bb5 Small edits, work on design to make it work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@800 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-03 18:45:56 +00:00
wouter
a9504febd2 test app, and hopefully useful tool.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@795 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-03 11:02:31 +00:00
wouter
787d9c9cf4 - changed checkconf/ to smallapp/ to make room for more support tools.
(such as unbound-host).
       - install dirs created with -m 755 because they need to be accessible.
       - library extensive featurelist added to TODO.
       - please doxygen, lint.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@794 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-03 08:24:36 +00:00