- 1. socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: xxxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 13:17:47 +0100 (CET)
- I've found, that on my system (2.2.22) RAW sockets for IPv6 works different than for IPv4. When I create socket like: interfaceSocket = socket(PF_INET, SOCK_RAW, IPPROTO_ICMP); I receive ICMPv4 pack
- /archives/netdev/2003-03/msg00106.html (7,986 bytes)
- 2. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: @xxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 21:39:03 +0900 (JST)
- It is because of the specification (RFC2292). There're no portable way to send/receive whole packet including IPv6 header (and possible extension header(s)). It is an error of that manpage. -- Hideak
- /archives/netdev/2003-03/msg00107.html (9,111 bytes)
- 3. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: oshfuji@xxxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 13:51:53 +0100 (CET)
- On Wed, 12 Mar 2003, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@ (B OK. Is there simplier method of obtaining source and destaination address of icmp packet (the only informations I need from ipv6
- /archives/netdev/2003-03/msg00108.html (8,203 bytes)
- 4. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: i <maxiu@xxxxxxxxxxxxx>
- Date: Thu, 13 Mar 2003 00:33:41 +0900 (JST)
- No; recvmsg() and IPV6_PKTINFO socket options is the SIMPLE way for obtaining source and destination address. --yoshfuji
- /archives/netdev/2003-03/msg00109.html (8,646 bytes)
- 5. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: arag Sharma" <ps41@xxxxxxxxxxx>
- Date: Thu, 13 Mar 2003 11:40:55 +0100 (CET)
- OK, it works very well, but is there a way which is common to IPv4 and IPv6 to get ICMP packets? Obtaining addresses is common to both protocols, but now I get IP header + ICMP header from IPv4 socke
- /archives/netdev/2003-03/msg00111.html (8,317 bytes)
- 6. socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: Marcin Kaminski <maxiu@xxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 13:17:47 +0100 (CET)
- Hi I've found, that on my system (2.2.22) RAW sockets for IPv6 works different than for IPv4. When I create socket like: interfaceSocket = socket(PF_INET, SOCK_RAW, IPPROTO_ICMP); I receive ICMPv4 pa
- /archives/netdev/2003-03/msg00361.html (7,986 bytes)
- 7. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: YOSHIFUJI Hideaki / <yoshfuji@xxxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 21:39:03 +0900 (JST)
- It is because of the specification (RFC2292). There're no portable way to send/receive whole packet including IPv6 header (and possible extension header(s)). It is an error of that manpage. -- Hideak
- /archives/netdev/2003-03/msg00362.html (9,207 bytes)
- 8. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: Marcin Kaminski <maxiu@xxxxxxxxxxxxx>
- Date: Wed, 12 Mar 2003 13:51:53 +0100 (CET)
- On Wed, 12 Mar 2003, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@ (B wrote: OK. Is there simplier method of obtaining source and destaination address of icmp packet (the only informations I need from
- /archives/netdev/2003-03/msg00363.html (8,244 bytes)
- 9. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: YOSHIFUJI Hideaki / <yoshfuji@xxxxxxxxxxxxxx>
- Date: Thu, 13 Mar 2003 00:33:41 +0900 (JST)
- No; recvmsg() and IPV6_PKTINFO socket options is the SIMPLE way for obtaining source and destination address. --yoshfuji
- /archives/netdev/2003-03/msg00364.html (8,783 bytes)
- 10. Re: socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) (score: 1)
- Author: Marcin Kaminski <maxiu@xxxxxxxxxxxxx>
- Date: Thu, 13 Mar 2003 11:40:55 +0100 (CET)
- OK, it works very well, but is there a way which is common to IPv4 and IPv6 to get ICMP packets? Obtaining addresses is common to both protocols, but now I get IP header + ICMP header from IPv4 socke
- /archives/netdev/2003-03/msg00366.html (8,358 bytes)
This search system is powered by
Namazu