On Tue, Feb 08, 2005 at 02:12:56PM +0200, Miika Komu wrote: > On Mon, 7 Feb 2005, [iso-8859-15] Irene Garc=EDa Vargas wrote: > > > Using hostname: ksat92 No key file given, use default HIT is > > 6844:bf2e:e1c:a50a:d83e:1a9a:2342:b9 Initiator mode nc6: connect to > > 2001:638:202:111:230:1bff:fead:db46 12345 from > > 2001:638:202:111:204:76ff:fe97:9d77 32768 > > You see the address above? It is an IPv6 address, not an HIT (see below > for an explanation). I don't know why. > Uhm... I will copy the /etc/hosts and hope there is simple something wrong there.. :D ksat77:/home/igvargas/hipl--main--2.6/test# cat /etc/hosts 127.0.0.1 localhost.localdomain 129.143.67.120 ksat92.rus.uni-stuttgart.de ksat92 129.143.67.114 ksat77.rus.uni-stuttgart.de ksat77 2001:638:202:111:230:1bff:fead:db46 ksat77.rus.uni-stuttgart.de ksat77 2001:638:202:111:204:76ff:fe97:9d77 ksat92.rus.uni-stuttgart.de ksat92 2001:638:202:111:204:75ff:fe7d:b33f ksat24.rus.uni-stuttgart.de ksat24 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts ksat92:/home/igvargas/hipl--main--2.6/test# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost 129.143.67.120 ksat92.rus.uni-stuttgart.de ksat92 129.143.67.114 ksat77.rus.uni-stuttgart.de ksat77 2001:638:202:111:204:76ff:fe97:9d77 ksat92.rus.uni-stuttgart.de ksat92 2001:638:202:111:230:1bff:fead:db46 ksat77.rus.uni-stuttgart.de ksat77 2001:638:202:111:204:75ff:fe7d:b33f ksat24.rus.uni-stuttgart.de ksat24 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts > > > Can you copy-paste the contents of "/etc/hip/hosts" as it is (without a= > ny > > > modifications)? Thanks. > > > > ksat92:/home/igvargas/hipl--main--2.6/test# cat /etc/hip/hosts > > 5b30:cb0e:14e6:1942:992f:552e:0fb7:1338 ksat77.rus.uni-stuttgart.de > > 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 ksat92.rus.uni-stuttgart.de > > ksat92:/home/igvargas/hipl--main--2.6/test# > > > > > > ksat77:/home/igvargas/hipl--main--2.6/test# cat /etc/hip/hosts > > 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 ksat92.rus.uni-stuttgart.de > > 5b30:cb0e:14e6:1942:992f:552e:0fb7:1338 ksat77.rus.uni-stuttgart.de > > ksat77:/home/igvargas/hipl--main--2.6/test# > > And /etc/hosts on both hosts? *****output in ksat92***** make: Leaving directory `/home/igvargas/hipl--main--2.6/linux' insmod /lib/modules/2.6.9/kernel/net/ipv6/hip/hipmod.ko Using hostname: ksat92 No key file given, use default HIT is 6844:bf2e:e1c:a50a:d83e:1a9a:2342:b9 Responder mode nc6: bind to source :: 12345 failed: Address already in use nc6: listening on 0.0.0.0 12345 ... *****output in ksat77***** if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9; fi make: Leaving directory `/home/igvargas/hipl--main--2.6/linux' insmod /lib/modules/2.6.9/kernel/net/ipv6/hip/hipmod.ko Using hostname: ksat77 No key file given, use default HIT is 5b30:cb0e:14e6:1942:992f:552e:fb7:1338 Initiator mode Connecting to peer host ksat92.rus.uni-stuttgart.de Input some text, press enter and ctrl+d Trying to connect to 6844:bf2e:e1c:a50a:d83e:1a9a:2342:b9 trying next failed to connect ### HIP BASE EXCHANGE FAILED !!! #### ksat77:/home/igvargas/hipl--main--2.6/test# > And /proc/net/hip/sdb_peer_addr on both hosts? ksat77:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_state state hastate refcnt peer_controls hit_our hit_peer default_spi_out lsi_our lsi_peer esp_transform birthday keymat_index keymat_calc_index update_id_in update_id_out dh_len UNASSOCIATED 0x2 2 0x0 5b30:cb0e:14e6:1942:992f:552e:0fb7:1338 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 0x00000000 0x00000000 0x00000000 none/reserved 0x0 0 0 0 0 0 ksat77:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_peer_addrs HIT 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 SPI 0x0 2001:0638:0202:0111:0204:76ff:fe97:9d77 ksat92:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_state state hastate refcnt peer_controls hit_our hit_peer default_spi_out lsi_our lsi_peer esp_transform birthday keymat_index keymat_calc_index update_id_in update_id_out dh_len ksat92:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_peer_addrs ksat92:/home/igvargas/hipl--main--2.6/test# I tried removing the "tab"-> space and removing also all the "alias" ksat92 and ksat77 in the /etc/hosts ksat92:/home/igvargas/hipl--main--2.6/test# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost 129.143.67.120 ksat92.rus.uni-stuttgart.de 129.143.67.114 ksat77.rus.uni-stuttgart.de 2001:638:202:111:204:76ff:fe97:9d77 ksat92.rus.uni-stuttgart.de 2001:638:202:111:230:1bff:fead:db46 ksat77.rus.uni-stuttgart.de #2001:638:202:111:204:75ff:fe7d:b33f ksat24.rus.uni-stuttgart.de # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts ksat77:/home/igvargas/hipl--main--2.6/test# cat /etc/hosts 127.0.0.1 localhost.localdomain 129.143.67.120 ksat92.rus.uni-stuttgart.de 129.143.67.114 ksat77.rus.uni-stuttgart.de 2001:638:202:111:230:1bff:fead:db46 ksat77.rus.uni-stuttgart.de 2001:638:202:111:204:76ff:fe97:9d77 ksat92.rus.uni-stuttgart.de 2001:638:202:111:204:75ff:fe7d:b33f ksat24.rus.uni-stuttgart.de # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts The output that I got this time was: make: Leaving directory `/home/igvargas/hipl--main--2.6/linux' insmod /lib/modules/2.6.9/kernel/net/ipv6/hip/hipmod.ko Using hostname: ksat92 No key file given, use default HIT is 6844:bf2e:e1c:a50a:d83e:1a9a:2342:b9 Responder mode nc6: listening on :: 12345 ... nc6: listening on 0.0.0.0 12345 ... ...... insmod /lib/modules/2.6.9/kernel/net/ipv6/hip/hipmod.ko Using hostname: ksat77 No key file given, use default HIT is 5b30:cb0e:14e6:1942:992f:552e:fb7:1338 Initiator mode Connecting to peer host ksat92.rus.uni-stuttgart.de Input some text, press enter and ctrl+d Trying to connect to 6844:bf2e:e1c:a50a:d83e:1a9a:2342:b9 trying next failed to connect ### HIP BASE EXCHANGE FAILED !!! #### ksat77:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_peer_addrs HIT 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 SPI 0x0 2001:0638:0202:0111:0204:76ff:fe97:9d77 ksat77:/home/igvargas/hipl--main--2.6/test# cat /proc/net/hip/sdb_state state hastate refcnt peer_controls hit_our hit_peer default_spi_out lsi_our lsi_peer esp_transform birthday keymat_index keymat_calc_index update_id_in update_id_out dh_len UNASSOCIATED 0x2 2 0x0 5b30:cb0e:14e6:1942:992f:552e:0fb7:1338 6844:bf2e:0e1c:a50a:d83e:1a9a:2342:00b9 0x00000000 0x00000000 0x00000000 none/reserved 0x0 0 0 0 0 0 (In ksat92, sdb_state and peer_addrs are empty :_( On the other hand,if I try with the "one-line" command, then, without the aliase in /etc/hosts the responder cannŽt find the "service": ksat77:/home/igvargas/hipl--main--2.6/test# cat /etc/hostname ksat77 ksat92:/home/igvargas/hipl--main--2.6/test# ./hipsetup -m -d /home/igvargas/hipl--main--2.6 -s ksat77.rus.uni-stuttgart.de ....... make: Leaving directory `/home/igvargas/hipl--main--2.6/linux' insmod /lib/modules/2.6.9/kernel/net/ipv6/hip/hipmod.ko Using hostname: ksat77 No key file given, use default HIT is 5b30:cb0e:14e6:1942:992f:552e:fb7:1338 Initiator mode Connecting to peer host ksat92 GAI ERROR -2: Name or service not known Maybe It is trying with the hostname,and not with the "whole" name? ksat92:/home/igvargas/hipl--main--2.6/test# cat /etc/hostname ksat92 I hope this help finding what it is wrong! Best regards, Irene