Roger Dingledine
cf2fe9d1da
some minor tweaks
...
svn:r657
2003-10-22 11:30:47 +00:00
Steven Hazel
4139c1c86a
- fixed a bug in the id switching code -- setgid has to happen before
...
setuid, because after we setuid we don't have the priviledges we
need to setgid anymore, duh. merged switch_user() and
switch_group() into switch_id(), since that code has to be wound
together.
- return -1 from switch_id() if it's not defined to do anything else.
- moved daemoinize(), write_pidfile(), and switch_id() from main.c to
util.c
svn:r656
2003-10-22 11:21:29 +00:00
Roger Dingledine
c78d5d7d30
play with connection_edge_send_command
...
maybe more robust now
svn:r655
2003-10-22 09:08:10 +00:00
Roger Dingledine
c35fc271d2
move default exit policy into config files
...
svn:r654
2003-10-22 07:56:11 +00:00
Roger Dingledine
c6b442a346
make end relay cells have payloads
...
move default exit policy into config files
svn:r653
2003-10-22 07:55:44 +00:00
Steven Hazel
b1eca56b77
added User and Group options -- if you set them, tor will try to
...
setuid and setgid respectively, and die if it can't.
(If the User option is set, tor will setgid to the user's gid as well.)
This happens after the pidfile is created, so that in cases where tor
needs to be root to work with the pidfile, it will at least be able to
create it, although it won't be able to delete it. That sucks, but
it's somewhat better than not being able to create the pidfile in the
first place.
svn:r652
2003-10-22 06:03:11 +00:00
Roger Dingledine
524d63ecc6
todo now reflects what we need to do.
...
svn:r651
2003-10-22 05:15:08 +00:00
Roger Dingledine
f84cdb9005
force the admin to mkdir the datadirectory himself,
...
so he gets the permissions right.
also this means clients will never need to make the datadirectory.
also remind the admin to fix his clock before setting up his node.
svn:r650
2003-10-22 04:33:11 +00:00
Roger Dingledine
1bf10257da
fill in some lncs numbers
...
svn:r649
2003-10-21 22:13:18 +00:00
Paul Syverson
ac7a9ccadf
Adversary model mostly done? Some other small changes in assumptions et passim.
...
svn:r648
2003-10-21 21:44:00 +00:00
Nick Mathewson
009f2f6dbb
Update .cvsignores to exclude files generated due to recent build improvements
...
svn:r647
2003-10-21 17:49:52 +00:00
Nick Mathewson
53dca60b13
Add design goals section
...
svn:r646
2003-10-21 17:43:26 +00:00
Roger Dingledine
24536a65f3
fix error in rendezvous description
...
svn:r645
2003-10-21 09:50:06 +00:00
Roger Dingledine
0e137e413f
APPort is now SocksPort
...
svn:r644
2003-10-21 09:49:39 +00:00
Roger Dingledine
069227db5b
introduce new tor_free() macro
...
svn:r643
2003-10-21 09:48:58 +00:00
Roger Dingledine
e4127e4d36
move closer to being able to reload config on HUP
...
rename APPort to SocksPort
introduce new tor_free() macro
svn:r642
2003-10-21 09:48:17 +00:00
Roger Dingledine
80d428b225
remove obsolete config file
...
svn:r641
2003-10-21 09:22:38 +00:00
Roger Dingledine
4a66865d0b
send the end cell when we realize we're going to end,
...
not when we're closing the stream.
this lets us put a payload in the end cell if we want to,
to describe why we're closing the stream.
there are still some places where we don't send the end cell
immediately. i need to track them down. but it's a low priority,
since i've made it send the end cell when we close the stream if
we haven't already sent it.
svn:r640
2003-10-21 08:37:07 +00:00
Roger Dingledine
f8a72b1c21
i seem to be listing hard problems.
...
still plenty more hard problems where those came from.
svn:r639
2003-10-21 08:09:55 +00:00
Roger Dingledine
668ec0b435
first draft of a conclusion / future works
...
svn:r638
2003-10-21 04:27:54 +00:00
Roger Dingledine
53baa69705
first draft of the rendezvous section done
...
svn:r637
2003-10-21 01:11:29 +00:00
Paul Syverson
08c44fc1ab
Few more changes to intro. First complete draft of background.
...
Cut in threats from PETs 2000 paper and started adapting them.
svn:r636
2003-10-20 23:44:53 +00:00
Roger Dingledine
5f1750a288
include our own timegm() impl, since it's not portable
...
svn:r635
2003-10-20 20:19:59 +00:00
Roger Dingledine
b40d0bffa7
a skeletal print_usage() function
...
svn:r634
2003-10-20 01:19:54 +00:00
Roger Dingledine
db33eac4c4
add an Address line to the sample server rc file
...
svn:r633
2003-10-19 05:50:52 +00:00
Roger Dingledine
b4117d2a37
move to 0.0.2pre13
...
svn:r631
2003-10-19 05:45:22 +00:00
Roger Dingledine
dc85b7af3c
warn, not err
...
svn:r630
2003-10-19 01:15:36 +00:00
Roger Dingledine
efce1b8b3e
put small buffers back in place
...
svn:r629
2003-10-19 01:10:38 +00:00
Nick Mathewson
0142a568d3
Example code to get nickname from cert
...
svn:r628
2003-10-19 00:47:03 +00:00
Nick Mathewson
0ec2a34a1d
Code to get nicknames from peer certs
...
svn:r627
2003-10-19 00:46:51 +00:00
Roger Dingledine
ec96419109
let tls tolerate reallocing the buf
...
and also remember the params for ssl_write if it returns wantread.
svn:r626
2003-10-19 00:39:48 +00:00
Roger Dingledine
c627ba2632
first steps toward a WANTWRITE SSL_write tls bug fix
...
how exactly the same do the arguments need to be? :(
svn:r625
2003-10-18 08:00:19 +00:00
Roger Dingledine
9d3f2b232b
another minor memory leak
...
make dnsconn->address reflect what it's currently resolving
svn:r624
2003-10-18 07:09:09 +00:00
Roger Dingledine
61e180ceb1
start to track down the 'peer has invalid cert' bug
...
svn:r623
2003-10-18 06:48:46 +00:00
Roger Dingledine
a73a3a21f7
no more memory leaks
...
when you run it under normal operation
for as many as three minutes
svn:r622
2003-10-18 04:18:26 +00:00
Roger Dingledine
a3962bf6fc
fix two more memory problems
...
one remains :)
svn:r621
2003-10-18 03:23:26 +00:00
Roger Dingledine
af3fc006a5
clean up memory leaks, confusions
...
still one memory leak remaining here.
svn:r620
2003-10-18 02:18:22 +00:00
Roger Dingledine
2093f60760
we've been stomping on memory while reading config
...
doesn't seem to have bitten us yet, but let's fix that :)
svn:r619
2003-10-18 01:28:39 +00:00
Roger Dingledine
9981177001
update install and readme: people should now do 'make install'
...
svn:r618
2003-10-18 00:44:10 +00:00
Roger Dingledine
193383b70a
log to stdout while parsing config,
...
otherwise we log to nothing and give no feedback!
svn:r617
2003-10-18 00:13:08 +00:00
Roger Dingledine
82aa621b47
rewrite close_logs so it could possibly work
...
remove deadbeef memory-clobber testing (for now)
svn:r616
2003-10-18 00:07:58 +00:00
Paul Syverson
96f47a3eca
Small changes to abstract and intro
...
svn:r615
2003-10-17 20:56:59 +00:00
Roger Dingledine
f36e2cbd67
put in some notes about rendezvous points
...
i'll tie these together more in a bit
and answer/introduce a few questions in section 1
svn:r614
2003-10-17 11:04:39 +00:00
Roger Dingledine
35dcfcb145
put a blank line in the directory, before the first router
...
this makes it easier to read (at least for me)
svn:r613
2003-10-17 10:24:58 +00:00
Roger Dingledine
f96f964a19
try to make cvs more stable for now. need to test this more in a bit.
...
svn:r612
2003-10-17 10:00:01 +00:00
Roger Dingledine
0b1afa951e
reload the fingerprints file on HUP
...
svn:r611
2003-10-17 05:23:48 +00:00
Roger Dingledine
5c563939ef
catch misconfigured machines that return hostname as fqdn
...
svn:r610
2003-10-17 04:48:20 +00:00
Roger Dingledine
25b0c92f0f
patch from aaron to abstract into $TORARGS
...
svn:r609
2003-10-16 22:10:48 +00:00
Roger Dingledine
5aec141c48
mention that you can run tor with "-l warn"
...
svn:r608
2003-10-16 21:55:27 +00:00
Paul Syverson
f6e202307b
Several changes to background section, which is still a mess
...
Added bib file
svn:r607
2003-10-16 21:49:04 +00:00