| Commit message (Collapse) | Author | Age |
|
|
|
| |
svn:r6795
|
|
|
|
|
|
|
| |
the node operator, since he can't do anything about it.
svn:r6733
|
|
|
|
| |
svn:r6651
|
|
|
|
|
|
| |
connection_write_to_buf_zlib wrapper that sucks.
svn:r6650
|
|
|
|
|
|
| |
servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers.
svn:r6641
|
|
|
|
|
|
|
|
| |
concept. lay groundwork for "bandwidth classes" -- separate global
buckets that apply depending on what sort of conn it is.
svn:r6563
|
|
|
|
|
|
|
| |
what we really mean now is ">= 0", which is clearer to test for.
svn:r6543
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
|
|
|
| |
free it. perhaps we don't need it after all?
svn:r6518
|
|
|
|
| |
svn:r6430
|
|
|
|
|
|
|
|
| |
socket, we should close it before failing. otherwise we just
leak it. (thanks to weasel for finding.)
svn:r6284
|
|
|
|
|
|
|
|
|
| |
connecting and for resolving). Now we tolerate applications
that don't follow the RFCs. But continue to block malformed
names at the socks side.
svn:r6193
|
|
|
|
|
|
|
|
|
| |
when they created a network status. so if nobody asked for a
network status, they would never discover that any servers are
is_running, so they could never build a circuit.
svn:r6183
|
|
|
|
| |
svn:r6143
|
|
|
|
|
|
|
| |
also fixes a seg fault in tor (bug 261).
svn:r6101
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
|
|
|
| |
whee.
svn:r6003
|
|
|
|
|
|
|
|
| |
This can be dangerous, but there are some cases (like a secured
LAN) where it makes sense.
svn:r5997
|
|
|
|
| |
svn:r5984
|
|
|
|
|
|
|
|
| |
is empty, don't give it to him. This way small servers can continue
to serve the directory *sometimes*, without getting overloaded.
svn:r5968
|
|
|
|
| |
svn:r5949
|
|
|
|
| |
svn:r5932
|
|
|
|
| |
svn:r5926
|
|
|
|
|
|
|
|
| |
servers with bandwidthrate of 20 KB, while downloading a 600 KB directory,
would starve their other connections. Now we try to be a bit more fair.
svn:r5906
|
|
|
|
| |
svn:r5900
|
|
|
|
|
|
|
|
| |
intro points for a hidden service and we try fetching the service
descriptor again.
svn:r5838
|
|
|
|
|
|
|
| |
this is our last easy chance for a wholesale change. heave ho.
svn:r5782
|
|
|
|
| |
svn:r5750
|
|
|
|
| |
svn:r5734
|
|
|
|
| |
svn:r5733
|
|
|
|
|
|
|
|
| |
(config options EntryNodes and StrictEntryNodes still not
implemented.)
svn:r5673
|
|
|
|
| |
svn:r5667
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
shutdown.
svn:r5509
|
|
|
|
|
|
| |
remove the other; just make it warn.
svn:r5470
|
|
|
|
|
|
| |
Make it use a hashtable instead of a linear search.
svn:r5469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Weasel says circuit_get_by_conn is his main timesink. Most of its
users were just checking whether OR conns had circuits, so add a
circuit count to OR conns, and check that. One was
circuit_about_to_close_conn, which was doing an O(n^2) series of calls
to get all circs on an OR conn, so make an O(n) function for that.
Finally, circuit_get_by_edge_conn was using it as a sanity test that
has been around for a while but never found any actualy insanity, so
kill that.
circuit_get_by_conn is finally dead, which is good, since it was never
sane to begin with.
svn:r5460
|
|
|
|
| |
svn:r5459
|
|
|
|
|
|
|
| |
for non-OR conns. this should save a bit of time.
svn:r5456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't tell you (it happens!); and rotate TLS connections once a week.
1) If an OR conn becomes more than a week old, make it obsolete.
2) If it's obsolete and empty, kill it.
3) When an OR makes a second connection to you, allow it.
4) If we want to send a new create cell, but the best conn we've
got is obsolete, and the router is 0.1.1.9-alpha-cvs or later, ask
for a new conn instead.
5) When we time out on circuit building on the first hop, make that
connection obsolete.
svn:r5429
|
|
|
|
| |
svn:r5417
|
|
|
|
| |
svn:r5353
|
|
|
|
| |
svn:r5344
|
|
|
|
|
|
|
|
| |
be more fair on loaded Tor servers, and it might resolve our
Windows crash bug. It might also slow things down.
svn:r5332
|
|
|
|
| |
svn:r5317
|
|
|
|
|
|
| |
logging interface
svn:r5308
|
|
|
|
|
|
|
|
| |
logs in cases where a calling function's log was downgraded and we wouldn't
get any log message otherwise.
svn:r5263
|
|
|
|
|
|
|
| |
since none of our users know what it means to bind an address or port.
svn:r5260
|
|
|
|
| |
svn:r5257
|