]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Sat, 28 Feb 2004 04:11:53 +0000 (04:11 +0000)]
Push responsibility for connection marking down as far as possible; have only a close path; add some missing end cells; change return conventions a little.
svn:r1149
Nick Mathewson [Sat, 28 Feb 2004 03:06:31 +0000 (03:06 +0000)]
Make has_sent_end irrelevant: only try to send end if reason is nonzero
svn:r1148
Roger Dingledine [Fri, 27 Feb 2004 23:30:27 +0000 (23:30 +0000)]
and another one
svn:r1147
Roger Dingledine [Fri, 27 Feb 2004 23:23:33 +0000 (23:23 +0000)]
patches/answers to nick's commit
svn:r1146
Nick Mathewson [Fri, 27 Feb 2004 22:00:26 +0000 (22:00 +0000)]
Refactor mark_for_close, connection_edge_end and friends. Now, everybody
who wants to shut down a connection calls connection_mark_for_close instead
of setting marked_for_close to 1. This automatically removes the connection
from the DNS cache if needed, sends a RELAY END cell if appropriate, and can
be changed to do whatever else is needed.
Still to do:
- The same for circuits, maybe.
- Add some kind of hold_connection_open_until_flushed flag, maybe.
- Change stuff that closes connections with return -1 to use mark_for_close,
maybe.
svn:r1145
Roger Dingledine [Fri, 27 Feb 2004 04:59:32 +0000 (04:59 +0000)]
bump cvs to pre23
svn:r1144
Roger Dingledine [Fri, 27 Feb 2004 04:52:02 +0000 (04:52 +0000)]
make 'connected' cells include the resolved IP
svn:r1143
Roger Dingledine [Fri, 27 Feb 2004 04:42:14 +0000 (04:42 +0000)]
Fix a bug where you might flush some data on a tls connection, and then
add some more data to be flushed but never turn POLLOUT on. not sure
how commonly this bug was hit, but it would be a doozy.
Also add some asserts to see if it happens elsewhere.
svn:r1142
Roger Dingledine [Fri, 27 Feb 2004 04:08:44 +0000 (04:08 +0000)]
we forgot to include the resolved IP in 'connected' cells
so the client-side dns cache is currently going unused
we should do that sometime
svn:r1141
Roger Dingledine [Fri, 27 Feb 2004 01:59:36 +0000 (01:59 +0000)]
clean up an ia64 warning
svn:r1140
Peter Palfrader [Fri, 27 Feb 2004 01:33:02 +0000 (01:33 +0000)]
Give the nice message about not being an HTTP proxy an <h1> headline
svn:r1139
Peter Palfrader [Fri, 27 Feb 2004 01:07:38 +0000 (01:07 +0000)]
New upstream version. Tor stays in sbin in Debian
svn:r1137
Roger Dingledine [Fri, 27 Feb 2004 00:55:31 +0000 (00:55 +0000)]
changelog entries for pre22
svn:r1135
Nick Mathewson [Fri, 27 Feb 2004 00:24:08 +0000 (00:24 +0000)]
Dont use -eq for =; make TORGROUP and TORUSER independent
svn:r1134
Nick Mathewson [Fri, 27 Feb 2004 00:07:33 +0000 (00:07 +0000)]
Make init script work with chkconfig; make it put pids in /var/run/tor (not /var/run) and allow it to su as needed (based on tor.spec)
svn:r1133
Roger Dingledine [Thu, 26 Feb 2004 23:36:31 +0000 (23:36 +0000)]
and another desired todo item
svn:r1132
Roger Dingledine [Thu, 26 Feb 2004 23:05:11 +0000 (23:05 +0000)]
bring the todo file up to date
svn:r1131
Roger Dingledine [Thu, 26 Feb 2004 22:56:36 +0000 (22:56 +0000)]
When it can't resolve any dirservers, it was useless from then on.
Now it reloads the RouterFile (or default dirservers) if it has no
dirservers.
svn:r1130
Roger Dingledine [Thu, 26 Feb 2004 22:30:44 +0000 (22:30 +0000)]
break out the operations done on sighup into their own function
svn:r1129
Roger Dingledine [Thu, 26 Feb 2004 22:20:00 +0000 (22:20 +0000)]
dump a new router.desc on hup
svn:r1128
Roger Dingledine [Thu, 26 Feb 2004 22:10:55 +0000 (22:10 +0000)]
writing html in C strings sucks
svn:r1127
Roger Dingledine [Thu, 26 Feb 2004 22:02:22 +0000 (22:02 +0000)]
when they use tor as an http proxy, give them an http 501 failure
svn:r1126
Roger Dingledine [Thu, 26 Feb 2004 21:27:12 +0000 (21:27 +0000)]
bump our version to pre22
svn:r1125
Roger Dingledine [Thu, 26 Feb 2004 21:25:51 +0000 (21:25 +0000)]
if the default torrc isn't there, just use some default defaults
plus provide an internal dirservers file if they don't have one
having no config files will make it easier to run on windows
svn:r1124
Nick Mathewson [Wed, 25 Feb 2004 07:31:46 +0000 (07:31 +0000)]
Basic RAM poisoning and magic-checking to notice connection and circuit
corruption faster; also, check for corruption in dns.c so we can fail fast
for the bug that's nailing Lucky and moria3.
svn:r1123
Roger Dingledine [Wed, 25 Feb 2004 06:57:57 +0000 (06:57 +0000)]
bugfix: if the exit stream is pending on the resolve, and a destroy
arrives, then the stream wasn't getting removed from the pending list.
this may have been the lucky-bug.
this commit may also not actually fix the bug. it's darn hard to
reproduce.
svn:r1122
Roger Dingledine [Wed, 25 Feb 2004 06:56:11 +0000 (06:56 +0000)]
remove dead code
svn:r1121
Roger Dingledine [Wed, 25 Feb 2004 06:42:20 +0000 (06:42 +0000)]
move the daemon back to /usr/bin/tor
(it seems many people don't know they have a /usr/local/sbin/
damn the file system hierarchy standards)
svn:r1120
Roger Dingledine [Wed, 25 Feb 2004 06:41:21 +0000 (06:41 +0000)]
move the tor program back to usr/bin/
svn:r1119
Roger Dingledine [Tue, 24 Feb 2004 22:33:30 +0000 (22:33 +0000)]
fix some bugs in assert_connection_ok
svn:r1118
Roger Dingledine [Tue, 24 Feb 2004 22:22:04 +0000 (22:22 +0000)]
note a bug that gabe found
svn:r1117
Roger Dingledine [Sun, 22 Feb 2004 20:50:20 +0000 (20:50 +0000)]
start hunting the lucky-bug
svn:r1116
Roger Dingledine [Sat, 21 Feb 2004 20:41:15 +0000 (20:41 +0000)]
pre-talk slides
svn:r1115
Nick Mathewson [Fri, 20 Feb 2004 23:41:45 +0000 (23:41 +0000)]
On OSX, decline to use the built-in select-baed poll wrapper, since it seems to sometimes not work.
svn:r1114
Roger Dingledine [Thu, 19 Feb 2004 06:19:58 +0000 (06:19 +0000)]
commit some partial slides in case i get hit by a bus
svn:r1113
Roger Dingledine [Wed, 18 Feb 2004 22:30:16 +0000 (22:30 +0000)]
clean up todo, mark a bug as fixed
svn:r1112
Roger Dingledine [Wed, 18 Feb 2004 21:23:50 +0000 (21:23 +0000)]
patch from vicman to publish less platform information
svn:r1111
Roger Dingledine [Wed, 18 Feb 2004 09:40:18 +0000 (09:40 +0000)]
actual wording of pre21 changelog
svn:r1110
Peter Palfrader [Wed, 18 Feb 2004 09:13:33 +0000 (09:13 +0000)]
New upstream release
svn:r1108
Roger Dingledine [Wed, 18 Feb 2004 08:54:35 +0000 (08:54 +0000)]
bump us to pre21, add ChangeLog entries
svn:r1107
Roger Dingledine [Wed, 18 Feb 2004 08:36:42 +0000 (08:36 +0000)]
slides for tor rump session talk at FC04
svn:r1106
Roger Dingledine [Wed, 18 Feb 2004 07:23:38 +0000 (07:23 +0000)]
go back to a single exitpolicy parameter
if your exitpolicy includes " *:*" then it is final,
else we append the default exit policy.
(thanks weasel)
svn:r1105
Roger Dingledine [Wed, 18 Feb 2004 04:02:05 +0000 (04:02 +0000)]
allow imaps and pop3s in default exit policy
svn:r1104
Roger Dingledine [Wed, 18 Feb 2004 03:56:12 +0000 (03:56 +0000)]
Get rid of the notion of a separate default default exit policy.
Create ExitPolicyPrepend config parameter, to customize the default
exit policy.
svn:r1103
Roger Dingledine [Wed, 18 Feb 2004 03:17:35 +0000 (03:17 +0000)]
we define some big constant arrays but don't use them
svn:r1102
Roger Dingledine [Wed, 18 Feb 2004 01:21:20 +0000 (01:21 +0000)]
adding the reattach-after-timeout feature wasn't so easy after all.
maybe it works now.
svn:r1101
Roger Dingledine [Tue, 17 Feb 2004 21:07:15 +0000 (21:07 +0000)]
retry streams where the connected cell hasn't arrived in 15 seconds
svn:r1100
Nick Mathewson [Tue, 17 Feb 2004 08:52:57 +0000 (08:52 +0000)]
Another case of the same.
svn:r1099
Nick Mathewson [Tue, 17 Feb 2004 08:52:03 +0000 (08:52 +0000)]
Fix the Big Bug in router_compare_addr_to_exit_policy: we used port 0
to mean "unknown port". But no exit policy supports (nonexistant)
port 0, except accept *:*, and we had no special handling for 'unknown port'.
Now we do.
svn:r1098
Roger Dingledine [Tue, 17 Feb 2004 08:42:25 +0000 (08:42 +0000)]
best_support_idx is obsolete
(also doesn't fix the bug)
svn:r1097
Nick Mathewson [Tue, 17 Feb 2004 08:29:22 +0000 (08:29 +0000)]
Propagate yes/no/maybe a little farther forward.
svn:r1096
Roger Dingledine [Tue, 17 Feb 2004 08:10:07 +0000 (08:10 +0000)]
make braces cleaner, bug still persists
svn:r1095
Roger Dingledine [Tue, 17 Feb 2004 08:05:39 +0000 (08:05 +0000)]
install the torify.1 man page too
svn:r1094
Nick Mathewson [Tue, 17 Feb 2004 07:56:33 +0000 (07:56 +0000)]
Fix router_compare_addr_to_exit_policy, and name its return codes. The bug was: "maybe reject,accept" should be "maybe", not "accept".
svn:r1093
Roger Dingledine [Tue, 17 Feb 2004 07:45:44 +0000 (07:45 +0000)]
Let paranoid exit nodes (which default to reject) be exit nodes
Before we resolve the hostname, we don't know whether its IP will be accepted or rejected by the exit policy of each host. So we were only going with nodes that would certainly accept -- which
was just itys and poblano.
(This bug was hidden until now by the earlier port bug.)
(Actual bugfix pending on Nick's next commit, hopefully.)
svn:r1092
Roger Dingledine [Tue, 17 Feb 2004 07:20:01 +0000 (07:20 +0000)]
make 'make dist' work
svn:r1091
Steven Hazel [Tue, 17 Feb 2004 06:41:18 +0000 (06:41 +0000)]
made these scripts know about config/Makefile.am
svn:r1090
Steven Hazel [Tue, 17 Feb 2004 06:40:42 +0000 (06:40 +0000)]
this will cause the things in this directory to get installed properly, maybe
svn:r1089
Roger Dingledine [Tue, 17 Feb 2004 06:39:20 +0000 (06:39 +0000)]
prevent picking middleman nodes as the last node in the circuit
svn:r1088
Roger Dingledine [Tue, 17 Feb 2004 05:05:34 +0000 (05:05 +0000)]
add jbash and weasel to the AUTHORS list
svn:r1087
Peter Palfrader [Tue, 17 Feb 2004 04:58:24 +0000 (04:58 +0000)]
Update changelog: tor moved to sbin, updating init script
svn:r1086
Peter Palfrader [Tue, 17 Feb 2004 04:57:37 +0000 (04:57 +0000)]
Mention that the package starts the OP by default and that OR can be enabled in the config
svn:r1085
Roger Dingledine [Tue, 17 Feb 2004 04:55:57 +0000 (04:55 +0000)]
sync up the rpm spec description so it matches the deb more
svn:r1084
Roger Dingledine [Tue, 17 Feb 2004 04:53:08 +0000 (04:53 +0000)]
now the deb finds the tor binary in the right place
(right weasel?)
svn:r1083
Roger Dingledine [Tue, 17 Feb 2004 04:48:01 +0000 (04:48 +0000)]
install the 'tor' binary to usr/sbin by default
svn:r1082
Peter Palfrader [Tue, 17 Feb 2004 04:45:27 +0000 (04:45 +0000)]
Put back privoxy into recommends. Somehow privoxy was removed and not tsocks
svn:r1081
Roger Dingledine [Tue, 17 Feb 2004 04:29:11 +0000 (04:29 +0000)]
and build the torify script on ./configure
svn:r1080
Roger Dingledine [Tue, 17 Feb 2004 04:28:48 +0000 (04:28 +0000)]
torify should look in the /etc we configured it to look for
svn:r1079
Peter Palfrader [Tue, 17 Feb 2004 01:40:36 +0000 (01:40 +0000)]
Add a lintian override for the INSTALL file
svn:r1077
Peter Palfrader [Tue, 17 Feb 2004 01:27:22 +0000 (01:27 +0000)]
Ship with INSTALL in usr/share/doc/tor/
svn:r1076
Peter Palfrader [Tue, 17 Feb 2004 01:24:41 +0000 (01:24 +0000)]
Add a README.privoxy file
svn:r1075
Nick Mathewson [Tue, 17 Feb 2004 01:19:06 +0000 (01:19 +0000)]
Add initial spec file from jbash; no edits yet
svn:r1074
Peter Palfrader [Tue, 17 Feb 2004 01:10:19 +0000 (01:10 +0000)]
One item less in the debian/TODO file
svn:r1073
Peter Palfrader [Tue, 17 Feb 2004 01:09:45 +0000 (01:09 +0000)]
And update the debian changelog for 0.0.1+0.0.2pre20-2
svn:r1072
Peter Palfrader [Tue, 17 Feb 2004 01:09:22 +0000 (01:09 +0000)]
Add torify script and stuff to debian
svn:r1071
Roger Dingledine [Tue, 17 Feb 2004 01:06:48 +0000 (01:06 +0000)]
include our ChangeLog file in make dist
svn:r1070
Roger Dingledine [Tue, 17 Feb 2004 00:58:07 +0000 (00:58 +0000)]
look for tor.sh in the right place
svn:r1069
Roger Dingledine [Tue, 17 Feb 2004 00:55:44 +0000 (00:55 +0000)]
and remove it from /
svn:r1068
Roger Dingledine [Tue, 17 Feb 2004 00:55:29 +0000 (00:55 +0000)]
move the tor init script into contrib/
svn:r1067
Peter Palfrader [Tue, 17 Feb 2004 00:50:57 +0000 (00:50 +0000)]
Make the filename used in the script match the one we use.
svn:r1066
Peter Palfrader [Tue, 17 Feb 2004 00:48:33 +0000 (00:48 +0000)]
Naturally the debian package now depends on tsocks, not only recommends it
svn:r1065
Peter Palfrader [Tue, 17 Feb 2004 00:46:59 +0000 (00:46 +0000)]
Add torify
svn:r1064
Roger Dingledine [Tue, 17 Feb 2004 00:45:05 +0000 (00:45 +0000)]
it seems that bsd people can just do ./configure now too
svn:r1063
Peter Palfrader [Tue, 17 Feb 2004 00:32:26 +0000 (00:32 +0000)]
There's a changelog now, enjoy!
svn:r1062
Peter Palfrader [Tue, 17 Feb 2004 00:31:39 +0000 (00:31 +0000)]
Put something useful into the ChangeLog, like past release announcments
svn:r1061
Roger Dingledine [Thu, 5 Feb 2004 21:19:27 +0000 (21:19 +0000)]
another hard item for the agenda
svn:r1060
Roger Dingledine [Thu, 5 Feb 2004 05:23:06 +0000 (05:23 +0000)]
an agenda to be resolved (ha ha) at FC
svn:r1059
Roger Dingledine [Thu, 5 Feb 2004 05:22:38 +0000 (05:22 +0000)]
start marking up the parts of the spec that need to be fixed
svn:r1058
Nick Mathewson [Wed, 4 Feb 2004 22:35:58 +0000 (22:35 +0000)]
log when exit situation is hopeless.
svn:r1057
Roger Dingledine [Mon, 2 Feb 2004 06:37:34 +0000 (06:37 +0000)]
chicken out and revert to previous test results.
this is the final version.
svn:r1056
Nick Mathewson [Mon, 2 Feb 2004 06:21:15 +0000 (06:21 +0000)]
Third time--is it right now?
svn:r1055
Nick Mathewson [Mon, 2 Feb 2004 06:18:46 +0000 (06:18 +0000)]
<arma> shouldn't we say 128, 10 mins, etc?
svn:r1054
Nick Mathewson [Mon, 2 Feb 2004 06:15:14 +0000 (06:15 +0000)]
Remove no-longer-true footnote
svn:r1053
Roger Dingledine [Mon, 2 Feb 2004 06:13:04 +0000 (06:13 +0000)]
put the right numbers in
i'll leave the other phrasing for nick
svn:r1052
Roger Dingledine [Sun, 1 Feb 2004 21:09:42 +0000 (21:09 +0000)]
note some more bugs
svn:r1051
Roger Dingledine [Sun, 1 Feb 2004 20:44:28 +0000 (20:44 +0000)]
some cleanups, and cite SS03
svn:r1050
Roger Dingledine [Sun, 1 Feb 2004 05:19:49 +0000 (05:19 +0000)]
put the appendix on its own page; make it only one page
svn:r1049
Nick Mathewson [Sun, 1 Feb 2004 04:09:15 +0000 (04:09 +0000)]
Trim 10 lines. Roger, please revert any of this you disagree with.
svn:r1048
Roger Dingledine [Sun, 1 Feb 2004 03:09:32 +0000 (03:09 +0000)]
stretch the figure a bit more
svn:r1047
Roger Dingledine [Sun, 1 Feb 2004 02:42:19 +0000 (02:42 +0000)]
add in the interaction diagram
fix the title
svn:r1046