aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Expand)AuthorAge
* Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
* Merge branch 'safelogging2'•••Conflicts: ChangeLog Nick Mathewson2009-12-15
|\
| * Refactor the safe_str_*() API to make more sense.•••The new rule is: safe_str_X() means "this string is a piece of X information; make it safe to log." safe_str() on its own means "this string is a piece of who-knows-what; make it safe to log". Nick Mathewson2009-12-15
| * Allow SafeLogging to exclude client related informationSebastian Hahn2009-12-12
* | Now that FOO_free(NULL) always works, remove checks before calling it.Nick Mathewson2009-12-12
* | *_free functions now accept NULL•••Some *_free functions threw asserts when passed NULL. Now all of them accept NULL as input and perform no action when called that way. This gains us consistence for our free functions, and allows some code simplifications where an explicit null check is no longer necessary. Sebastian Hahn2009-12-12
|/
* clobber connections with different number than we clobber circuitsRoger Dingledine2009-11-21
* stop assuming that our downcasts have a struct offset of 0•••shouldn't actually change anything, but who knows. Roger Dingledine2009-11-21
* Remove checks for array existence. (CID 410..415)•••In C, the code "char x[10]; if (x) {...}" always takes the true branch of the if statement. Coverity notices this now. In some cases, we were testing arrays to make sure that an operation we wanted to do would suceed. Those cases are now always-true. In some cases, we were testing arrays to see if something was _set_. Those caes are now tests for strlen(s), or tests for !tor_mem_is_zero(d,len). Nick Mathewson2009-10-26
* fix a bug where we were decrementing the wrong bucket•••i think this doesn't actually affect anything, since linked conns usually don't impact buckets Roger Dingledine2009-10-10
* minor fixes in some commentsRoger Dingledine2009-09-06
* Merge commit 'karsten/proposal-166-impl-master'Nick Mathewson2009-08-26
|\
| * Write all statistics to disk exactly every 24 hours.Karsten Loesing2009-08-19
| * Clean up proposal 166 and its implementation.Karsten Loesing2009-08-18
| * Remove ./configure option for entry and dir request statistics.Karsten Loesing2009-08-17
* | Merge commit 'public/socks-client'•••Resolved conflict in: src/or/or.h Nick Mathewson2009-08-26
|\ \ | |/ |/|
| * Clean up a couple of style issues in the socks-client branch.Nick Mathewson2009-08-25
| * Enable Tor to connect through SOCKS 4/5 proxies•••Added a sanity check in config.c and a check in directory.c directory_initiate_command_rend() to catch any direct connection attempts when a socks proxy is configured. Christopher Davis2009-06-19
* | Some tweaks to statistics.•••Changes to directory request statistics: - Rename GEOIP statistics to DIRREQ statistics, because they now include more than only GeoIP-based statistics, whereas other statistics are GeoIP-dependent, too. - Rename output file from geoip-stats to dirreq-stats. - Add new config option DirReqStatistics that is required to measure directory request statistics. - Clean up ChangeLog. Also ensure that entry guards statistics have access to a local GeoIP database. Karsten Loesing2009-07-15
* | Some tweaks to directory request download times.•••- Use common prefixes DIRREQ_* and dirreq_*. - Replace enums in structs with bitfields. Karsten Loesing2009-07-15
* | Directories now also measure download times of network statuses.Karsten Loesing2009-07-15
* | If configured, write per-port exit statistics to disk periodically.•••[Original patch series from Karsten, revised and squashed by Nick] Karsten Loesing2009-07-02
|/
* Isolate Libevent API dependency to just main.c and dns.c in src/or.•••The rest of the code was only including event.h so that it could see EV_READ and EV_WRITE, which we were using as part of the connection_watch_events interface for no very good reason. Nick Mathewson2009-06-12
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\
| * Spell-check Tor.Nick Mathewson2009-05-27
| * Fix misreporting of stream bandwidths.Mike Perry2009-05-14
| * Update copyright to 2009.Karsten Loesing2009-05-04
* | Fix misreporting of stream bandwidths.potentiate2009-05-14
* | Remove unused rendversion parameters. YAGNI.Karsten Loesing2009-05-04
* | Clients do not request version 0 hidserv descs anymore.Karsten Loesing2009-05-04
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* If we're using bridges and our network goes away, be more willing•••to forgive our bridges and try again when we get an application request. Bugfix on 0.2.0.x. svn:r18396 Roger Dingledine2009-02-04
* Remove svn $Id$s from our source, and remove tor --version --version.•••The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867 Nick Mathewson2009-01-04
* Downgrade some xxx021s, comment more on others, etc•••svn:r17823 Nick Mathewson2008-12-29
* Refactor sockaddr family match check into a new function•••svn:r17820 Nick Mathewson2008-12-29
* remove the responsibility for setting listensocklen to the function that made...•••svn:r17799 Nick Mathewson2008-12-27
* Make connection_create_listener take a sockaddr_len, not just a sockaddr whos...•••svn:r17792 Nick Mathewson2008-12-27
* Add more missing documentation, and correct an error in container.c documenta...•••svn:r17783 Nick Mathewson2008-12-26
* Add DOCDOC entries for undocumented static and global variables.•••svn:r17739 Nick Mathewson2008-12-22
* Fix most DOCDOCs remaining and/or added by redox.•••svn:r17734 Nick Mathewson2008-12-22
* Add DOCDOC comments for all undocumented functions. Add missing *s to other ...•••svn:r17729 Nick Mathewson2008-12-22
* Replace calls to time(NULL) that occur on the order of once per read, one per...•••svn:r17690 Nick Mathewson2008-12-18
* Downlgrade tweak, and answer lots of XXX021s. No actual code fixes in this p...•••svn:r17686 Nick Mathewson2008-12-18
* Remove fixed xxx020s; downgrade unfixed ones.•••(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.) svn:r17682 Nick Mathewson2008-12-18
* Move edge-only flags from connection_t to edge_connection_t.•••svn:r17643 Nick Mathewson2008-12-17
* Now that tor_assert is no longer using a broken force-to-boolean formulation,...•••svn:r17598 Nick Mathewson2008-12-11
* Apply rovv's fix for bug 824.•••svn:r16975 Nick Mathewson2008-09-26
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten should...•••svn:r16955 Nick Mathewson2008-09-24
* give rend_client_desc_here a slightly more accurate name•••svn:r16916 Roger Dingledine2008-09-16
* patch from karsten for bug 814. whew.•••svn:r16915 Roger Dingledine2008-09-16