summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-03-06
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/policies.c
| | * | | | | | | | | exit_policy_is_general_exit is IPv4 only; it should admit it.Nick Mathewson2011-03-06
| | | | | | | | | | |
| | * | | | | | | | | Changes file for ipv6 parsing issueNick Mathewson2011-03-06
| | | | | | | | | | |
| * | | | | | | | | | Merge branch 'maint-0.2.1' into maint-0.2.2Sebastian Hahn2011-03-06
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | / / / / / / / | | |_|/ / / / / / / | |/| | | | | | | |
| | * | | | | | | | Disallow reject6 and accept6 lines in descriptorsSebastian Hahn2011-03-06
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a remotely triggerable assert on directory authorities, who don't handle descriptors with ipv6 contents well yet. We will want to revert this once we're ready to handle ipv6. Issue raised by lorth on #tor, who wasn't able to use Tor anymore. Analyzed with help from Christian Fromme. Fix suggested by arma. Bugfix on 0.2.1.3-alpha.
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-03-04
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge remote branch 'rransom/typo-fix-2011-03-03-01' into maint-0.2.2Nick Mathewson2011-03-03
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix typo in man pageRobert Ransom2011-03-03
| | | |_|/ / / / / | | |/| | | | | |
* | | | | | | | | C style fix: a no-args function is void fn(void), not void fn().Nick Mathewson2011-03-03
| | | | | | | | |
* | | | | | | | | Add a magic field to tor_tls_t to catch exdata corruption bugs, if any appear.Nick Mathewson2011-03-03
| | | | | | | | |
* | | | | | | | | Emend changes/tls-hashRobert Ransom2011-03-03
| | | | | | | | |
* | | | | | | | | Check the result of SSL_set_ex_dataRobert Ransom2011-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by piebeer.
* | | | | | | | | Use SSL_*_ex_data instead of SSL_*_app_dataRobert Ransom2011-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSL_*_app_data uses ex_data index 0, which will be the first one allocated by SSL_get_ex_new_index. Thus, if we ever started using the ex_data feature for some other purpose, or a library linked to Tor ever started using OpenSSL's ex_data feature, Tor would break in spectacular and mysterious ways. Using the SSL_*_ex_data functions directly now may save us from that particular form of breakage in the future. But I would not be surprised if using OpenSSL's ex_data functions at all (directly or not) comes back to bite us on our backends quite hard. The specified behaviour of dup_func in the man page is stupid, and crypto/ex_data.c is a horrific mess.
* | | | | | | | | Remove now-unused helper functionsRobert Ransom2011-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions were needed only by code removed in the preceding commit. Reported by mobmix.
* | | | | | | | | remove tls related hash table codeGladys Shufflebottom2011-03-01
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-03-01
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Avoid spurious bwhist parsing failuresNick Mathewson2011-03-01
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix a bug that special ran into, where if your state file didn't record period maxima, it would never decide that it had successfully parsed itself unless you got lucky with your uninitialized-variable values. This patch also tries to improve error messags in the case where a maximum value legitimately doesn't parse.
* | | | | | | | Revert bug1074_launch_authconn* branch: needs more design, less crashingNick Mathewson2011-02-28
| | | | | | | |
* | | | | | | | Add a missing constNick Mathewson2011-02-25
| | | | | | | |
* | | | | | | | Merge branch 'bug1074_launch_conn_on_skew'Nick Mathewson2011-02-25
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed conflict on rename of router_get_by_digest->router_get_by_id_digest Conflicts: src/or/command.c
| * | | | | | | | Changes file for altf4's bug1074 stuffNick Mathewson2011-02-25
| | | | | | | | |
| * | | | | | | | whitespace fixupNick Mathewson2011-02-25
| | | | | | | | |
| * | | | | | | | Fix for #1074 previous revAltF42011-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed tor_addr_from_ipv4n to tor_addr_from_ipv4h and changed descriptor_digest to identity_digest
| * | | | | | | | Fix for #1074 "Part 3"AltF42011-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed received_netinfo_from_trusted_dir into a tristate in order to keep track of whether we have already tried contacting a trusted dir. So we don't send multiple requests if we get a bunch of skews.
| * | | | | | | | Sebastian's Changes to #1074AltF42011-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes some small mistakes with AltF4's #1074 fix
| * | | | | | | | Fix time skew values from untrusted sourcesAltF42011-02-25
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Now when we receive a large time skew from a source which isn't a trusted dir, we go contact a trusted dir to trigger a NETINFO cell.
* | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-25
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge branch 'bug1863_bwhist' into maint-0.2.2Nick Mathewson2011-02-25
| |\ \ \ \ \ \ \
| | * | | | | | | Fix two potential bugs in the bug1863 code.Karsten Loesing2011-02-24
| | | | | | | | |
| | * | | | | | | fix some spelling in rephist commentsNick Mathewson2011-01-10
| | | | | | | | |
| | * | | | | | | Add Maxima lists to bandwidth state.Nick Mathewson2011-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, Tor routers don't save the maxima values from the bw_history_t between sessions. That's no good, since we use those values to determine bandwidth. This code adds a new BWHist.*Maximum set of values to the state file. If they're not present, we estimate them by taking the observed total bandwidth and dividing it by the period length, which provides a lower bound. This should fix bug 1863. I'm calling it a feature.
| | * | | | | | | On bwhist state load failure, clear dir_read/write hist tooNick Mathewson2011-01-10
| | | | | | | | |
| | * | | | | | | Fix bug when parsing bwhist with unexpected IntervalNick Mathewson2011-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, our state parsing code would fail to parse a bwhist correctly if the Interval was anything other than the default hardcoded 15 minutes. This change makes the parsing less incorrect, though the resulting history array might get strange values in it if the intervals don't match the one we're using. (That is, if stuff was generated in 15 minute intervals, and we read it into an array that expects 30 minute intervals, we're fine, since values can be combined pairwise. But if we generate data at 30 minute intervals and read it into 15 minute intervals, alternating buckets will be empty.) Bugfix on 0.1.1.11-alpha.
| | * | | | | | | Turn the loop bodies of rep_hist_save/load_state into functionsNick Mathewson2011-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The trick of looping from i=0..4 , switching on i to set up some variables, then running some common code is much better expressed by just calling a function 4 times with 4 sets of arguments. This should make the code a little easier to follow and maintain here.
* | | | | | | | | Fix memory leak in md-download logicNick Mathewson2011-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix some microdesc comments Fix for bug 2623
* | | | | | | | | Merge remote branch 'sebastian/osx_compile'Nick Mathewson2011-02-24
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | Fix a couple of compile warnings on OS X 10.6Sebastian Hahn2011-02-24
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| / / / / / / / | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | There was a conflict from the node_t transition, but it was an easy fix. Conflicts: src/or/circuitbuild.c
| * | | | | | | Merge remote branch 'arma/bug2403' into maint-0.2.2Nick Mathewson2011-02-22
| |\ \ \ \ \ \ \
| | * | | | | | | prevent same entry and exit for insane edge caseRoger Dingledine2011-02-22
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add some dollar signs in an attempt to appease older asciidocsNick Mathewson2011-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should really require a modern asiidoc: backporting stuff to 8.2 is a timesink.
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in
| * | | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-02-22
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in
| | * | | | | | | Remove doc/spec/Makefile.in from list of generated filesNick Mathewson2011-02-22
| | | | | | | | |
* | | | | | | | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-02-22
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-02-22
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | (This is an "ours" merge of the code for bug1859 backported to 0.2.1.)
| | * | | | | | | Merge remote branch 'public/bug1859_021' into maint-0.2.1Nick Mathewson2011-02-22
| | |\ \ \ \ \ \ \
| | | * | | | | | | Fix a remaining bug in Robert's bug1859 fix.Nick Mathewson2010-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When intro->extend_info is created for an introduction point, it only starts out with a nickname, not necessarily an identity digest. Thus, doing router_get_by_digest isn't necessarily safe.
| | | * | | | | | | Issues with router_get_by_nickname() (3)Robert Hogan2010-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes file