Peter Palfrader
|
521f8c791f
spaceman
|
16 лет назад |
Peter Palfrader
|
8cc3d6e22d
Add exitpolicy summaries to the consensus
|
16 лет назад |
Peter Palfrader
|
e27b448c57
Do not split stored exit policy summary into type(accept/reject) and portlist. At least not just yet
|
16 лет назад |
Peter Palfrader
|
41730a893c
Rename a field so weasel likes it better
|
16 лет назад |
Peter Palfrader
|
ceae7ed960
Add bw to consensus
|
16 лет назад |
Peter Palfrader
|
82f8050ac4
Parse policies and weight (bw) into routerstatuses
|
16 лет назад |
Peter Palfrader
|
e8de3ff54d
If we are lucky the whitespace nazis will not have noticed these things yet
|
16 лет назад |
Peter Palfrader
|
fdba26f213
minor comment/doxygen fix
|
16 лет назад |
Peter Palfrader
|
3edf7cade5
mark a todo item that has been done a while ago
|
16 лет назад |
Peter Palfrader
|
7c4106135a
Give bw in kb/sec in votes/consensus
|
16 лет назад |
Peter Palfrader
|
ff32708d0e
Having a reject-all policy summarized with a lack of summary is stupid. Explicitly mention them as reject 1-65535.
|
16 лет назад |
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
|
16 лет назад |
Peter Palfrader
|
6317cc2956
Only fetch the routerinfo_t in routerstatus_format_entry() if we are going to need it
|
16 лет назад |
Peter Palfrader
|
a6ade97f67
Properly move forward char pointer after appending stuff to the string
|
16 лет назад |
Peter Palfrader
|
056157984b
Disable test suite for today
|
16 лет назад |
Peter Palfrader
|
b246c4de9b
asserting(s) is better than segfaulting if it turns out to be NULL later
|
16 лет назад |
Peter Palfrader
|
1a2c6b41e3
Do not show policy and bw in v2 statuses
|
16 лет назад |
Peter Palfrader
|
24da63ea7b
Add exit policy and bw to dirvotes - unfortunately also to v2 statuses
|
16 лет назад |
Peter Palfrader
|
91f654f2ff
This bunch of functions really should be static
|
16 лет назад |
Peter Palfrader
|
171a7d4b0f
Fix an overflow when counting rejects for *, truncate exit summaries after 1000 chars
|
16 лет назад |
Peter Palfrader
|
864b4a009d
Mention exception for accept-all policies
|
16 лет назад |
Peter Palfrader
|
adcea0f332
Think of the poor children in Antarctica who still have to work on 4" screens
|
16 лет назад |
Peter Palfrader
|
0d807068a3
A few testcases for policy summaries
|
16 лет назад |
Peter Palfrader
|
c4e8fe11db
Also special case "accept 1-65535" case, do not leak in non-exit case
|
16 лет назад |
Peter Palfrader
|
8ef2fe4b37
Return NULL for policies that do not allow any exits
|
16 лет назад |
Peter Palfrader
|
4a74b9a7df
Fix condition statement for accept items, fix two asserts
|
16 лет назад |
Peter Palfrader
|
34e083dde1
Make sure we don't run off the end of the list
|
16 лет назад |
Peter Palfrader
|
b2344a9e4d
Move policy_summarize() prototype to or.h
|
16 лет назад |
Peter Palfrader
|
49a616e0fa
Create string representation of exit summaries
|
16 лет назад |
Peter Palfrader
|
7eaf5bd848
Nickm says I'm going to hell, but if I write that in a comment he might just save my soul
|
16 лет назад |