On Wed, Oct 13, 2010 at 1:42 PM, Vikas Sharma <[email protected]> wrote: > no. but I can give you the structure. > > please note however the pcap strcuture > > > DLT_PPP_SERIAL : PPP in HDLC-like framing, as per RFC 1662, or Cisco PPP > with HDLC framing, as per section 4.3.1 of RFC 1547; the first byte will be > 0xFF for PPP in HDLC-like framing, and will be 0x0F or 0x8F for Cisco PPP > with HDLC framing. > > Regards > > Vikas Sharma
Without at pcap, it's much harder and more work to develop a plugin and I can't test the code or include a unit test to check that I don't break the decoder in the future. Generally speaking there is very little chance of me personally writing a DLT plugin without having a pcap. Regards, Aaron > > On Thu, Oct 14, 2010 at 1:22 AM, Aaron Turner <[email protected]> wrote: >> >> On Wed, Oct 13, 2010 at 12:25 PM, Vikas Sharma <[email protected]> wrote: >> > Dear Aaron, >> > >> > Actually we need to find a convertor for PPP_SERIAL (HDLC) To ETHERNET >> >> Do you have a sample pcap? >> >> > Regards >> > Vikas Sharma >> > On Thu, Oct 14, 2010 at 12:45 AM, Vikas Sharma <[email protected]> wrote: >> >> >> >> Dear Aaron, >> >> >> >> our issue is that we can only read ethernet data within our >> >> application. >> >> >> >> PPP and Frame Relay packets can be converted into ethernet ? Any type >> >> DLT_PPP could an example. But if we are rewriting layer 2, would not >> >> the PPP >> >> packets get rwritten into enet ? >> >> >> >> Regards >> >> >> >> Vikas sharma >> >> >> >> On Wed, Oct 13, 2010 at 11:56 PM, Aaron Turner <[email protected]> >> >> wrote: >> >>> >> >>> On Wed, Oct 13, 2010 at 8:13 AM, Vikas Sharma <[email protected]> >> >>> wrote: >> >>> > 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 >> >>> >> >>> Actually, I think you're the first person to request PPP/FR >> >>> conversion, and currently it's not supported. A list of supported DLT >> >>> types an be found here on the wiki: >> >>> >> >>> http://tcpreplay.synfin.net/wiki/tcprewrite#RewritingLayer2 >> >>> >> >>> Anyways, which PPP and Frame Relay DLT's are you referring to exactly? >> >>> I'm reading the pcap/bpf.h header and there appears to be quite a few >> >>> PPP and Frame Relay types. If you can provide sample pcap files, I'll >> >>> be happy to open tickets and see about working on them in the future >> >>> when I have time. >> >>> >> >>> If someone at your company is interested in contributing a PPP/FR DLT >> >>> decoder (not sure how easy it would be, but point-to-point >> >>> encapsulation tends to be easier to handle) they can read the DLT >> >>> plugin developer documentation here: >> >>> >> >>> http://tcpreplay.synfin.net/wiki/tcpeditDeveloper >> >>> >> >>> I'm happy to answer any questions they might have. >> >>> >> >>> Regards, >> >>> Aaron >> >>> >> >>> P.S. In the future, please start a new thread when changing the topic. >> >>> It helps others who are looking for answers when they search/browse >> >>> the email archives. Thanks! >> >>> >> >>> >> >>> -- >> >>> 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" >> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> 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 >> >>> [email protected] >> >>> 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 >> > [email protected] >> > 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" >> >> >> ------------------------------------------------------------------------------ >> 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 >> [email protected] >> 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 > [email protected] > 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" ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
