aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
Commit message (Expand)AuthorAge
* r11676@catbus: nickm | 2007-02-07 00:10:00 -0500••• (Hopefully) final changes for 0.1.2.7-alpha: disable checking for whether the user account in question exists on --service install, since that seems to make windows go boom. We can figure out why later. Also, let the admin specify a password for the target user. svn:r9506 Nick Mathewson2007-02-07
* r11674@catbus: nickm | 2007-02-06 17:00:22 -0500••• Remove a now-bogus assert() from nt_service_command_line(), and change option handling. (Now that we no longer force a -f, it is possible to have no command-line options for Tor-as-service.) svn:r9503 Nick Mathewson2007-02-06
* r11667@catbus: nickm | 2007-02-06 13:36:18 -0500••• The --service install code can no longer default to adding an -f option for the appdata directory of the current user, since the target user probably will not be able to read it. Instead, warn the user if no explicit torrc filename is given. svn:r9502 Nick Mathewson2007-02-06
* r11664@catbus: nickm | 2007-02-06 11:55:37 -0500••• More win32 account flumdummery: when LocalService exists, you can't detect it via LookupAccountName. The only good test is to see whether we're on win2k or earlier. Apparently, somebody wouldn't know where to draw the line between implementation and interface if you gave them tracing paper and a copy of Stevens. svn:r9499 Nick Mathewson2007-02-06
* stop crashing on nt service install; but matt says still not right•••svn:r9496 Roger Dingledine2007-02-06
* r11650@catbus: nickm | 2007-02-05 17:02:54 -0500••• Resolve (I hope) remaining nt service compilation issues. svn:r9489 Nick Mathewson2007-02-05
* r11648@catbus: nickm | 2007-02-05 16:48:50 -0500••• Fix bugs in last nt services patch: syntax, typename. svn:r9488 Nick Mathewson2007-02-05
* r11646@catbus: nickm | 2007-02-05 16:15:48 -0500••• Make default NT service user be LocalService. Again, I have no idea if this compiles, let alone if it works. svn:r9487 Nick Mathewson2007-02-05
* r11643@catbus: nickm | 2007-02-05 15:44:59 -0500••• Fix bug 254, sort of: make the default NT service user NetworkService rather than NULL (system). Also, add a --user argument to --service install so that admins can override this default: this latter point should take care of most of my objections to NetworkService. I have no idea whether this even compiles. svn:r9486 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477 Nick Mathewson2007-02-02
* r11624@catbus: nickm | 2007-02-01 13:17:35 -0500••• Note a few questionable bits pointed out by RATS. (And no, RATS, I'm not about to stop having fixed-sized local buffers for you. I know how to use them, thankyouverymuch.) svn:r9474 Nick Mathewson2007-02-01
* r9715@catbus: nickm | 2007-01-22 02:51:04 -0500••• Document a few undocumented functions and arguments. svn:r9385 Nick Mathewson2007-01-22
* If our system clock jumps back in time, don't publish a negative•••uptime in the descriptor. Also, don't let the global rate limiting buckets go absurdly negative. svn:r9377 Roger Dingledine2007-01-21
* r11786@Kushana: nickm | 2007-01-02 14:32:54 -0500••• Add a comment about a possible refactoring in main.c svn:r9238 Nick Mathewson2007-01-02
* r11743@Kushana: nickm | 2006-12-28 23:13:21 -0500••• Refactor _connection_controller_force_write back into conncetion_handle_write. Again, the line count goes down: groovy! svn:r9208 Nick Mathewson2006-12-29
* r11724@Kushana: nickm | 2006-12-28 14:22:35 -0500••• Refactor and unify my-ip-addr-changed logic. Make change in IP address or in nameservers reset and relaunch DNS hijacking tests. svn:r9200 Nick Mathewson2006-12-28
* r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500••• 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 Nick Mathewson2006-12-28
* r11711@Kushana: nickm | 2006-12-24 21:42:57 -0500••• Stop counting 503s against the total number of failures allowed for a download. svn:r9190 Nick Mathewson2006-12-25
* r11706@Kushana: nickm | 2006-12-24 01:50:52 -0500••• Fix 2 bugs in last patch. (VS has weird ideas about const, and I have weird ideas about block structure.) svn:r9186 Nick Mathewson2006-12-24
* r11702@Kushana: nickm | 2006-12-24 01:31:59 -0500••• 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 Nick Mathewson2006-12-24
* reenable write limiting. nick finally convinced me this was•••a smart move. more todo sub-items remain for it. svn:r9101 Roger Dingledine2006-12-13
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500••• 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 Nick Mathewson2006-12-07
* r11462@Kushana: nickm | 2006-12-07 13:42:21 -0500••• 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 Nick Mathewson2006-12-07
* r9855@Kushana: nickm | 2006-12-04 00:55:09 -0500••• Merge circuit_about_to_close_connection and connection_about_to_close_connection. svn:r9021 Nick Mathewson2006-12-04
* cleanups, bump to 0.1.2.4-alpha•••svn:r9015 Roger Dingledine2006-12-02
* r9843@Kushana: nickm | 2006-11-30 17:22:25 -0500••• Turn an xxxx0124 into an #ifdef; avoid leaking memory. svn:r9013 Nick Mathewson2006-11-30
* r9309@totoro: nickm | 2006-11-13 19:05:41 -0500••• Whitespace fixes, and clean up code from last natd patch. svn:r8947 Nick Mathewson2006-11-14
* r9465@auth3-479: nickm | 2006-11-01 13:16:21 -0500••• 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 Nick Mathewson2006-11-01
* r9449@Kushana: nickm | 2006-10-31 00:12:02 -0500••• 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 Nick Mathewson2006-10-31
* r9389@Kushana: nickm | 2006-10-25 17:46:16 -0400••• Add a CLEARDNSCACHE signal to clear the client-side DNS cache. svn:r8829 Nick Mathewson2006-10-25
* r9386@Kushana: nickm | 2006-10-25 17:35:38 -0400••• Resolve bug 347: translate v0 controller signal numbers into internal signal numbers; leave v1 signal numbers alone. svn:r8828 Nick Mathewson2006-10-25
* spec and implement some more status events. start to build•••some conventions. svn:r8805 Roger Dingledine2006-10-23
* implement a few status events, so we can make sure they work,•••and so vidalia can start handling them if it wants. svn:r8802 Roger Dingledine2006-10-23
* r9307@Kushana: nickm | 2006-10-20 13:53:54 -0400••• 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 Nick Mathewson2006-10-20
* move the 'time jump' warning back to a higher threshold.•••this still occurs on moria sometimes if it's swapping to death. so be it. svn:r8725 Roger Dingledine2006-10-15
* Security bugfixes:••• When the user sends a NEWNYM signal, clear the client-side DNS cache too. Otherwise we continue to act on previous information. svn:r8679 Roger Dingledine2006-10-09
* whitespace tweaks•••svn:r8677 Roger Dingledine2006-10-09
* r8970@totoro: nickm | 2006-10-09 10:12:53 -0400••• 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 Nick Mathewson2006-10-09
* try dirport reachability testing five times less often.•••it's already so darn thorough per test -- it chews through like four circuits before giving up. svn:r8646 Roger Dingledine2006-10-08
* r8932@totoro: nickm | 2006-10-07 20:29:03 -0400••• 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 Nick Mathewson2006-10-08
* fetch all the v1 directory stuff way less often. plus, move•••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 Roger Dingledine2006-10-06
* r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400••• Differentiate more duplicated log entries svn:r8542 Nick Mathewson2006-09-29
* r8750@totoro: nickm | 2006-09-27 20:52:01 -0400••• Fix some warnings on mingw; hopefully this should let us build on mingw without warnings. svn:r8509 Nick Mathewson2006-09-28
* Minor fix: add code to eventdns so it can free memory on shutdown. This shoul...•••svn:r8503 Nick Mathewson2006-09-25
* Trivial fix to make dmalloc happier: release memory held in static member of ...•••svn:r8502 Nick Mathewson2006-09-25
* r8878@Kushana: nickm | 2006-09-21 17:15:47 -0400••• Trivial whitespace cleanups. svn:r8443 Nick Mathewson2006-09-21
* r8875@Kushana: nickm | 2006-09-21 16:46:28 -0400••• Resolve bug 330: detect ISPs that want to hijack failing DNS requests and basically domain-squat the entire internet. svn:r8440 Nick Mathewson2006-09-21
* r8839@Kushana: nickm | 2006-09-17 16:11:59 -0400••• Add some client performance XXXXs; try to move some common case tests higher on their decision trees. svn:r8410 Nick Mathewson2006-09-17
* make my bandwidth exercises actually happen•••svn:r8400 Roger Dingledine2006-09-15
* r9752@danube: weasel | 2006-09-14 07:06:49 +0200••• Fix some dead code that is on occasion useful svn:r8389 Peter Palfrader2006-09-14