LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IPv6 packet generation tool (https://www.linuxquestions.org/questions/linux-networking-3/ipv6-packet-generation-tool-4175562449/)

saravannah 12-27-2015 09:52 AM

IPv6 packet generation tool
 
Is there any tool similar to Hping(ipv4) for generating Ipv6 packets?
I want to frame a packet with certain flags set.I want to generate multiple fragments of this IPv6 packet.For ipv4,hping is a great tool with"-f" option you can generate fragments from the source. But it doesn't support IPV6.I want a similar tool to generate multiple fragments of a IPV6 packet.I have used sendip, but it can be used to send only one packet with fragment extension header(only one fragment).And if I send packet with size greater than MTU, it throws an error" Message too long".Is there any tool whcih can be used to send multiple Ipv6 fragments?
Thanks,
SJ.

TB0ne 12-27-2015 04:17 PM

Quote:

Originally Posted by saravannah (Post 5469510)
Is there any tool similar to Hping(ipv4) for generating Ipv6 packets?

Read the "Question Guidelines" link in my posting signature..please do basic research before posting a question.

A brief Google search turns up iperf, scapy, nping, sendip, and scapy, among MANY others.

saravannah 12-27-2015 07:26 PM

Sorry for the inadequate information.hping can be used to send multiple fragments of a packet and it doesn't support ipv6.I have used sendip tool which sends only one ipv6 fragment.If I try to send with packet size more than MTU,an error is thrown saying "Message too long". Reg. Iperf tool,we use it mainly for performance testing.With nping also,I can't send ipv6 fragments.I haven't tried scapy.Lemme change my question and sorry for that.
"Is there a tool to generate multiple Ipv6 fragments of a packet?"

saravannah 01-05-2016 11:53 PM

Scapy works smooth and clean. It is easy to use.Thanks.


All times are GMT -5. The time now is 12:35 AM.