Commit Graph

11038 Commits

Author SHA1 Message Date
Roger Dingledine
984dc51f26 clean up some log messages
svn:r17406
2008-11-29 11:55:30 +00:00
Nick Mathewson
191197eff7 Revert my older supposed gcc-4.4 warning workaround. GCC was not being needlessly prissy; it was hinting at the wrongly pure smartlist_bsearch_idx.
svn:r17396
2008-11-26 17:14:59 +00:00
Nick Mathewson
651a0a2fb5 Stop marking bsearch_idx as pure; it is not.
svn:r17393
2008-11-26 16:57:46 +00:00
Nick Mathewson
4cddcf8873 Cast uid_t and gid_t to unsigned before passing to printf %u.
svn:r17392
2008-11-26 16:13:12 +00:00
Nick Mathewson
bc597758dc Use fcntl for file locking when flock() is not available.
svn:r17391
2008-11-26 16:10:56 +00:00
Roger Dingledine
cfd21c58b5 don't lose a patch that mwenge wrote to put different destination
ports on different streams. one day i will make this into a real
proposal, and argue we should put it in.


svn:r17380
2008-11-24 02:08:46 +00:00
Roger Dingledine
a53ebd20f0 whitespace fix
svn:r17379
2008-11-24 02:02:48 +00:00
Roger Dingledine
5f86304a5c also run ./reindex.pl
svn:r17378
2008-11-24 00:56:04 +00:00
Roger Dingledine
afad8df068 add proposal 156 from mwenge, Tracking blocked ports on the client side
svn:r17377
2008-11-24 00:53:19 +00:00
Nick Mathewson
c7910c3bc9 Consider GetNetworkParams() nameserver parsing to have suceeded if even one nameserver can be added. Log more useful info about what exactly is failing when we fail to add a nameserver.
svn:r17368
2008-11-22 21:46:34 +00:00
Andrew Lewman
05c5e61991 Backport candidate. Force UDZO compression to level 9.
svn:r17360
2008-11-22 05:42:35 +00:00
Roger Dingledine
f722978288 and forward-port those
svn:r17359
2008-11-22 05:14:12 +00:00
Nick Mathewson
07a08d933d Resolve a warning under gcc 4.4 trunk.
svn:r17357
2008-11-22 02:19:14 +00:00
Roger Dingledine
0b7a2a505e prepare_for_poll() -- plus its mysterious cousin, prepare_for_pool() --
are long gone.


svn:r17351
2008-11-21 14:07:57 +00:00
Karsten Loesing
02fe9edf7c Correct ChangeLog entry.
svn:r17321
2008-11-17 21:50:42 +00:00
Nick Mathewson
bdc0aec00a Update _log_global_min_severity after switch_logs_debug(), so that USR2 will work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down.
svn:r17317
2008-11-17 19:58:51 +00:00
Nick Mathewson
0fa698d84f apply sebastian's bug 867 fix: make routerset_equal() work as documented with NULL arguments
svn:r17287
2008-11-16 18:25:20 +00:00
Mike Perry
b4a90cfb7f Hrmm, still not sure I like the flow of this paragraph, but
this is slightly better.



svn:r17280
2008-11-16 07:27:46 +00:00
Mike Perry
e616f8f9b5 Add in initgroups call to drop root's groups.
svn:r17279
2008-11-16 07:26:46 +00:00
Karsten Loesing
6d7951c022 Fix a possible segfault when establishing an exit connection. Bugfix on 0.2.1.5-alpha.
svn:r17275
2008-11-16 01:52:44 +00:00
Mike Perry
425bfdae20 Doh. Need to drop GID first.
svn:r17271
2008-11-14 19:47:28 +00:00
Mike Perry
4a3ca7eb16 Fix the prioritization C wrapper to also drop GID. Clarify
some language and formatting.



