Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
19 vuotta sitten |
Roger Dingledine
|
59453ac6ef
add a ControlPort and control listener conn.
|
19 vuotta sitten |
Roger Dingledine
|
d0c158c8d6
clarify the bandwidthburst and bandwidthrate are in bytes
|
19 vuotta sitten |
Roger Dingledine
|
a4753283dd
better interface for connection_ap_handshake_socks_reply()
|
19 vuotta sitten |
Nick Mathewson
|
451f8b5045
- Implement all of control interface except authentication, setconfig,
|
19 vuotta sitten |
Nick Mathewson
|
4fdaa5de51
Streamline the two redundant "Has the second rolled over?" checks in prepare_for_poll and connection_bucket_refill; also, generate BANDWIDTH control events
|
19 vuotta sitten |
Roger Dingledine
|
12e92eb82f
connection_read_bucket_decrement() has a side-effect that
|
19 vuotta sitten |
Nick Mathewson
|
347d3f9d62
Start implementing control interface.
|
19 vuotta sitten |
Nick Mathewson
|
8db0abb687
First attempt at hibernation code. It needs more work around the XXXXs, but first I want arma to review the basic approach while I meditate on how to fix them.
|
19 vuotta sitten |
Nick Mathewson
|
ad4dc74482
Use a stricter set of warnings; make them all pass.
|
19 vuotta sitten |
Roger Dingledine
|
984ffec105
implement first piece of hibernation
|
19 vuotta sitten |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
19 vuotta sitten |
Roger Dingledine
|
0113a643a2
quick-and-dirty dir policy since the dirservers are getting hammered
|
19 vuotta sitten |
Nick Mathewson
|
ef4ac65f5e
Document the swiss-army-knife that retry_listeners has become
|
19 vuotta sitten |
Nick Mathewson
|
0df2d383d1
Many non-native speakers use Tor. It is our duty to ensure that our log messages set an example of good English spelling.
|
19 vuotta sitten |
Nick Mathewson
|
57f09573f5
Every 60 seconds, check whether the listeners are still alive, and relaunch the dead ones.
|
19 vuotta sitten |
Nick Mathewson
|
5d53828c57
Handle more errnos from accept() without closing the connection. This may fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion.
|
19 vuotta sitten |
Roger Dingledine
|
de65052312
don't assert multiple things in the same tor_assert()
|
19 vuotta sitten |
Nick Mathewson
|
25a046df74
Fix unit tests, make it compile
|
19 vuotta sitten |
Nick Mathewson
|
47dc024f7e
Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
|
19 vuotta sitten |
Nick Mathewson
|
0f144d6a04
fix warning on win32
|
19 vuotta sitten |
Roger Dingledine
|
cf9664151d
bugfix on a really old bug:
|
19 vuotta sitten |
Nick Mathewson
|
1c9426d6e0
Build without warnings on mac gcc 3.3
|
19 vuotta sitten |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
19 vuotta sitten |
Nick Mathewson
|
0d5a847f12
Remove need for dirservers file: now, we note trusted dirservers in configuration options, and only need to remember addr:port and key digest for each one.
|
19 vuotta sitten |
Roger Dingledine
|
2b7b86f5e6
stop trying to print a NULL
|
19 vuotta sitten |
Nick Mathewson
|
e0cce8fba8
Unify tests for "did I originate this nonopen OR connection?"
|
19 vuotta sitten |
Nick Mathewson
|
508970f85d
fix typo
|
19 vuotta sitten |
Nick Mathewson
|
149f57bdef
answer question about rep_hist_note_connect_failed
|
19 vuotta sitten |
Nick Mathewson
|
0383afac9a
Use parse_addr_port() function instead of ad-hoc variants
|
20 vuotta sitten |