aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
AgeCommit message (Collapse)Author
2004-04-01outline what bob does to initialize his hidden servicesRoger Dingledine
let circuit_launch_new return the circ it just made svn:r1424
2004-03-31Add an ap_bridge function to do a socketpair and skip socks.Roger Dingledine
This allows us to do a directory connection *through* tor just as if we're doing it as an application. Make ap_conns tolerate it when the application sends stuff before The socks handshake is done (it just buffers it). Tell directory_initiate_command the length of the payload (because it might include nuls). Add a directory_has_arrived function to, for example, start building the rendezvous service descriptor. svn:r1412
2004-03-31Add code to configure hidden services, parse configuration, generate keys ↵Nick Mathewson
and service IDs, and store/load them from disk svn:r1410
2004-03-30Refactor directory serversRoger Dingledine
* read all the time (before we would ignore eof sometimes, oops) * we can handle different urls now * send back 404 for an un-handled url * commands initiated by the client can handle payloads now * introduce conn->purpose to avoid exponential state-space explosion svn:r1400
2004-03-12inform unapproved servers when we reject their descriptorsRoger Dingledine
svn:r1263
2004-03-05New, more flexible directory parsing backend. Uses a bit more RAM, but ↵Nick Mathewson
implements the new spec. Uses more RAM, but not so you would notice. svn:r1235
2004-03-04Store options->Address as IP, not hostnameRoger Dingledine
And figure it out while reading config, not every time you rebuild the descriptor svn:r1226
2004-02-18go back to a single exitpolicy parameterRoger Dingledine
if your exitpolicy includes " *:*" then it is final, else we append the default exit policy. (thanks weasel) svn:r1105
2004-02-18Get rid of the notion of a separate default default exit policy.Roger Dingledine
Create ExitPolicyPrepend config parameter, to customize the default exit policy. svn:r1103
2004-02-17Propagate yes/no/maybe a little farther forward.Nick Mathewson
svn:r1096
2004-02-17Fix router_compare_addr_to_exit_policy, and name its return codes. The bug ↵Nick Mathewson
was: "maybe reject,accept" should be "maybe", not "accept". svn:r1093
2004-02-17prevent picking middleman nodes as the last node in the circuitRoger Dingledine
svn:r1088
2004-01-10split the token bucket into 'rate' and 'burst' paramsRoger Dingledine
we're not entirely migrated to burst yet, for backward compatibility note some win32 probable-bugs clean up routerlist.c svn:r982
2003-12-17remove trailing whitespaceRoger Dingledine
svn:r951
2003-12-17make fetch_from_buf_http malloc its strings ratherRoger Dingledine
than use fixed-size strings reorganize directory_handle_command so it'll be easier to do more with our directory servers svn:r950
2003-12-15Make compile warning-free on cygwinNick Mathewson
svn:r936
2003-12-13Add port ranges to exit policiesNick Mathewson
svn:r899
2003-12-08Make router/directory parsing nondestructive and more const-friendlyNick Mathewson
svn:r890
2003-12-06break routers.c into router.c for stuff the router does,Roger Dingledine
and routerlist.c for handling routerlist. svn:r887