]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
22 years agoA few tiny tweaks.
Paul Syverson [Mon, 27 Oct 2003 12:05:35 +0000 (12:05 +0000)] 
A few tiny tweaks.

svn:r686

22 years agopatch the README more for new routers
Roger Dingledine [Mon, 27 Oct 2003 10:28:26 +0000 (10:28 +0000)] 
patch the README more for new routers

svn:r685

22 years agobugfix for win32 with lots of users
Roger Dingledine [Mon, 27 Oct 2003 10:26:44 +0000 (10:26 +0000)] 
bugfix for win32 with lots of users
plus general cleanup on switch_id()

svn:r684

22 years agoadd a few more new TODO items (bugfixes)
Roger Dingledine [Mon, 27 Oct 2003 10:24:27 +0000 (10:24 +0000)] 
add a few more new TODO items (bugfixes)

svn:r683

22 years agocircuits, streams, and tagging, o my!
Roger Dingledine [Mon, 27 Oct 2003 10:18:20 +0000 (10:18 +0000)] 
circuits, streams, and tagging, o my!

svn:r682

22 years agoremove obsolete config file
Roger Dingledine [Mon, 27 Oct 2003 10:09:09 +0000 (10:09 +0000)] 
remove obsolete config file

svn:r681

22 years agotweaks outside sec4 (couldn't help myself)
Roger Dingledine [Sun, 26 Oct 2003 23:49:01 +0000 (23:49 +0000)] 
tweaks outside sec4 (couldn't help myself)

svn:r680

22 years agoRevise section 1, remove very throughout.
Nick Mathewson [Sun, 26 Oct 2003 22:59:18 +0000 (22:59 +0000)] 
Revise section 1, remove very throughout.

svn:r679

22 years agoAdd note about DNS distinguishability attack
Nick Mathewson [Sun, 26 Oct 2003 22:58:04 +0000 (22:58 +0000)] 
Add note about DNS distinguishability attack

svn:r678

22 years agomore circuit design section work
Roger Dingledine [Sun, 26 Oct 2003 22:49:07 +0000 (22:49 +0000)] 
more circuit design section work

svn:r677

22 years agoCommit notes from Friday mtg with arma.
Nick Mathewson [Sun, 26 Oct 2003 16:25:06 +0000 (16:25 +0000)] 
Commit notes from Friday mtg with arma.

svn:r676

22 years agocrank more on design section
Roger Dingledine [Sun, 26 Oct 2003 10:47:49 +0000 (10:47 +0000)] 
crank more on design section

svn:r675

22 years agoadd DirBindAddress, parse the BindAddress's when you bind
Roger Dingledine [Sat, 25 Oct 2003 12:01:09 +0000 (12:01 +0000)] 
add DirBindAddress, parse the BindAddress's when you bind
exit if bind fails
add usage printfs
rearrange config options for readability

svn:r674

22 years agothink more about the design section
Roger Dingledine [Sat, 25 Oct 2003 11:41:26 +0000 (11:41 +0000)] 
think more about the design section

svn:r673

22 years agoInitial changes to intro.
Nick Mathewson [Fri, 24 Oct 2003 22:48:26 +0000 (22:48 +0000)] 
Initial changes to intro.

svn:r672

22 years agoNumerous notes of stuff to do from mtg with Roger; add outline for design section.
Nick Mathewson [Fri, 24 Oct 2003 21:18:38 +0000 (21:18 +0000)] 
Numerous notes of stuff to do from mtg with Roger; add outline for design section.

svn:r671

22 years agoNote TODO items; add DROP relay cells
Nick Mathewson [Fri, 24 Oct 2003 21:16:43 +0000 (21:16 +0000)] 
Note TODO items; add DROP relay cells

svn:r670

22 years agosome scribblings on exit policies
Roger Dingledine [Fri, 24 Oct 2003 11:21:19 +0000 (11:21 +0000)] 
some scribblings on exit policies
somebody please go turn this into a section

svn:r669

22 years agoand dirservers are better for non-clique situations
Roger Dingledine [Fri, 24 Oct 2003 04:09:10 +0000 (04:09 +0000)] 
and dirservers are better for non-clique situations

svn:r668

22 years agodirectories are signed so they can be cached elsewhere
Roger Dingledine [Fri, 24 Oct 2003 03:39:14 +0000 (03:39 +0000)] 
directories are signed so they can be cached elsewhere

svn:r667

22 years agofigured out how to make autoconf a bit less viral
Roger Dingledine [Fri, 24 Oct 2003 03:27:53 +0000 (03:27 +0000)] 
figured out how to make autoconf a bit less viral
(thanks cherub)

svn:r666

22 years agoUse daemon(3) function where available.
Nick Mathewson [Thu, 23 Oct 2003 14:28:44 +0000 (14:28 +0000)] 
Use daemon(3) function where available.

svn:r665

22 years agoresolve warning
Nick Mathewson [Thu, 23 Oct 2003 14:27:53 +0000 (14:27 +0000)] 
resolve warning

svn:r664

22 years agoTwo-pronged attack at my overzealous skew fixes.
Nick Mathewson [Thu, 23 Oct 2003 14:20:51 +0000 (14:20 +0000)] 
Two-pronged attack at my overzealous skew fixes.

The problem was that the fixes had us generating TLS certs with a
2-day lifetime on the assumption that we'd rotate fairly often.  In
fact, we never rotate our TLS keys.

This patch fixes the situation in 2 ways:
   1. It bumps the default lifetime back up to one year until we get
      rotation in place.
   2. It changes tor_tls_context_new() so that it doesn't leak memory
      when you call it more than once.

svn:r663

22 years agoadd the dirservers section
Roger Dingledine [Thu, 23 Oct 2003 11:45:51 +0000 (11:45 +0000)] 
add the dirservers section

svn:r662

22 years agoRouter twins described in intro. Some more stuff in assumptions section.
Paul Syverson [Wed, 22 Oct 2003 22:40:30 +0000 (22:40 +0000)] 
Router twins described in intro. Some more stuff in assumptions section.

svn:r661

22 years agoAdded censorship resistant refs. Answered Roger's key question with
Paul Syverson [Wed, 22 Oct 2003 18:58:44 +0000 (18:58 +0000)] 
Added censorship resistant refs. Answered Roger's key question with
more questions.

svn:r660

22 years agoswitch_id() no longer tries to log the user name when it's calld on
Steven Hazel [Wed, 22 Oct 2003 17:25:58 +0000 (17:25 +0000)] 
switch_id() no longer tries to log the user name when it's calld on
Windows, since we don't know whether it's the user or the group that
was set.

svn:r659

22 years agoClock skew fixes.
Nick Mathewson [Wed, 22 Oct 2003 16:41:35 +0000 (16:41 +0000)] 
Clock skew fixes.

Allow some slop (currently 3 minutes) when checking certificate validity.

Change certificate lifetime from 1 year to 2 days.  Since we
regenerate regularly (we regenerate regularly, right??), this
shouldn't be a problem.

Have directories reject descriptors published too far in the future
(currently 30 minutes).  If dirservs don't do this:
    0) Today is January 1, 2000.
    1) A very skewed server publishes descriptor X with a declared
       publication time of August 1, 2000.
    2) The directory includes X.
    3) Because of certificate lifetime issues, nobody can use the
       skewed server.
    4) The server fixes its skew, and goes to republish a new descriptor Y
       with publication time of January 1, 2000.
    5) But because the directory already has a "more recent" descriptor X,
       it rejects descriptor "Y" as superseded!

