Changeset 550
- Timestamp:
- 01/03/11 21:17:38 (17 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 10 edited
-
config.h.in (modified) (3 diffs)
-
configure (modified) (11 diffs)
-
configure.ac (modified) (1 diff)
-
src/Makefile.am (modified) (1 diff)
-
src/Makefile.in (modified) (3 diffs)
-
src/ocat.c (modified) (2 diffs)
-
src/ocat.h (modified) (4 diffs)
-
src/ocateth.c (modified) (1 diff)
-
src/ocatresolv.c (added)
-
src/ocatsetup.c (modified) (2 diffs)
-
src/ocattun.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config.h.in
r547 r550 9 9 /* enable handling of accidental HTTP requests */ 10 10 #undef HANDLE_HTTP 11 12 /* Define to 1 if you have the <arpa/nameser.h> header file. */ 13 #undef HAVE_ARPA_NAMESER_H 11 14 12 15 /* Define to 1 if you have the <endian.h> header file. */ … … 58 61 #undef HAVE_NETINET_IP_H 59 62 63 /* Define to 1 if you have the <netinet/udp.h> header file. */ 64 #undef HAVE_NETINET_UDP_H 65 60 66 /* Define to 1 if you have the <net/ethernet.h> header file. */ 61 67 #undef HAVE_NET_ETHERNET_H … … 66 72 /* Define to 1 if you have the <net/if_tun.h> header file. */ 67 73 #undef HAVE_NET_IF_TUN_H 74 75 /* Define to 1 if you have the <net/tun/if_tun.h> header file. */ 76 #undef HAVE_NET_TUN_IF_TUN_H 68 77 69 78 /* Define if you have POSIX threads libraries and header files. */ -
trunk/configure
r549 r550 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.2.r5 49.3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.2.r550. 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.2.r5 49'600 PACKAGE_STRING='onioncat 0.2.2.r5 49'599 PACKAGE_VERSION='0.2.2.r550' 600 PACKAGE_STRING='onioncat 0.2.2.r550' 601 601 PACKAGE_BUGREPORT='rahra@cypherpunk.at' 602 602 … … 1263 1263 # This message is too long to be a string in the A/UX 3.1 sh. 1264 1264 cat <<_ACEOF 1265 \`configure' configures onioncat 0.2.2.r5 49to adapt to many kinds of systems.1265 \`configure' configures onioncat 0.2.2.r550 to adapt to many kinds of systems. 1266 1266 1267 1267 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1333 1333 if test -n "$ac_init_help"; then 1334 1334 case $ac_init_help in 1335 short | recursive ) echo "Configuration of onioncat 0.2.2.r5 49:";;1335 short | recursive ) echo "Configuration of onioncat 0.2.2.r550:";; 1336 1336 esac 1337 1337 cat <<\_ACEOF … … 1426 1426 if $ac_init_version; then 1427 1427 cat <<\_ACEOF 1428 onioncat configure 0.2.2.r5 491428 onioncat configure 0.2.2.r550 1429 1429 generated by GNU Autoconf 2.62 1430 1430 … … 1440 1440 running configure, to aid debugging if configure makes a mistake. 1441 1441 1442 It was created by onioncat $as_me 0.2.2.r5 49, which was1442 It was created by onioncat $as_me 0.2.2.r550, which was 1443 1443 generated by GNU Autoconf 2.62. Invocation command line was 1444 1444 … … 2089 2089 # Define the identity of the package. 2090 2090 PACKAGE='onioncat' 2091 VERSION='0.2.2.r5 49'2091 VERSION='0.2.2.r550' 2092 2092 2093 2093 … … 2240 2240 2241 2241 cat >>confdefs.h <<\_ACEOF 2242 #define SVN_REVISION "5 49"2242 #define SVN_REVISION "550" 2243 2243 _ACEOF 2244 2244 … … 4325 4325 4326 4326 4327 for ac_header in sys/types.h sys/wait.h sys/socket.h sys/stat.h netdb.h netinet/in.h netinet/in_systm.h netinet/ip.h netinet/ip6.h netinet/in6.h net/if.h net/if_tun.h linux/if_tun.h linux/sockios.h endian.h sys/endian.h netinet/icmp6.h net/ethernet.h netinet/if_ether.h netinet/ether.h sys/ethernet.h fcntl.h time.h 4327 4328 4329 4330 for ac_header in sys/types.h sys/wait.h sys/socket.h sys/stat.h netdb.h arpa/nameser.h netinet/in.h netinet/in_systm.h netinet/ip.h netinet/ip6.h netinet/in6.h net/if.h net/if_tun.h net/tun/if_tun.h linux/if_tun.h linux/sockios.h endian.h sys/endian.h netinet/icmp6.h net/ethernet.h netinet/if_ether.h netinet/ether.h netinet/udp.h sys/ethernet.h fcntl.h time.h 4328 4331 do 4329 4332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5945 5948 # values after options handling. 5946 5949 ac_log=" 5947 This file was extended by onioncat $as_me 0.2.2.r5 49, which was5950 This file was extended by onioncat $as_me 0.2.2.r550, which was 5948 5951 generated by GNU Autoconf 2.62. Invocation command line was 5949 5952 … … 5998 6001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5999 6002 ac_cs_version="\\ 6000 onioncat config.status 0.2.2.r5 496003 onioncat config.status 0.2.2.r550 6001 6004 configured by $0, generated by GNU Autoconf 2.62, 6002 6005 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -
trunk/configure.ac
r547 r550 61 61 # Checks for header files. 62 62 #AC_HEADER_STDC 63 AC_CHECK_HEADERS([sys/types.h sys/wait.h sys/socket.h sys/stat.h netdb.h netinet/in.h netinet/in_systm.h netinet/ip.h netinet/ip6.h netinet/in6.h net/if.h net/if_tun.h linux/if_tun.h linux/sockios.h endian.h sys/endian.h netinet/icmp6.h net/ethernet.h netinet/if_ether.h netinet/ether.h sys/ethernet.h fcntl.h time.h], [], [],63 AC_CHECK_HEADERS([sys/types.h sys/wait.h sys/socket.h sys/stat.h netdb.h arpa/nameser.h netinet/in.h netinet/in_systm.h netinet/ip.h netinet/ip6.h netinet/in6.h net/if.h net/if_tun.h net/tun/if_tun.h linux/if_tun.h linux/sockios.h endian.h sys/endian.h netinet/icmp6.h net/ethernet.h netinet/if_ether.h netinet/ether.h netinet/udp.h sys/ethernet.h fcntl.h time.h], [], [], 64 64 [[ 65 65 #ifdef HAVE_SYS_TYPES_H -
trunk/src/Makefile.am
r547 r550 1 1 bin_PROGRAMS = ocat 2 ocat_SOURCES = ocat.c ocatlog.c ocatroute.c ocatthread.c ocattun.c ocatv6conv.c ocatcompat.c ocatpeer.c ocatsetup.c ocatipv4route.c ocateth.c ocatsocks.c ocatlibe.c ocatctrl.c ocatipv6route.c ocaticmp.c ocat_wintuntap.c ocat_netdesc.c ocathosts.c 2 ocat_SOURCES = ocat.c ocatlog.c ocatroute.c ocatthread.c ocattun.c ocatv6conv.c ocatcompat.c ocatpeer.c ocatsetup.c ocatipv4route.c ocateth.c ocatsocks.c ocatlibe.c ocatctrl.c ocatipv6route.c ocaticmp.c ocat_wintuntap.c ocat_netdesc.c ocathosts.c ocatresolv.c 3 3 noinst_HEADERS = ocat.h ocat_netdesc.h strlcpy.c strlcat.c ocathosts.h 4 4 AM_CFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" -
trunk/src/Makefile.in
r547 r550 59 59 ocatlibe.$(OBJEXT) ocatctrl.$(OBJEXT) ocatipv6route.$(OBJEXT) \ 60 60 ocaticmp.$(OBJEXT) ocat_wintuntap.$(OBJEXT) \ 61 ocat_netdesc.$(OBJEXT) ocathosts.$(OBJEXT) 61 ocat_netdesc.$(OBJEXT) ocathosts.$(OBJEXT) \ 62 ocatresolv.$(OBJEXT) 62 63 ocat_OBJECTS = $(am_ocat_OBJECTS) 63 64 ocat_LDADD = $(LDADD) … … 164 165 sysconfdir = @sysconfdir@ 165 166 target_alias = @target_alias@ 166 ocat_SOURCES = ocat.c ocatlog.c ocatroute.c ocatthread.c ocattun.c ocatv6conv.c ocatcompat.c ocatpeer.c ocatsetup.c ocatipv4route.c ocateth.c ocatsocks.c ocatlibe.c ocatctrl.c ocatipv6route.c ocaticmp.c ocat_wintuntap.c ocat_netdesc.c ocathosts.c 167 ocat_SOURCES = ocat.c ocatlog.c ocatroute.c ocatthread.c ocattun.c ocatv6conv.c ocatcompat.c ocatpeer.c ocatsetup.c ocatipv4route.c ocateth.c ocatsocks.c ocatlibe.c ocatctrl.c ocatipv6route.c ocaticmp.c ocat_wintuntap.c ocat_netdesc.c ocathosts.c ocatresolv.c 167 168 noinst_HEADERS = ocat.h ocat_netdesc.h strlcpy.c strlcat.c ocathosts.h 168 169 AM_CFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" … … 246 247 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ocatlog.Po@am__quote@ 247 248 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ocatpeer.Po@am__quote@ 249 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ocatresolv.Po@am__quote@ 248 250 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ocatroute.Po@am__quote@ 249 251 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ocatsetup.Po@am__quote@ -
trunk/src/ocat.c
r547 r550 472 472 CNF(config_failed) = errno; 473 473 CNF(config_read) = 1; 474 log_debug("opening config file \"%s\" failed: \"%s\"", CNF(config_file), strerror(CNF(config_failed))); 474 475 } 475 476 else … … 502 503 detach_thread(); 503 504 504 if (CNF(config_failed) )505 if (CNF(config_failed) && (CNF(config_failed != ENOENT))) 505 506 log_msg(LOG_NOTICE, "could not open config file %s: %s", CNF(config_file), strerror(CNF(config_failed))); 506 507 -
trunk/src/ocat.h
r548 r550 85 85 #include <netinet/ip6.h> 86 86 #endif 87 #ifdef HAVE_NETINET_UDP_H 88 #include <netinet/udp.h> 89 #endif 90 #ifdef HAVE_ARPA_NAMESER_H 91 #include <arpa/nameser.h> 92 #endif 87 93 #ifdef HAVE_NET_ETHERNET_H 88 94 #include <net/ethernet.h> … … 96 102 #ifdef HAVE_NET_IF_TUN_H 97 103 #include <net/if_tun.h> 104 #endif 105 #ifdef HAVE_NET_TUN_IF_TUN_H 106 #include <net/tun/if_tun.h> 98 107 #endif 99 108 … … 341 350 int sig_usr1, clear_stats; 342 351 int hosts_lookup; 352 struct in6_addr oc_vdns; 343 353 }; 344 354 … … 658 668 #endif 659 669 660 661 #endif 662 670 /* ocatresolv.c */ 671 int check_dns(const struct ip6_hdr *, int); 672 673 #endif 674 -
trunk/src/ocateth.c
r547 r550 38 38 * RFC2461 is obsoleted by RFC4861 39 39 * RFC4862 IPv6 Stateless Address Autoconfiguration 40 * RFC4443 ICMP6 (updates 2780, obsoletes 2463) (20101230) 40 41 */ 41 42 -
trunk/src/ocatsetup.c
r547 r550 205 205 #endif 206 206 setup_.pid_file = NDESC(pid_file); 207 setup_.oc_vdns = NDESC(prefix); 208 setup_.oc_vdns.s6_addr[15] = 1; 207 209 } 208 210 … … 349 351 log_msg(LOG_WARNING, "could not convert struct sockaddr: \"%s\"", strerror(errno)); 350 352 } 353 354 inet_ntop(AF_INET6, &setup_.oc_vdns, ip6, SBUF); 355 fprintf(f, "ocat_dir = %s\n", ip6); 351 356 } 352 357 -
trunk/src/ocattun.c
r547 r550 144 144 */ 145 145 146 #if def __FreeBSD__146 #if defined __FreeBSD__ || defined __DragonFly__ 147 147 148 148 int prm = 1;
Note: See TracChangeset
for help on using the changeset viewer.
