Hi All,
I want to edit the ether-type filed in a pcap file to user defined value.
By default the ether-type will have the value 0x800 (in hex) for ip. Now i
want to change let say 0x8809 (for slow protocol) or 0x0806 (for ARP).
Can some one let me know how can i edit this and replay new packet with
this new value of ether-type.
Regards
Raj
On Thu, Feb 20, 2014 at 12:01 PM, Aaron Turner <synfina...@gmail.com> wrote:
> Suggestion: choose a subject line which is somewhat relevant to the
> question. :)
>
> Beyond that, you'll have to provide more information. Sorry, but I
> don't really understand the question.
> --
> Aaron Turner
> http://synfin.net/ Twitter: @synfinatic
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
> -- Benjamin Franklin
>
>
> On Thu, Feb 20, 2014 at 5:57 AM, Rajkumar Tiwari <tiwari.ra...@gmail.com>
> wrote:
> > Hi All,
> >
> > can someone let me know how i can modify packet using tcprewrite for
> layer 2
> > protocol. I want to modify protocol type field under layer to header.
> > eg. IP the valye will be: 0x800
> > ARP: 0x806
> >
> >
> >
> >
> >
> >
> > On Thu, Feb 20, 2014 at 11:17 AM,
> > <tcpreplay-users-requ...@lists.sourceforge.net> wrote:
> >>
> >> Welcome to the Tcpreplay-users@lists.sourceforge.net mailing list!
> >> Hello!
> >>
> >> Thank you for joining the tcpreplay-users list. I hope you find the
> >> list a useful resource for all your Tcpreplay related questions.
> >>
> >> Before you post your first question on the list, please read
> >> http://tcpreplay.synfin.net/trac/wiki/Support which covers how to ask
> >> questions and what kind of information is required to help you.
> >>
> >> Also, please note that you are responsible for any information posted
> >> to the tcpreplay-users list. If you post confidential information
> >> such as pcaps or IP addresses it will go out to all list members and
> >> made available indefinitely in the list archives. The list
> >> administrators have no means to remove or edit posts in the archives.
> >>
> >> Lastly, I can only help you if you help me. Occasionally people are
> >> testing some kind of top secret device with tcpreplay and can't tell
> >> me how it works or what it does, but expect me to help them figure out
> >> why it can't see the traffic tcpreplay sends. Sorry, but that's like
> >> asking your car mechanic to fix your car, but you won't let them look
> >> at it because you've come up with a perpetual motion machine and don't
> >> want them to discover your secret.
> >>
> >> To post to this list, send your email to:
> >>
> >> tcpreplay-users@lists.sourceforge.net
> >>
> >> General information about the mailing list is at:
> >>
> >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> >>
> >> If you ever want to unsubscribe or change your options (eg, switch to
> >> or from digest mode, change your password, etc.), visit your
> >> subscription page at:
> >>
> >>
> >>
> https://lists.sourceforge.net/lists/options/tcpreplay-users/tiwari.raj06%40gmail.com
> >>
> >>
> >> You can also make such adjustments via email by sending a message to:
> >>
> >> tcpreplay-users-requ...@lists.sourceforge.net
> >>
> >> with the word `help' in the subject or body (don't include the
> >> quotes), and you will get back a message with instructions.
> >>
> >> You must know your password to change your options (including changing
> >> the password, itself) or to unsubscribe. It is:
> >>
> >> tarainfocom
> >>
> >> Normally, Mailman will remind you of your lists.sourceforge.net
> >> mailing list passwords once every month, although you can disable this
> >> if you prefer. This reminder will also include instructions on how to
> >> unsubscribe or change your account options. There is also a button on
> >> your options page that will email your current password to you.
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Tcpreplay-users mailing list
> > Tcpreplay-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Tcpreplay-users mailing list
> Tcpreplay-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support