svn:r17270
2008-11-14 19:44:35 +00:00
Nick Mathewson
c36ddcbabf Apparently sparc64 is way more strict about uint16_t access alignment than I had thought: it gave bus errors when messing with var-cell headers. Maybe this patch will fix bug 862.
svn:r17262
2008-11-12 14:41:44 +00:00
Nick Mathewson
a790a13705 define get_uint8 and set_uint8 macros to make code cleaner.
svn:r17261
2008-11-12 14:39:25 +00:00
Nick Mathewson
8f1952bf11 Be even _more_ careful when signatures are bogus.
svn:r17252
2008-11-11 17:14:12 +00:00
Nick Mathewson
3970c34f10 Only replace the detached signatures object when we actually added or replaced at least one signature.
svn:r17250
2008-11-11 16:52:07 +00:00
Nick Mathewson
997aea74dc Fix from rovv: when adding a detached signature, do not automatically assume it is good just because we are adding it. We might also be adding it because it was the first signature we saw for a given voter.
svn:r17248
2008-11-11 16:35:46 +00:00
Nick Mathewson
00a90177fa oops, remove debugging log message.
svn:r17247
2008-11-11 16:02:23 +00:00
Nick Mathewson
8157b8b766 be less aggressive about deleting expired certs. based on patch from rovv. partial fix for bug 854.
svn:r17246
2008-11-11 16:01:57 +00:00
Nick Mathewson
e08cbe2029 Add PURPOSE= field to getinfo circuit-status. With luck, controllers are ignoring extra fields (like they are supposed to) and this will not break any controllers.
svn:r17245
2008-11-11 15:59:24 +00:00
Nick Mathewson
a95e0e7355 apply sebastian's fix for bug 859. Apparently on win32 one must lock at least one byte when locking, but locking a nonexistant byte is okay. )
svn:r17244
2008-11-11 15:29:40 +00:00
Andrew Lewman
d54fbdb531 remove some completed items. I should look at this more often.
svn:r17242
2008-11-11 01:26:18 +00:00
Mike Perry
31741998e7 < arma> mikeperry: perhaps some of those urls should be https?
svn:r17241
2008-11-11 00:51:59 +00:00
Mike Perry
f14a14f269 Update urls+verbage.
svn:r17240
2008-11-11 00:39:27 +00:00
Nick Mathewson
6c50ab6e61 Document a couple of functions.
svn:r17239
2008-11-10 20:40:01 +00:00
Peter Palfrader
90e832a5db No longer set now obsolete Group setting in built-in debian config
svn:r17237
2008-11-10 15:52:53 +00:00
Roger Dingledine
00e3d7b4a9 remove all trace from the various contrib/ scripts that tor used
to have a 'group' option.


svn:r17236
2008-11-10 15:40:15 +00:00
Peter Palfrader
fea2bd4ac1 New upstream version
svn:r17234
2008-11-10 09:17:44 +00:00
Roger Dingledine
c62d5f6a5c beg nick for some documentation on the locking functions
svn:r17233
2008-11-10 00:48:13 +00:00
Roger Dingledine
0554e87f58 better error message when you set User but start tor as non-root.
hopefully will address bug 857.


svn:r17232
2008-11-10 00:41:07 +00:00
Roger Dingledine
4d8799b987 we missed a case when printing circuit purposes in circ events.
svn:r17230
2008-11-09 23:56:29 +00:00
Roger Dingledine
3dc433cc45 bump to 0.2.1.7-alpha-dev
svn:r17229
2008-11-09 23:32:38 +00:00
Nick Mathewson
13e079f9ec Log a little more when credential-switching fails.
svn:r17228
2008-11-09 16:54:54 +00:00
Nick Mathewson
dcfbd1e024 Add some notes on Unnamed, w lines, and p lines to dir-spec.txt, since they are all in the code now.
svn:r17227
2008-11-09 16:41:06 +00:00
Roger Dingledine
1d824f8dc2 remove a bunch of obsolete html files. they haven't been linked
to for many years. i think.


svn:r17224
2008-11-09 03:23:18 +00:00
Roger Dingledine
5d19fe5124 bump to 0.2.1.7-alpha
svn:r17217
2008-11-08 06:43:32 +00:00
Roger Dingledine
5ad3669e93 some changes i found in my other sandbox
svn:r17216
2008-11-08 06:33:43 +00:00
Roger Dingledine
39f2b6a849 some minor changes i found in my sandbox
svn:r17215
2008-11-08 06:32:46 +00:00
Nick Mathewson
9f1e06bd0e but to not attempt to download a specific certificate we already have.
svn:r17214
2008-11-07 15:01:49 +00:00
Nick Mathewson
bda4ca065c Aaaaand, do not reset the download count just because we have a certificate that is listed in a consensus.
svn:r17212
2008-11-07 14:57:14 +00:00