Age | Commit message (Collapse) | Author |
|
Remove some dead code; refactor some duplicated code.
svn:r9206
|
|
Mark a pile of XXXX comments as targetted for 0.1.2: some because they look important, some because they look easy.
svn:r9205
|
|
If we only have a single nameserver, raise the threshold to decide that the nameserver is dead. (Another fumbling attempt to do something about bug 326.)
svn:r9203
|
|
Expose a function from eventdns.c to set options without having to make a fake configuration file. Also, add more settable options
svn:r9202
|
|
Partial solution to 326: downgrade single-nameserver failures to INFO.
svn:r9201
|
|
Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests.
svn:r9200
|
|
Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded. If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*.
svn:r9199
|
|
Add a helper function for case-insensitive search through a smartlist
svn:r9198
|
|
Add SOCKS5 and reverse lookup support to C verseion of tor-resolve
svn:r9195
|
|
Add client-side caching for reverse DNS.
svn:r9194
|
|
Better handling of internal addresses wrt X-Your-Address-Is (never believe them; never provide them.) Also, report something useful for X-Your-Address-Is with one-hop tunneled connections.
svn:r9191
|
|
Stop counting 503s against the total number of failures allowed for a download.
svn:r9190
|
|
Fix 2 bugs in last patch. (VS has weird ideas about const, and I have weird ideas about block structure.)
svn:r9186
|
|
Patch from Edmanm, slightly modified. Original change list:
- Support running the Tor service with a torrc not in the
same directory as tor.exe (Bug #356) and default to using the torrc
located in the %appdata%\Tor\ of the user who installed the service
- Removed the supposedly misleading error message mentioned in Bug #294
- Fixed some CloseHandle()s that should've been CloseServiceHandle()s
- Fixed some nt_service_foo() return values to be consistent
- Resolved some nt_service_foo() DOCDOCs
- Fixed one trivial typo that I happened to randomly notice
Changes:
- Make more comments into "imperative" house style.
- Remove special handling for "-f"; only use --options.
- Quote all options.
- Clean up whitespace
svn:r9185
|
|
fix warning on win32.
svn:r9184
|
|
Add a version entry to networkstatus documents; have this entry get parsed and used to calculate whether begin_dir is supported.
svn:r9181
|
|
Stop requiring the "opt" keyword before unrecognized directory items.
svn:r9180
|
|
Hmm. Maybe I should have been compiling these before I checked them in.
svn:r9178
|
|
Fix "r may be used uninitialized" warning from last patch.
svn:r9177
|
|
More changes wrt unnecessary disk writes.
svn:r9176
|
|
Remove code to look for keys in their old locations: we havent stored them there since 0.0.7.2.
svn:r9175
|
|
Update the state file less often when AvoidDiskWrites is set.
svn:r9174
|
|
Track when we get 503s from directory servers. Do not use directory servers that have given us a 503 until either an hour has passed, or we are are out of non-busy servers.
svn:r9172
|
|
Add an orport option to dirserver lines so that clients can tell where to connect to open an encrypted tunnel to a dirserver even before they have its descriptor.
svn:r9171
|
|
impact of directory writes now that we're write limiting.
a few more dead chickens remain.
svn:r9170
|
|
Clean up logic in parse_port_range(); accept 0 on low end and 65536 on high end for people who are bad at math.
svn:r9169
|
|
Fix bug found by Keith Skinner: Treat malformed max-ports in address ranges as an error, and dont ignore errors with min-ports even if a max-port is present.
svn:r9168
|
|
Remove long-deprecated log and accounting options.
svn:r9164
|
|
Fixes to check-docs script; add some docs; mark some options as deprecated in the online docs.
svn:r9163
|
|
Add a maintainer script and a new make target "make check-docs" to get a quick dump of which options are undocumented where, and which documentation refers to nonexistent options.
svn:r9160
|
|
schedule. Now the first connect attempt will wait a full 10
seconds before switching to a new circuit. Perhaps this will help
a lot. Based on observations from Mike Perry.
svn:r9159
|
|
svn:r9158
|
|
Resolve bug 363: do not fall back to 127.0.0.1 when no nameservers are configured. Instead, have the admin fix resolv.conf or configure a nameserver.
svn:r9157
|
|
Reject hostnames with invalid characters, in an attempt to catch more errors earlier. Add an option to disable this behavior.
svn:r9156
|
|
Stop recommmending exits as guards when the exit bandwidth is less than a third of the total bandwidth.
svn:r9154
|
|
NNTP by default, so this seems like a sensible addition.
(suggested by bug 331)
svn:r9149
|
|
svn:r9148
|
|
Add a typedef to (try to) make eventdns work on mingw. Man, I need a buildbot for this.
svn:r9147
|
|
Remove an artificial upper bound on expected bandwidth. More immediately, fix a VC warning.
svn:r9146
|
|
that there's stuff on the outbuf we want to flush.
svn:r9142
|
|
svn:r9141
|
|
svn:r9140
|
|
Make router_is_me work without calling router_rebuild_descriptor.
svn:r9139
|
|
svn:r9138
|
|
Implement SETEVENTS GUARD. Needs review and testing.
svn:r9137
|
|
Implement GETINFO fingerprint.
svn:r9136
|
|
until we reach our max bandwidth if it's tiny" trick now that we
do the bandwidth self-test on boot.
svn:r9134
|
|
Add internal documentation for a bunch of configuration options. We should do something to keep this list, the canonical list, the tor.1 list, and the torrc.complete list in sync.
svn:r9133
|
|
Add a rudimentary line-wrapping function for use in dumping comments in config files.
svn:r9132
|
|
Mark some TODO items as done. Also, never include ourself in our family list.
svn:r9131
|