aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | | | Don't warn when setsockopt(SO_REUSEABLE) on accept()ed socket says EINVALNick Mathewson2014-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix bug10081. I believe this bug pertains to OSX behavior, not any Tor behavior change.
* | | | | | | | | | | | Unit tests for connection_edge_process_resolved_cellNick Mathewson2014-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also rename a function to be more accurate (resolve->resolved)
* | | | | | | | | | | | Look at all of a RESOLVED cell; not just the first answer.Nick Mathewson2014-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, stop accepting the old kind of RESOLVED cells with no TTL fields; they haven't been sent since 0.1.1.6-alpha. This patch won't work without the fix to #10468 -- it will break DNSPorts unless they set the proper ipv4/6 flags on entry_connection_t.
* | | | | | | | | | | | Extract code to handle RESOLVED cellsNick Mathewson2014-04-01
| |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No other changes have been made; only code has been moved.
* | | | | | | | | | | Merge remote-tracking branch 'public/bug11278'Nick Mathewson2014-04-01
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Free placeholder circid/chan->circuit map entries on exitNick Mathewson2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In circuitlist_free_all, we free all the circuits, removing them from the map as we go, but we weren't actually freeing the placeholder entries that we use to indicate pending DESTROY cells. Fix for bug 11278; bugfix on the 7912 code that was merged in 0.2.5.1-alpha
* | | | | | | | | | | | Merge remote-tracking branch 'public/bug10468_024'Nick Mathewson2014-04-01
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Respond to AAAA requests on DNSPort with AAAA automapsNick Mathewson2014-03-27
| | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other DNS+IPv6 problems remain, but at least this fixes the automapping. Fixes bug 10468; bugfix on 0.2.4.7-alpha.
| * | | | | | | | | | | whitespace fixNick Mathewson2014-03-27
| | |_|/ / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge remote-tracking branch 'public/bug4645'Nick Mathewson2014-04-01
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c
| * | | | | | | | | | | Add one more missing heck on bug4645 fixesNick Mathewson2014-04-01
| | | | | | | | | | | |
| * | | | | | | | | | | Fixes for bug4645 fix.Nick Mathewson2014-02-03
| | | | | | | | | | | |
| * | | | | | | | | | | Using proper functions to create tor_addr_t.rl19872014-02-03
| | | | | | | | | | | |
| * | | | | | | | | | | Removing is_internal_IP() function. Resolves ticket 4645.rl19872014-02-03
| | | | | | | | | | | |
* | | | | | | | | | | | Merge remote-tracking branch 'public/bug9870'Nick Mathewson2014-04-01
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/config.c
| * | | | | | | | | | | Log only one message for dangerous log settings.Nick Mathewson2014-02-12
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We log only one message, containing a complete list of what's wrong. We log the complete list whenever any of the possible things that could have gotten wrong gets worse. Fix for #9870. Bugfix on 10480dff01bece13fab, which we merged in 0.2.5.1-alpha.
* | | | | | | | | | | Merge branch 'bug8787_squashed'Nick Mathewson2014-03-31
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Munmap the right pointers in routerlist_free()Nick Mathewson2014-03-31
| | | | | | | | | | | |
| * | | | | | | | | | | NULL out all mappings after tor_munmap_file()Nick Mathewson2014-03-31
| | | | | | | | | | | |
| * | | | | | | | | | | Always check returns from unlink()Andrea Shepard2014-03-31
| | | | | | | | | | | |
| * | | | | | | | | | | Always check returns from tor_munmap_file() in microdesc.cAndrea Shepard2014-03-31
| | | | | | | | | | | |
| * | | | | | | | | | | Always check returns from tor_munmap_file() in routerlist.cAndrea Shepard2014-03-31
| | | | | | | | | | | |
* | | | | | | | | | | | Merge remote-tracking branch 'public/bug11342'Nick Mathewson2014-03-31
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Make dump_desc() use binary modeNick Mathewson2014-03-27
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, it could mung the thing that came over the net on windows, which would defeat the purpose of recording the unparseable thing. Fixes bug 11342; bugfix on 0.2.2.1-alpha.
* | | | | | | | | | | | Fix a clang compilation warningNick Mathewson2014-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subtracting two time_t values was yielding something that maybe can't be fit in an int. Bugfix on 0389d4aa; bug not in any released Tor.
* | | | | | | | | | | | Merge branch 'bug9658_refactor'Nick Mathewson2014-03-27
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Renamed "onionskins_completed" to "onionskins_assigned"Nick Mathewson2014-03-27
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improves the accuracy of the function/variable names.
* | | | | | | | | | | Merge branch 'bug7164_diagnose_harder_v2'Nick Mathewson2014-03-27
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | More logs to try to diagnose bug 7164Nick Mathewson2014-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This time, check in microdesc_cache_clean() to see what could be going wrong with an attempt to clean a microdesc that's held by a node.
* | | | | | | | | | | Turn off testing code for #9683.Nick Mathewson2014-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This wasn't supposed to get committed turned-on.)
* | | | | | | | | | | Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warnNick Mathewson2014-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 11279
* | | | | | | | | | | Fix warnings from doxygenNick Mathewson2014-03-25
| |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these are simple. The only nontrivial part is that our pattern for using ENUM_BF was confusing doxygen by making declarations that didn't look like declarations.
* | | | | | | | | | quiet the debug message in circuit_build_times_disabled()Roger Dingledine2014-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | something recently made it get called once per second, which will clutter up your debug log file.
* | | | | | | | | | Merge remote-tracking branch 'public/bug11275_024'Nick Mathewson2014-03-23
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Stop leaking 'sig' at each call of router_append_dirobj_signature()Roger Dingledine2014-03-23
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The refactoring in commit cb75519b (tor 0.2.4.13-alpha) introduced this leak.
| * | | | | | | | | Remove the unused router_hex_digest_matchesNick Mathewson2014-03-11
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When I removed some unused functions in 5bfa373eeeb, this became unused as well.
* | | | | | | | | Be more lenient in our fix for bug 11149Roger Dingledine2014-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still quite a few 0.2.3.2x relays running for x<5, and while I agree they should upgrade, I don't think cutting them out of the network is a net win on either side.
* | | | | | | | | Remove the unused circuit_dump_by_chan().Nick Mathewson2014-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove its helper function.
* | | | | | | | | Merge remote-tracking branch 'public/bug9683_rebased'Nick Mathewson2014-03-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Defensive programming: null [pn]_chan,circ_id in circuit_mark_for_close_Nick Mathewson2014-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing this as part of the patch for #9683 to prevent possible bugs down the line
| * | | | | | | | | Test code for implementation of faster circuit_unlink_all_from_channelNick Mathewson2014-03-14
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This contains the obvious implementation using the circuitmux data structure. It also runs the old (slow) algorithm and compares the results of the two to make sure that they're the same. Needs review and testing.
* | | | | | | | | Merge remote-tracking branch 'karsten/task-11070'Nick Mathewson2014-03-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Take out remaining V1 directory code.Karsten Loesing2014-03-18
| |/ / / / / / / /
* | | | | | | | | Merge branch 'ticket11149'Nick Mathewson2014-03-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Stop accepting 0.2.2 relay uploads for the consensus.Nick Mathewson2014-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves ticket 11149.
* | | | | | | | | | Appease make check-spacesAndrea Shepard2014-03-18
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge remote-tracking branch 'asn/bug5018_notice'Nick Mathewson2014-03-12
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Tone down the log message for when we don't need a PT proxy.George Kadianakis2014-03-10
| | | | | | | | | |
* | | | | | | | | | Merge remote-tracking branch 'asn/bug11069_take2'Nick Mathewson2014-03-11
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Throw control port warning if we failed to connect to all our bridges.George Kadianakis2014-03-10
| | | | | | | | | |