how to create ipv6 packet with fragment information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all:
    I know netwox and nemesis are very good network packet injection
utilities. I can use them to create an ip packet with fragment information
easily, for example:
        netwox 39 -l "127.0.0.1" -m "127.0.0.1" -e 1111 -j 225 -h -i 0 -q
"1100110011001100"
    and output is:
        IP___________________________________.
        |version|  ihl  |      tos      |            totlen              |
        |__4__|_5__|_0x00=0_|_0x0024=36_______|
        |              id               |r|D|M|       offsetfrag        |
        |_0x0457=1111____|0|0|1|___0x0000=0____|
        |        ttl          |   protocol     |           checksum  |
        |_0xE1=225_|__0x11=17__|_0xB76F______|
        |                            source                                |
        |_____________127.0.0.1___________ ___|
        |                          destination                           |
        |_____________127.0.0.1______________|
        UDP________________________________.
        |          source port          |       destination port     |
        |______0x04D2=1234_|_____0x0050=80____|
        |            length             |           checksum            |
        |______0x0010=16__|____0xB8A9=47273__|
        11 00 11 00  11 00 11 00                            # ........

    with '-h' and '-i' option, I can specify this is an ip fragment and it's
offset is 0, but when I want to create an ipv6 packet with fragment
information, I meet some trouble. It seems that no matter netwox or nemesis,
it can not create this kind of ipv6 packet.
    Do you know how to create ipv6 packet with fragment information? Can you
help me?

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux