Log of /releases/wanproxy-0.2.0
Directory Listing
Revision
22 -
Directory Listing
Modified
Sun Feb 22 01:30:12 2009 UTC
(18 months, 2 weeks ago)
by
juli
Copied from:
trunk revision 21
Copy for WANProxy 0.2.0.
Revision
20 -
Directory Listing
Modified
Sun Feb 22 01:27:54 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Bump copyright.
Revision
19 -
Directory Listing
Modified
Sun Feb 22 01:24:18 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
When drain() is called, return immediately if we're already performing a
callback to tell ProxyClient why we'd like to disappear.
Revision
18 -
Directory Listing
Modified
Sun Feb 22 01:19:57 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Add a drain function to ProxyPipe that tells it there will be no more data
inbound for it and that it should finish writing its data and then disappear.
Call this from ProxyClient whenever we get flow_complete and there is an
active pipe.
Revision
17 -
Directory Listing
Modified
Sun Feb 22 00:58:02 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Pass errno when accept fails.
Revision
16 -
Directory Listing
Modified
Sun Feb 22 00:48:33 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
o) Add some more assertions to ProxyPipe around errors and cancelling.
o) When ProxyClient cancels us before we've told it we're done or there's an
error we must cancel any outstanding actions.
Revision
15 -
Directory Listing
Modified
Sun Feb 22 00:30:09 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Disable SIGPIPE to work around a deficiency in ProxyPipe/ProxyClient.
Revision
14 -
Directory Listing
Modified
Sun Feb 22 00:21:59 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
o) If an accept fails in one of the listeners, we should keep trying to accept.
XXX Maybe we need to check the errno.
o) Switch to the new ProxyPipe code and rewrite the ProxyClient for it.
o) Update TODO to mention a race that could lead to SIGPIPE.
Revision
13 -
Directory Listing
Modified
Sat Feb 21 10:19:13 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Start work on a ProxyPipe class, not hooked up to anything, to replace the ugly
hack that is ProxyPeer. ProxyClient will instead work in terms of a pair of
pipes, I believe.
Revision
12 -
Directory Listing
Modified
Sat Feb 21 03:41:19 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
State my resounding confidence in the proxy code.
Revision
11 -
Directory Listing
Modified
Sat Feb 21 03:29:26 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Lazily SOCKS5 support.
Revision
10 -
Directory Listing
Modified
Fri Feb 20 13:26:48 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Fix accidental boolean inversion.
Revision
9 -
Directory Listing
Modified
Fri Feb 20 13:22:07 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
As in the case of a missing hash, give a failure for duplicate hash.
Revision
8 -
Directory Listing
Modified
Fri Feb 20 13:19:30 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
o) Temporarily make XCodecDecocer::decode return a boolean, false if there's a
fatal error. (Namely, that a hash could not be resolved, in which case we
reset the connection.)
o) Reset the connection if decode fails, per above.
Revision
7 -
Directory Listing
Modified
Fri Feb 20 13:11:22 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Change priority of some INFO messages to DEBUG.
Revision
6 -
Directory Listing
Modified
Fri Feb 20 12:52:57 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Do as the XXX suggests and avoid starting the local peer until the remote peer
is connected. Otherwise we would blow up when close_peer() is called while we
are still connecting to the remote peer. Now, maybe the right thing to do is to
fix that case to work properly so we can buffer lots of data from a client that
is starting out with a lot of data, but really that's an uncommon case so for
now do the easy thing.
Revision
5 -
Directory Listing
Modified
Fri Feb 20 12:36:32 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Update TODO to reflect things that came up working on the SOCKS4 mode.
Revision
4 -
Directory Listing
Modified
Fri Feb 20 12:35:58 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
o) Add a parameter to Channel::read to take an amount to read, defaulting to 0,
which retains the old behavior of reading whatever amount is available.
o) Implement new Channel::read semantics in FileDescriptor::read. Add buffering
to FileDescriptor.
Note that this tries to only read the amount specified by the caller, which
may not be most efficient, but may provide the right behavior in terms of
not acknowledging data?
o) Add ugly hackish redundant APIs to support numeric IP addresses in addition
to strings.
o) Use said ugly hackish API to implement a simple SOCKS4 proxy. It's a very
conservative proxy that tries to be discreet (in that it doesn't send errors
to clients sending random requests.)
XXX SOCKS5 would be nice.
o) Modify the default config to show chaining through to the SOCKS4 proxy.
Revision
3 -
Directory Listing
Modified
Tue Feb 17 03:23:58 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Comment BufferSegment functions and add a missing check in
BufferSegment::prefix().
Revision
2 -
Directory Listing
Modified
Mon Feb 16 08:42:45 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Nuke the history file. This may not be a great idea, but I think that now that
Subversion is available publically it's pretty redundant.
Revision
1 -
Directory Listing
Added
Mon Feb 16 08:26:47 2009 UTC
(18 months, 2 weeks ago)
by
juli
Original Path:
trunk
Initial import of public WANProxy codebase.
Based on r238 in the Marvelous Proof repository.