Roger Dingledine
e7af04bd7d
added milliseconds to log lines
...
svn:r139
2002-11-24 08:45:13 +00:00
Roger Dingledine
7fdc374dfb
fixed rare race condition
...
svn:r138
2002-11-24 08:33:15 +00:00
Roger Dingledine
a5f47a1e48
added OnionsPerSecond to prevent create flooding
...
first cut, probably needs more playing with
svn:r137
2002-11-23 08:49:03 +00:00
Roger Dingledine
9d55882e0b
remove popt dependency, consolidate config stuff
...
reformat parts of onion.c
svn:r136
2002-11-23 06:49:01 +00:00
Roger Dingledine
863db974e0
fix subtle race condition
...
If you weren't connected to a given router, and you made a directory
request to it simultaneously with a new web query that caused you to
want to connect to that OR... it would think you're already connected.
svn:r135
2002-10-14 06:44:48 +00:00
Roger Dingledine
3b58047d8d
expire unfinished handshakes too
...
don't list non-open ORs in the directory
svn:r134
2002-10-13 13:17:27 +00:00
Roger Dingledine
bddf92469d
cell.c is now obsolete
...
svn:r133
2002-10-03 02:17:41 +00:00
Roger Dingledine
6dabcaa66f
cleanup and a variety of bugfixes
...
svn:r132
2002-10-02 22:54:20 +00:00
Nick Mathewson
ad302f1668
Add convenience functions to wrap create and init for symmetric ciphers; clean up error handling in onion.c
...
svn:r131
2002-10-02 20:39:51 +00:00
Roger Dingledine
e95694094b
cell now has a network appearance and an internal (struct) appearance
...
svn:r130
2002-10-02 20:12:44 +00:00
Roger Dingledine
ba26c76be8
preemptive bugfix
...
svn:r129
2002-10-02 04:07:33 +00:00
Roger Dingledine
9f3f5a7bfe
all listeners listen on 0.0.0.0 except AP which listens on 127.0.0.1
...
svn:r126
2002-10-02 01:03:00 +00:00
Roger Dingledine
03ef523405
introduced a periodic keepalive padding cell
...
now tor can be run safely inside nat'ed areas that kill idle
connections; and the proxy can handle when you suspend your laptop
and then emerge hours later from a new domain.
svn:r125
2002-10-01 23:37:31 +00:00
Roger Dingledine
4703c35c46
handle banners from the server side
...
(text that it spits out immediately upon connect)
svn:r124
2002-10-01 05:46:48 +00:00
Roger Dingledine
03341404d1
more robust http(ish) handling
...
svn:r123
2002-09-28 05:53:00 +00:00
Roger Dingledine
4dc8afded6
adding town-square rc info
...
svn:r122
2002-09-28 05:52:47 +00:00
Roger Dingledine
7f827c75ac
catch hup to reload directory/router list
...
svn:r121
2002-09-28 01:40:11 +00:00
Roger Dingledine
12bd9ff13c
cleanup
...
prkey is only fetched when it's needed
tor nodes who aren't dirservers now fetch directories and autoconnect
to new nodes listed in the directory
default role is a non-dirserver node
svn:r120
2002-09-28 00:52:59 +00:00
Roger Dingledine
7144556a01
mozilla actually cares about the reply version
...
tor can now interface directly with mozilla, as a socks 4 host.
but note that mozilla does the dns resolution itself, so you're leaking
anonymity.
svn:r119
2002-09-27 23:34:51 +00:00
Roger Dingledine
e29d10a858
support socks4 too
...
svn:r118
2002-09-27 23:16:39 +00:00
Roger Dingledine
29a24dda6a
don't leak memory on pk ops
...
svn:r117
2002-09-27 22:13:22 +00:00
Roger Dingledine
8fee8f0c37
new config files, including directory servers
...
svn:r115
2002-09-26 23:53:21 +00:00
Roger Dingledine
e4d3205290
stop duplicate free
...
svn:r114
2002-09-26 13:19:13 +00:00
Roger Dingledine
e5c8042889
dirserver should include itself in the directory
...
if connecting to a dirserver fails, remove it from the router array
svn:r113
2002-09-26 13:17:14 +00:00
Roger Dingledine
d00dba1fc7
directory servers in and functional
...
proxies now periodically pull down an hourly-updated directory,
and replace their router list with it if it parses correctly.
svn:r112
2002-09-26 12:09:10 +00:00
Roger Dingledine
6be514e6e3
another bugfix on the proxy side
...
should be more reliable now (?)
svn:r111
2002-09-26 05:50:51 +00:00
Roger Dingledine
e32d2c55b1
laying the groundwork for dynamic router lists
...
revamped the router reading section
reference counting for crypto pk env's (so we can dup them)
we now read and write pem pk keys from string rather than from FILE*,
in anticipation of fetching directories over a socket
(so now on startup we slurp in the whole file, then parse it as a string)
fixed a bug in the proxy side, where you could get some circuits
wedged if they showed up while the connection was being made
svn:r110
2002-09-24 10:43:57 +00:00
Roger Dingledine
2b83f6b461
more robust when only some of the socks info has arrived
...
svn:r108
2002-09-23 01:04:59 +00:00
Roger Dingledine
2c6a07d923
onion proxy now speaks socks4a
...
httpap is obsolete; we support privoxy directly now!
smtpap is obsolete; need to find a good socks4a-enabled smtp proxy/client
I dub thee 0.0.1.
svn:r107
2002-09-22 11:09:07 +00:00
Roger Dingledine
76359bff91
kill -USR1 the or and it will dump conn/circuit stats to stdout
...
svn:r106
2002-09-21 22:41:48 +00:00
Roger Dingledine
79c753d383
OP was hanging on first try if connect finishes too quickly
...
svn:r105
2002-09-20 19:33:13 +00:00
Roger Dingledine
fa2117fc5e
synchronize to the version i've been giving people to test
...
svn:r104
2002-09-19 20:13:27 +00:00
Roger Dingledine
f51d3d7221
added 'connected' cell type
...
see http://archives.seul.org/or/dev/Sep-2002/msg00018.html
svn:r103
2002-09-17 08:14:37 +00:00
Nick Mathewson
0e92dbcd92
"You got BSD in my MacOS!" "You got MacOS in my BSD!" Anyway, MacOS works again.
...
svn:r102
2002-09-10 13:32:27 +00:00
Roger Dingledine
2ecd610ced
port to actual BSD
...
(hey nick, does this break the os x build?)
you still need to add some stuff to the ./configure commandline...
anybody know a better solution?
svn:r101
2002-09-09 04:10:58 +00:00
Roger Dingledine
8db254b87e
minor race condition
...
(it seemed to work anyway, but...)
svn:r100
2002-09-09 04:06:59 +00:00
Roger Dingledine
9c4b0a6e23
slight optimization on rsa exponent
...
use 2**16+1 rather than 2**16 + 2**(-1)
svn:r99
2002-09-05 19:04:47 +00:00
Roger Dingledine
7e11c5b214
an rc file for an onion proxy
...
svn:r97
2002-09-04 06:46:09 +00:00
Roger Dingledine
010f703a96
onion proxies now work (i think)
...
svn:r96
2002-09-04 06:29:28 +00:00
Roger Dingledine
995f46210c
fixed the killer bug with onion proxies
...
svn:r95
2002-09-04 06:24:54 +00:00
Roger Dingledine
3f94372425
the logs now include a timestamp and severity
...
the implementation is sort of a kludge..you're welcome to fix it up
svn:r94
2002-09-04 00:39:33 +00:00
Roger Dingledine
0fd7e10b38
changed my mind, sort of
...
the package is tor, the binary is or.
and i added our project plan to the todo file.
svn:r93
2002-09-03 22:53:34 +00:00
Roger Dingledine
cd56a6f6b7
Our program is now called 'tor', not 'or'.
...
svn:r92
2002-09-03 22:44:49 +00:00
Nick Mathewson
0beeade1ae
Backport to OpenSSL version 0.9.5
...
svn:r91
2002-09-03 19:16:02 +00:00
Roger Dingledine
fdd14d465e
clarifying the empty semicolon
...
svn:r90
2002-09-03 19:10:23 +00:00
Roger Dingledine
57cecd739f
resolve warnings
...
svn:r89
2002-09-03 19:03:16 +00:00
Nick Mathewson
99e06d156a
Port to MacOS X
...
svn:r88
2002-09-03 18:44:24 +00:00
Nick Mathewson
c0d1ae7a59
Add function to fake a poll call using select
...
svn:r87
2002-09-03 18:43:50 +00:00
Roger Dingledine
138a3b5533
enforce maxconn; bugfix to not tear down the parent when we hit maxconn
...
svn:r86
2002-09-03 18:36:40 +00:00
Roger Dingledine
ac327aa6f1
more debugging info, to track down bruce's IP problems
...
svn:r85
2002-08-27 19:28:35 +00:00