SixXS::Sunset 2017-06-06

Current AiCCU console for Windows calls invalid commands
[br] Shadow Hawkins on Sunday, 22 December 2013 22:46:49
Hello. I downloaded just now the console client for Windows, installed TUN/TAP driver 901, created C:\WINDOWS\aiccu.conf with proper settings and tried to get aiccu working by opening the client. However, it isn't working due to invalid command calls. It tries to run
netsh interface IPv6 mtu=1428
, which is an invalid command for netsh and due this gives following error:
The following command was not found: set IPv6 mtu=1428
I'm using Windows XP and my interface's name is IPv6. It also get 'Invalid sintax' error on
netsh set icmpsetting
. Below is the full output of AiCCU on my machine (mostly in Brazilian Portuguese):
C:\Documents and Settings\Tiago\Desktop>AiCCU.exe Ok. Successfully retrieved tunnel information for T80254 Error opening registry key: SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E32 5-11CE-BFC1-08002BE10318}\0000\ComponentId (t3) Ok. Ok. Ok. O seguinte comando no foi encontrado: set interface aiccu mtu=1428. Ok. Ok. Ok. Sintaxe fornecida invlida. Verifique o comando na 'Ajuda'. set icmpsetting [ type = ] 2-5|8-9|11-13|17|ALL [ [ mode = ] ENABLE|DISABLE [ profile = ] CURRENT|DOMAIN|STANDARD|ALL [ interface = ] nome ] Define a configurao ICMP do firewall. Parmetros: type - Tipo ICMP. 2 - Permitir pacote de sada grande demais. 3 - Permitir destino de sada inacessvel. 4 - Permitir retardamento da origem de sada. 5 - Permitir redirecionamento. 8 - Permitir solicitao de eco de entrada. 9 - Permitir solicitao de roteador de entrada. 11 - Permitir tempo de sada excedido. 12 - Permitir problema de parmetro de sada. 13 - Permitir solicitao de carimbo de data/hora de entrada. 17 - Permitir solicitao de mscara de entrada. ALL - Todos os tipos. mode - Modo ICMP (opcional). ENABLE - Permitir pelo firewall (padro). DISABLE - No permitir pelo firewall. profile - Perfil de configurao (opcional). CURRENT - O perfil atual (padro). DOMAIN - Perfil do domnio. STANDARD - Perfil padro. ALL - Todos os perfis. interface - Nome da interface (opcional). Observaes: 'profile' e 'interface' no podem ser especificados simultaneamen te. 'type' 2 e 'interface' no podem ser especificados simultaneamente. Exemplos: set icmpsetting 8 set icmpsetting 8 ENABLE set icmpsetting ALL DISABLE set icmpsetting type = 8 set icmpsetting type = 8 mode = ENABLE set icmpsetting type = ALL mode = DISABLE [AYIYA-start] : Anything in Anything (draft-02) [AYIYA-tun->tundev] : (Socket to TUN) started
Please check if this a AiCCU bug. Thanks.
Current AiCCU console for Windows calls invalid commands
[ch] Jeroen Massar SixXS Staff on Monday, 23 December 2013 09:40:44
First of all, due to security: http://www.microsoft.com/en-us/windows/enterprise/endofsupport.aspx Per April of next year Windows XP will be an even bigger virus/bot attractor than it already is, thus do keep in mind that you should be upgrading to something not from 10 years ago. Due to IPv6: Only Windows XP SP3+ have a reasonable IPv6 stack, though miss out still on a lot of features (it is 10 years old....) Hence: upgrade! Nevertheless, what is the exact version of Windows XP do you have there? (Check a 'cmd' prompt window, it will show the version as the first line; and/or in Windows Explorer, under Help there is a "Info" menu that shows the version too, or on the Desktop "My Computer" and then right mouse and "Properties") Also, enabling 'verbose = true' in the config file, and providing the complete output (xxx-ing out the password of course) can be useful as that will show most of these details.
It tries to run
netsh interface IPv6 mtu=1428
I think I see this problem already, that is not what it tries to run though. It should be running this:
netsh int ipv6 set interface aiccu mtu=1428
Are you sure that you have a clean 1500 bytes MTU for the path to the PoP?
Sintaxe fornecida invlida. Verifique o comando na 'Ajuda'.
Without the verbose log, little I can say but that it should be correct.
Current AiCCU console for Windows calls invalid commands
[br] Shadow Hawkins on Thursday, 26 December 2013 03:11:37
Hence: upgrade!
I'm aware, but as Windows XP is not my primary system, I rarely use it and my computer's perfomance with Windows 7 is poor, I'm confined to use this prehistoric version.
Nevertheless, what is the exact version of Windows XP do you have there? (Check a 'cmd' prompt window, it will show the version as the first line; and/or in Windows Explorer, under Help there is a "Info" menu that shows the version too, or on the Desktop "My Computer" and then right mouse and "Properties")
It's SP3. In prompt: 5.1.2600
Also, enabling 'verbose = true' in the config file, and providing the complete output (xxx-ing out the password of course) can be useful as that will show most of these details. ... ... Without the verbose log, little I can say but that it should be correct.
Output with verbose = true:
C:\Documents and Settings\Tiago\Desktop>AiCCU.exe start Ok. Trying to connect to TIC server tic.sixxs.net sock_getline() : "200 SixXS TIC Service on nlams01.sixxs.net ready (http://www.s ixxs.net)" sock_printf() : "client TIC/draft-00 AICCU/2012.02.02-win32 - WinNT/5.1.2600-SP 3" sock_getline() : "200 Client Identity accepted" sock_printf() : "get unixtime" sock_getline() : "200 1388026520" sock_printf() : "username TSR10-SIXXS" sock_getline() : "200 TSR10-SIXXS choose your authentication challenge please" sock_printf() : "challenge md5" sock_getline() : "200 [md5 auth data here - removed]" sock_printf() : "authenticate md5 [md5 auth data here - removed]" sock_getline() : "200 Successfully logged in using md5 as TSR10-SIXXS (Tiago Sou za Ribeiro)" sock_printf() : "tunnel show T80254" sock_getline() : "201 Showing tunnel information for T80254" sock_getline() : "TunnelId: T80254" sock_getline() : "Type: ayiya" sock_getline() : "IPv6 Endpoint: 2001:1291:200:234::2" sock_getline() : "IPv6 POP: 2001:1291:200:234::1" sock_getline() : "IPv6 PrefixLength: 64" sock_getline() : "Tunnel MTU: 1428" sock_getline() : "Tunnel Name: Tunel Padrao de Conexao IPv6" sock_getline() : "POP Id: brudi01" sock_getline() : "IPv4 Endpoint: ayiya" sock_getline() : "IPv4 POP: 201.48.254.14" sock_getline() : "UserState: enabled" sock_getline() : "AdminState: enabled" sock_getline() : "Password: [md5 password here - removed]" sock_getline() : "Heartbeat_Interval: 60" sock_getline() : "202 Done" Successfully retrieved tunnel information for T80254 sock_printf() : "QUIT None of this is real" Tunnel Information for T80254: PoP Id : brudi01 IPv6 Local : 2001:1291:200:234::2/64 IPv6 Remote : 2001:1291:200:234::1/64 Tunnel Type : ayiya Adminstate : enabled Userstate : enabled aiccu_setup(2001:1291:200:234::2, first) Flag: HAS_IFHEAD not present Flag: NEED_IFHEAD not present Error opening registry key: SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E32 5-11CE-BFC1-08002BE10318}\0000\ComponentId (t3) Renaming adapter 'aiccu' to 'IPv6' and using it aiccu_os_exec("netsh int set interface name="aiccu" newname="IPv6"") [tun-start] Trying \\.\Global\{2C40C0C7-8830-4475-8263-7840816773AB}.tap [tun-start] This is Conexo de rede sem fio, not the one we want [tun-start] Trying \\.\Global\{3894EC81-2764-46F9-8752-30CECEAE2324}.tap [tun-start] This is Ponte de rede, not the one we want [tun-start] Trying \\.\Global\{3E23ACFD-10AD-4B08-9AFE-B244FBAE84B3}.tap [tun-start] This is Hamachi, not the one we want [tun-start] Trying \\.\Global\{48DA7ADA-6F71-45E5-8F27-5D367F027B6F}.tap [tun-start] This is Hamachi, not the one we want [tun-start] Trying \\.\Global\{5C63A54E-FD25-41E4-A1FD-00C81174DF22}.tap [tun-start] This is Webcam, not the one we want [tun-start] Trying \\.\Global\{82EF88BC-3786-4F5F-BFD7-C0B70619A321}.tap [tun-start] This is Ethernet, not the one we want [tun-start] Trying \\.\Global\{84975907-B1D6-4447-BFBF-E6AE72D3C0A0}.tap [tun-start] This is IPv6, the one we want [tun-start] TAP-Win32 Driver Version 9.9 aiccu_setup(2001:1291:200:234::2, other) Flag: HAS_IFHEAD not present Flag: NEED_IFHEAD not present aiccu_os_exec("netsh int ipv6 6to4 set state disabled") Ok. aiccu_os_exec("netsh int ipv6 set teredo disable") Ok. aiccu_os_exec("netsh int ipv6 isatap set state state=disabled") Ok. aiccu_os_exec("netsh set interface "IPv6" mtu=1428") O seguinte comando no foi encontrado: set interface IPv6 mtu=1428. aiccu_os_exec("netsh int ipv6 add address "IPv6" 2001:1291:200:234::2") Ok. aiccu_os_exec("netsh int ipv6 add route 2001:1291:200:234::2/64 IPv6") Ok. aiccu_os_exec("netsh int ipv6 add route 0::/0 IPv6 2001:1291:200:234::1 publish= yes") Ok. aiccu_os_exec("netsh firewall set icmpsetting IPv6 enable all") Sintaxe fornecida invlida. Verifique o comando na 'Ajuda'. set icmpsetting [ type = ] 2-5|8-9|11-13|17|ALL [ [ mode = ] ENABLE|DISABLE [ profile = ] CURRENT|DOMAIN|STANDARD|ALL [ interface = ] nome ] Define a configurao ICMP do firewall. Parmetros: type - Tipo ICMP. 2 - Permitir pacote de sada grande demais. 3 - Permitir destino de sada inacessvel. 4 - Permitir retardamento da origem de sada. 5 - Permitir redirecionamento. 8 - Permitir solicitao de eco de entrada. 9 - Permitir solicitao de roteador de entrada. 11 - Permitir tempo de sada excedido. 12 - Permitir problema de parmetro de sada. 13 - Permitir solicitao de carimbo de data/hora de entrada. 17 - Permitir solicitao de mscara de entrada. ALL - Todos os tipos. mode - Modo ICMP (opcional). ENABLE - Permitir pelo firewall (padro). DISABLE - No permitir pelo firewall. profile - Perfil de configurao (opcional). CURRENT - O perfil atual (padro). DOMAIN - Perfil do domnio. STANDARD - Perfil padro. ALL - Todos os perfis. interface - Nome da interface (opcional). Observaes: 'profile' e 'interface' no podem ser especificados simultaneamen te. 'type' 2 e 'interface' no podem ser especificados simultaneamente. Exemplos: set icmpsetting 8 set icmpsetting 8 ENABLE set icmpsetting ALL DISABLE set icmpsetting type = 8 set icmpsetting type = 8 mode = ENABLE set icmpsetting type = ALL mode = DISABLE [AYIYA-start] : Anything in Anything (draft-02) [AYIYA-tun->tundev] : (Socket to TUN) started
Despite having presented this success message, the interface get no IPv6 address, only a invalid IPv4 starting with 169.254... Should be noted that with the old and discontinued GUI client I was able to use SixXS perfectly. Also can't be a network problem since aiccu works properly in Linux, which I use in dual boot with already cited Windows XP.
Current AiCCU console for Windows calls invalid commands
[ch] Jeroen Massar SixXS Staff on Thursday, 26 December 2013 15:33:53
aiccu_os_exec("netsh set interface "IPv6" mtu=1428")
That is wrong (read: bug) in AICCU, should be "netsh int ipv6 set"
aiccu_os_exec("netsh firewall set icmpsetting IPv6 enable all")
Strange, this is already fixed in the source. I'll see if I can kick out a new version in the next week or so that fixes these two.
Despite having presented this success message, the interface get no IPv6 address, only a invalid IPv4 starting with 169.254...
169.254.0.0/16 are valid local IPv4 addresses used when there is no DHCP on that interface. Please check that IPv6 is actually enabled on the interface (though from the netsh commands it looks like that is the case.) I can only suggest that you destroy the Tun/tap interface and do a:
netsh int ipv6 reset
then reboot, and try again. Try calling the interface 'aiccu' in the aiccu.conf, maybe the use of the word 'IPv6' as a interface name is confusing netsh.
Current AiCCU console for Windows calls invalid commands Private
[br] Shadow Hawkins on Thursday, 26 December 2013 20:37:06
> aiccu_os_exec("netsh set interface "IPv6" mtu=1428") That is wrong (read: bug) in AICCU, should be "netsh int ipv6 set"
Do I earn ISK by dicovering this bug as said at 'Extra Credits' section in Credits FAQ? :D
Please check that IPv6 is actually enabled on the interface (though from the netsh commands it looks like that is the case.)
It was enabled. I tried to reinstall it, but does not solves the problem.
I can only suggest that you destroy the Tun/tap interface and do a:
netsh int ipv6 reset
then reboot, and try again.
I did it with no result.
Try calling the interface 'aiccu' in the aiccu.conf, maybe the use of the word 'IPv6' as a interface name is confusing netsh.
Isn't this the problem. Problem persists after renaming interface to 'aiccu'.

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker