aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Trivial whitespace fixesNick Mathewson2011-09-24
|
* Ticket #4063 - change circuit build timeout log entries from NOTICE to INFOTom Lowenthal2011-09-24
|
* Fix a potentially useless integer overflow check.Mansour Moufid2011-09-20
| | | | | | | GCC 4.2 and maybe other compilers optimize away unsigned integer overflow checks of the form (foo + bar < foo), for all bar. Fix one such check in `src/common/OpenBSD_malloc_Linux.c'.
* Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2011-09-13
|\ | | | | | | | | | | Conflicts: src/or/main.c src/or/router.c
| * Generate our ssl session certs with a plausible lifetimeRoger Dingledine2011-09-13
| | | | | | | | | | Nobody but Tor uses certs on the wire with 2 hour lifetimes, and it makes us stand out. Resolves ticket 4014.
* | Update to the September 2011 GeoIP database.Karsten Loesing2011-09-12
| |
* | Demote 'INTRODUCE2 cell is too {old,new}' message to info levelRobert Ransom2011-09-10
| |
* | Demote HS 'replay detected' log message for DH public keys to info levelRobert Ransom2011-09-10
| |
* | Describe rend_service_descriptor_t more completelyRobert Ransom2011-09-10
| |
* | Describe rend_intro_point_t more completelyRobert Ransom2011-09-10
| |
* | Fix log message typo.Robert Ransom2011-09-10
| |
* | Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2Nick Mathewson2011-09-09
|\ \
| * | Check for lround with autoconf; fall back to rint.Nick Mathewson2011-08-30
| | |
| * | Fix a compilation issue on older FreeBSDsSebastian Hahn2011-08-30
| | |
| * | Use %f with printf-style formatting, not %lfNick Mathewson2011-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.
| * | Switch a SMARTLIST_FOREACH in circuitbuild.c to BEGIN/ENDNick Mathewson2011-08-30
| | | | | | | | | | | | | | | | | | | | | It had some cpp stuff inside, and older GCCs don't like preprocessor directives inside macro arguments. Found by grarpamp.
* | | Merge remote-tracking branch 'public/enhance_replay_detection' into maint-0.2.2Nick Mathewson2011-09-09
|\ \ \
| * | | Check for replays in PK-encrypted part of intro cell, not just in the g^x valueNick Mathewson2011-09-09
| | |/ | |/|
* | | Merge remote-tracking branch 'public/bug2649_squashed' into maint-0.2.2Nick Mathewson2011-09-07
|\ \ \
| * | | Increase default required uptime for HSDirs to 25 hoursRobert Ransom2011-06-03
| | | |
| * | | Add a VoteOnHidServDirectoriesV2 configuration optionRobert Ransom2011-06-03
| | | |
* | | | Fix assertion in addressmap_clear_excluded_trackexithostsNick Mathewson2011-09-06
| |_|/ |/| | | | | | | | Fixes bug 3923; bugfix on 0.2.2.25-alpha; bugfix from 'laruldan' on trac.
* | | lround() missing in MSVCGisle Vanem2011-08-24
| | | | | | | | | | | | | | | lround() is missing in MS Visual-C's <math.h>. Not available anywhere. Here is an easy patch.
* | | Don't write ControlPorts to disk till after we setuid and make datadirNick Mathewson2011-08-17
| | | | | | | | | | | | Fix for bug 3747; bugfix on 0.2.2.26-beta.
* | | Remove extra quotation marks around the result of esc_for_logRobert Ransom2011-08-15
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-08-08
|\ \ \ | | |/ | |/|
| * | Update to the August 2011 GeoIP database.Karsten Loesing2011-08-08
| | |
* | | Check return value in fmt_addrNick Mathewson2011-07-20
| | | | | | | | | | | | | | | | | | | | | Previously, if tor_addr_to_str() returned NULL, we would reuse the last value returned by fmt_addr(). (This could happen if we were erroneously asked to format an AF_UNSPEC address.) Now instead we return "???".
* | | Specify text or binary mode in every start_writing_to_stdio_file callRobert Ransom2011-07-19
| | |
* | | Merge branch 'bug3577' into maint-0.2.2Nick Mathewson2011-07-14
|\ \ \
| * | | Improve error msg on failed getinfo fingerprintNick Mathewson2011-07-14
| | | |
| * | | Change GETINFO fingerprint to look at server_mode, not my_descriptorNick Mathewson2011-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
* | | | Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2011-07-07
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | update to the july 2011 geoip dbRoger Dingledine2011-07-07
| | |
* | | Correctly send a SUCCEEDED event for rdns requestsSebastian Hahn2011-07-07
| | | | | | | | | | | | | | | | | | 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!
* | | appease check-spacesRoger Dingledine2011-07-06
| | |
* | | Merge remote-tracking branch 'rransom-tor/bug3465-022' into maint-0.2.2Nick Mathewson2011-07-05
|\ \ \
| * | | Add BUILDTIMEOUT_SET to the result of GETINFO events/namesRobert Ransom2011-06-25
| | | |
| * | | Correct a commentRobert Ransom2011-06-24
| | | |
| * | | Fix minor comment issuesRobert Ransom2011-06-23
| | | |
* | | | Merge branch 'cov217_022_squashed' into maint-0.2.2Nick Mathewson2011-07-01
|\ \ \ \
| * | | | Use strlcpy when copying node IDs into measured_bw_line_tNick Mathewson2011-07-01
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-07-01
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Merge branches 'cov217_021' and 'cid_450' into maint-0.2.1Nick Mathewson2011-07-01
| |\ \
| | * | Fix insanely large stack_allocation in log_credential_statusNick Mathewson2011-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not one to insist on C's miserly stack limits, but allocating a 256K array on the stack is too much even for me. Bugfix on 0.2.1.7-alpha. Found by coverity. Fixes CID # 450.
| * | | Use strlcpy in create_unix_sockaddr()Nick Mathewson2011-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Fix a rare memory leak in rend_cache_storeNick Mathewson2011-07-01
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | | Improve documentation of smartlist_split_stringRobert Ransom2011-06-22
| | |
* | | Fix minor comment issuesRobert Ransom2011-06-22
| | |
* | | Fix comment typoRobert Ransom2011-06-22
| | |