summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-08-26and then make the indentation rightRoger Dingledine
svn:r16663
2008-08-26fix typos from jake's patch earlier (one pointed out by fabian, thanks!)Roger Dingledine
svn:r16662
2008-08-25Fix a memory leak when freeing routerstatuses with exit policy summaries. ↵Nick Mathewson
Patch from mwenge. svn:r16659
2008-08-25and make it compile with warnings onRoger Dingledine
svn:r16658
2008-08-25commit jake's patch to include strings with socks5 error numbersRoger Dingledine
svn:r16657
2008-08-25get rid of some magic constants i found while walkingRoger Dingledine
jake through socks4 and socks5 failure codes svn:r16651
2008-08-22Oops. Linux has no sa_len field.Nick Mathewson
svn:r16627
2008-08-22 r17848@tombo: nickm | 2008-08-22 12:10:11 -0400Nick Mathewson
Make definition of tor_mutex_t go into compat.h, so that it is possible to inline mutexes in critical objects. Add init/uninit functions for mutexes allocated inside other structs. svn:r16623
2008-08-22 r17847@tombo: nickm | 2008-08-22 12:08:56 -0400Nick Mathewson
ipv6: make server-side dns cache remember for each address an ipv6 addr and an ipv4 addr. This fix is just the struct side. svn:r16622
2008-08-22 r17846@tombo: nickm | 2008-08-22 11:54:00 -0400Nick Mathewson
Make dns resolver code more robust: handle nameservers with IPv6 addresses, make sure names in replies match requested names, make sure origin address of reply matches the address we asked. svn:r16621
2008-08-20Relays now reject risky extend cells: if the extend cell includesRoger Dingledine
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-20make r16598 compile on 64-bit tooRoger Dingledine
svn:r16604
2008-08-19Update doxygen documentation.Karsten Loesing
svn:r16599
2008-08-19Apply proposal 121 patch 3, with minor tweaks and a few comments.Nick Mathewson
svn:r16598
2008-08-19Adjust definition of SMARTLIST_FOREACH_END() to enforce matching variable.Nick Mathewson
svn:r16597
2008-08-17All the controller things want their stuff in v2 format. Well then, maybe ↵Peter Palfrader
that's already sufficient svn:r16578
2008-08-17And tell us more in another error casePeter Palfrader
svn:r16577
2008-08-17Change a warning/bug messagePeter Palfrader
svn:r16576
2008-08-17Two consensus fixes: always reset has_* to 0, and use a buffer of proper ↵Peter Palfrader
length for exitsummaries. svn:r16575
2008-08-15Make trunk build again under -DEXPORTMALLINFOPeter Palfrader
svn:r16559
2008-08-15Switch global_identifier on connections to a 64-bit field and move it to ↵Nick Mathewson
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-14spacemanPeter Palfrader
svn:r16555
2008-08-14Add exitpolicy summaries to the consensusPeter Palfrader
svn:r16554
2008-08-14Do not split stored exit policy summary into type(accept/reject) and ↵Peter Palfrader
portlist. At least not just yet svn:r16553
2008-08-14Rename a field so weasel likes it betterPeter Palfrader
svn:r16552
2008-08-14Add bw to consensusPeter Palfrader
svn:r16551
2008-08-14Parse policies and weight (bw) into routerstatusesPeter Palfrader
svn:r16550
2008-08-14If we are lucky the whitespace nazis will not have noticed these things yetPeter Palfrader
svn:r16549
2008-08-14minor comment/doxygen fixPeter Palfrader
svn:r16548
2008-08-14Give bw in kb/sec in votes/consensusPeter Palfrader
svn:r16544
2008-08-14Having a reject-all policy summarized with a lack of summary is stupid. ↵Peter Palfrader
Explicitly mention them as reject 1-65535. svn:r16543
2008-08-14testsuite: Now that we add (pretty useless, but still) routerinfos to the ↵Peter Palfrader
routerlist for every one of our routerstatuses in the votes we pass again. yay svn:r16542
2008-08-14Only fetch the routerinfo_t in routerstatus_format_entry() if we are going ↵Peter Palfrader
to need it svn:r16541
2008-08-14Properly move forward char pointer after appending stuff to the stringPeter Palfrader
svn:r16540
2008-08-14Disable test suite for todayPeter Palfrader
svn:r16539
2008-08-14asserting(s) is better than segfaulting if it turns out to be NULL laterPeter Palfrader
svn:r16538
2008-08-14Do not show policy and bw in v2 statusesPeter Palfrader
svn:r16537
2008-08-14Add exit policy and bw to dirvotes - unfortunately also to v2 statusesPeter Palfrader
svn:r16536
2008-08-14This bunch of functions really should be staticPeter Palfrader
svn:r16535
2008-08-13Fix an overflow when counting rejects for *, truncate exit summaries after ↵Peter Palfrader
1000 chars svn:r16530
2008-08-13Think of the poor children in Antarctica who still have to work on 4" screensPeter Palfrader
svn:r16528
2008-08-13A few testcases for policy summariesPeter Palfrader
svn:r16527
2008-08-13Also special case "accept 1-65535" case, do not leak in non-exit casePeter Palfrader
svn:r16526
2008-08-13Return NULL for policies that do not allow any exitsPeter Palfrader
svn:r16525
2008-08-13Fix condition statement for accept items, fix two assertsPeter Palfrader
svn:r16524
2008-08-13Make sure we don't run off the end of the listPeter Palfrader
svn:r16523
2008-08-13Move policy_summarize() prototype to or.hPeter Palfrader
svn:r16522
2008-08-13Create string representation of exit summariesPeter Palfrader
svn:r16521
2008-08-13Nickm says I'm going to hell, but if I write that in a comment he might just ↵Peter Palfrader
save my soul svn:r16520
2008-08-13implement policy_summary_accept and policy_summary_reject together with a ↵Peter Palfrader
set of helpers svn:r16519