| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Win32 patch from Matt Edman: fix compilation bugs by casting to int; defining SSIZE_T; defining USE_TWOS_COMPLEMENT in windows orconfig.h; and using the proper names for win32 functions on GetProcAddress. Also fixes bug 295.
svn:r8669
|
|
|
|
|
|
|
| |
The otherwise regrettable MIPSpro C compiler warns about values set but never used, and about mixing enums and ints; these are good warnings, and so should be fixed. This removes some dead code and some potential bugs. Thanks to pnx.
svn:r8664
|
|
|
|
| |
svn:r8622
|
|
|
|
|
|
|
| |
test if there's already one in progress.
svn:r8604
|
|
|
|
|
|
|
| |
Partial implementation of revised nickname syntax for controllers. Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events. Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog.
svn:r8582
|
|
|
|
|
|
|
|
|
|
| |
hidden service authorities too.
- Just because your DirPort is open doesn't mean people should be
able to remotely teach you about hidden service descriptors. Now
only accept rendezvous posts if you've got HSAuthoritativeDir set.
svn:r8573
|
|
|
|
|
|
|
| |
have a public address we like yet.
svn:r8554
|
|
|
|
|
|
|
| |
Now, all log messages should be distinct.
svn:r8545
|
|
|
|
|
|
|
| |
Differentiate more duplicated log entries
svn:r8542
|
|
|
|
|
|
|
| |
Implement DESCCHANGED event to tell controller when our router descriptor changes.
svn:r8533
|
|
|
|
|
|
|
| |
Make "is a v1 authority", "is a v2 authority", and "is a hidden service authority" into separate flags so we can eventually migrate more trust away from moria.
svn:r8523
|
|
|
|
|
|
|
| |
Oops from earlier patch; add "opt eventdns" to unittests, fix bug in routerdesc generation.
svn:r8444
|
|
|
|
|
|
|
| |
Implement server-side reverse DNS using eventdns. Add an option to routerdescs so we can tell which servers have eventdns enabled.
svn:r8437
|
|
|
|
|
|
| |
routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise?
svn:r8432
|
|
|
|
|
|
|
| |
least 6 hours at your previous address.
svn:r8403
|
|
|
|
|
|
|
|
|
|
| |
(we avoid simply by not doing any new tests when we change IPs --
it looks like we retain our previous bandwidth estimates, so there's
no need to do new exercise. though in some cases new exercises may
still be useful. one day we'll do something smarter.)
svn:r8402
|
|
|
|
| |
svn:r8400
|
|
|
|
|
|
|
|
| |
we're reachable. Spread them over 4 circuits, so hopefully a few will
be fast. This exercises our bandwidth and bootstraps us quicker.
svn:r8399
|
|
|
|
|
|
|
| |
Implement a smartlist_uniq() that will with luck not end the world.
svn:r8396
|
|
|
|
|
|
|
| |
Add a comment
svn:r8391
|
|
|
|
|
|
|
| |
Remove duplicates from MyFamily
svn:r8390
|
|
|
|
|
|
|
|
| |
Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file():
There is not need to put together the path to the approved-routers file in more than one place.
svn:r8386
|
|
|
|
|
|
|
| |
a client, so you can become a server more smoothly.
svn:r8359
|
|
|
|
| |
svn:r8357
|
|
|
|
| |
svn:r8354
|
|
|
|
| |
svn:r8334
|
|
|
|
|
|
|
| |
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
|
|
|
|
|
|
|
| |
dirty so we'll tell the world. (fixes bug 306 reported by pnx)
svn:r6787
|
|
|
|
|
|
|
|
|
| |
to be reachable. This will help reduce the number of descriptors
we have for ourselves floating around, since it's quite likely
other things (e.g. DirPort) will change during that minute too.
svn:r6786
|
|
|
|
|
|
|
|
| |
only place where we inform the user of a new IP address, if we're
guessing it from external sources.
svn:r6780
|
|
|
|
|
|
|
| |
IP address.
svn:r6779
|
|
|
|
|
|
|
| |
but we don't have a known address.
svn:r6777
|
|
|
|
|
|
|
| |
our own descriptor yet.
svn:r6775
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by asking the directory authorities. This code only kicks in when you
would normally have exited with a "no address" error.
This design is flawed, though, since the X-Your-Address-Is header is not
authenticated, and doing it this way introduces too many new attacks. The
right answer is to give IP address hints inside the HELLO cell; much of
this code can be reused when we switch.
svn:r6774
|
|
|
|
|
|
|
| |
IP addresses, not IPs.
svn:r6764
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
try to rebuild long-term connections to directory authorities, and
directory authorities no longer try to rebuild long-term connections to
all servers.
We still don't hang up connections in these two cases though -- we need
to look at it more carefully to avoid flapping, and we likely need to
wait til 0.1.1.x is obsolete.
svn:r6712
|
|
|
|
|
|
| |
break somewhere.
svn:r6675
|
|
|
|
| |
svn:r6619
|
|
|
|
|
|
|
|
|
|
| |
is, even tor clients do the same sort of handshake.
this has been true for years, so it's best to get rid of the
stale code.
svn:r6557
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
| |
svn:r6506
|
|
|
|
| |
svn:r6421
|
|
|
|
|
|
|
| |
function asks for it. This may resolve bug 286.
svn:r6412
|
|
|
|
| |
svn:r6396
|
|
|
|
| |
svn:r6250
|
|
|
|
|
|
|
| |
Fix some minor bugs and memory leaks along the way.
svn:r6246
|
|
|
|
| |
svn:r6224
|
|
|
|
| |
svn:r6223
|
|
|
|
|
|
|
| |
'named' and 'valid'.
svn:r6188
|
|
|
|
| |
svn:r6173
|