Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | | allow manual control port authenticate via netcat | Roger Dingledine | 2011-11-16 | |
| | | | ||||
* | | | Add some XXXes | Robert Ransom | 2011-11-07 | |
| | | | ||||
* | | | Add GETINFO md/id/* and md/name/* items for relay microdescs | Robert Ransom | 2011-11-07 | |
| | | | ||||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-09-09 | |
|\ \ \ | |/ / |/| / | |/ | | | | | Conflicts: configure.in src/or/circuitbuild.c | |||
| * | Use %f with printf-style formatting, not %lf | Nick Mathewson | 2011-08-30 | |
| | | | | | | | | | | | | | | | | | | | | | | For printf, %f and %lf are synonymous, since floats are promoted to doubles when passed as varargs. It's only for scanf that we need to say "%lf" for doubles and "%f" for floats. Apparenly, some older compilers think it's naughty to say %lf and like to spew warnings about it. Found by grarpamp. | |||
* | | Merge remote-tracking branch 'public/split_entry_conn' | Nick Mathewson | 2011-09-07 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/connection.c src/or/connection_edge.c src/or/connection_edge.h src/or/dnsserv.c Some of these were a little tricky, since they touched code that changed because of the prop171 fixes. | |||
| * | | Move entry-only fields from edge_connection_t to entry_connection_t | Nick Mathewson | 2011-07-21 | |
| | | | | | | | | | | | | Also, refactor the code accordingly. | |||
* | | | Die if tor_vasprintf fails in connection_printf_to_buf | Robert Ransom | 2011-09-07 | |
| | | | | | | | | | | | | tor_asprintf already asserts if it fails. | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-08-15 | |
|\ \ \ | | |/ | |/| | ||||
| * | | Remove extra quotation marks around the result of esc_for_log | Robert Ransom | 2011-08-15 | |
| | | | ||||
* | | | Whitespace tweaks | Nick Mathewson | 2011-08-10 | |
| | | | ||||
* | | | Fix condition reported by nickm. | Kamran Riaz Khan | 2011-08-10 | |
| | | | ||||
* | | | Return if CONF_CHANGED isn't interesting. | Kamran Riaz Khan | 2011-08-10 | |
| | | | ||||
* | | | Use smartlist_asprintf_add() to improve readability. | Kamran Riaz Khan | 2011-08-10 | |
| | | | ||||
* | | | Minor code readability fix. | Kamran Riaz Khan | 2011-08-09 | |
| | | | ||||
* | | | Minor comment fix. | Kamran Riaz Khan | 2011-08-08 | |
| | | | ||||
* | | | Refactor to do CONF_CHANGED event formatting inside control.c | Kamran Riaz Khan | 2011-08-08 | |
| | | | ||||
* | | | Emits CONF_CHANGED events whenever Tor's configuration values change. | Kamran Riaz Khan | 2011-08-08 | |
| |/ |/| | ||||
* | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-07-14 | |
|\| | | | | | | | | | Conflicts: src/or/control.c | |||
| * | Improve error msg on failed getinfo fingerprint | Nick Mathewson | 2011-07-14 | |
| | | ||||
| * | Change GETINFO fingerprint to look at server_mode, not my_descriptor | Nick Mathewson | 2011-07-13 | |
| | | | | | | | | | | | | | | It's possible for us to be a server and have a fingerprint without having yet generated a descriptor. Fixes bug 3577; bugfix on 0.2.0.1-alpha | |||
* | | Report the states of failed TLS connections from bootstrap_problem | Nick Mathewson | 2011-07-11 | |
| | | ||||
* | | Make handle_control_setevents table-driven | Robert Ransom | 2011-06-25 | |
| | | ||||
* | | Merge branch 'bug3465-022' into bug3465-023 | Robert Ransom | 2011-06-25 | |
|\| | | | | | | | | | | | | | * bug3465-022: Add BUILDTIMEOUT_SET to the result of GETINFO events/names Correct a comment Fix minor comment issues | |||
| * | Add BUILDTIMEOUT_SET to the result of GETINFO events/names | Robert Ransom | 2011-06-25 | |
| | | ||||
* | | Add, use a bufferevent-safe connection_flush() | Nick Mathewson | 2011-06-21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of places in control.c were using connection_handle_write() to flush important stuff (the response to a SIGNAL command, an ERR-level status event) before Tor went down. But connection_handle_write() isn't meaningful for bufferevents, so we'd crash. This patch adds a new connection_flush() that works for all connection backends, and makes control.c use that instead. Fix for bug 3367; bugfix on 0.2.3.1-alpha. | |||
* | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-06-17 | |
|\| | ||||
| * | Merge branch 'bug3407' into maint-0.2.2 | Nick Mathewson | 2011-06-17 | |
| |\ | ||||
| | * | Make send_control_event_impl's behaviour sane | Robert Ransom | 2011-06-17 | |
| | | | ||||
| | * | Fix comment typo | Robert Ransom | 2011-06-17 | |
| | | | ||||
| | * | Make connection_printf_to_buf's behaviour sane | Robert Ransom | 2011-06-17 | |
| | | | ||||
| | * | Correct some outdated comments | Robert Ransom | 2011-05-24 | |
| | | | ||||
* | | | Make the get_options() return const | Nick Mathewson | 2011-06-14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This lets us make a lot of other stuff const, allows the compiler to generate (slightly) better code, and will make me get slightly fewer patches from folks who stick mutable stuff into or_options_t. const: because not every input is an output! | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-30 | |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/common/compat.c src/or/main.c | |||
| * | | Merge remote-tracking branch 'public/bug3270' into maint-0.2.2 | Nick Mathewson | 2011-05-30 | |
| |\ \ | ||||
| | * | | Use a 64-bit type to hold sockets on win64. | Nick Mathewson | 2011-05-23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On win64, sockets are of type UINT_PTR; on win32 they're u_int; elsewhere they're int. The correct windows way to check a socket for being set is to compare it with INVALID_SOCKET; elsewhere you see if it is negative. On Libevent 2, all callbacks take sockets as evutil_socket_t; we've been passing them int. This patch should fix compilation and correctness when built for 64-bit windows. Fixes bug 3270. | |||
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-28 | |
|\| | | | ||||
| * | | | Fix GCC 4.6's new -Wunused-but-set-variable warnings. | Nick Mathewson | 2011-05-23 | |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most instances were dead code; for those, I removed the assignments. Some were pieces of info we don't currently plan to use, but which we might in the future. For those, I added an explicit cast-to-void to indicate that we know that the thing's unused. Finally, one was a case where we were testing the wrong variable in a unit test. That one I fixed. This resolves bug 3208. | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-23 | |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/common/Makefile.am src/or/control.c | |||
| * | | Merge branch 'feature3049-v2' into maint-0.2.2 | Nick Mathewson | 2011-05-23 | |
| |\ \ | | |/ | |/| | | | | | | | Conflicts: src/common/Makefile.am | |||
| | * | Split out owning-controller-loss shutdown code into a function | Robert Ransom | 2011-05-20 | |
| | | | ||||
| | * | Implement TAKEOWNERSHIP command | Robert Ransom | 2011-05-20 | |
| | | | ||||
| | * | Split control connection cleanup out of connection_free | Robert Ransom | 2011-05-20 | |
| | | | ||||
| | * | Add an XXX | Robert Ransom | 2011-05-20 | |
| | | | ||||
| | * | Fix trailing asterisk in the output of "GETINFO info/names" | Robert Ransom | 2011-05-20 | |
| | | | ||||
| | * | Exit immediately if we can't monitor our owning controller process | Robert Ransom | 2011-05-20 | |
| | | | | | | | | | | | | | | | | | | | | | tor_process_monitor_new can't currently return NULL, but if it ever can, we want that to be an explicitly fatal error, without relying on the fact that monitor_owning_controller_process's chain of caller will exit if it fails. | |||
| | * | Implement __OwningControllerProcess option | Robert Ransom | 2011-05-20 | |
| | | | | | | | | | | | | Implements part of feature 3049. | |||
* | | | Merge remote-tracking branch 'origin/maint-0.2.2' | Nick Mathewson | 2011-05-13 | |
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c src/or/dirserv.c src/or/or.h | |||
| * | | Add a ControlPortFileGroupWritable option | Nick Mathewson | 2011-05-13 | |
| | | | ||||
| * | | Write automatically-chosen control ports to a file. | Nick Mathewson | 2011-05-13 | |
| | | |