Age | Commit message (Collapse) | Author |
|
Fix a couple of obvious bugs in tor_mmap_file on Windows: first, fix a boolean error when checking the return value of CreateFileMapping. Second, CreateFileMapping is documented to return NULL on failure.
svn:r9035
|
|
AuthDirRejectUnlisted and then receives a descriptor from an
unlisted router (reported by seeess).
svn:r9023
|
|
svn:r9022
|
|
Merge circuit_about_to_close_connection and connection_about_to_close_connection.
svn:r9021
|
|
Patch from Fabian Keil: Fix return statement in get_pf_socket()
svn:r9020
|
|
svn:r9016
|
|
svn:r9015
|
|
Turn an xxxx0124 into an #ifdef; avoid leaking memory.
svn:r9013
|
|
intended. this way we don't call resolve-my-address, which
yells and screams if we're using an internal address (mere
clients should not have to care).
svn:r8998
|
|
Actually, clients *should* try to guess their addresses.
svn:r8997
|
|
Fix router_new_address_suggestion() so it only changes last_guessed_ip() when it actually calls resolve_my_address(). (bug found by dev-girl)
svn:r8996
|
|
Change vc++ orconfig.h: add definition for SIZEOF_SIZE_T.
svn:r8995
|
|
Fix a trivial comment.
svn:r8979
|
|
and !badexit lines in the approved-routers file.
svn:r8974
|
|
11:23 < armadev> typo
11:23 < nickm> ?
11:23 < armadev> did you get the coffee yet? :)
11:23 < nickm> no
11:23 < armadev> i'm at an advantage..i haven't slept yet
svn:r8972
|
|
Fix a small and unlikely memory leak in dirserv.c. I think this is not the one arma is looking for.
svn:r8971
|
|
Oops; fix bug in last fix. Time to get some coffee.
svn:r8970
|
|
Fix leak in choose_good_exit_server_general()
svn:r8969
|
|
Tweaks to test-connection patch: use ".noconnect" instead of ".test" (since there are lots of ways to test things). Use a regular sequence of STREAM events (NEW followed by CLOSED) instead of a new event type. Make the function that checks the address be static and use const and strcasecmpend properly.
svn:r8959
|
|
Check in an implementation of "test" connections from Scott Squires:
these connections immediately close upon reaching Tor. They're useful
for apps that want to check whether they're talking to the same Tor as
a given controller. (I'll be tweaking this a bit before I push.)
svn:r8958
|
|
Patch from Zajcev Evgeny to make natd work properly (we needed to allow extra characters after the port number).
svn:r8952
|
|
Fix some more mipspro warnings. Nothing should remain excecpt "conversion from pointer to same-sized integral type."
svn:r8950
|
|
Fix a build warning on angela-sid
svn:r8949
|
|
Try to compile with fewer warnings on irix64's MIPSpro compiler /
environment, which apparently believes that:
- off_t can be bigger than size_t.
- only mean kids assign things they do not subsequently inspect.
I don't try to fix the "error" that makes it say:
cc-3970 cc: WARNING File = main.c, Line = 1277
conversion from pointer to same-sized integral type (potential portability
problem)
uintptr_t sig = (uintptr_t)arg;
Because really, what can you do about a compiler that claims to be c99
but doesn't understand that void* x = NULL; uintptr_t y = (uintptr_t) x;
is safe?
svn:r8948
|
|
Whitespace fixes, and clean up code from last natd patch.
svn:r8947
|
|
Add support for (Free?)BSD's natd, which was an old way to let you
have your firewall automatically redirect traffic. (Original patch
from Zajcev Evgeny, updated for 0.1.2.x by tup.)
svn:r8946
|
|
Patch from tup based on patch from Zajcev Evgeny: Make TransPort work even when the server wants to talk before the client.
svn:r8945
|
|
(reported by revstray)
svn:r8928
|
|
Allow larger amounts of drift in uptime to be "cosmetic".
svn:r8891
|
|
Add some temporary code to count how many *distinct* router digests we verify. (I have a sneaking suspicion that the numbers look way way high.)
svn:r8890
|
|
Fix copy/paste error
svn:r8889
|
|
Oops. Fix compile error in last build.
svn:r8888
|
|
Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.)
svn:r8887
|
|
Dump breakdown of PK operations when we get a USR2 signal. This should help us figure out of we are doing some of them for stupid reasons.
svn:r8881
|
|
svn:r8863
|
|
svn:r8860
|
|
svn:r8855
|
|
unless it doesn't. (Nick, please confirm.)
Backport candidate.
svn:r8844
|
|
configure syslog in their torrc
svn:r8841
|
|
Fix Bug 349: Have GETINFO network-status return even old routers, and use long nicknames where appropriate. Document this.
svn:r8834
|
|
Add a CLEARDNSCACHE signal to clear the client-side DNS cache.
svn:r8829
|
|
Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone.
svn:r8828
|
|
Add string.h include to compat.h so that strlcpy() and strlcat() will always be defined after including compat.h. This should resolve warnings on centos.
svn:r8824
|
|
Oops: 17:50 < armadev> today is opposite day?
svn:r8822
|
|
Make "boolean !=" logic more obvious.
svn:r8821
|
|
More dirserver oops: actually set the digest for a given name in the case when the name is not yet recognized.
svn:r8820
|
|
Oops on last authority patch: handle routers with unrecognized fingerprints correctly
svn:r8819
|
|
to update
svn:r8813
|
|
Remove reference to NS_FULL event; add two GETINFO targets.
svn:r8812
|
|
svn:r8806
|