Yeah, 104 is the DLT of HDLC. It is a bug in my code (passing the wrong DLT to the validation function), but I can't actually get the different DLT to stick to the output pcap either. So even fixing my bug, it's still broken. :(
Anyways, I've got a email into the libpcap developers so hopefully I'll get an answer soon. I'm going on vacation Thu-Sun during which I plan on avoiding computers as much as possible. So chances are beta12 won't be out until mid next week at the earliest. -Aaron On 8/8/06, Roy S. Rapoport <[EMAIL PROTECTED]> wrote: > On Tue, Aug 08, 2006 at 05:09:10PM -0700, Aaron Turner wrote: > > Hmmm... libpcap's pcap_open_dead() and pcap_set_datalink() aren't > > doing what I think they should. Either I'm confused or there's a bug > > in libpcap. I'll have to do some research to figure that out. > > > > -Aaron > > > > On 8/8/06, Roy S. Rapoport <[EMAIL PROTECTED]> wrote: > > > Just to make things more festive, with 3.0beta11, doing > > > tcprewrite --dlink 00,e0,80,50,f7,00,00,07,e9,d4,38,bf,08,00 --dlt 1 > > > --infile foo.pcap > > > --outfile bar.pcap > > > > > > Gives me: > > > Sorry, but tcpedit currently only supports writing to DLT_EN10MB output > > > > > > Despite the fact that I *thought* that's what I was asking for :) > > I added a debugging statement before that 'tcpedit currently only > supports' statement to print the type of dlt it thought it got. It seems > to think its dstdlt is 104. Don't know if this helps, but there it is :) > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
