Proxy may use Libwww-Ada95's Onions code
Craig Carey (research@ijs.co.nz)
Fri, 27 Oct 2000 11:41:24 +1300
I am interested in the libwww-ada95 Onions code. I have been
compiling it in Windows NT. I have reduced the number of "use"
statements and got it so that the lwa_* examples will link.
I intend to use the Onions code in a low level TCP proxy. It
would accept TCP from more than one near interface and it would
multiplex that, and send it out to a remote proxy with the data
wrapped with chunking inside of HTTP 1.1 GET headers. Returning
HTTP headers would be stripped. I could use the libwww code of
w3c.org but Ada might be a better plan.
A free remote Perl CGI proxy that would talk with this not written
Ada proxy I describe, is here (it is currently named "Sorm proxy"):
http://www.ijs.co.nz/code/
That Perl proxy is based on LWPng-alpha-0.24 code by Gisle Aas.
I have written an Ada 95 TCP proxy named named Ptunnel. It uses
a linked list pool of pairs of data copying tasks.
AWS might have some subroutines of use.
AWS: http://perso.wanadoo.fr/pascal.obry/contrib.html
(by Dmitriy Anisimkov & Pascal Obry)
Using the Buckets idea seems reasonable. My proxy might have to
unchunk the same stream twice if the remote system had chunked it
once for multiplexing, and again when it passed through an Apache
webserver (a CGI can do that). Also, if there were two CGI
proxies in a chain, it might have to chunk outgoing data 2 x and
unchunk 2-4 x. I sort of would like code to allow TCP to re-wired
easily, inside of a program.
This proxy will allow freer access to the Internet, in Burma and
Syria.
If you have any comments, then please perhaps write to me.
Is there anybody else using libwww-ada95?.
E-mail: Craig Carey <research@ijs.co.nz>
Auckland, NZ. | Snooz Metasearch: http://www.ijs.co.nz/info/snooz.htm