LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-27-2015, 10:52 AM   #1
saravannah
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Rep: Reputation: Disabled
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.

Last edited by saravannah; 12-27-2015 at 09:34 PM.
 
Old 12-27-2015, 05:17 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,460

Rep: Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933Reputation: 7933
Quote:
Originally Posted by saravannah View Post
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.
 
Old 12-27-2015, 08:26 PM   #3
saravannah
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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?"
 
Old 01-06-2016, 12:53 AM   #4
saravannah
LQ Newbie
 
Registered: Dec 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Scapy works smooth and clean. It is easy to use.Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unusual Packet Generation linx444 Linux - Security 6 07-02-2012 05:13 AM
Packet Generation in the Kernel chandrub2w Linux - Networking 1 07-14-2011 03:25 PM
IP packet generation mailanantgarg Linux - Newbie 3 05-13-2009 12:57 PM
ARP Packet Generation chus_84 Linux - Kernel 1 02-11-2008 02:42 PM
network programming-packet generation sonika_singhi Linux - Networking 3 11-02-2004 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration