Niels Provos
b04043ae51
fix ddos in dns parsing due to infinite loop;
...
patch from Nick Mathewson; also received
notification from Jon Oberheide.
svn:r311
2007-01-21 17:28:55 +00:00
Niels Provos
0147ef3ac7
From Nick Mathewson:
...
This patch resets the successive timeout count to zero when:
- A nameserver comes up
- We receive a reply from a nameserver
- We decide to not use the nameserver for a while because of its
timeout count.
This patch also changes the timeout threshold from 3 to 5 seconds.
svn:r303
2006-12-12 04:02:07 +00:00
Niels Provos
7fe5edf50c
use CLOCK_REALTIME when CLOCK_MONOTONIC is not available; from Phil Oleson
...
svn:r290
2006-12-02 21:25:21 +00:00
Niels Provos
3882669d3e
transaction id fixes from richard nyberg; return correct
...
error code when file for resolv.conf cannot be found.
svn:r276
2006-11-23 05:27:15 +00:00
Niels Provos
868f10e7c9
mingw fixes from Nick
...
svn:r271
2006-11-22 01:21:10 +00:00
Niels Provos
ddf70659ad
forgot ifdef guard around stdint.h
...
svn:r263
2006-11-18 03:52:27 +00:00
Niels Provos
cf47f86b74
put the evdns documentation into the header file. pathetic start of evdns manpage. a little bit
...
more testing and debug output for the DNS regression test. add a BSD copyright to evdns.h with
appropriate explanations.
svn:r239
2006-10-09 00:48:42 +00:00
Niels Provos
fe1dfe0f40
sync evdns changes with tor - from Nick Mathewson
...
svn:r238
2006-10-05 22:59:44 +00:00
Niels Provos
e9c1e3f7f0
introduce evdns_init() which works on windows and unix.
...
svn:r231
2006-08-28 00:57:49 +00:00
Niels Provos
07c3fb5067
add a simple regression test for the DNS resolver; requires internet access.
...
do some KNF on evdns.c; add checks to prevent potential buffer overflows.
fix one memory leak.
svn:r230
2006-08-27 20:04:20 +00:00
Niels Provos
52bfcab894
rename eventdns to evdns to match libevent naming scheme
...
svn:r226
2006-08-24 06:10:50 +00:00
Niels Provos
d0d8f9b468
configure evdns and make it compile
...
svn:r225
2006-08-13 06:59:37 +00:00
Niels Provos
cca7249ed6
unmodified eventdns from Adam Langley via tor repository
...
svn:r224
2006-08-13 06:33:45 +00:00