| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Patch from Tup to add support for transparent AP connections: this basically bundles the functionality of trans-proxy-tor into the tor mainline. Now hosts with compliant pf/netfilter implementations can redirect TCP connections straight to Tor without diverting through SOCKS.
svn:r7007
|
|
|
|
|
|
|
| |
Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
|
|
|
|
|
|
|
| |
Clean up wide lines from last patch.
svn:r6907
|
|
|
|
|
|
|
| |
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
|
|
|
|
|
|
|
|
| |
its webserver is misconfigured to not listen on localhost, then back
off and try connecting from somewhere else before we fail.
svn:r6783
|
|
|
|
| |
svn:r6709
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
| |
svn:r6005
|
|
|
|
| |
svn:r5949
|
|
|
|
|
|
|
| |
Got an end because of misc error, but we're not an AP. Closing.
svn:r5744
|
|
|
|
| |
svn:r5734
|
|
|
|
|
|
|
| |
These statistics need to be uint64_t's.
svn:r5686
|
|
|
|
|
|
|
| |
user it was because we failed to resolve.
svn:r5620
|
|
|
|
|
|
| |
This way, as soon was we have a networkstatus, we can ask a cache to give us routers, rather than needing to ask the directories.
svn:r5586
|
|
|
|
|
|
| |
intended.
svn:r5582
|
|
|
|
|
|
|
|
|
|
|
|
| |
we screwed up the formatting in wild and unpredictable ways.
fix it before it becomes convention to format logs in wild and
unpredictable ways.
still need to do src/common/ someday.
svn:r5551
|
|
|
|
| |
svn:r5550
|
|
|
|
|
|
| |
Make it use a hashtable instead of a linear search.
svn:r5469
|
|
|
|
|
|
|
|
|
| |
don't recognize. now we just drop it. perhaps this will make us
more forward-compatible? or perhaps it will bite us? one day we
will find out.
svn:r5405
|
|
|
|
|
|
|
| |
hear about lexi's bugs.
svn:r5388
|
|
|
|
| |
svn:r5317
|
|
|
|
| |
svn:r5311
|
|
|
|
|
|
| |
logging interface
svn:r5308
|
|
|
|
|
|
| |
interface; use new circ_log_path interface
svn:r5302
|
|
|
|
| |
svn:r5254
|
|
|
|
| |
svn:r5253
|
|
|
|
|
|
|
|
|
|
|
|
| |
its advertised exit policy is different from its real one) as soon
as it refused any requests.
After fixing that bug, another bug appeared: we would try the same
server again and again, since once we learned an IP address for a
hostname, we still kept think of it as the hostname. now pass it to
the remapper before trying to reattach.
svn:r4962
|
|
|
|
| |
svn:r4902
|
|
|
|
| |
svn:r4901
|
|
|
|
|
|
| |
a missing ntohl in connection_ap_handshake_socks_resolved.
svn:r4894
|
|
|
|
| |
svn:r4780
|
|
|
|
|
|
|
| |
try this band-aid to see if it gets better.
svn:r4773
|
|
|
|
|
|
| |
understands address policies.
svn:r4751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add a new extend_info_t datatype to hold information needed to
extend a circuit (addr,port,keyid,onion_key). Use it in cpath and
build_state. Make appropriate functions take or return it instead of
routerinfo_t or keyid.
- #if 0 needless check in circuit_get_by_edge_conn; if nobody triggers this
error in 0.1.0.10, nobody will trigger it.
- Implement new hidden service descriptor format, which contains "extend
info" for introduction points, along with protocol version list.
- Parse new format.
- Generate new format
- Cache old and new formats alongside each other.
- Directories serve "old" format if asked in old way, "newest available"
format if asked in new way.
- Use new format to find introduction points if possible; otherwise fall
back. Keep nickname lists and extendinfo lists in sync.
- Tests for new format.
- Implement new "v2" INTRODUCE cell format.
- Accept new format
- Use new format if we have a versioned service descriptor that says the
server accepts the new format.
- Add documentation for functions and data types.
svn:r4506
|
|
|
|
| |
svn:r4458
|
|
|
|
|
|
| |
function definition format uniform.
svn:r4411
|
|
|
|
| |
svn:r4382
|
|
|
|
| |
svn:r4378
|
|
|
|
| |
svn:r4264
|
|
|
|
| |
svn:r4176
|
|
|
|
|
|
|
| |
also generally clean up log messages.
svn:r4174
|
|
|
|
|
|
| |
Watch out when we bump the version to 0.1.0.6-rc!
svn:r4162
|
|
|
|
|
|
|
|
| |
hopefully this will allow more slack and let crummier servers help
out too.
svn:r4046
|
|
|
|
|
|
| |
we (I) will not make Tor crash the next time we (I) add a new state.
svn:r4045
|
|
|
|
|
|
| |
using it. Watch out, kids!
svn:r4026
|
|
|
|
|
|
| |
splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster.
svn:r4020
|
|
|
|
|
|
|
| |
'resource limit' reasons; refactor.
svn:r4004
|
|
|
|
|
|
| |
called on a marked connection; rename it to connection_mark_unattached_ap.
svn:r3990
|
|
|
|
| |
svn:r3982
|