| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Make tor_addr_from_sockaddr also give away the port in a useful format
svn:r16458
|
|
|
|
|
|
|
| |
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
|
|
|
|
|
| |
Make generic address manipulation functions work better. Switch address policy code to use tor_addr_t, so it can handle IPv6. That is a good place to start.
svn:r16178
|
|
|
|
|
|
|
| |
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
|
|
|
|
|
| |
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
|
|
|
|
|
| |
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Correctly register failures in connection_add() in dnsserv_launch_request()
svn:r13387
|
|
|
|
|
|
|
| |
Oops; fix compile
svn:r13131
|
|
|
|
|
|
|
| |
add some missing checks for failing return values.
svn:r13130
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
| |
Better comment in dnsserv.c
svn:r11376
|
|
|
|
|
|
|
| |
Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness.
svn:r10933
|
|
|
|
|
|
|
| |
Man. I thought I removed that code.
svn:r10785
|
|
|
|
|
|
|
| |
Get the RESOLVE controller code working.
svn:r10781
|
|
|
|
|
|
|
|
|
|
| |
fix copy-paste error in config message src/or/config.c . Apply
initial (but pared-down) version of launch-resolve-via-controller
patch from Robert Hogan.
svn:r10780
|
|
|
|
|
|
|
| |
Fix a type error in the last checkin.
svn:r10738
|
|
|
|
|
|
|
| |
Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking.
svn:r10737
|
|
|
|
|
|
|
| |
Report address and por correctly on requests to dnsport. (Patch from Robert Hogan.)
svn:r10641
|
|
|
|
|
|
|
| |
Add dnsport connection to the global connection list. (Bug found by mwenge.)
svn:r10592
|
|
|
|
|
|
|
| |
Patch from peter palfrader: control interface via unix domain socket
svn:r10504
|
|
|
|
|
|
|
| |
Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
|
|
|
|
|
|
|
| |
Patch from Tup: treat RESOLVED_TYPE_ERROR_TRANSIENT as a SERVERFAILED, and RESOLVED_TYPE_ERROR as NOTEXIST. Generate transient/nontransient errors more sensibly. Set flags better on DNS replies.
svn:r10427
|
|
|
|
|
|
|
| |
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
|
|
|
|
|
| |
Fix more dnsport bugs: set state correctly, and actually cache the answers.
svn:r10328
|
|
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit.
svn:r10317
|