Roger Dingledine
2ae9615a0b
take the broken obsolete url out again.
...
seriously, this line should stay out.
how can we make this happen?
svn:r9119
2006-12-15 06:22:52 +00:00
Nick Mathewson
62f711fcf3
r11585@Kushana: nickm | 2006-12-15 01:11:49 -0500
...
Tabify eventdns so that it matches libevent house style.
svn:r9118
2006-12-15 06:12:14 +00:00
Nick Mathewson
b16aa6412e
r11584@Kushana: nickm | 2006-12-15 01:10:45 -0500
...
Try to reconcile (except for whitespace) eventdns with version in libevent, so it is easier for me to send merges. These changes should be cosmetic. (Ha!)
svn:r9117
2006-12-15 06:12:01 +00:00
Roger Dingledine
7217f3ca47
couldn't handle leaving this typo in
...
svn:r9094
2006-12-12 20:20:48 +00:00
Nick Mathewson
9fa707f5d3
r11552@Kushana: nickm | 2006-12-12 13:34:13 -0500
...
fix a signed/unsigned comparison in eventdns.c
svn:r9092
2006-12-12 18:34:22 +00:00
Nick Mathewson
a3a00df69d
r11548@Kushana: nickm | 2006-12-12 00:44:51 -0500
...
Merge whitespace and other changes from libevent
svn:r9090
2006-12-12 05:45:19 +00:00
Nick Mathewson
494e45482a
r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500
...
Add ipv6 functionality to evdns.
svn:r9089
2006-12-12 03:48:46 +00:00
Nick Mathewson
35d92f8245
r11498@Kushana: nickm | 2006-12-11 21:40:24 -0500
...
Document all structures and (non-exported) functions. External documentation will probably wind up being a manpage, hopefully written by somebody else.
svn:r9087
2006-12-12 02:57:02 +00:00
Nick Mathewson
097aec8e9d
r11497@Kushana: nickm | 2006-12-11 21:17:45 -0500
...
Rename nameserver functions: every one should now have "server" in the name.
svn:r9086
2006-12-12 02:56:54 +00:00
Nick Mathewson
707429e9a3
r11496@Kushana: nickm | 2006-12-11 19:39:37 -0500
...
Clean up XXXX comments in evdns code. Make server_ports actually go away when their refcnt reaches zero.
svn:r9085
2006-12-12 02:56:47 +00:00
Nick Mathewson
d22deb61d6
r11495@Kushana: nickm | 2006-12-11 19:11:14 -0500
...
More evdns: tab fixes. Dont make users worry about flags. Set truncated flag correctly when generating responses, rather than just bailing out.
svn:r9084
2006-12-12 02:56:41 +00:00
Nick Mathewson
abc1304aef
r11494@Kushana: nickm | 2006-12-11 14:50:20 -0500
...
Export DNS types and classes in eventdns.h so that server code can use them.
svn:r9083
2006-12-12 02:56:35 +00:00
Nick Mathewson
fc125b1ef4
r11493@Kushana: nickm | 2006-12-11 14:28:42 -0500
...
Oops; apparently DNS replies are supposed to include the questions. Revise "add_ptr_reply" to accept an inaddr_arpa name instead of just the sockaddr_in. Also, add a "-servertest" function to the test code to see whether the DNS server logic is working.
svn:r9082
2006-12-12 02:56:28 +00:00
Nick Mathewson
e53bca15e7
r11492@Kushana: nickm | 2006-12-11 12:30:23 -0500
...
Implement dns server reply retry logic.
svn:r9081
2006-12-12 02:56:23 +00:00
Nick Mathewson
c58d9494df
r11491@Kushana: nickm | 2006-12-11 12:12:57 -0500
...
More DNS server hacking: everything except testing, and retries, and documentation, and Tor integration.
svn:r9080
2006-12-12 02:56:20 +00:00
Nick Mathewson
991308fac9
svn:r9079
2006-12-12 02:56:17 +00:00
Nick Mathewson
ff029a635d
svn:r9077
2006-12-12 02:54:48 +00:00
Nick Mathewson
e190acf780
r9254@Kushana: nickm | 2006-10-17 17:23:36 -0400
...
Implement dns label compression. Clients do not need this much; dns servers definitely do.
svn:r9073
2006-12-12 02:50:17 +00:00
Nick Mathewson
e9d67b1162
r9099@Kushana: nickm | 2006-10-05 17:42:55 -0400
...
start fleshing out some logic to build server support into eventdns. Still needs work and testing.
svn:r9068
2006-12-12 02:49:45 +00:00
Nick Mathewson
81be0ad1e5
r11486@Kushana: nickm | 2006-12-08 00:58:47 -0500
...
Fix a longstanding bug in eventdns related to timeouts: The timeout count was never actually reset to 0. Argh. Now we reset it to zero after we get a successful request, or after we notice that a nameserver is back up, or after we decide the nameserver is down because of timeouts. This may fix bug 326.
svn:r9054
2006-12-08 05:59:21 +00:00
Nick Mathewson
9243e54177
r9313@totoro: nickm | 2006-11-13 20:07:41 -0500
...
Try to compile with fewer warnings on irix64's MIPSpro compiler /
environment, which apparently believes that:
- off_t can be bigger than size_t.
- only mean kids assign things they do not subsequently inspect.
I don't try to fix the "error" that makes it say:
cc-3970 cc: WARNING File = main.c, Line = 1277
conversion from pointer to same-sized integral type (potential portability
problem)
uintptr_t sig = (uintptr_t)arg;
Because really, what can you do about a compiler that claims to be c99
but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x;
is safe?
svn:r8948
2006-11-14 01:07:52 +00:00
Nick Mathewson
97e17d817b
r8985@totoro: nickm | 2006-10-10 19:39:57 -0400
...
Fix a signed/unsigned compare in eventdns.c
svn:r8685
2006-10-10 23:46:33 +00:00
Nick Mathewson
d1c8fd9759
r8947@totoro: nickm | 2006-10-08 17:04:30 -0400
...
Fix signed/unsigned compare warning in eventdns.c
svn:r8654
2006-10-08 21:05:06 +00:00
Andrew Lewman
5227531744
Remove spurious void which causes builds to fail in mingw.
...
svn:r8650
2006-10-08 18:44:02 +00:00
Roger Dingledine
b6e590a1a5
reapply a patch from adam langley that got clobbered when
...
nick merged something back in
svn:r8605
2006-10-06 06:46:08 +00:00
Nick Mathewson
c15dc2d94c
r9101@Kushana: nickm | 2006-10-05 23:05:11 -0400
...
Trivial fix for solaris build. Libevent will want to use its own fix here, and probably already has.
svn:r8601
2006-10-06 03:05:19 +00:00
Nick Mathewson
4767d533f7
r9097@Kushana: nickm | 2006-10-05 14:51:57 -0400
...
Make eventdns.c formatting a little closer to evdns.c in libevent; add some bulletproofing to APPEND16 macro; clean some messages.
svn:r8600
2006-10-05 19:22:26 +00:00
Nick Mathewson
fc9dd98d4c
r8805@totoro: nickm | 2006-09-30 16:07:13 -0400
...
Oops; nameserver list is circular.
svn:r8552
2006-09-30 20:07:37 +00:00
Nick Mathewson
b21e656eaf
r9007@Kushana: nickm | 2006-09-29 13:17:32 -0400
...
Make eventdns give strings for DNS errors, not just error numbers.
svn:r8535
2006-09-29 18:13:33 +00:00
Nick Mathewson
ba7868c7b3
r8969@Kushana: nickm | 2006-09-26 18:00:36 -0400
...
Remove a signed/unsigned comparison in eventdns.c
svn:r8508
2006-09-26 22:03:26 +00:00
Nick Mathewson
01f9e97d43
Minor fix: add code to eventdns so it can free memory on shutdown. This should help valgrind and dmalloc freak out less.
...
svn:r8503
2006-09-25 20:38:58 +00:00
Nick Mathewson
11b4296b0b
Marge changes from libevent evdns to our eventdns. Most are cosmetic, but one or two are stability-related. This should make it easier to push our changes back towards libevent.
...
svn:r8482
2006-09-24 17:52:23 +00:00
Roger Dingledine
e9abe750ea
eventdns patch from Adam Langley
...
svn:r8429
2006-09-19 21:37:03 +00:00
Nick Mathewson
4bc42f4c18
Fix a bogus free() in eventdns.c. Bug reported by xiando.
...
svn:r8428
2006-09-19 20:45:20 +00:00
Mike Chiussi
f9f281251b
another typo
...
svn:r8351
2006-09-08 09:05:07 +00:00
Mike Chiussi
1ee88bb01a
fixed typo in eventdns.c
...
svn:r8350
2006-09-08 09:02:14 +00:00
Nick Mathewson
8a12d9ae2e
r8755@Kushana: nickm | 2006-09-07 12:31:57 -0400
...
Tabify eventdns
svn:r8348
2006-09-07 16:32:06 +00:00
Nick Mathewson
4246490b81
r8753@Kushana: nickm | 2006-09-07 12:23:25 -0400
...
Make eventdns spacing consistant
svn:r8347
2006-09-07 16:24:19 +00:00
Mike Chiussi
b931994c6a
fixed win32 eventdns snafu
...
svn:r8345
2006-09-07 06:34:20 +00:00
Mike Chiussi
c40acb86f4
- got rid of tabs
...
svn:r8344
2006-09-07 04:02:52 +00:00
Mike Chiussi
3c85780e69
- got rid of tabs (i think)
...
svn:r8343
2006-09-07 03:58:46 +00:00
Mike Chiussi
5af47d1641
- added some debugging lines to load_nameservers_from_registry()
...
svn:r8342
2006-09-07 03:53:14 +00:00
Mike Chiussi
879fe91d88
rm'ed a tab (sorry)
...
svn:r8333
2006-09-07 00:54:28 +00:00
Mike Chiussi
91d7ad660f
- fixed up typos in eventdns.c
...
- configure lets user build with eventdns on win32
svn:r8332
2006-09-07 00:51:20 +00:00
Nick Mathewson
7ed528c5c5
r8733@Kushana: nickm | 2006-09-06 17:35:22 -0400
...
Add some missing defines to eventdns.c for windows.
svn:r8330
2006-09-06 21:35:30 +00:00
Nick Mathewson
1e26233957
r8731@Kushana: nickm | 2006-09-06 16:33:19 -0400
...
Try to fix eventdns.c build on windows.
svn:r8329
2006-09-06 20:33:28 +00:00
Nick Mathewson
b40e639f15
r8708@Kushana: nickm | 2006-09-02 20:34:15 -0400
...
Fix warnings reported by weasel when compiling Tor on Debian woody.
svn:r8318
2006-09-03 02:13:52 +00:00
Nick Mathewson
921bfdb40a
r8687@Kushana: nickm | 2006-08-30 19:33:28 -0400
...
Apply patch from Adam Langley: fix assert() in eventdns.c. [Fuzzing, apparently, is cool.]
svn:r8308
2006-08-30 23:34:56 +00:00
Roger Dingledine
a76e032b14
put some symbols on the eventdns logging. leave the haphazard
...
formatting alone.
svn:r8270
2006-08-28 08:24:36 +00:00
Nick Mathewson
dbe0c6f6ef
r8609@Kushana: nickm | 2006-08-27 17:24:27 -0400
...
Add some doxygen, concentrated in dns.c
svn:r8256
2006-08-28 03:16:02 +00:00