| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
and routerlist.c for handling routerlist.
svn:r887
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory is the string that dirserv.c and directory.c deal with
routerlist is routerinfo's that are bundled together in routers.c
rename some of the get_routerlist functions to set_routerlist
preparing to break into router.c for stuff the router does,
and routerlist.c for handling routerlist.
svn:r886
|
|
|
|
| |
svn:r881
|
|
|
|
| |
svn:r880
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
then use the wrong one.
bugfix in connection_ap_can_use_exit: it was using the wrong port
bugfix: the OP now handles a port of '*' correctly when the IP is not
yet known and it's trying to guess whether a router's exit policy
might accept it.
we now don't ever pick exit routers which will reject *:*
attach_circuit now fails a new stream outright if it will never work.
when you get an 'end' cell that resolves an IP, now it will fail the circuit outright if no safe exit nodes exist for that IP.
don't try building a new circuit after an 'end' if a suitable one is
already on the way.
svn:r874
|
|
|
|
|
|
|
|
| |
Nov 25 22:39:18.294 [warn] connection_edge_package_raw_inbuf(): called with package_window 0. T
ell Roger.
svn:r870
|
|
|
|
|
|
|
| |
some of them will use it rather than upgrade.
svn:r852
|
|
|
|
| |
svn:r837
|
|
|
|
| |
svn:r832
|
|
|
|
| |
svn:r826
|
|
|
|
| |
svn:r815
|
|
|
|
| |
svn:r814
|
|
|
|
|
|
| |
automatically starting circuit builds.
svn:r813
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Exit policies now support bitmasks (18.0.0.0/255.0.0.0) and bitcounts
18.0.0.0/8. Policies are parsed on startup, not when comparing to them.
- desired_path_len is now part of an opaque cpath_build_state_t structure.
- END_REASON_EXITPOLICY cells no longer include a port.
- RELAY_COMMAND_CONNECTED cells now include the IP address we've connected
to.
- connection_edge now has a client_dns cache to remember resolved addresses.
It gets populated by RELAY_COMMAND_CONNECTED cells and END_REASON_EXITPOLICY
cells. It gets used by connection_ap_handshake_send_begin. We don't
compare it to exit policies yet.
svn:r812
|
|
|
|
| |
svn:r805
|
|
|
|
| |
svn:r790
|
|
|
|
|
|
|
|
|
| |
fix badness in usage()
if neither socksport nor orrport is defined, quit
obsolete connection_flush_buf()
svn:r780
|
|
|
|
|
|
|
|
| |
rename APPort to SocksPort
introduce new tor_free() macro
svn:r642
|
|
|
|
| |
svn:r635
|
|
|
|
|
|
|
|
| |
when you run it under normal operation
for as many as three minutes
svn:r622
|
|
|
|
|
|
|
| |
one remains :)
svn:r621
|
|
|
|
|
|
|
| |
still one memory leak remaining here.
svn:r620
|
|
|
|
| |
svn:r610
|
|
|
|
|
|
|
| |
and fix a few typos
svn:r571
|
|
|
|
| |
svn:r560
|
|
|
|
|
|
|
| |
plus make exit policy comparisons not always reject
svn:r559
|
|
|
|
| |
svn:r558
|
|
|
|
| |
svn:r557
|
|
|
|
| |
svn:r556
|
|
|
|
| |
svn:r555
|
|
|
|
| |
svn:r554
|
|
|
|
| |
svn:r553
|
|
|
|
| |
svn:r546
|
|
|
|
| |
svn:r538
|
|
|
|
| |
svn:r532
|
|
|
|
|
|
|
| |
ACIs are decided now by strcmp'ing nicknames, rather than comparing addr:port
svn:r529
|
|
|
|
| |
svn:r528
|
|
|
|
| |
svn:r527
|
|
|
|
| |
svn:r522
|
|
|
|
| |
svn:r519
|
|
|
|
| |
svn:r518
|
|
|
|
| |
svn:r517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve debugging output on fingerprint checking.
Make sure to add our own fingerprint to the fingerprint list _before_
adding our own descriptor, or else we'll reject ourself.
Don't call a directory invalid just because we have a newer descriptor
for some router.
Use router_get_dir_hash to generate hashes for signed directories.
Make sure we add our own descriptor successfully.
Don't fall-through on failed base64-endode.
svn:r514
|
|
|
|
| |
svn:r511
|
|
|
|
|
|
|
|
| |
we now add our own descriptor to the descriptor list
and we rebuild the directory (and dump to disk) after receiving a POST
svn:r509
|
|
|
|
|
|
|
|
|
|
|
| |
fix a variety of seg faults
don't try to list OPs in running-routers
write cached-directory to disk when rebuilding the dir
on boot, dirservers load approved-routers file
on boot, dirservers load cached directory file
svn:r508
|
|
|
|
| |
svn:r505
|
|
|
|
| |
svn:r503
|
|
|
|
|
|
| |
files.
svn:r490
|
|
|
|
| |
svn:r487
|