OpenWrt Forum Archive

Topic: Problems with aiccu on 7.07

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi!

I have a problem with aiccu on kamikaze 7.07.

I see a successfull response from server:

Tunnel Information for T4500:
POP Id      : deham01
IPv6 Local  : 2001:6f8:900:32c::2/64
IPv6 Remote : 2001:6f8:900:32c::1/64
Tunnel Type : 6in4-heartbeat
Adminstate  : enabled
Userstate   : enabled

and this in logread:

Aug 29 21:49:53 cerber local7.debug syslog: sock_printf()  : "challenge md5"
Aug 29 21:49:53 cerber local7.debug syslog: sock_getline() : "200 eee34d27ecfaea59b05713fb839b02be"
Aug 29 21:49:53 cerber local7.debug syslog: sock_printf()  : "authenticate md5 53c2b78429f50de6191182ea0defd50b"
Aug 29 21:49:53 cerber local7.debug syslog: sock_getline() : "200 Succesfully logged in using md5 as CS14-6BONE (Chris Steinewski) from 89.246.38.242"
Aug 29 21:49:53 cerber local7.debug syslog: sock_printf()  : "tunnel list"
Aug 29 21:49:53 cerber local7.debug syslog: sock_getline() : "201 Listing tunnels"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "T4500 2001:6f8:900:32c::2 heartbeat deham01"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "202 <tunnel_id> <ipv6_endpoint> <ipv4_endpoint> <pop_name>"
Aug 29 21:49:54 cerber local7.debug syslog: sock_printf()  : "tunnel show T4500"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "201 Showing tunnel information for T4500"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "TunnelId: T4500"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "Type: 6in4-heartbeat"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "IPv6 Endpoint: 2001:6f8:900:32c::2"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "IPv6 POP: 2001:6f8:900:32c::1"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "IPv6 PrefixLength: 64"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "Tunnel MTU: 1280"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "Tunnel Name: My First Tunnel"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "POP Id: deham01"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "IPv4 Endpoint: heartbeat"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "IPv4 POP: 212.224.0.188"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "UserState: enabled"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "AdminState: enabled"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "Password: 2c74edd312874a2b2b50787ea812dd46"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "Heartbeat_Interval: 60"
Aug 29 21:49:54 cerber local7.debug syslog: sock_getline() : "202 Done"
Aug 29 21:49:54 cerber local7.info syslog: Succesfully retrieved tunnel information for T4500
Aug 29 21:49:54 cerber local7.debug syslog: sock_printf()  : "QUIT None of this is real"
Aug 29 21:49:54 cerber local7.info syslog: AICCU running as PID 1925
Aug 29 21:49:54 cerber local7.debug syslog: heartbeat_socket() - IPv4 : 89.246.38.242
Aug 29 21:49:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188416994 6be758aee6bb21fad8c876e1c6ec8523
Aug 29 21:49:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188416994 6be758aee6bb21fad8c876e1c6ec8523
Aug 29 21:50:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188417054 4bacf34fbf9299e35aa9151fa067a0c0
Aug 29 21:51:09 cerber daemon.info ntpd[964]: Listening on interface #13 tun1, 193.175.185.66#123 Enabled
Aug 29 21:51:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188417114 f517d3ebb08ec9cb3abcf8583acdf2c6
Aug 29 21:52:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188417174 19b3e4a7270b8be7eec69e1952bb111e
Aug 29 21:53:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188417234 28b18c34ce9fb9f5f768849f0900a872
Aug 29 21:54:54 cerber local7.debug syslog: [HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188417294 5ac50e74a0359826bf57686a5ce2b5ec

but I dont have a ipv6 interface if I do ifconfig -a.

this is my config:

# AICCU Configuration

# Login information (defaults: none)
username myusername
password mypass

# Protocol and server to use for setting up the tunnel (defaults: none)
#protocol <tic|tsp|l2tp>
#server <server to use>

# Interface names to use (default: aiccu)
# ipv6_interface is the name of the interface that will be used as a tunnel interface.
# On *BSD the ipv6_interface should be set to gifX (eg gif0) for proto-41 tunnels
# or tunX (eg tun0) for AYIYA tunnels.
#ipv6_interface sixxs

# The tunnel_id to use (default: none)
# (only required when there are multiple tunnels in the list)
#tunnel_id Txxxx

# Be verbose? (default: false)
verbose true

# Daemonize? (default: true)
# Set to false if you want to see any output
# When true output goes to syslog
#
# WARNING: never run AICCU from DaemonTools or a similar automated
# 'restart' tool/script. When AICCU does not start, it has a reason
# not to start which it gives on either the stdout or in the (sys)log
# file. The TIC server *will* automatically disable accounts which
# are detected to run in this mode.
#
daemonize true

# Automatic Login and Tunnel activation?
automatic true

# Require TLS?
# When set to true, if TLS is not supported on the server
# the TIC transaction will fail.
# When set to false, it will try a starttls, when that is
# not supported it will continue.
# In any case if AICCU is build with TLS support it will
# try to do a 'starttls' to the TIC server to see if that
# is supported.
requiretls false

# PID File
pidfile /var/run/aiccu.pid

# Add a default route (default: true)
defaultroute true

# Script to run after setting up the interfaces (default: none)
#setupscript /usr/local/etc/aiccu-subnets.sh

# Make heartbeats (default true)
# In general you don't want to turn this off
# Of course only applies to AYIYA and heartbeat tunnels not to static ones
#makebeats true

# Don't configure anything (default: false)
#noconfigure true

# Behind NAT (default: false)
# Notify the user that a NAT-kind network is detected
#behindnat true

# Local IPv4 Override (default: none)
# Overrides the IPv4 parameter received from TIC
# This allows one to configure a NAT into "DMZ" mode and then
# forwarding the proto-41 packets to an internal host.
#
# This is only needed for static proto-41 tunnels!
# AYIYA and heartbeat tunnels don't require this.
#local_ipv4_override

whats the problem? any solution?

TiA
Greetings

try to uncomment:

#ipv6_interface sixxs


but the default interface should be "aiccu" as described in the configfile

(Last edited by cereal on 30 Aug 2007, 09:31)

done, still the same problem

can someone who uses aiccu with kamikaze 7.07 past his package list here?

I want compare it with my packages list...

TiA
Greetings

Hi,

I remember that I had a similar problem because I forgot to install and load the tun kernel module...

(Last edited by tty56 on 31 Aug 2007, 14:39)

tty56 wrote:

Hi,

I remember that I had a similar problem because I forgot to install and load the tun kernel module...

This was never a problem for me when I had aiccu on WR RC5.  Haven't played with IPv6 since, so I can't give you any experience in Kamikaze.

You could always test with an x86 VMWare image to save messing around in flash.
http://forum.openwrt.org/viewtopic.php?id=7879

ipv6 and tun are loaded... still same problem... grr it worked on white russian

here the complete output in non daemon mode:

sock_getline() : "200 SixXS TIC Service on noc.sixxs.net ready (http://www.sixxs.net)"
sock_printf()  : "client TIC/draft-00 AICCU/2007.01.15-console Linux/2.6.22"
sock_getline() : "200 Client Identity accepted"
sock_printf()  : "get unixtime"
sock_getline() : "200 1188575634"
sock_printf()  : "username CS14-6BONE"
sock_getline() : "200 Choose your authentication challenge please"
sock_printf()  : "challenge md5"
sock_getline() : "200 ca2a2321da4eaa41eb85af1c5951fbad"
sock_printf()  : "authenticate md5 a39706a98ad44757145fb1369d52ed0a"
sock_getline() : "200 Succesfully logged in using md5 as CS14-6BONE (Chris Steinewski) from 89.246.48.212"
sock_printf()  : "tunnel list"
sock_getline() : "201 Listing tunnels"
sock_getline() : "T4500 2001:6f8:900:32c::2 heartbeat deham01"
sock_getline() : "202 <tunnel_id> <ipv6_endpoint> <ipv4_endpoint> <pop_name>"
sock_printf()  : "tunnel show T4500"
sock_getline() : "201 Showing tunnel information for T4500"
sock_getline() : "TunnelId: T4500"
sock_getline() : "Type: 6in4-heartbeat"
sock_getline() : "IPv6 Endpoint: 2001:6f8:900:32c::2"
sock_getline() : "IPv6 POP: 2001:6f8:900:32c::1"
sock_getline() : "IPv6 PrefixLength: 64"
sock_getline() : "Tunnel MTU: 1280"
sock_getline() : "Tunnel Name: My First Tunnel"
sock_getline() : "POP Id: deham01"
sock_getline() : "IPv4 Endpoint: heartbeat"
sock_getline() : "IPv4 POP: 212.224.0.188"
sock_getline() : "UserState: enabled"
sock_getline() : "AdminState: enabled"
sock_getline() : "Password: 2c74edd312874a2b2b50787ea812dd46"
sock_getline() : "Heartbeat_Interval: 60"
sock_getline() : "202 Done"
Succesfully retrieved tunnel information for T4500
sock_printf()  : "QUIT My Autumn's Done Come"
Tunnel Information for T4500:
POP Id      : deham01
IPv6 Local  : 2001:6f8:900:32c::2/64
IPv6 Remote : 2001:6f8:900:32c::1/64
Tunnel Type : 6in4-heartbeat
Adminstate  : enabled
Userstate   : enabled
ioctl: No such device
SIOCGIFFLAGS: No such device
SIOCSIFMTU: No such device
ioctl: No such device
Cannot find device "sixxs"
Cannot find device "sixxs"
heartbeat_socket() - IPv4 : 89.246.48.212
ioctl: No such device
[HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188575635 c17f914a450ad3fa2396cfea8251d9d0
[HB] HEARTBEAT TUNNEL 2001:6f8:900:32c::2 sender 1188575635 c17f914a450ad3fa2396cfea8251d9d0

I saw the same problem in kamikaze 7.09

aiccu needs the tun module (as you probably know) and the sit module, but the sit module requires  kmod-iptunnel4 to operate.

The symbol "xfrm4_tunnel_deregister" referenced by sit is provided by tunnel4.

And now I see the dancing kame.

(Last edited by volkris on 22 Feb 2008, 09:02)

The discussion might have continued from here.