This patch should make step 2 go away.

svn:r658

22 years agosome minor tweaks
Roger Dingledine [Wed, 22 Oct 2003 11:30:47 +0000 (11:30 +0000)] 
some minor tweaks

svn:r657

22 years ago- fixed a bug in the id switching code -- setgid has to happen before
Steven Hazel [Wed, 22 Oct 2003 11:21:29 +0000 (11:21 +0000)] 
- 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

22 years agoplay with connection_edge_send_command
Roger Dingledine [Wed, 22 Oct 2003 09:08:10 +0000 (09:08 +0000)] 
play with connection_edge_send_command
maybe more robust now

svn:r655

22 years agomove default exit policy into config files
Roger Dingledine [Wed, 22 Oct 2003 07:56:11 +0000 (07:56 +0000)] 
move default exit policy into config files

svn:r654

22 years agomake end relay cells have payloads
Roger Dingledine [Wed, 22 Oct 2003 07:55:44 +0000 (07:55 +0000)] 
make end relay cells have payloads
move default exit policy into config files

svn:r653

22 years agoadded User and Group options -- if you set them, tor will try to
Steven Hazel [Wed, 22 Oct 2003 06:03:11 +0000 (06:03 +0000)] 
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

22 years agotodo now reflects what we need to do.
Roger Dingledine [Wed, 22 Oct 2003 05:15:08 +0000 (05:15 +0000)] 
todo now reflects what we need to do.

