Commit Graph

221 Commits

Author SHA1 Message Date
wouter
eeaddb3e7a sun cc warnings
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1439 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-15 10:34:18 +00:00
wouter
e84409c12f fixes for suncc warnings
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1438 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-15 10:29:17 +00:00
wouter
09bef13702 fixup libunbound message buffer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1412 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 17:50:56 +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
e10e574de4 - added L.ROOT-SERVERS.NET. AAAA 2001:500:3::42 to builtin root hints.
- fixup so it works with libev-3.51 from http://dist.schmorp.de/libev/
- comm_timer_set performs base_set operation after event_add.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1406 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-05 15:05:33 +00:00
wouter
04ffe11ee9 unwanted reply threshold like in the draft.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1321 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-22 14:36:46 +00:00
wouter
a2c3b61c68 0x20 fallback code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1285 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-10-06 14:46:22 +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
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
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
61a0dce0ff fixup error handling in libunbound ub_resolve().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1149 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-15 10:22:39 +00:00
wouter
a305543834 mingw port continues.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1139 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-25 14:36:10 +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
c8d4439943 testbound works on XP.
ioctlsocket nicer error message.

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1126 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-18 08:16:04 +00:00
wouter
c732e97f8f windows threads. detect gdi32. nicer DISABLED_THREADS define. Compiles on mingw32.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1122 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-16 13:39:46 +00:00
wouter
829befab00 mingw32 porting.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1118 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-13 13:20:54 +00:00
wouter
bdd2997d5e hosts file fixup for MacOSX
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1083 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-05-16 11:35:00 +00:00
wouter
efd453c4cc - removed base_port.
- created 256-port ephemeral space for the OS, 59802 available.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1030 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 14:10:16 +00:00
wouter
efa3e15e34 - random port selection out of the configged ports.
- fixup threadsafety for libevent-1.4.3+ (event_base_get_method).



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1029 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-11 13:24:49 +00:00
wouter
e49851c623 lint for libunbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@999 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 12:36:50 +00:00
wouter
8926193907 + - fixed memory leaks in libunbound (during cancellation and wait).
+       - libunbound returns the answer packet in full.
+       - snprintf compat update.
+       - harvest performs lookup.
+       - ldns-tarball update with fix for ldns_dname_label.



git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@998 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-28 12:29:00 +00:00
wouter
a792f387a1 can use DNS-0x20 draft casing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@994 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-27 09:21:31 +00:00
wouter
cf50a0bcb7 Faster due to time-sharing.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@966 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 13:12:23 +00:00
wouter
1592a53996 empty line fixup.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@952 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-13 15:26:09 +00:00
wouter
5b6fb14883 nice option interface. Nice debug output stream option.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@945 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 15:22:57 +00:00
wouter
94b11d9296 etc hosts handling.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@944 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-11 10:27:37 +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
481bdbcc59 rename files.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@925 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-06 13:18:24 +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
db0f01e50a ordering for alloc checks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@914 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-31 14:45:10 +00:00
wouter
f2c085f947 nonblock bg pipes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@913 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-31 10:40:58 +00:00
wouter
1f570d6366 libevent compatibility.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@909 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 15:57:27 +00:00
wouter
2f1227ea3a protect config access. fix test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@908 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 14:45:20 +00:00
wouter
86f9eb4fdc fixes for random number badness (lack of entropy and SIGFPE from RAND_cleanup
too early).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@907 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 14:34:53 +00:00
wouter
ba980a8c39 more locks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@906 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 13:42:55 +00:00
wouter
520eb18918 Two small fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@905 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 09:31:29 +00:00
wouter
4346bb2f60 smaller fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@904 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 16:17:36 +00:00
wouter
30a1738a27 more fixes, more tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@903 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 15:45:54 +00:00
wouter
417504bbf1 - fixup race problems from opensll in rand init from library, with
a mutex around the rand init.
       - fix pass async_id=NULL to _async resolve().
       - rewrote _wait() routine, so that it is threadsafe.
       - cancelation is threadsafe.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@902 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 15:13:39 +00:00
wouter
ae4cf454c7 Fixup race.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@897 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 10:23:57 +00:00
wouter
f9338af567 forwarder mode options for library.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@895 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 14:58:51 +00:00
wouter
148a019834 cancel().
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@891 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-24 09:14:07 +00:00
wouter
013db26923 bg resolution works.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@890 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-23 15:15:37 +00:00
wouter
b055e996a8 test program for bg lookups.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@887 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 16:28:41 +00:00
wouter
58cd8d7d95 bg query and result code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@886 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 14:17:44 +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
e1b0c8b9dc fix link testbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@884 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 11:28:07 +00:00
wouter
f72c1f3684 unbound.c pipe code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@883 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-22 11:10:49 +00:00
wouter
b44e79db5d serialize, deserialize, raw commpoints.
case preserve note.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@881 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-21 16:03:59 +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
dda09cdbb0 manual and pktinfo.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@873 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-17 15:35:34 +00:00
wouter
2622cbb52b fix bogus flag.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@820 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 14:25:18 +00:00
wouter
7f0f6bac99 lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@819 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-07 14:09:25 +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
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
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
d08c3700c6 libworker.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@808 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-05 11:06:56 +00:00
wouter
3ec1a37562 locking diff.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@807 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-05 06:41:39 +00:00
wouter
664ca1bf39 libunbound work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@802 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-12-04 16:14:09 +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
wouter
6a1250dbaa don't forget to lock it.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@793 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-30 18:14:48 +00:00
wouter
62a2546884 More api work, makefile links library.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@792 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-30 14:53:57 +00:00
wouter
2c796d64f7 more.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@791 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-29 15:55:26 +00:00
wouter
d8e2ece2ec public API start.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@790 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-29 15:02:15 +00:00