| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
a smart move.
more todo sub-items remain for it.
svn:r9101
|
|
|
|
|
|
|
| |
Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second.
svn:r9047
|
|
|
|
|
|
|
| |
Make bandwidth accounting information get stored to the state file as well as bw_accounting. Read from the state file if it is more recent than bw_accounting, or if bw_accounting is not there.
svn:r9044
|
|
|
|
|
|
|
| |
Merge circuit_about_to_close_connection and connection_about_to_close_connection.
svn:r9021
|
|
|
|
| |
svn:r9015
|
|
|
|
|
|
|
| |
Turn an xxxx0124 into an #ifdef; avoid leaking memory.
svn:r9013
|
|
|
|
|
|
|
| |
Whitespace fixes, and clean up code from last natd patch.
svn:r8947
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
some conventions.
svn:r8805
|
|
|
|
|
|
|
| |
and so vidalia can start handling them if it wants.
svn:r8802
|
|
|
|
|
|
|
| |
Have connection_about_to_close use an end_reason field in edge_connection_t to tell what reason to tell the controller for closing the stream. Set end_reason in connection_edge_end, connection_mark_unattached_ap, and everwhere we set edge_has_sent_end. Add a changelog entry.
svn:r8779
|
|
|
|
|
|
|
|
| |
this still occurs on moria sometimes if it's swapping to death.
so be it.
svn:r8725
|
|
|
|
|
|
|
|
| |
When the user sends a NEWNYM signal, clear the client-side DNS
cache too. Otherwise we continue to act on previous information.
svn:r8679
|
|
|
|
| |
svn:r8677
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
it's already so darn thorough per test -- it chews through
like four circuits before giving up.
svn:r8646
|
|
|
|
|
|
|
| |
Try to make mingw capable of producing a working tor binary for win98: make all NT-service-related functions get lazy-loaded on demand. I have no idea if this even compiles.
svn:r8643
|
|
|
|
|
|
|
|
|
|
| |
around some housecleaning calls so they still occur often.
are some of these redundant or in the wrong order? there are
so many of them, maybe they should be put into a separate
function that has better documentation.
svn:r8607
|
|
|
|
|
|
|
| |
Differentiate more duplicated log entries
svn:r8542
|
|
|
|
|
|
|
| |
Fix some warnings on mingw; hopefully this should let us build on mingw without warnings.
svn:r8509
|
|
|
|
|
|
| |
should help valgrind and dmalloc freak out less.
svn:r8503
|
|
|
|
|
|
| |
escaped().
svn:r8502
|
|
|
|
|
|
|
| |
Trivial whitespace cleanups.
svn:r8443
|
|
|
|
|
|
|
| |
Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet.
svn:r8440
|
|
|
|
|
|
|
| |
Add some client performance XXXXs; try to move some common case tests higher on their decision trees.
svn:r8410
|
|
|
|
| |
svn:r8400
|
|
|
|
|
|
|
| |
Fix some dead code that is on occasion useful
svn:r8389
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- made configure link to required system dll's if building for win32
- added diffs for libevent 1.1b
- forced user to turn off eventdns if win32 is set
- cleaned up tor_mmap_file()_win32 (not sure if it's stable)
- cleaned up some warnings and typos
svn:r8322
|
|
|
|
| |
svn:r8273
|
|
|
|
|
|
|
| |
for a while, and clients hang up if they can't read for a while.
svn:r8272
|
|
|
|
|
|
|
|
|
| |
hang up five minutes after they begin. but directory servers
should still hang up after 5 minutes of failing to deliver
any bytes.
svn:r8271
|
|
|
|
|
|
|
| |
Make it possible to change nameserver options while Tor is running.
svn:r8255
|
|
|
|
|
|
|
| |
and revise some log severities to match the convention.
svn:r8234
|
|
|
|
| |
svn:r8222
|
|
|
|
|
|
|
| |
the config options are bad or good.
svn:r8221
|
|
|
|
|
|
|
| |
patch suggested by Karsten Loesing: respond to SIGNAL command before we execute the signal, in case the signal shuts us down.
svn:r7072
|
|
|
|
| |
svn:r7026
|
|
|
|
|
|
|
| |
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation.
svn:r7020
|
|
|
|
|
|
|
| |
Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t
svn:r6934
|
|
|
|
|
|
|
| |
Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
|
|
|
|
|
|
|
| |
Clean up wide lines from last patch.
svn:r6907
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
config has changed such that we'll want to start advertising our
dirport now, etc.
svn:r6819
|
|
|
|
| |
svn:r6806
|
|
|
|
| |
svn:r6805
|
|
|
|
| |
svn:r6804
|