wouter
bc37d19ce1
Fixup assertion failure for certain malformed packets.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1407 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-01-06 10:00:28 +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
0da5d08b7c
accept errors not printed any more.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1370 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-21 09:15:44 +00:00
wouter
fc6625bc8a
fixup tcp accept.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1364 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-20 08:06:05 +00:00
wouter
4b8d59b9d8
silence host is down error, which the resolver operator cannot do anything
...
about. Verbosity 2 shows it for debugging of course.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1349 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-13 13:24:36 +00:00
wouter
8913f22354
detect nonblocking broken.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1338 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-07 14:28:06 +00:00
wouter
fa8d306386
Elusive bad-file-descriptor error caught.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1333 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-11-05 14:56:49 +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
8c8f4f298a
make pipe work with fallback on windows.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1166 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-25 09:26:15 +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
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
6f8c2a7e8c
Porting continues. TCP works fine now.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1128 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-23 13:52:03 +00:00
wouter
a0e166c5c7
unit test, testbound, basic udp and tcp tests are working on XP.
...
ipv6 not supported by OS is a warning (nonfatal).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1127 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-18 14:27:30 +00:00
wouter
0e29d42fa7
winsock_event handler, working resolution and validation on windows.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1124 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-17 14:57:18 +00:00
wouter
c327ffa51b
compiles cleaner on ming32, socketpair compat.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1120 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-06-13 15:32:16 +00:00
wouter
5ed2d6c1a6
porting.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1056 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-16 16:09:25 +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
79ca9b51dc
libev can be used (but not multithreaded) and del fd unused.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1023 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-04-09 11:58:53 +00:00
wouter
38c018e539
- setup speec_cache for need-ldns-testns in dotests.
...
- check number of queued replies on incoming queries to avoid overload
on that account.
- fptr whitelist checks are not disabled in optimize mode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@971 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-20 07:18:42 +00:00
wouter
bb19cf9d29
UDP per select speedup.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@968 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-19 14:35:40 +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
6c118c9ae5
do multiple queries over TCP.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@935 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-08 10:59:18 +00:00
wouter
e2ce21cf4d
move around debug levels.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@929 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-07 09:46:49 +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
a1c036fecf
Fix for libevent 1.2 versions.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@916 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-02-01 12:53:02 +00:00
wouter
d64c4d8e4c
logging nicer, removal of reply_iov.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@911 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-30 14:46:01 +00:00
wouter
2e9293e6e6
please doxygen.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@898 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-25 10:41:17 +00:00
wouter
280c7a016e
no more debug prints for auto ifs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@889 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-23 08:49:57 +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
ee53d4ea6f
Fix for Solaris 9.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@877 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-18 09:50:59 +00:00
wouter
e37223def0
BSD fix for ip4.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@875 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-18 09:09:55 +00:00
wouter
a117d8651a
support for IP_RECVDSTADDR.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@874 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-18 08:51:19 +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
2a0a49e1c8
if auto fix more.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@871 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-17 08:40:08 +00:00
wouter
73bd93e413
fix for localhost queries in automatic interface mode.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@868 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-16 12:47:44 +00:00
wouter
f8625db183
nicer error msgs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@850 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 10:39:32 +00:00
wouter
ce0c4d85ff
lint more.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@849 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 10:18:36 +00:00
wouter
f4ca0398b1
test for ancillary data and fixes for lint and doxygen.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@848 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 10:10:22 +00:00
wouter
bdb854787d
interface-automatic (IP6mapped, good for anycast service and so on).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@847 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-15 09:45:30 +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
9ffcf306b9
keep tcp address around for acl.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@770 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-11-19 16:31:22 +00:00
wouter
87d8a6679c
Quieter low verbosity logging.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@719 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-30 14:59:01 +00:00
wouter
8b95e7f068
assertions, zero termination for gethostname, log_hex without malloc.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@679 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-16 12:26:09 +00:00
wouter
49ac1011f8
Fixup event callback checks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@671 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-09 12:04:13 +00:00
wouter
6f7986bfef
whitelist does not work on events, due to deletions.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@670 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-09 11:58:58 +00:00
wouter
317be8f466
fptr whitelist network code callbacks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@659 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-05 08:05:06 +00:00
wouter
eb4d666bf5
security audit changes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@657 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-04 15:10:11 +00:00
wouter
b41deacab1
Memory reporting.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@447 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-07-20 15:51:06 +00:00
wouter
c3cb973c20
fixup comments for doxygen 1.5
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@383 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-12 14:51:49 +00:00
wouter
bcfe623b93
Nicer encoding. fixes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@379 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-06-11 10:12:43 +00:00
wouter
768424d16b
Moved log_addr.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@320 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-15 12:18:28 +00:00
wouter
5f3140deaa
TCP fallback if forwarder sends TC bit.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@295 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-09 07:00:10 +00:00
wouter
9799917b79
TCP outgoing services.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@294 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-08 13:25:21 +00:00
wouter
7575f56722
Send tcp buffers using writev.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@284 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 13:01:20 +00:00
wouter
10b58320a1
Nasty bug fixed in tcp writer. Commit before I rework the entire thing.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@283 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-05-04 12:45:59 +00:00
wouter
6f28cfd68d
more portable msghdr.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@218 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 10:01:54 +00:00
wouter
94b64086aa
configure check for cast to please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@213 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-04-03 09:17:20 +00:00
wouter
b0f11842c3
please lint (ultimate version)
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@206 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 07:22:48 +00:00
wouter
b8127bdc42
please lint
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@205 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-29 07:03:09 +00:00
wouter
1df17bafae
writev and sendmsg support in netevent.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@204 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-03-28 15:40:12 +00:00
wouter
7881840c72
Pushback when full makes all threads help out.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@154 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 11:25:44 +00:00
wouter
9845f06053
Signal solution
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@152 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:33:04 +00:00
wouter
7205f288fb
Fork if no threading is available.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@151 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 09:41:34 +00:00
wouter
026db40657
Threading.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@146 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-26 14:49:11 +00:00
wouter
3d6f070744
Ports are shared and you can kill -HUP to do a reload (of config file).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@137 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 10:04:50 +00:00
wouter
df0bfecb92
daemon code.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@136 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-22 16:22:54 +00:00
wouter
c1332a4525
Config file.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@131 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-20 15:28:27 +00:00
wouter
c525f3f022
alternative for libevent. Select() only, only the features needed.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@121 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-16 21:26:10 +00:00
wouter
1b77d91d19
verbosity works.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@109 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 15:50:22 +00:00
wouter
95193023b2
Compile fixes ds10.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@101 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-15 10:48:43 +00:00
wouter
b934287a4d
Reviewing and porting.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@97 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-14 10:10:43 +00:00
wouter
8259caba4b
cleanup dropped tcp.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@77 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 15:53:51 +00:00
wouter
2fd6a1d99e
tcp queries get answers.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@76 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 15:44:19 +00:00
wouter
1690d69b41
tcp input.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@75 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 14:18:42 +00:00
wouter
7b9a305fa9
BSD needs: addrlen set when calling recvfrom.
...
And it has length/padding for sockaddr structures.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@72 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-07 10:08:55 +00:00
wouter
54ddfbc6aa
Review results. for util/
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@69 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-06 14:00:52 +00:00
wouter
e52b18cf77
signal handling.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@68 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 16:46:40 +00:00
wouter
ae8629bc68
Constants for netevent callback error value.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@66 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-05 14:25:07 +00:00
wouter
44f08bbf93
Commandline options to set forwarder, udp timeout.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@58 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-02 12:52:40 +00:00
wouter
b8af1e369c
- outside network more UDP work.
...
- moved * closer to type.
- comm_timer object and events.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@49 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-01 15:06:38 +00:00
wouter
95519ce9d5
udp work.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@45 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-31 09:32:30 +00:00
wouter
54f08fdfc7
+ - created log_assert, that throws assertions to the logfile.
...
+ - listen_dnsport service. Binds ports.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@35 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 16:08:52 +00:00
wouter
4e51dd9c6a
See changelog.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@33 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 12:39:51 +00:00
wouter
8b2bf08f93
Fixup lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@32 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-25 09:48:37 +00:00
wouter
5fa816e927
Configure update. Use ldns_buffer.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@30 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-24 13:46:31 +00:00
wouter
73c721ad7b
Work on doxygen attr_unused, library searches at end (so size_t exists and so
...
on) and netevent nicer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@29 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 16:10:23 +00:00
wouter
3fb547928a
Netevent work
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@27 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-01-23 13:46:18 +00:00