1. The pieces.
-1.1. Routers. Onion routers, as far as the 'tor' program is concerned,
+1.1. Routers. Onion routers, as far as the 'or' program is concerned,
are a bunch of data items that are loaded into the router_array when
the program starts. After it's loaded, the router information is never
changed. When a new OR connection is started (see below), the relevant
Run ./configure and make as usual. There isn't much point in
'make install' yet.
-If this doesn't work for you:
+If this doesn't work for you / troubleshooting:
+
+ If you couldn't find popt (eg you're on BSD), try
+ CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
+ ./configure
+ rather than simply ./configure.
Check out the list archives at http://archives.seul.org/or/dev/ and see
if somebody else has reported your problem. If not, please subscribe
AC_PROG_MAKE_SET
AC_PROG_RANLIB
-AC_DEFINE([HAVE_OPENSSL], 0, [Define if OpenSSL was found.])
-AC_DEFINE([HAVE_POPT], 0, [Define if popt was found.])
+dnl AC_DEFINE([HAVE_OPENSSL], 0, [Define if OpenSSL was found.])
+dnl AC_DEFINE([HAVE_POPT], 0, [Define if popt was found.])
AC_CHECK_LIB(popt,poptParseArgvString,
AC_DEFINE(HAVE_POPT),
# router-port is where the router is accepting connections from other routers.
# Router 1
-moria.mit.edu 9001 10240 10240
+moria.mit.edu 9001 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMBBuk1sYxEg5jLAJy86U3GGJ7EGMSV7yoA6mmcsEVU3pwTUrpbpCmwS
7BvovoY3z4zk63NZVBErgKQUDkn3pp8n83xZgEf4GI27gdWIIwaBjEimuJlEY+7K
-----END RSA PUBLIC KEY-----
# Router 2
-moria.mit.edu 9002 10240 10240
+moria.mit.edu 9002 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBANX/HHRuudz274MFSQ4manX8DhtsIuogNUyco9/0dr+XsfioTGd3RgMj
aSWlD87arkZO4hHBPHe0q89Z3s1UtUsyQ/VmsxSv9g2OCnF/dU2Nz4h6+Al3iNJF
-----END RSA PUBLIC KEY-----
# Router 3
-moria.mit.edu 9003 10240 10240
+moria.mit.edu 9003 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAJfkNWCaNkYIRwfHT06KBU6dz8W1xDpW5ezGJwAOoxCX3/ZNoUicb/1V
oB3OzW6VxWIiht3da/3K0ywiBOOCcf6BabKoMdiPpH7NIeu6XRmBYK2uqW13gBgh
xJbQBb58Nx8Fr05XkvLG6i+vTDY3MZOW3E2/DwSe/jFzuHSD5b3nAgMA//8=
-----END RSA PUBLIC KEY-----
-town-square.reputation.com 9004 10240 10240
+town-square.reputation.com 9004 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKD2BDZQpGq/aAbZ7t+/7qktZVEbhUGe097gIjWH9gXcIOIm0CJMe3rN
MsBJsQMi5Uwqrz+Invb5n6bswrNlJp/bCKBhGTvUCfxg7c8xZy71PPSIPnTg1qXl
p5fyAkgCYkZNgEEZzQDHv1GRvLCs92kURjSJE5y8QU0dXfbzms8PAgMA//8=
-----END RSA PUBLIC KEY-----
-moria.mit.edu 9004 10240 10240
+moria.mit.edu 9004 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAKD2BDZQpGq/aAbZ7t+/7qktZVEbhUGe097gIjWH9gXcIOIm0CJMe3rN
MsBJsQMi5Uwqrz+Invb5n6bswrNlJp/bCKBhGTvUCfxg7c8xZy71PPSIPnTg1qXl
p5fyAkgCYkZNgEEZzQDHv1GRvLCs92kURjSJE5y8QU0dXfbzms8PAgMA//8=
-----END RSA PUBLIC KEY-----
-mosg.cl.cam.ac.uk 9005 10240 10240
+mosg.cl.cam.ac.uk 9005 102400 10240
-----BEGIN RSA PUBLIC KEY-----
MIGJAoGBAMMHEjhhawM6S14ETFVcvByU7D/baN2JMcCweKKJ7zcSurDnpgRH/Uo7
05+bZE3BCy4OkAqQbGlKd/ejBOuXjEtS0mJo5xwDX9StKguhgFRk60hhrF2OFJm4
/*
* Changes :
* $Log$
+ * Revision 1.3 2002/09/09 04:10:58 arma
+ * 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?
+ *
* Revision 1.2 2002/08/24 07:56:22 arma
* proxies send port in host order as ascii string
*
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
-#include <stdint.h>
+#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
/*
* Changes :
* $Log$
+ * Revision 1.8 2002/09/09 04:10:58 arma
+ * 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?
+ *
* Revision 1.7 2002/09/03 18:44:23 nickm
* Port to MacOS X
*
#include <signal.h>
#include <stdarg.h>
#include <ctype.h>
-#include <stdint.h>
+#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
+#include <limits.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
/*
* Changes :
* $Log$
+ * Revision 1.5 2002/09/09 04:10:58 arma
+ * 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?
+ *
* Revision 1.4 2002/09/03 18:44:24 nickm
* Port to MacOS X
*
#include <signal.h>
#include <stdarg.h>
#include <ctype.h>
-#include <stdint.h>
+#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>