summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-07-02Integrated onion proxy into or/Roger Dingledine
The 'or' process can now be told (by the global_role variable) what roles this server should play -- connect to all ORs, listen for ORs, listen for OPs, listen for APs, or any combination. * everything in /src/op/ is now obsolete. * connection_ap.c now handles all interactions with application proxies * "port" is now or_port, op_port, ap_port. But routers are still always referenced (say, in conn_get_by_addr_port()) by addr / or_port. We should make routers.c actually read these new ports (currently I've kludged it so op_port = or_port+10, ap_port=or_port+20) * circuits currently know if they're at the beginning of the path because circ->cpath is set. They use this instead for crypts (both ways), if it's set. * I still obey the "send a 0 back to the AP when you're ready" protocol, but I think we should phase it out. I can simply not read from the AP socket until I'm ready. I need to do a lot of cleanup work here, but the code appears to work, so now's a good time for a checkin. svn:r22
2002-07-02removed onion.c and onion.h from common/Roger Dingledine
they're now in or/onion.c svn:r21
2002-07-02httpap now prepends dest_addr and dest_port strings with their length.Roger Dingledine
also, it now sets the listening socket option SO_REUSEADDR svn:r20
2002-07-02Committing my working config files, so we'll all be on the same pageRoger Dingledine
Note that there are new keywords in these, etc. Matej, would you be interested in going through and patching routers.c, config.c, etc, so they're cleaner? svn:r19
2002-07-02fixed a critical bug in yesterday's changes to buffers.cRoger Dingledine
(starting to debug my OP integration) svn:r18
2002-06-30made 'app' connection be 'exit' connectionRoger Dingledine
general cleanup, particularly in buffers.c svn:r17
2002-06-29First cut at cleaning out a lot of the extra stuff.Roger Dingledine
The summary here is that I'm requiring all developers to have auto* (aclocal, autoconf, automake) installed on their machine. Since different versions of auto* generate vastly different output, I'm going to leave its output out of the repository. This means that whenever you check out a repository, you need to run auto* to generate a configure file, then run ./configure to get a Makefile, then build. If you don't have auto* and can't get it, let me know (and I'll try to convince you to develop on moria). The benefit here is that while developers have a bit more work to keep things straight, we can build snapshots that will install just about anywhere (once we make configure.in work, that is ;) svn:r12
2002-06-28moved configure.ac to configure.in, should work with older autoconfs and ↵Felipe Bergo
automakes svn:r11
2002-06-28added automake/autoconf support. When in doubt, "aclocal && autoconf && ↵Felipe Bergo
autoheader && automake" from the top dir. svn:r10
2002-06-28Added -lpopt to MakefilesBruce Montrose
svn:r9
2002-06-28Added poptReadOptions() and poptReadDefaultOptions()Bruce Montrose
svn:r8
2002-06-26Initial revisionRoger Dingledine
svn:r2