Nick Mathewson
|
5109de5626
Rename exit_policy to addr_policy, since it gets used for SOCKS and directory connections too. Make all policies get validated in options_validate, and make SOCKS/directory policies get set in options_act.
|
21 years ago |
Roger Dingledine
|
ab951fc828
remove extraneous variable
|
21 years ago |
Nick Mathewson
|
5a5be93f80
Normalize whitespace; add a "tell me about all the unnormalized whitespace" target; fix a braino in dirserv.c
|
21 years ago |
Nick Mathewson
|
cd753df7bf
Resolve many XXXs and all DOCDOCs
|
21 years ago |
Roger Dingledine
|
394554cfbf
Clean up copyrights.
|
21 years ago |
Roger Dingledine
|
6c61ed4fb5
Make options no longer a global variable.
|
21 years ago |
Roger Dingledine
|
a4753283dd
better interface for connection_ap_handshake_socks_reply()
|
21 years ago |
Nick Mathewson
|
451f8b5045
- Implement all of control interface except authentication, setconfig,
|
21 years ago |
Roger Dingledine
|
984ffec105
implement first piece of hibernation
|
21 years ago |
Nick Mathewson
|
2fbf31533b
Tricksy compiler warnings! We hates them, hates them forever, my precious!
|
21 years ago |
Nick Mathewson
|
6980929e64
Use strlcpy, not strcpy.
|
21 years ago |
Nick Mathewson
|
44d4516155
Use tor_snprintf, not snprintf
|
21 years ago |
Nick Mathewson
|
c7151d8bed
Add "pass" target for RedirectExit, to make it easier to break out of a sequence of rules
|
21 years ago |
Roger Dingledine
|
97a0a43511
start the process of making 0.0.7* obsolete
|
21 years ago |
Roger Dingledine
|
640544ae3e
use connection_edge_is_rendezvous_stream() more
|
21 years ago |
Roger Dingledine
|
695cdb10fe
whoops, resolve cells were probably broken
|
21 years ago |
Nick Mathewson
|
8d27385c23
Implement RedirectExit.
|
21 years ago |
Roger Dingledine
|
aebc3a03ba
more int to size_t conversions, fixing one or more amd64 bugs
|
21 years ago |
Nick Mathewson
|
0383afac9a
Use parse_addr_port() function instead of ad-hoc variants
|
21 years ago |
Roger Dingledine
|
6468e049be
when a begin cell has an invalid port, give us a better hint of
|
21 years ago |
Roger Dingledine
|
a2517b4f07
checking only 0.0.7 and 0.0.8 didn't work, because some dirservers
|
21 years ago |
Roger Dingledine
|
fa0a1ec49f
cleanup: use strcmpstart() in more places
|
21 years ago |
Nick Mathewson
|
9defe8a307
Attach dummy resolve connections to a circuit *before* calling dns_resolve(). This fixes a bug where cached answers would never be sent in RESOLVED cells.
|
21 years ago |
Roger Dingledine
|
488aa52f25
fix assert triggers in 0.0.7.x: if the other side returns
|
21 years ago |
Roger Dingledine
|
292e9c5567
reject the default edonkey, kazaa, gnutella ports
|
21 years ago |
Roger Dingledine
|
f47fe829dd
avoid racing the mark-for-close when the client hangs up on us
|
21 years ago |
Roger Dingledine
|
9952b37456
reject tor-resolve requests for .onion addresses early
|
21 years ago |
Roger Dingledine
|
05e9fb5c44
and add a comment to that effect
|
21 years ago |
Roger Dingledine
|
f8c14e5dce
make explicit that 'no socks policy' means 'accept'
|
21 years ago |
Roger Dingledine
|
de0f72ce2a
bugfix: when you finish answering a 'resolve' request, hold the
|
21 years ago |