Hi,
Did you check the state of all sockets?
$ netstat -an | grep \*.7
tcp6 0 0 *.7 *.* LISTEN
tcp4 0 0 *.7 *.* LISTEN
udp4 0 0 *.7 *.*
udp6 0 0 *.7 *.*
If your device listen at another port, you need to change SourcePort or DestinationPort in the packet define file.
regards,
________________________________
From: Lobo, Praveen Rajesh (STSD) [mailto:praveen.rajesh-lobo@hp.com]
Sent: 2005/10/03 (月) 21:28
To: users@tahi.org
Subject: [users:00136] Re: Problem with IPsec-udp (IPV6)
Hi,
I tried enabling UDP echo, by editing /etc/inetd.conf file.
Also I have restarted my inetd daemon by issuing /etc/init.d/inetd restart.
Still it didn’t work for me. Do I need to do any other configurations to make the kernel to listen on Echo port 7 (udp)?
Here is the listings of /etc/inetd.conffile.
NUT#cat /etc/inetd.conf
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
echo stream tcp nowait root internal
echo dgram udp wait root internal
echo dgram udp6 wait root internal
echo stream tcp6 nowait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
NUT# /etc/init.d/restart
Restarting internet superserver: inetd.
Thanks,
Praveen
-----Original Message-----
From: Nobumichi.Ozoe@jp.yokogawa.com [mailto:Nobumichi.Ozoe@jp.yokogawa.com]
Sent: Sunday, October 02, 2005 6:59 AM
To: users@tahi.org; users@tahi.org
Subject: [users:00134] Re: Problem with IPsec-udp (IPV6)
Hi Praveen,
No, there is no problem in the test of UDP of IPsec.
It is because NUT doesn't listen Echo port 7 used with UDP.
Best regards,
________________________________
From: Lobo, Praveen Rajesh (STSD) [mailto:praveen.rajesh-lobo@hp.com]
Sent: 2005/10/01 (土) 20:15
To: users@tahi.org
Subject: [users:00133] Problem with IPsec-udp (IPV6)
HI,
I am running IPsec-udp (Ipv6) related test cases using Tahi test tool but all the test cases are failing.
But test cases related to ipsec , Ipsec4, ipsec4-udp are passing significantly in number.
For ipsec-udp related test cases , I have observed in packet reverse log "destination unreachable " , but I am wondering why is it so. Also I checked ping6 , I am able to ping6 both the machines i.e. TN and NUT.
I have also attached Packet Reverse log info along with this mail for the first test case in ipsec-udp.
I am using debian-linux (2.6-10) as NUT and Freebsd 5.4 as TN.
Let me know how to solve this problem. ?
NUT eth2 inet6 address: fe80::212:79ff:fe9e:49b8/64
TN bge0 inet6 address: fe80::20e:7fff:fe29:811d/64
Here is the tcpdump info [NUT side) [
16:36:50.898456 fe80::200:ff:fe00:a0a0 > ip6-allnodes: icmp6: router advertisement
16:36:51.262811 :: > ff02::1:ff9e:49b8: icmp6: neighbor sol: who has 3ffe:501:ffff:ff03:212:79ff:fe9e:49b8
16:37:00.934135 3ffe:501:ffff:ff03:200:ff:fe00:a0a0.10000 > 3ffe:501:ffff:ff03:212:79ff:fe9e:49b8 .echo: UDP, length: 8
16:37:00.934722 3ffe:501:ffff:ff03:212:79ff:fe9e:49b8 > ff02::1:ff00:a0a0: icmp6: neighbor sol: who has 3ffe:501:ffff:ff03:200:ff:fe00:a0a0
16:37:01.009712 3ffe:501:ffff:ff03:200:ff:fe00:a0a0 > 3ffe:501:ffff:ff03:212:79ff:fe9e:49b8: icmp6: neighbor adv: tgt is 3ffe:501:ffff:ff03:200:ff:fe00:a0a0
16:37:01.009722 3ffe:501:ffff:ff03:212:79ff:fe9e:49b8 > 3ffe:501:ffff:ff03:200:ff:fe00:a0a0: [icmp6]
Thanks,
Praveen