svn:r651

22 years agoforce the admin to mkdir the datadirectory himself,
Roger Dingledine [Wed, 22 Oct 2003 04:33:11 +0000 (04:33 +0000)] 
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

22 years agofill in some lncs numbers
Roger Dingledine [Tue, 21 Oct 2003 22:13:18 +0000 (22:13 +0000)] 
fill in some lncs numbers

svn:r649

22 years agoAdversary model mostly done? Some other small changes in assumptions et passim.
Paul Syverson [Tue, 21 Oct 2003 21:44:00 +0000 (21:44 +0000)] 
Adversary model mostly done? Some other small changes in assumptions et passim.

svn:r648

22 years agoUpdate .cvsignores to exclude files generated due to recent build improvements
Nick Mathewson [Tue, 21 Oct 2003 17:49:52 +0000 (17:49 +0000)] 
Update .cvsignores to exclude files generated due to recent build improvements

svn:r647

22 years agoAdd design goals section
Nick Mathewson [Tue, 21 Oct 2003 17:43:26 +0000 (17:43 +0000)] 
Add design goals section

svn:r646

22 years agofix error in rendezvous description
Roger Dingledine [Tue, 21 Oct 2003 09:50:06 +0000 (09:50 +0000)] 
fix error in rendezvous description

svn:r645

22 years agoAPPort is now SocksPort
Roger Dingledine [Tue, 21 Oct 2003 09:49:39 +0000 (09:49 +0000)] 
APPort is now SocksPort

svn:r644

22 years agointroduce new tor_free() macro
Roger Dingledine [Tue, 21 Oct 2003 09:48:58 +0000 (09:48 +0000)] 
introduce new tor_free() macro

svn:r643

22 years agomove closer to being able to reload config on HUP
Roger Dingledine [Tue, 21 Oct 2003 09:48:17 +0000 (09:48 +0000)] 
move closer to being able to reload config on HUP
rename APPort to SocksPort
introduce new tor_free() macro

svn:r642

22 years agoremove obsolete config file
Roger Dingledine [Tue, 21 Oct 2003 09:22:38 +0000 (09:22 +0000)] 
remove obsolete config file

svn:r641

22 years agosend the end cell when we realize we're going to end,
Roger Dingledine [Tue, 21 Oct 2003 08:37:07 +0000 (08:37 +0000)] 
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

22 years agoi seem to be listing hard problems.
Roger Dingledine [Tue, 21 Oct 2003 08:09:55 +0000 (08:09 +0000)] 
i seem to be listing hard problems.
still plenty more hard problems where those came from.

svn:r639

22 years agofirst draft of a conclusion / future works
Roger Dingledine [Tue, 21 Oct 2003 04:27:54 +0000 (04:27 +0000)] 
first draft of a conclusion / future works

svn:r638

22 years agofirst draft of the rendezvous section done
Roger Dingledine [Tue, 21 Oct 2003 01:11:29 +0000 (01:11 +0000)] 
first draft of the rendezvous section done

