Dear Aaron,

This is regarding conversion of various DLT types into ethernet (Layer 2)

can you also guide us in the PPP & Frame Relay packets conversion to
ethernet ? (various type of PPP)
Do we proceed ahead in the same manner as we did for HDLC.

Regards

Vikas Sharma
On Mon, Sep 13, 2010 at 11:40 AM, Aaron Turner <synfina...@gmail.com> wrote:

> Yes, you need to do that.  I was just showing you an example of
> specifying the source / destination MAC addresses.
>
> I suggest after rewriting you open the pcap in Wireshark and take a
> look at the packets to make sure it does what you expect and play
> around with different options and see what they do.  Explore and try
> things out.
>
> On Sun, Sep 12, 2010 at 9:20 PM, Vikas Sharma <vsh...@gmail.com> wrote:
> > Dear Aaron,
> >
> > we do not need to specify the DLT ?
> >
> > tcprewrite --dlt=enet --enet-dmac=00:55:22:AF:C6:37
> > --enet-smac=00:44:66:FC:29:AF
> > --infile=input.pcap --outfile=output.pcap
> >
> > Pleae clarify
> >
> > Regards
> >
> > Vikas Sharma
> >
> > On Mon, Sep 13, 2010 at 2:38 AM, Aaron Turner <synfina...@gmail.com>
> wrote:
> >>
> >> Per the documentation:
> >> http://tcpreplay.synfin.net/wiki/tcprewrite#RewritingLayer2
> >>
> >> tcprewrite --enet-dmac=00:55:22:AF:C6:37 --enet-smac=00:44:66:FC:29:AF
> >> --infile=input.pcap --outfile=output.pcap
> >>
> >> You need to specify both source and destination MAC since Cisco HDLC
> >> has neither.
> >>
> >> On Sun, Sep 12, 2010 at 12:51 PM, Vikas Sharma <vsh...@gmail.com>
> wrote:
> >> > Dear Aaron,
> >> >
> >> > Referring to your prompt response, please clarify. Which MAC addresses
> >> > (src
> >> > / dst) ?
> >> >
> >> > Can you please give me an example command ?
> >> >
> >> > Regards
> >> > Vikas
> >> >
> >> > On Sun, Sep 12, 2010 at 11:20 PM, Aaron Turner <synfina...@gmail.com>
> >> > wrote:
> >> >>
> >> >> Actually, it's asking you for MAC addresses.  Cisco HDLC does not
> have
> >> >> this information in the header and they are required for Ethernet.
>  In
> >> >> your case, I recommend you just make them up- any valid MAC address
> >> >> will work.
> >> >>
> >> >> On Sun, Sep 12, 2010 at 4:58 AM, Vikas Sharma <vsh...@gmail.com>
> wrote:
> >> >> > Dear Mr. Aaron Turner,
> >> >> >
> >> >> >
> >> >> >
> >> >> > My company is into security systems and had received a few
> CiscoHDLC
> >> >> > pcap
> >> >> > files (of 85 MBs each).
> >> >> >
> >> >> >
> >> >> >
> >> >> > Our software can only read only Ethernet packets and accordingly we
> >> >> > tried to
> >> >> > convert the CiscoHDLC pcap files into Ethernet (DLT) by using
> >> >> >
> >> >> >
> >> >> >
> >> >> > tcprewrite –dlt=enet --infile=input.pcap --outfile=output.pcap
> >> >> >
> >> >> >
> >> >> >
> >> >> > However the system (Ubuntu Lucid) asks for the source IP address
> and
> >> >> > we
> >> >> > are
> >> >> > not able to provide that since that is not known to us (these are
> >> >> > pcap
> >> >> > files
> >> >> > captured by an Endace DAG card on an OC3, STM line).
> >> >> >
> >> >> >
> >> >> >
> >> >> > Please suggest a way to convert CiscoHDLC pcap files into Ethernet
> >> >> > pcap
> >> >> > files.
> >> >> >
> >> >> >
> >> >> >
> >> >> > I have enclosed the protocol stack of the CiscoHDLC pcap file along
> >> >> > with
> >> >> > this email
> >> >> >
> >> >> > I await your response,
> >> >> >
> >> >> >
> >> >> >
> >> >> > Regards
> >> >> >
> >> >> >
> >> >> >
> >> >> > Vikas Sharma
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> ------------------------------------------------------------------------------
> >> >> > Start uncovering the many advantages of virtual appliances
> >> >> > and start using them to simplify application deployment and
> >> >> > accelerate your shift to cloud computing
> >> >> > http://p.sf.net/sfu/novell-sfdev2dev
> >> >> >
> >> >> > _______________________________________________
> >> >> > 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
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Aaron Turner
> >> >> http://synfin.net/         Twitter: @synfinatic
> >> >> http://tcpreplay.synfin.net/ - Pcap editing and replay tools for
> Unix &
> >> >> Windows
> >> >> Those who would give up essential Liberty, to purchase a little
> >> >> temporary
> >> >> Safety, deserve neither Liberty nor Safety.
> >> >>     -- Benjamin Franklin
> >> >> "carpe diem quam minimum credula postero"
> >> >>
> >> >>
> >> >>
> >> >>
> ------------------------------------------------------------------------------
> >> >> Start uncovering the many advantages of virtual appliances
> >> >> and start using them to simplify application deployment and
> >> >> accelerate your shift to cloud computing
> >> >> http://p.sf.net/sfu/novell-sfdev2dev
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > Start uncovering the many advantages of virtual appliances
> >> > and start using them to simplify application deployment and
> >> > accelerate your shift to cloud computing
> >> > http://p.sf.net/sfu/novell-sfdev2dev
> >> >
> >> > _______________________________________________
> >> > 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
> >> >
> >>
> >>
> >>
> >> --
> >> Aaron Turner
> >> http://synfin.net/         Twitter: @synfinatic
> >> http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix &
> >> Windows
> >> Those who would give up essential Liberty, to purchase a little
> temporary
> >> Safety, deserve neither Liberty nor Safety.
> >>     -- Benjamin Franklin
> >> "carpe diem quam minimum credula postero"
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Start uncovering the many advantages of virtual appliances
> >> and start using them to simplify application deployment and
> >> accelerate your shift to cloud computing
> >> http://p.sf.net/sfu/novell-sfdev2dev
> >> _______________________________________________
> >> 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
> >
> >
> >
> ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing
> > http://p.sf.net/sfu/novell-sfdev2dev
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> Aaron Turner
> http://synfin.net/         Twitter: @synfinatic
> http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix &
> Windows
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
>     -- Benjamin Franklin
> "carpe diem quam minimum credula postero"
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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

Reply via email to