Commit Graph

4530 Commits

Author SHA1 Message Date
wouter
c275bb44e5 nicer time include for winsock_event, less warning.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3041 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 16:12:15 +00:00
wouter
511cfd92df - Windows port, adjust %lld to %I64d, and warning in win_event.c.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3040 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 16:01:37 +00:00
wouter
347e8813a5 and unit test.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3039 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 13:14:54 +00:00
wouter
ba8b12b779 - fix #544: Fixed +i causes segfault when running with module conf "iterator".
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3038 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-16 13:04:34 +00:00
wouter
19b0244480 - iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3037 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-01-14 08:26:29 +00:00
wouter
b3a6ca2278 pylib test referred to ldns which is not a dependency any more.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3036 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-05 16:49:37 +00:00
wouter
cc9064d64e - update pythonmod for ldns_ to sldns_ name change.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3035 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-05 16:27:52 +00:00
wouter
8846f9759e include for NetBSD
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3034 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-05 16:24:48 +00:00
wouter
8af85a6350 Fix bug in cachedump format after sldns changes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3033 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-05 15:57:16 +00:00
wouter
0308628c7f add semicolon (svn:NO TEST)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3032 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:29:19 +00:00
wouter
7bdd40b3ce include pkthdr.h (svn:NO TEST)
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3031 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:23:51 +00:00
wouter
cfd81ba459 snprintf on windows can do %lld, just spurious compiler warnings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3030 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:17:44 +00:00
wouter
0a4d63c0f1 windows compile without ldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3029 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:14:27 +00:00
wouter
c1857ae33d use our own snprintf on windows for %lld.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3028 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:07:56 +00:00
wouter
07ad9dbc37 ldns includes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3027 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:05:01 +00:00
wouter
86c15989e7 include sys.time.h
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3026 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 14:03:34 +00:00
wouter
7fbc43a145 include time.h
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3025 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 13:57:49 +00:00
wouter
6f31050bf8 - Fix windows compile to compile with sldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3024 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 13:51:11 +00:00
wouter
a64cc6f63f Update configure.ac, SLDNS##buffer_new() notation does not work.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3023 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 09:12:18 +00:00
wouter
db8f72c4f7 - Fix sldns to use sldns_ prefix for all ldns_ variables.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3022 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-12-03 09:11:16 +00:00
wouter
884b06df55 Fix linking of sldns and ldns, unique identifiers for global variables.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3021 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-30 11:03:55 +00:00
wouter
26dd14b3a1 nicer return value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3020 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-27 10:07:33 +00:00
wouter
eba4045889 Fixup str2wire_rr for dname_len NULL.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3017 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-13 09:56:58 +00:00
wouter
992c74a70a - Fix bug#537: compile python plugin without ldns library.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3016 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-13 08:53:53 +00:00
wouter
2e1c6e061f - Fix bug#536: acl_deny_non_local and refuse_non_local added.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3015 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-12 10:08:54 +00:00
wouter
936b11a95e interface: and ip-address:
also includes for newer ldns in pythonmod. 


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3014 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-06 02:48:59 +00:00
wouter
116d59bef9 - Patch from Neel Goyal to fix async id assignment if callback
is called by libunbound in the mesh attach.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3013 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-05 21:16:02 +00:00
wouter
22dd467d26 - Patch from Neel Goyal to fix callback in libunbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3012 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-04 18:53:21 +00:00
wouter
d2113c3a1c autoconf
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3011 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-03 23:13:49 +00:00
wouter
c008161b94 - if configured --with-libunbound-only fix make install.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3010 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-03 23:12:55 +00:00
wouter
6962082dc4 portability with new ldns core (time includes).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3009 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-11-02 04:38:57 +00:00
wouter
b641715036 portability fixes for new USE_SLDNS ldns subdir codebase.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3008 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:27:15 +00:00
wouter
409c3e44db more time includes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3007 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:26:45 +00:00
wouter
57164d5e00 include time.h
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3006 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:05:21 +00:00
wouter
5b3956eec8 not string literal.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3005 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:02:22 +00:00
wouter
011e0132bf fixup nonliteral format string
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3004 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 16:01:01 +00:00
wouter
3f975fbcf4 remove unused statement.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3003 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:51:08 +00:00
wouter
e179531fec Fix uninit var warning.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3002 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:47:02 +00:00
wouter
72c68179a5 note bugzilla number.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3001 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:32:56 +00:00
wouter
64580c8149 Fix portability of UINT_MAX and incomplete type of enum in header file.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3000 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:28:13 +00:00
wouter
ec0c825ac0 Fixup stdarg include, ldns reference in help.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2999 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:17:53 +00:00
wouter
8e6ee27eda - separate ldns into core ldns inside ldns/ subdirectory. No more
--with-ldns is needed and unbound does not rely on libldns.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2998 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:09:26 +00:00
wouter
c0c114ebeb - iana portlist update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2997 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:06:24 +00:00
wouter
61ef2ac265 - Set SO_REUSEADDR so that the wildcard interface and a more specific
interface port 53 can be used at the same time, and one of the
  daemons is unbound.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2996 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:06:11 +00:00
wouter
e37c8fa8e9 - Fix #528: if very high logging (4 or more) segfault on allow_snoop.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2994 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-22 12:01:51 +00:00
wouter
d672c0066c - Patch from Neel Goyal: Add an API call to set an event base on an
existing ub_ctx.  This basically just destroys the current worker and
  sets the event base to the current.  And fix a deadlock in
  ub_resolve_event – the cfglock is held when libworker_create is
  called.  This ends up trying to acquire the lock again in
  context_obtain_alloc in the call chain.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2992 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-22 09:32:10 +00:00
wouter
6f38f4319d make depend and doc.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2971 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-26 08:54:27 +00:00
wouter
a6234674fb - unbound-event.h is installed if configured --with-libevent. It
contains low-level library calls, that use libevent's event_base
  and an ldns_buffer for the wire return packet to perform async
  resolution in the client's eventloop.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2970 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-26 08:34:14 +00:00
wouter
4d385dc589 - acx_nlnetlabs.m4 to 26; improve FLTO help text.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2964 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-19 13:08:58 +00:00
wouter
3cb0e151cb iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2963 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-09-19 12:03:44 +00:00