svn:r637

22 years agoFew more changes to intro. First complete draft of background.
Paul Syverson [Mon, 20 Oct 2003 23:44:53 +0000 (23:44 +0000)] 
Few more changes to intro. First complete draft of background.
Cut in threats from PETs 2000 paper and started adapting them.

svn:r636

22 years agoinclude our own timegm() impl, since it's not portable
Roger Dingledine [Mon, 20 Oct 2003 20:19:59 +0000 (20:19 +0000)] 
include our own timegm() impl, since it's not portable

svn:r635

22 years agoa skeletal print_usage() function
Roger Dingledine [Mon, 20 Oct 2003 01:19:54 +0000 (01:19 +0000)] 
a skeletal print_usage() function

svn:r634

22 years agoadd an Address line to the sample server rc file
Roger Dingledine [Sun, 19 Oct 2003 05:50:52 +0000 (05:50 +0000)] 
add an Address line to the sample server rc file

svn:r633

22 years agomove to 0.0.2pre13 tor-0.0.2pre13
Roger Dingledine [Sun, 19 Oct 2003 05:45:22 +0000 (05:45 +0000)] 
move to 0.0.2pre13

svn:r631

22 years agowarn, not err
Roger Dingledine [Sun, 19 Oct 2003 01:15:36 +0000 (01:15 +0000)] 
warn, not err

svn:r630

22 years agoput small buffers back in place
Roger Dingledine [Sun, 19 Oct 2003 01:10:38 +0000 (01:10 +0000)] 
put small buffers back in place

svn:r629

22 years agoExample code to get nickname from cert
Nick Mathewson [Sun, 19 Oct 2003 00:47:03 +0000 (00:47 +0000)] 
Example code to get nickname from cert

svn:r628

22 years agoCode to get nicknames from peer certs
Nick Mathewson [Sun, 19 Oct 2003 00:46:51 +0000 (00:46 +0000)] 
Code to get nicknames from peer certs

svn:r627

22 years agolet tls tolerate reallocing the buf
Roger Dingledine [Sun, 19 Oct 2003 00:39:48 +0000 (00:39 +0000)] 
let tls tolerate reallocing the buf
and also remember the params for ssl_write if it returns wantread.

svn:r626

22 years agofirst steps toward a WANTWRITE SSL_write tls bug fix
Roger Dingledine [Sat, 18 Oct 2003 08:00:19 +0000 (08:00 +0000)] 
first steps toward a WANTWRITE SSL_write tls bug fix

how exactly the same do the arguments need to be? :(

svn:r625

22 years agoanother minor memory leak
Roger Dingledine [Sat, 18 Oct 2003 07:09:09 +0000 (07:09 +0000)] 
another minor memory leak
make dnsconn->address reflect what it's currently resolving

svn:r624

22 years agostart to track down the 'peer has invalid cert' bug
Roger Dingledine [Sat, 18 Oct 2003 06:48:46 +0000 (06:48 +0000)] 
start to track down the 'peer has invalid cert' bug

svn:r623

22 years agono more memory leaks
Roger Dingledine [Sat, 18 Oct 2003 04:18:26 +0000 (04:18 +0000)] 
no more memory leaks
when you run it under normal operation
for as many as three minutes

svn:r622

22 years agofix two more memory problems
Roger Dingledine [Sat, 18 Oct 2003 03:23:26 +0000 (03:23 +0000)] 
fix two more memory problems
one remains :)

svn:r621

22 years agoclean up memory leaks, confusions
Roger Dingledine [Sat, 18 Oct 2003 02:18:22 +0000 (02:18 +0000)] 
clean up memory leaks, confusions
still one memory leak remaining here.

svn:r620

22 years agowe've been stomping on memory while reading config
Roger Dingledine [Sat, 18 Oct 2003 01:28:39 +0000 (01:28 +0000)] 
we've been stomping on memory while reading config
doesn't seem to have bitten us yet, but let's fix that :)

