Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-10-02 | Record intro point timeouts in rend_intro_point_t | Robert Ransom | |
2011-10-02 | Refetch an HS's desc if we don't have a usable one | Robert Ransom | |
Previously, we wouldn't refetch an HS's descriptor unless we didn't have one at all. That was equivalent to refetching iff we didn't have a usable one, but the next commit will make us keep some non-usable HS descriptors around in our cache. Code bugfix on the release that introduced the v2 HS directory system, because rend_client_refetch_v2_renddesc's documentation comment should have described what it actually did, not what its behaviour happened to be equivalent to; no behaviour change in this commit. | |||
2011-09-13 | Merge branch 'maint-0.2.1' into maint-0.2.2 | Roger Dingledine | |
Conflicts: src/or/main.c src/or/router.c | |||
2011-09-13 | Generate our ssl session certs with a plausible lifetime | Roger Dingledine | |
Nobody but Tor uses certs on the wire with 2 hour lifetimes, and it makes us stand out. Resolves ticket 4014. | |||
2011-09-10 | Demote 'INTRODUCE2 cell is too {old,new}' message to info level | Robert Ransom | |
2011-09-10 | Demote HS 'replay detected' log message for DH public keys to info level | Robert Ransom | |
2011-09-10 | Describe rend_service_descriptor_t more completely | Robert Ransom | |
2011-09-10 | Describe rend_intro_point_t more completely | Robert Ransom | |
2011-09-10 | Fix log message typo. | Robert Ransom | |
2011-09-09 | Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2 | Nick Mathewson | |
2011-09-09 | Merge remote-tracking branch 'public/enhance_replay_detection' into maint-0.2.2 | Nick Mathewson | |
2011-09-09 | Check for replays in PK-encrypted part of intro cell, not just in the g^x value | Nick Mathewson | |
2011-09-07 | Merge remote-tracking branch 'public/bug2649_squashed' into maint-0.2.2 | Nick Mathewson | |
2011-09-06 | Fix assertion in addressmap_clear_excluded_trackexithosts | Nick Mathewson | |
Fixes bug 3923; bugfix on 0.2.2.25-alpha; bugfix from 'laruldan' on trac. | |||
2011-08-30 | Use %f with printf-style formatting, not %lf | Nick Mathewson | |
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. | |||
2011-08-30 | Switch a SMARTLIST_FOREACH in circuitbuild.c to BEGIN/END | Nick Mathewson | |
It had some cpp stuff inside, and older GCCs don't like preprocessor directives inside macro arguments. Found by grarpamp. | |||
2011-08-17 | Don't write ControlPorts to disk till after we setuid and make datadir | Nick Mathewson | |
Fix for bug 3747; bugfix on 0.2.2.26-beta. | |||
2011-08-15 | Remove extra quotation marks around the result of esc_for_log | Robert Ransom | |
2011-07-19 | Specify text or binary mode in every start_writing_to_stdio_file call | Robert Ransom | |
2011-07-14 | Improve error msg on failed getinfo fingerprint | Nick Mathewson | |
2011-07-13 | Change GETINFO fingerprint to look at server_mode, not my_descriptor | Nick Mathewson | |
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 | |||
2011-07-07 | Correctly send a SUCCEEDED event for rdns requests | Sebastian Hahn | |
The issue was that we overlooked the possibility of reverse DNS success at the end of connection_ap_handshake_socks_resolved(). Issue discovered by katmagic, thanks! | |||
2011-07-06 | appease check-spaces | Roger Dingledine | |
2011-07-05 | Merge remote-tracking branch 'rransom-tor/bug3465-022' into maint-0.2.2 | Nick Mathewson | |
2011-07-01 | Merge branch 'cov217_022_squashed' into maint-0.2.2 | Nick Mathewson | |
2011-07-01 | Use strlcpy when copying node IDs into measured_bw_line_t | Nick Mathewson | |
We were using strncpy before, which isn't our style for stuff like this. This isn't a bug, though: before calling strncpy, we were checking that strlen(src) was indeed == HEX_DIGEST_LEN, which is less than sizeof(dst), so there was no way we could fail to NUL-terminate. Still, strncpy(a,b,sizeof(a)) is an idiom that we ought to squash everyplace. Fixes CID #427. | |||
2011-07-01 | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 | Nick Mathewson | |
2011-07-01 | Use strlcpy in create_unix_sockaddr() | Nick Mathewson | |
Using strncpy meant that if listenaddress were ever >= sizeof(sockaddr_un.sun_path), we would fail to nul-terminate sun_path. This isn't a big deal: we never read sun_path, and the kernel is smart enough to reject the sockaddr_un if it isn't nul-terminated. Nonetheless, it's a dumb failure mode. Instead, we should reject addresses that don't fit in sockaddr_un.sun_path. Coverity found this; it's CID 428. Bugfix on 0.2.0.3-alpha. | |||
2011-07-01 | Fix a rare memory leak in rend_cache_store | Nick Mathewson | |
When we rejected a descriptor for not being the one we wanted, we were letting the parsed descriptor go out of scope. Found by Coverity; CID # 30. Bugfix on 0.2.1.26. (No changes file yet, since this is not in any 0.2.1.x release.) | |||
2011-06-25 | Add BUILDTIMEOUT_SET to the result of GETINFO events/names | Robert Ransom | |
2011-06-24 | Correct a comment | Robert Ransom | |
2011-06-23 | Fix minor comment issues | Robert Ransom | |
2011-06-22 | Fix minor comment issues | Robert Ransom | |
2011-06-17 | Revert "Add an "auto" option to UseBridges" | Nick Mathewson | |
This reverts commit 507c1257a4d9c629fefc2adbad8db73607749734. | |||
2011-06-17 | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2 | Nick Mathewson | |
2011-06-17 | Abandon rendezvous circuits on SIGNAL NEWNYM | Robert Ransom | |
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 | log when we finish ssl handshake and move to renegotiation | Roger Dingledine | |
debug-level since it will be quite common. logged at both client and server side. this step should help us track what's going on with people filtering tor connections by our ssl habits. | |||
2011-06-14 | Merge remote-tracking branch 'public/bug3369' into maint-0.2.2 | Nick Mathewson | |
2011-06-14 | Make ControlSocketsGroupWritable work with User. | Jérémy Bobbio | |
Original message from bug3393: check_private_dir() to ensure that ControlSocketsGroupWritable is safe to use. Unfortunately, check_private_dir() only checks against the currently running user… which can be root until privileges are dropped to the user and group configured by the User config option. The attached patch fixes the issue by adding a new effective_user argument to check_private_dir() and updating the callers. It might not be the best way to fix the issue, but it did in my tests. (Code by lunar; changelog by nickm) | |||
2011-06-13 | client-side DNS proxy server: reply NOTIMPL to unsupported queries | intrigeri | |
Fix for bug 3369. | |||
2011-06-08 | Fix a rare memleak during stats writing | Sebastian Hahn | |
If rep_hist_buffer_stats_write() was called unitinitalized, we'd leak memory. | |||
2011-06-08 | Don't use signed 1-bit bitfields | Sebastian Hahn | |
This was harmless, we never compared it to anything but itself or 0. But Coverity complained, and it had a point. | |||
2011-06-08 | Comment out some obviously dead code. | Sebastian Hahn | |
Coverity warned about it, it's harmless to comment out. | |||
2011-06-08 | Remove a few dead assignments during router parsing | Sebastian Hahn | |
2011-06-08 | remove some dead code, found by coverity | Sebastian Hahn | |
2011-06-06 | Detect insanely large circuit build state; don't give its length to rand_int | Nick Mathewson | |