Menu

#37 Pcapng support

None
closed
None
5
2017-09-06
2012-08-15
James
No

Doesn't seem like ngrep supports pcapng...can we get this? Thanks.

Discussion

  • Jordan Ritter

    Jordan Ritter - 2012-08-15
    • assigned_to: nobody --> jpr5
     
  • Jordan Ritter

    Jordan Ritter - 2012-08-15

    Thanks for the report. I'll look into it.

     
  • Guy Harris

    Guy Harris - 2015-04-28

    As ngrep uses pcap_open_offline(), with newer versions of libpcap it'll be able to read any pcap-ng file in which all the network interfaces have the same link-layer header type and snapshot length (which includes all pcap-ng captures with only one interface).

    Anything more than that would require additional APIs in libpcap and thus code changes to programs using it.

    (Yes, I plan to add those APIs at some point, as well as APIs for writing pcap-ng files.)

     
  • Jordan Ritter

    Jordan Ritter - 2017-09-06

    Latest ngrep works with latest libpcap. Whatever incompatibilities there were, I think they've been addressed.

    Closing as a stale bug report.

    FYI bug reports are managed here now: https://github.com/jpr5/ngrep/issues

     
  • Jordan Ritter

    Jordan Ritter - 2017-09-06
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB