| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
svn:r822
|
|
|
|
| |
svn:r821
|
|
|
|
| |
svn:r820
|
|
|
|
|
|
|
| |
quickly notice streams that don't have a circ on the way, and start one
svn:r819
|
|
|
|
| |
svn:r818
|
|
|
|
|
|
|
| |
not quite happy with it yet
svn:r817
|
|
|
|
| |
svn:r816
|
|
|
|
| |
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:r811
|
|
|
|
| |
svn:r810
|
|
|
|
|
|
|
|
| |
change RecommendedVersions into a config option, so dirservers can hup
for a new one
svn:r809
|
|
|
|
| |
svn:r808
|
|
|
|
|
|
|
| |
make exit dns cache entries last 15 minutes
svn:r807
|
|
|
|
| |
svn:r805
|
|
|
|
| |
svn:r804
|
|
|
|
| |
svn:r800
|
|
|
|
| |
svn:r799
|
|
|
|
| |
svn:r798
|
|
|
|
| |
svn:r797
|
|
|
|
| |
svn:r796
|
|
|
|
| |
svn:r795
|
|
|
|
| |
svn:r794
|
|
|
|
| |
svn:r793
|
|
|
|
|
|
|
|
|
|
|
| |
is a the first step in computing hops one step at a time. Next, we move
the responsibility for calling onion_extend_cpath into circuit.c
(Later, we may want to special-case onion_extend_cpath to treat entry
and exit routers differently.)
svn:r792
|
|
|
|
| |
svn:r791
|
|
|
|
| |
svn:r790
|
|
|
|
|
|
|
| |
that way we can reuse it if we need to try another begin later
svn:r788
|
|
|
|
| |
svn:r787
|
|
|
|
| |
svn:r786
|
|
|
|
| |
svn:r785
|
|
|
|
| |
svn:r784
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
- Refactor socks request into a separate struct
- Add a separate 'waiting for circuit' state to AP connections
between 'waiting for socks' and 'open'.
Arma: can you check out the XXX's I've added to connection_edge? I may
be mishandling some async and close logic.
svn:r783
|
|
|
|
|
|
|
|
|
| |
fix badness in usage()
if neither socksport nor orrport is defined, quit
obsolete connection_flush_buf()
svn:r780
|
|
|
|
| |
svn:r779
|
|
|
|
| |
svn:r778
|
|
|
|
|
|
|
| |
plus general cleanup on switch_id()
svn:r684
|
|
|
|
| |
svn:r681
|
|
|
|
|
|
|
|
|
| |
exit if bind fails
add usage printfs
rearrange config options for readability
svn:r674
|
|
|
|
| |
svn:r665
|
|
|
|
| |
svn:r664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was that the fixes had us generating TLS certs with a
2-day lifetime on the assumption that we'd rotate fairly often. In
fact, we never rotate our TLS keys.
This patch fixes the situation in 2 ways:
1. It bumps the default lifetime back up to one year until we get
rotation in place.
2. It changes tor_tls_context_new() so that it doesn't leak memory
when you call it more than once.
svn:r663
|
|
|
|
|
|
|
|
| |
Windows, since we don't know whether it's the user or the group that
was set.
svn:r659
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow some slop (currently 3 minutes) when checking certificate validity.
Change certificate lifetime from 1 year to 2 days. Since we
regenerate regularly (we regenerate regularly, right??), this
shouldn't be a problem.
Have directories reject descriptors published too far in the future
(currently 30 minutes). If dirservs don't do this:
0) Today is January 1, 2000.
1) A very skewed server publishes descriptor X with a declared
publication time of August 1, 2000.
2) The directory includes X.
3) Because of certificate lifetime issues, nobody can use the
skewed server.
4) The server fixes its skew, and goes to republish a new descriptor Y
with publication time of January 1, 2000.
5) But because the directory already has a "more recent" descriptor X,
it rejects descriptor "Y" as superseded!
This patch should make step 2 go away.
svn:r658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setuid, because after we setuid we don't have the priviledges we
need to setgid anymore, duh. merged switch_user() and
switch_group() into switch_id(), since that code has to be wound
together.
- return -1 from switch_id() if it's not defined to do anything else.
- moved daemoinize(), write_pidfile(), and switch_id() from main.c to
util.c
svn:r656
|
|
|
|
|
|
|
| |
maybe more robust now
svn:r655
|
|
|
|
| |
svn:r654
|
|
|
|
|
|
|
| |
move default exit policy into config files
svn:r653
|