[Ntop-dev] pf_ring ipv6 patch
Hitoshi Irino
irino at sfc.wide.ad.jp
Sat Sep 13 19:52:39 CEST 2008
Hello Luca, and all developers,
I made a IPv6 patch for PF_RING. I tested on ubuntu 8.04.
This patch works, like this:
----------------------------------------
$ ping6 ff02::1%eth0 &
PING ff02::1%eth0(ff02::1) 56 data bytes
64 bytes from fe80::220:edff:fe31:8afa: icmp_seq=1 ttl=64 time=0.145 ms
[snip]
$ sudo /usr/src/PF_RING/userland/examples/pfcount -v > out.txt
$ grep ff02 out.txt | head
[eth_type=0x86DD][l3_proto=58][fe80:0000:0000:0000:0220:edff:fe31:8afa:0
-> ff02:0000:0000:0000:0000:0000:0000:0001:0] 01:46:22.765428
[00:20:ED:31:8A:FA -> 33:33:00:00:00:01]
[eth_type=0x86DD][tos=0][tcp_flags=0][caplen=118][len=118][parsed_header_len=0][eth_offset=0][l3_offset=14][l4_offset=0][payload_offset=0]
[eth_type=0x86DD][l3_proto=58][fe80:0000:0000:0000:0220:edff:fe31:8afa:0
-> ff02:0000:0000:0000:0000:0000:0000:0001:0] 01:46:22.765423
[00:20:ED:31:8A:FA -> 33:33:00:00:00:01]
[eth_type=0x86DD][tos=0][tcp_flags=0][caplen=118][len=118][parsed_header_len=0][eth_offset=14][l3_offset=0][l4_offset=0][payload_offset=0]
[snip]
----------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PF_RING_v6.patch
Url: http://listgateway.unipi.it/pipermail/ntop-dev/attachments/20080914/9d267373/attachment-0001.ksh
More information about the Ntop-dev
mailing list