Roger Dingledine
|
8f5642edbc
|
Relays now reject risky extend cells: if the extend cell includes
a digest of all zeroes, or asks to extend back to the relay that
sent the extend cell, tear down the circuit. Ideas suggested
by rovv.
svn:r16605
|
2008-08-20 05:21:43 +00:00 |
|
Roger Dingledine
|
cc8b2247bf
|
make r16598 compile on 64-bit too
svn:r16604
|
2008-08-20 05:15:08 +00:00 |
|
Karsten Loesing
|
a8035b5fc3
|
Update doxygen documentation.
svn:r16599
|
2008-08-19 19:01:41 +00:00 |
|
Nick Mathewson
|
24f1d29be1
|
Apply proposal 121 patch 3, with minor tweaks and a few comments.
svn:r16598
|
2008-08-19 15:41:28 +00:00 |
|
Nick Mathewson
|
0711408c22
|
Adjust definition of SMARTLIST_FOREACH_END() to enforce matching variable.
svn:r16597
|
2008-08-19 15:33:03 +00:00 |
|
Roger Dingledine
|
369e3bc656
|
minor fixes/additions
svn:r16580
|
2008-08-17 21:49:50 +00:00 |
|
Roger Dingledine
|
70a54ed850
|
make the description of geoip-client-origins more true to the code
svn:r16579
|
2008-08-17 21:49:06 +00:00 |
|
Peter Palfrader
|
87a5962abb
|
All the controller things want their stuff in v2 format. Well then, maybe that's already sufficient
svn:r16578
|
2008-08-17 08:26:02 +00:00 |
|
Peter Palfrader
|
d3be2cb7fb
|
And tell us more in another error case
svn:r16577
|
2008-08-17 08:14:57 +00:00 |
|
Peter Palfrader
|
ab9078fca0
|
Change a warning/bug message
svn:r16576
|
2008-08-17 08:11:21 +00:00 |
|
Peter Palfrader
|
3c0b0ccca9
|
Two consensus fixes: always reset has_* to 0, and use a buffer of proper length for exitsummaries.
svn:r16575
|
2008-08-17 08:01:23 +00:00 |
|
Peter Palfrader
|
4eecd27b42
|
Make trunk build again under -DEXPORTMALLINFO
svn:r16559
|
2008-08-15 14:03:37 +00:00 |
|
Nick Mathewson
|
fcf817f897
|
Switch global_identifier on connections to a 64-bit field and move it to connection_t. When procession onionskins, look up the connection by this field rather than by addr:port. This will keep us from dropping onionskins. How many dropped circuits are dropped because of this bug?
svn:r16558
|
2008-08-15 13:55:01 +00:00 |
|
Mike Perry
|
1fcbd9f233
|
Update proposal after feedback from Nick.
svn:r16556
|
2008-08-15 04:13:11 +00:00 |
|
Peter Palfrader
|
521f8c791f
|
spaceman
svn:r16555
|
2008-08-14 23:09:48 +00:00 |
|
Peter Palfrader
|
8cc3d6e22d
|
Add exitpolicy summaries to the consensus
svn:r16554
|
2008-08-14 23:01:31 +00:00 |
|
Peter Palfrader
|
e27b448c57
|
Do not split stored exit policy summary into type(accept/reject) and portlist. At least not just yet
svn:r16553
|
2008-08-14 23:01:21 +00:00 |
|
Peter Palfrader
|
41730a893c
|
Rename a field so weasel likes it better
svn:r16552
|
2008-08-14 23:01:09 +00:00 |
|
Peter Palfrader
|
ceae7ed960
|
Add bw to consensus
svn:r16551
|
2008-08-14 23:00:57 +00:00 |
|
Peter Palfrader
|
82f8050ac4
|
Parse policies and weight (bw) into routerstatuses
svn:r16550
|
2008-08-14 23:00:44 +00:00 |
|
Peter Palfrader
|
e8de3ff54d
|
If we are lucky the whitespace nazis will not have noticed these things yet
svn:r16549
|
2008-08-14 18:01:20 +00:00 |
|
Peter Palfrader
|
fdba26f213
|
minor comment/doxygen fix
svn:r16548
|
2008-08-14 18:01:09 +00:00 |
|
Peter Palfrader
|
3edf7cade5
|
mark a todo item that has been done a while ago
svn:r16545
|
2008-08-14 12:43:35 +00:00 |
|
Peter Palfrader
|
7c4106135a
|
Give bw in kb/sec in votes/consensus
svn:r16544
|
2008-08-14 12:37:59 +00:00 |
|
Peter Palfrader
|
ff32708d0e
|
Having a reject-all policy summarized with a lack of summary is stupid. Explicitly mention them as reject 1-65535.
svn:r16543
|
2008-08-14 12:37:50 +00:00 |
|
Peter Palfrader
|
2f91a3528a
|
testsuite: Now that we add (pretty useless, but still) routerinfos to the routerlist for every one of our routerstatuses in the votes we pass again. yay
svn:r16542
|
2008-08-14 12:37:42 +00:00 |
|
Peter Palfrader
|
6317cc2956
|
Only fetch the routerinfo_t in routerstatus_format_entry() if we are going to need it
svn:r16541
|
2008-08-14 12:37:34 +00:00 |
|
Peter Palfrader
|
a6ade97f67
|
Properly move forward char pointer after appending stuff to the string
svn:r16540
|
2008-08-14 12:37:28 +00:00 |
|
Peter Palfrader
|
056157984b
|
Disable test suite for today
svn:r16539
|
2008-08-14 12:37:21 +00:00 |
|
Peter Palfrader
|
b246c4de9b
|
asserting(s) is better than segfaulting if it turns out to be NULL later
svn:r16538
|
2008-08-14 12:37:14 +00:00 |
|
Peter Palfrader
|
1a2c6b41e3
|
Do not show policy and bw in v2 statuses
svn:r16537
|
2008-08-14 12:37:07 +00:00 |
|
Peter Palfrader
|
24da63ea7b
|
Add exit policy and bw to dirvotes - unfortunately also to v2 statuses
svn:r16536
|
2008-08-14 12:37:00 +00:00 |
|
Peter Palfrader
|
91f654f2ff
|
This bunch of functions really should be static
svn:r16535
|
2008-08-14 11:24:03 +00:00 |
|
Peter Palfrader
|
171a7d4b0f
|
Fix an overflow when counting rejects for *, truncate exit summaries after 1000 chars
svn:r16530
|
2008-08-13 19:25:18 +00:00 |
|
Peter Palfrader
|
864b4a009d
|
Mention exception for accept-all policies
svn:r16529
|
2008-08-13 12:57:30 +00:00 |
|
Peter Palfrader
|
adcea0f332
|
Think of the poor children in Antarctica who still have to work on 4" screens
svn:r16528
|
2008-08-13 12:46:13 +00:00 |
|
Peter Palfrader
|
0d807068a3
|
A few testcases for policy summaries
svn:r16527
|
2008-08-13 12:46:06 +00:00 |
|
Peter Palfrader
|
c4e8fe11db
|
Also special case "accept 1-65535" case, do not leak in non-exit case
svn:r16526
|
2008-08-13 12:46:00 +00:00 |
|
Peter Palfrader
|
8ef2fe4b37
|
Return NULL for policies that do not allow any exits
svn:r16525
|
2008-08-13 12:45:53 +00:00 |
|
Peter Palfrader
|
4a74b9a7df
|
Fix condition statement for accept items, fix two asserts
svn:r16524
|
2008-08-13 12:45:44 +00:00 |
|
Peter Palfrader
|
34e083dde1
|
Make sure we don't run off the end of the list
svn:r16523
|
2008-08-13 12:45:34 +00:00 |
|
Peter Palfrader
|
b2344a9e4d
|
Move policy_summarize() prototype to or.h
svn:r16522
|
2008-08-13 12:45:28 +00:00 |
|
Peter Palfrader
|
49a616e0fa
|
Create string representation of exit summaries
svn:r16521
|
2008-08-13 12:45:23 +00:00 |
|
Peter Palfrader
|
7eaf5bd848
|
Nickm says I'm going to hell, but if I write that in a comment he might just save my soul
svn:r16520
|
2008-08-13 12:45:15 +00:00 |
|
Peter Palfrader
|
1adc12546e
|
implement policy_summary_accept and policy_summary_reject together with a set of helpers
svn:r16519
|
2008-08-13 12:45:09 +00:00 |
|
Peter Palfrader
|
f5adde1a17
|
Start with exit policy summaries
svn:r16518
|
2008-08-13 12:45:01 +00:00 |
|
Roger Dingledine
|
1342964f37
|
tab-man strikes back
svn:r16516
|
2008-08-13 06:07:59 +00:00 |
|
Roger Dingledine
|
c9f9c2665b
|
a few more items for jacob
svn:r16515
|
2008-08-12 22:12:55 +00:00 |
|
Peter Palfrader
|
26729d1709
|
Describe summary algorithm in more detail, based on prototype
svn:r16514
|
2008-08-12 19:37:33 +00:00 |
|
Peter Palfrader
|
5e155bb644
|
shorter exit summary is the one with a shorter string representation
svn:r16513
|
2008-08-12 19:21:45 +00:00 |
|