Changeset 527


Ignore:
Timestamp:
11/14/09 21:40:51 (2 years ago)
Author:
eagle
Message:

onion domain fixed

Location:
branches/garlicat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/garlicat/configure

    r526 r527  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r526. 
     3# Generated by GNU Autoconf 2.62 for onioncat 0.2.0.r527. 
    44# 
    55# Report bugs to <rahra@cypherpunk.at>. 
     
    597597PACKAGE_NAME='onioncat' 
    598598PACKAGE_TARNAME='onioncat' 
    599 PACKAGE_VERSION='0.2.0.r526' 
    600 PACKAGE_STRING='onioncat 0.2.0.r526' 
     599PACKAGE_VERSION='0.2.0.r527' 
     600PACKAGE_STRING='onioncat 0.2.0.r527' 
    601601PACKAGE_BUGREPORT='rahra@cypherpunk.at' 
    602602 
     
    12601260  # This message is too long to be a string in the A/UX 3.1 sh. 
    12611261  cat <<_ACEOF 
    1262 \`configure' configures onioncat 0.2.0.r526 to adapt to many kinds of systems. 
     1262\`configure' configures onioncat 0.2.0.r527 to adapt to many kinds of systems. 
    12631263 
    12641264Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    13301330if test -n "$ac_init_help"; then 
    13311331  case $ac_init_help in 
    1332      short | recursive ) echo "Configuration of onioncat 0.2.0.r526:";; 
     1332     short | recursive ) echo "Configuration of onioncat 0.2.0.r527:";; 
    13331333   esac 
    13341334  cat <<\_ACEOF 
     
    14221422if $ac_init_version; then 
    14231423  cat <<\_ACEOF 
    1424 onioncat configure 0.2.0.r526 
     1424onioncat configure 0.2.0.r527 
    14251425generated by GNU Autoconf 2.62 
    14261426 
     
    14361436running configure, to aid debugging if configure makes a mistake. 
    14371437 
    1438 It was created by onioncat $as_me 0.2.0.r526, which was 
     1438It was created by onioncat $as_me 0.2.0.r527, which was 
    14391439generated by GNU Autoconf 2.62.  Invocation command line was 
    14401440 
     
    20852085# Define the identity of the package. 
    20862086 PACKAGE='onioncat' 
    2087  VERSION='0.2.0.r526' 
     2087 VERSION='0.2.0.r527' 
    20882088 
    20892089 
     
    22362236 
    22372237cat >>confdefs.h <<\_ACEOF 
    2238 #define SVN_REVISION "526" 
     2238#define SVN_REVISION "527" 
    22392239_ACEOF 
    22402240 
     
    52095209# values after options handling. 
    52105210ac_log=" 
    5211 This file was extended by onioncat $as_me 0.2.0.r526, which was 
     5211This file was extended by onioncat $as_me 0.2.0.r527, which was 
    52125212generated by GNU Autoconf 2.62.  Invocation command line was 
    52135213 
     
    52625262cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    52635263ac_cs_version="\\ 
    5264 onioncat config.status 0.2.0.r526 
     5264onioncat config.status 0.2.0.r527 
    52655265configured by $0, generated by GNU Autoconf 2.62, 
    52665266  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
  • branches/garlicat/src/ocat.c

    r526 r527  
    379379         log_msg(LOG_ERR, "address does not have TOR prefix"), exit(1); 
    380380      ipv6tonion(&CNF(ocat_addr), CNF(onion_url)); 
    381       printf("%s.onion\n", CNF(onion_url)); 
     381      printf("%s%s\n", CNF(onion_url), NDESC(domain)); 
    382382      exit(0); 
    383383   } 
  • branches/garlicat/src/ocatsocks.c

    r525 r527  
    4242 
    4343   ipv6tonion(&sq->addr, onion); 
    44    strlcat(onion, ".onion", sizeof(onion)); 
     44   strlcat(onion, NDESC(domain), sizeof(onion)); 
    4545   log_msg(LOG_INFO, "trying to connect to \"%s\" [%s]", onion, inet_ntop(AF_INET6, &sq->addr, buf, SOCKS_BUFLEN)); 
    4646 
     
    258258      } 
    259259 
    260       snprintf(buf, SIZE_1K, "%d: %39s, %s.onion, state = %d, %s(%d), retry = %d, connect_time = %d, restart_time = %d", 
     260      snprintf(buf, SIZE_1K, "%d: %39s, %s%s, state = %d, %s(%d), retry = %d, connect_time = %d, restart_time = %d", 
    261261            i,  
    262262            addrstr,  
    263263            ipv6tonion(&squeue->addr, onstr), 
     264            NDESC(domain), 
    264265            squeue->state, 
    265266            squeue->perm ? "PERMANENT" : "TEMPORARY", 
Note: See TracChangeset for help on using the changeset viewer.