Nick Mathewson
5227395aba
r6922@Kushana: nickm | 2006-07-26 16:32:24 -0400
...
Rename some fields, compress a bitfield, and document some structs and fields
svn:r6919
2006-07-27 05:03:57 +00:00
Nick Mathewson
dd779d99ea
Fix comments that implied that only dir connections had a purpose field, and the code that believed in those comments.
...
svn:r6918
2006-07-27 04:10:51 +00:00
Andrew Lewman
f77b2a0407
Oops, forgot the all important 'r'
...
svn:r6916
2006-07-27 03:17:50 +00:00
Andrew Lewman
1ee13cff67
OSX gets confused when you have two ways to start the same program.
...
svn:r6915
2006-07-27 03:10:23 +00:00
Andrew Lewman
8ae177dad6
The whole process works from preflight to postflight creating a clean
...
Tor install with proper config file edits
svn:r6914
2006-07-27 03:02:47 +00:00
Andrew Lewman
cd45eb6175
Backup only what is needed, write the file we created to a temp file for
...
TorPostFlight to restore the data and remove the temp files
svn:r6913
2006-07-27 01:20:02 +00:00
Andrew Lewman
a89bc08838
Be better at finding the Tor install path, backup all of Tor just in
...
case, then blow Tor away
svn:r6912
2006-07-27 00:19:36 +00:00
Andrew Lewman
99fc0aba61
OSX pre-install script to clean up Tor and force a fresh install, but
...
save the server keys if they exist.
svn:r6911
2006-07-26 23:52:59 +00:00
Andrew Lewman
a815225683
Set Soft & Hard resource limits to appease launchd.
...
svn:r6910
2006-07-26 21:50:27 +00:00
Nick Mathewson
dd9a563a9e
r6920@Kushana: nickm | 2006-07-26 15:39:40 -0400
...
Mark some TODO items done
svn:r6909
2006-07-26 19:39:47 +00:00
Nick Mathewson
0bc741ba7f
r6918@Kushana: nickm | 2006-07-26 15:22:28 -0400
...
Fix compilation for eventdns dns.c with split structs.
svn:r6908
2006-07-26 19:29:30 +00:00
Nick Mathewson
ec82db6995
r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400
...
Clean up wide lines from last patch.
svn:r6907
2006-07-26 19:07:37 +00:00
Nick Mathewson
4ff4577beb
r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400
...
Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness.
svn:r6906
2006-07-26 19:07:26 +00:00
Nick Mathewson
18771e851f
r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400
...
Realign circuit structs to avoid wasted space.
svn:r6905
2006-07-26 19:07:23 +00:00
Nick Mathewson
e61d28dfb8
r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400
...
No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit.
svn:r6904
2006-07-26 19:05:41 +00:00
Nick Mathewson
a88ec48a39
r6902@Kushana: nickm | 2006-07-25 17:30:27 -0400
...
Move rend_query to origin_circuit_t where it belongs; save another 17 bytes per OR circuit.
svn:r6903
2006-07-26 19:05:34 +00:00
Nick Mathewson
f2dc012acc
Clarify a TODO, and test tweaked commit-email.pl script.
...
svn:r6902
2006-07-25 22:51:51 +00:00
Nick Mathewson
4fe3c607ad
Apply checkSpace.pl to checkSpace.pl.
...
svn:r6901
2006-07-25 22:33:57 +00:00
Nick Mathewson
fc9ed724ed
Allow wide lines if they have svn id tags in them. (This matters for svk: those tags can be *big*.)
...
svn:r6900
2006-07-25 22:30:50 +00:00
Nick Mathewson
d5a2d51c40
Add libor.a and libor-crypto.a to svn:ignore
...
svn:r6899
2006-07-25 22:26:42 +00:00
Nick Mathewson
96bcbb1e1c
Remove code to special-case "-cvs" ending, since it has not actually mattered since 0.0.9. Perhaps we can special-case even more...
...
svn:r6898
2006-07-25 04:34:14 +00:00
Nick Mathewson
8d2a71a47a
Add an item to the TODO.
...
svn:r6893
2006-07-25 01:13:04 +00:00
Peter Palfrader
521c006fd5
Remove .cvsignore files from trunk
...
svn:r6891
2006-07-25 01:00:48 +00:00
Peter Palfrader
59561b1bed
Tell users about the init script when they try to run Tor as root.
...
Should we also do this when they try to run their Tor as any other
(non root, non debian-tor) user? - add 11_tor_as_root_more_helpful
svn:r6822
2006-07-24 03:38:26 +00:00
Peter Palfrader
f968d38f3e
Previously our defaults for DataDirectory, PidFile, RunAsDaemon, and
...
Log differed from upstreams. Now Tor behaves just like before (with
our own DataDirectory and all) only when run as the debian-tor user.
If invoked as any other user, Tor will behave just like the pristine
upstream version.
svn:r6821
2006-07-24 03:24:25 +00:00
Andrew Lewman
4fccf84004
These settings are required for those using launchd in OSX 10.4.
...
This is a crude but functional way to insert them for now.
svn:r6820
2006-07-23 12:52:06 +00:00
Roger Dingledine
c9b8458f59
publish a new descriptor after we hup. this is important if our
...
config has changed such that we'll want to start advertising our
dirport now, etc.
svn:r6819
2006-07-23 11:50:03 +00:00
Nick Mathewson
d27cbf5d4b
Fix another segfault in assert_circuit_ok.
...
svn:r6818
2006-07-23 08:13:45 +00:00
Nick Mathewson
7239262f71
Don't tell anybody, but we're going OO here. This patch splits
...
circuit_t into origin_circuit_t and or_circuit_t. I fixed some
segaults; there may be more. We still need to move more rendezvous
stuff into subtypes.
This is a trial run for splitting up connection_t; if the approach is
insane, please say so soon so we can do something smarter.
Also, this discards the old HALF_OPEN code, which nobody seems to
want.
svn:r6817
2006-07-23 07:37:35 +00:00
Nick Mathewson
6d2eb77555
Whitespace fix
...
svn:r6816
2006-07-23 07:19:49 +00:00
Roger Dingledine
40cc536307
rewrite conn->address for GET commands as well as POST commands.
...
svn:r6815
2006-07-23 06:41:02 +00:00
Roger Dingledine
0b5ad1bcfb
use tor_mem_is_zero() in more places.
...
svn:r6814
2006-07-23 05:52:27 +00:00
Nick Mathewson
4280218a42
Delete trailing whitespace in eventdns.c
...
svn:r6813
2006-07-23 05:40:24 +00:00
Nick Mathewson
1c0f02f657
Add (void) lines for unused parameters in eventdns.c
...
svn:r6812
2006-07-23 05:39:37 +00:00
Nick Mathewson
f4e506f423
Remove STRUCT_OFFSET from config.c
...
svn:r6811
2006-07-23 05:33:10 +00:00
Nick Mathewson
35960e1162
Add a mem_is_zero function (I think we will need this) and a STRUCT_OFFSET macro (we already need this).
...
svn:r6810
2006-07-23 05:32:35 +00:00
Roger Dingledine
1c266c3352
more todo items
...
svn:r6809
2006-07-23 05:19:31 +00:00
Roger Dingledine
ee789052b8
whitespace and docs
...
svn:r6808
2006-07-23 05:18:29 +00:00
Roger Dingledine
00aefaab6b
think harder about my logic
...
svn:r6806
2006-07-22 07:19:11 +00:00
Roger Dingledine
2d6a4d283b
i lied, that won't work at all. maybe this will.
...
svn:r6805
2006-07-22 07:15:34 +00:00
Roger Dingledine
444f096d2d
more bulletproof reachability testing
...
svn:r6804
2006-07-22 05:29:31 +00:00
Nick Mathewson
64c14d8ce3
These asserts will either cause spurious crashes or help debug the pend->conn->s == -1 issue.
...
svn:r6803
2006-07-21 22:02:58 +00:00
Nick Mathewson
08a4114abf
Another MSVC6 fix. Grnk.
...
svn:r6802
2006-07-21 14:53:23 +00:00
Roger Dingledine
2249180b60
bugfix: if you find yourself reachable, then don't ever make any client
...
requests (so you stop predicting circuits), then hup, then later your
IP changes, you won't think circuits are working so you won't try to
test reachability, so you won't publish.
svn:r6800
2006-07-21 07:55:35 +00:00
Roger Dingledine
4d5fab4f9a
tweak
...
svn:r6799
2006-07-21 07:53:21 +00:00
Roger Dingledine
9283ddb760
an entry guard that is "unlisted", as well as not known to be "down", is
...
not therefore "up".
svn:r6798
2006-07-21 07:06:18 +00:00
Andrew Lewman
3f0e4622b6
Grammar fixes for clarity.
...
svn:r6797
2006-07-21 04:30:19 +00:00
Roger Dingledine
237c7ecbfd
tweak
...
svn:r6796
2006-07-20 23:45:26 +00:00
Roger Dingledine
97a14b2018
tweak
...
svn:r6795
2006-07-20 23:33:11 +00:00
Nick Mathewson
8930468582
Document HELLO cells and proposed connection protocol versioning scheme. NOTE: This will not work as documented; see notes.
...
svn:r6794
2006-07-20 17:35:54 +00:00