svn:r619

22 years agoupdate install and readme: people should now do 'make install'
Roger Dingledine [Sat, 18 Oct 2003 00:44:10 +0000 (00:44 +0000)] 
update install and readme: people should now do 'make install'

svn:r618

22 years agolog to stdout while parsing config,
Roger Dingledine [Sat, 18 Oct 2003 00:13:08 +0000 (00:13 +0000)] 
log to stdout while parsing config,
otherwise we log to nothing and give no feedback!

svn:r617

22 years agorewrite close_logs so it could possibly work
Roger Dingledine [Sat, 18 Oct 2003 00:07:58 +0000 (00:07 +0000)] 
rewrite close_logs so it could possibly work
remove deadbeef memory-clobber testing (for now)

svn:r616

22 years agoSmall changes to abstract and intro
Paul Syverson [Fri, 17 Oct 2003 20:56:59 +0000 (20:56 +0000)] 
Small changes to abstract and intro

svn:r615

22 years agoput in some notes about rendezvous points
Roger Dingledine [Fri, 17 Oct 2003 11:04:39 +0000 (11:04 +0000)] 
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

22 years agoput a blank line in the directory, before the first router
Roger Dingledine [Fri, 17 Oct 2003 10:24:58 +0000 (10:24 +0000)] 
put a blank line in the directory, before the first router
this makes it easier to read (at least for me)

svn:r613

22 years agotry to make cvs more stable for now. need to test this more in a bit.
Roger Dingledine [Fri, 17 Oct 2003 10:00:01 +0000 (10:00 +0000)] 
try to make cvs more stable for now. need to test this more in a bit.

svn:r612

22 years agoreload the fingerprints file on HUP
Roger Dingledine [Fri, 17 Oct 2003 05:23:48 +0000 (05:23 +0000)] 
reload the fingerprints file on HUP

svn:r611

22 years agocatch misconfigured machines that return hostname as fqdn
Roger Dingledine [Fri, 17 Oct 2003 04:48:20 +0000 (04:48 +0000)] 
catch misconfigured machines that return hostname as fqdn

svn:r610

22 years agopatch from aaron to abstract into $TORARGS
Roger Dingledine [Thu, 16 Oct 2003 22:10:48 +0000 (22:10 +0000)] 
patch from aaron to abstract into $TORARGS

svn:r609

22 years agomention that you can run tor with "-l warn"
Roger Dingledine [Thu, 16 Oct 2003 21:55:27 +0000 (21:55 +0000)] 
mention that you can run tor with "-l warn"

svn:r608

22 years agoSeveral changes to background section, which is still a mess
Paul Syverson [Thu, 16 Oct 2003 21:49:04 +0000 (21:49 +0000)] 
Several changes to background section, which is still a mess
Added bib file

svn:r607

22 years agoadd a note about how Safari claims to support socks but doesn't
Roger Dingledine [Thu, 16 Oct 2003 21:45:05 +0000 (21:45 +0000)] 
add a note about how Safari claims to support socks but doesn't

svn:r606

22 years agocreate var/lib/tor on "make install" -- this should allow
Steven Hazel [Thu, 16 Oct 2003 08:53:14 +0000 (08:53 +0000)] 
create var/lib/tor on "make install" -- this should allow
sample-server-torrc to Just Work

svn:r605

22 years agoLog TLS errors even harder
Nick Mathewson [Wed, 15 Oct 2003 23:50:25 +0000 (23:50 +0000)] 
Log TLS errors even harder

svn:r604

22 years agoAdd more logging on some ssl errors.
Nick Mathewson [Wed, 15 Oct 2003 23:42:44 +0000 (23:42 +0000)] 
Add more logging on some ssl errors.

svn:r603

22 years agoupdate TODO entries to reflect recent progress
Roger Dingledine [Wed, 15 Oct 2003 19:28:59 +0000 (19:28 +0000)] 
update TODO entries to reflect recent progress

svn:r602

