Changeset 529
- Timestamp:
- 11/15/09 21:02:31 (3 years ago)
- Location:
- branches/garlicat
- Files:
-
- 10 edited
-
Makefile.in (modified) (1 diff)
-
configure (modified) (12 diffs)
-
configure.ac (modified) (1 diff)
-
man/Makefile.in (modified) (1 diff)
-
man/ocat.1 (modified) (6 diffs)
-
src/Makefile.am (modified) (1 diff)
-
src/Makefile.in (modified) (3 diffs)
-
src/cygwin/Makefile.in (modified) (1 diff)
-
src/ocat.c (modified) (3 diffs)
-
src/ocatsetup.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/garlicat/Makefile.in
r508 r529 109 109 LIBOBJS = @LIBOBJS@ 110 110 LIBS = @LIBS@ 111 LN_S = @LN_S@ 111 112 LTLIBOBJS = @LTLIBOBJS@ 112 113 MAKEINFO = @MAKEINFO@ -
branches/garlicat/configure
r528 r529 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r52 8.3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r529. 4 4 # 5 5 # Report bugs to <rahra@cypherpunk.at>. … … 597 597 PACKAGE_NAME='onioncat' 598 598 PACKAGE_TARNAME='onioncat' 599 PACKAGE_VERSION='0.2.0.r52 8'600 PACKAGE_STRING='onioncat 0.2.0.r52 8'599 PACKAGE_VERSION='0.2.0.r529' 600 PACKAGE_STRING='onioncat 0.2.0.r529' 601 601 PACKAGE_BUGREPORT='rahra@cypherpunk.at' 602 602 … … 675 675 am__fastdepCC_TRUE 676 676 am__fastdepCC_FALSE 677 LN_S 677 678 build 678 679 build_cpu … … 1260 1261 # This message is too long to be a string in the A/UX 3.1 sh. 1261 1262 cat <<_ACEOF 1262 \`configure' configures onioncat 0.2.0.r52 8to adapt to many kinds of systems.1263 \`configure' configures onioncat 0.2.0.r529 to adapt to many kinds of systems. 1263 1264 1264 1265 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1330 1331 if test -n "$ac_init_help"; then 1331 1332 case $ac_init_help in 1332 short | recursive ) echo "Configuration of onioncat 0.2.0.r52 8:";;1333 short | recursive ) echo "Configuration of onioncat 0.2.0.r529:";; 1333 1334 esac 1334 1335 cat <<\_ACEOF … … 1422 1423 if $ac_init_version; then 1423 1424 cat <<\_ACEOF 1424 onioncat configure 0.2.0.r52 81425 onioncat configure 0.2.0.r529 1425 1426 generated by GNU Autoconf 2.62 1426 1427 … … 1436 1437 running configure, to aid debugging if configure makes a mistake. 1437 1438 1438 It was created by onioncat $as_me 0.2.0.r52 8, which was1439 It was created by onioncat $as_me 0.2.0.r529, which was 1439 1440 generated by GNU Autoconf 2.62. Invocation command line was 1440 1441 … … 2085 2086 # Define the identity of the package. 2086 2087 PACKAGE='onioncat' 2087 VERSION='0.2.0.r52 8'2088 VERSION='0.2.0.r529' 2088 2089 2089 2090 … … 2236 2237 2237 2238 cat >>confdefs.h <<\_ACEOF 2238 #define SVN_REVISION "52 8"2239 #define SVN_REVISION "529" 2239 2240 _ACEOF 2240 2241 … … 3405 3406 3406 3407 #AC_PROG_INSTALL 3408 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3409 $as_echo_n "checking whether ln -s works... " >&6; } 3410 LN_S=$as_ln_s 3411 if test "$LN_S" = "ln -s"; then 3412 { $as_echo "$as_me:$LINENO: result: yes" >&5 3413 $as_echo "yes" >&6; } 3414 else 3415 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3416 $as_echo "no, using $LN_S" >&6; } 3417 fi 3418 3407 3419 # Make sure we can run config.sub. 3408 3420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || … … 5209 5221 # values after options handling. 5210 5222 ac_log=" 5211 This file was extended by onioncat $as_me 0.2.0.r52 8, which was5223 This file was extended by onioncat $as_me 0.2.0.r529, which was 5212 5224 generated by GNU Autoconf 2.62. Invocation command line was 5213 5225 … … 5262 5274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5263 5275 ac_cs_version="\\ 5264 onioncat config.status 0.2.0.r52 85276 onioncat config.status 0.2.0.r529 5265 5277 configured by $0, generated by GNU Autoconf 2.62, 5266 5278 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -
branches/garlicat/configure.ac
r511 r529 20 20 AC_PROG_CC 21 21 #AC_PROG_INSTALL 22 AC_PROG_LN_S 22 23 ACX_PTHREAD 23 24 -
branches/garlicat/man/Makefile.in
r508 r529 79 79 LIBOBJS = @LIBOBJS@ 80 80 LIBS = @LIBS@ 81 LN_S = @LN_S@ 81 82 LTLIBOBJS = @LTLIBOBJS@ 82 83 MAKEINFO = @MAKEINFO@ -
branches/garlicat/man/ocat.1
r514 r529 15 15 .\" along with OnionCat. If not, see <http://www.gnu.org/licenses/>. 16 16 .\" 17 .TH OCAT 1 200 8-12-07"ocat" "OnionCat User's Manual"17 .TH OCAT 1 2009-11-15 "ocat" "OnionCat User's Manual" 18 18 .SH NAME 19 19 ocat \- OnionCat creates a transparent IPv6 layer on top of Tor's hidden services. 20 .br 21 gcat \- GarliCat is like OnionCat but it works with I2P instead of Tor. 20 22 .SH SYNOPSIS 21 23 .B ocat … … 31 33 -R [\fIOPTION\fP]\fI (4th form)\fP 32 34 .br 35 .B gcat 36 [\fIOPTION\fP] \fIi2p_id (5th form)\fP 37 .br 33 38 .SH DESCRIPTION 34 OnionCat creates a transparent IPv6 layer on top of Tor's hidden services . It35 transmits any kind of IP-based data transparently through the Tor network on a 36 location hidden basis. You can think of it as a point-to-multipoint VPN 37 between hidden services.39 OnionCat creates a transparent IPv6 layer on top of Tor's hidden services or 40 I2P's tunnels. It transmits any kind of IP-based data transparently through the 41 Tor/I2P network on a location hidden basis. You can think of it as a 42 peer-to-peer VPN between hidden services. 38 43 39 44 OnionCat is a stand-alone application which runs in userland and is a connector 40 between Tor and the local OS. Any protocol which is based on IP can be45 between Tor/I2P and the local OS. Any protocol which is based on IP can be 41 46 transmitted. Of course, UDP and TCP (and probably ICMP) are the most important 42 47 ones but all other protocols can also be forwarded through it. … … 44 49 OnionCat opens a TUN device and assigns an IPv6 address to it. All packets 45 50 forwarded to the TUN device by the kernel are forwarded by OnionCat to other 46 OnionCats listening on Tor's hidden service ports. The IPv6 address depends on 47 the \fIonion_id\fP of the locally configured hidden service (see \fBtor(8)\fP). 48 Depending on the configuration of Tor the \fIonion_id\fP usually can be found 49 at \fI/var/lib/tor/hidden_service/hostname\fP or similar location. 51 OnionCats listening on Tor's hidden service ports or I2P's server tunnels. The 52 IPv6 address depends on the \fIonion_id\fP or the i2p_id, respectively. The 53 \fIonion_id\fP is the hostname of the locally configured hidden service (see 54 \fBtor(8)\fP). Depending on the configuration of Tor the \fIonion_id\fP usually 55 can be found at \fI/var/lib/tor/hidden_service/hostname\fP or similar location. 56 The \fIi2p_id\fP is the 80 bit long Base32 encoded hostname of the I2P server 57 tunnel. 50 58 51 59 .SS OPTIONS … … 54 62 Enable IPv4 forwarding. See http://www.cypherpunk.at/onioncat/wiki/IPv4 for further 55 63 information on IPv4. 64 .br 65 Native IPv4 forwarding is deprecated. The recommended solution for IPv4 66 forwarding is to build a IPv4-through-IPv6 tunnel through OnionCat. 56 67 .TP 57 68 \fB\-a\fP … … 87 98 \fB\-i\fP 88 99 Convert \fIonion_id\fP to IPv6 address and exit. 100 .TP 101 \fB\-I\fP 102 Run OnionCat in GarliCat mode. Using this option is identical to running OnionCat 103 with the command name \fBgcat\fP. 89 104 .TP 90 105 \fB\-l\fP \fI[ip:]port\fP … … 164 179 Tor project homepage http://www.torproject.org/ 165 180 181 I2P project homepage http://www.i2p2.de/ 182 166 183 .SH COPYRIGHT 167 184 Copyright 2008-2009 Bernhard R. Fischer. -
branches/garlicat/src/Makefile.am
r525 r529 3 3 include_HEADERS = ocat.h ocat_netdesc.h strlcpy.c strlcat.c 4 4 5 install-exec-hook: 6 $(LN_S) -f $(DESTDIR)$(bindir)/ocat$(EXEEXT) \ 7 $(DESTDIR)$(bindir)/gcat$(EXEEXT) 8 -
branches/garlicat/src/Makefile.in
r525 r529 108 108 LIBOBJS = @LIBOBJS@ 109 109 LIBS = @LIBS@ 110 LN_S = @LN_S@ 110 111 LTLIBOBJS = @LTLIBOBJS@ 111 112 MAKEINFO = @MAKEINFO@ … … 417 418 418 419 install-exec-am: install-binPROGRAMS 420 @$(NORMAL_INSTALL) 421 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook 419 422 420 423 install-info: install-info-am … … 449 452 html-am info info-am install install-am install-binPROGRAMS \ 450 453 install-data install-data-am install-exec install-exec-am \ 451 install-includeHEADERS install-info install-info-am \ 452 install-man install-strip installcheck installcheck-am \ 453 installdirs maintainer-clean maintainer-clean-generic \ 454 mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ 455 ps ps-am tags uninstall uninstall-am uninstall-binPROGRAMS \ 456 uninstall-includeHEADERS uninstall-info-am 457 454 install-exec-hook install-includeHEADERS install-info \ 455 install-info-am install-man install-strip installcheck \ 456 installcheck-am installdirs maintainer-clean \ 457 maintainer-clean-generic mostlyclean mostlyclean-compile \ 458 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 459 uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \ 460 uninstall-info-am 461 462 463 install-exec-hook: 464 $(LN_S) -f $(DESTDIR)$(bindir)/ocat$(EXEEXT) \ 465 $(DESTDIR)$(bindir)/gcat$(EXEEXT) 458 466 # Tell versions [3.59,3.63) of GNU make to not export all variables. 459 467 # Otherwise a system limit (for SysV at least) may be exceeded. -
branches/garlicat/src/cygwin/Makefile.in
r508 r529 88 88 LIBOBJS = @LIBOBJS@ 89 89 LIBS = @LIBS@ 90 LN_S = @LN_S@ 90 91 LTLIBOBJS = @LTLIBOBJS@ 91 92 MAKEINFO = @MAKEINFO@ -
branches/garlicat/src/ocat.c
r528 r529 241 241 init_setup(); 242 242 243 if (argc < 2)244 usage(argv[0]), exit(1);245 246 243 while ((c = getopt(argc, argv, "abBCd:f:hrRiIopl:t:T:s:u:4L:P:")) != -1) 247 244 switch (c) … … 352 349 snprintf(def, 100, "127.0.0.1:%d", NDESC(listen_port)); 353 350 post_init_setup(); 351 352 // usage output must be after mode detection (Tor/I2P) 353 if (argc < 2) 354 usage(argv[0]), exit(1); 354 355 355 356 if (!CNF(rand_addr) && !argv[optind]) … … 413 414 414 415 log_msg(LOG_INFO, "%s", CNF(version)); 415 log_msg(LOG_INFO, "OC is running in %s mode", CNF(net_type) == NTYPE_I2P ? "GarliCat (I2P)" : "OnionCat (Tor)");416 416 417 417 #if 0 -
branches/garlicat/src/ocatsetup.c
r528 r529 131 131 //setup_.logf = stderr; 132 132 setup_.uptime = time(NULL); 133 134 #ifdef DEBUG135 snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s -- compiled %s %s", PACKAGE_STRING, OCAT_AUTHOR, __DATE__, __TIME__);136 #else137 snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s", PACKAGE_STRING, OCAT_AUTHOR);138 #endif139 133 } 140 134 … … 166 160 #ifdef HAVE_SIN_LEN 167 161 ctrl_listen6_.sin6_len = sizeof(ctrl_listen6_); 162 #endif 163 164 snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s (%s mode)", PACKAGE_STRING, OCAT_AUTHOR, setup_.net_type == NTYPE_TOR ? "OnionCat" : setup_.net_type == NTYPE_I2P ? "GarliCat" : "unknown"); 165 #ifdef DEBUG 166 snprintf(&setup_.version[strlen(setup_.version)], VERSION_STRING_LEN - strlen(setup_.version), " -- compiled %s %s", __DATE__, __TIME__); 168 167 #endif 169 168 }
Note: See TracChangeset
for help on using the changeset viewer.