22 years agoclosing stdout *should* be safe (we'll see)
Roger Dingledine [Wed, 15 Oct 2003 19:27:51 +0000 (19:27 +0000)] 
closing stdout *should* be safe (we'll see)

svn:r601

22 years agoReport delivery cell fullness correctly
Nick Mathewson [Wed, 15 Oct 2003 19:25:28 +0000 (19:25 +0000)] 
Report delivery cell fullness correctly

svn:r600

22 years agochange buf->buf to buf->mem
Roger Dingledine [Wed, 15 Oct 2003 19:17:21 +0000 (19:17 +0000)] 
change buf->buf to buf->mem
maybe this will mean fewer dumb errors

svn:r599

22 years agodon't clobber CFLAGS when configure starts
Roger Dingledine [Wed, 15 Oct 2003 19:13:39 +0000 (19:13 +0000)] 
don't clobber CFLAGS when configure starts

svn:r598

22 years agofix bug with overzealous shrinking; add more comments.
Nick Mathewson [Wed, 15 Oct 2003 19:07:07 +0000 (19:07 +0000)] 
fix bug with overzealous shrinking; add more comments.

svn:r597

22 years agoclean up logging, allow user to specify log files
Roger Dingledine [Wed, 15 Oct 2003 18:50:16 +0000 (18:50 +0000)] 
clean up logging, allow user to specify log files

If DebugLogFile is specified, log to it at -l debug
If LogFile is specified, log to it at the -l from the commandline
  (default info)
If no LogFile *and* not a Daemon, then log to stdout.
Make conn->s = -1 by default (this might break things)
When kill -USR1, prefer to log at INFO, but make sure they always see it.

svn:r596

22 years agoBuild without warnings on OS X.
Nick Mathewson [Wed, 15 Oct 2003 18:48:48 +0000 (18:48 +0000)] 
Build without warnings on OS X.

svn:r595

22 years agoMake add_file_log return 0 on success.
Nick Mathewson [Wed, 15 Oct 2003 18:38:38 +0000 (18:38 +0000)] 
Make add_file_log return 0 on success.

svn:r594

22 years agoMake last commit build
Nick Mathewson [Wed, 15 Oct 2003 18:37:19 +0000 (18:37 +0000)] 
Make last commit build

svn:r593

22 years agoStop using stdout for non-debugging cases
Nick Mathewson [Wed, 15 Oct 2003 18:28:32 +0000 (18:28 +0000)] 
Stop using stdout for non-debugging cases

svn:r592

22 years agospell matej's name correctly (oops)
Roger Dingledine [Wed, 15 Oct 2003 09:29:46 +0000 (09:29 +0000)] 
spell matej's name correctly (oops)

svn:r591

22 years agostart the authors file, before things get out of hand
Roger Dingledine [Wed, 15 Oct 2003 07:58:11 +0000 (07:58 +0000)] 
start the authors file, before things get out of hand

svn:r590

22 years agoand in OP config files
Roger Dingledine [Wed, 15 Oct 2003 07:27:29 +0000 (07:27 +0000)] 
and in OP config files

svn:r589

22 years agoless confusing comments in config files
Roger Dingledine [Wed, 15 Oct 2003 07:26:39 +0000 (07:26 +0000)] 
less confusing comments in config files

svn:r588

22 years ago- cause configure to create a tor.sh which will have directories set
Steven Hazel [Wed, 15 Oct 2003 07:19:38 +0000 (07:19 +0000)] 
- cause configure to create a tor.sh which will have directories set
  correctly based on how configure was run

- cause tor to guess the location of torrc more intelligently

- cause cause src/config/torrc and src/conf/sample-server-torrc to be
  generated with contents that are correct for the way configure was
  run

- cause "make install" to put torrc, sample-server-torrc, and
  dirservers somewhere intelligent

svn:r587

22 years agoAdd initial background mumblings; more work tomorrow
Nick Mathewson [Tue, 14 Oct 2003 05:29:03 +0000 (05:29 +0000)] 
Add initial background mumblings; more work tomorrow

svn:r586