[Wireshark-dev] wiretap function wtap_open_offline fails with SIGSEGV

2018-05-03 Thread Martin Sehnoutka
Hi, I'm trying to write a simple program with the wiretap API just to test how it works, but I'm struggling with the function wtap_open_offline. Here is what the code looks like: #include #include #include #include using std::cout; using std::endl; int main(int argc, char* argv[]) { if

Re: [Wireshark-dev] wiretap function wtap_open_offline fails with SIGSEGV

2018-05-03 Thread Guy Harris
On May 3, 2018, at 1:38 AM, Martin Sehnoutka wrote: > I'm trying to write a simple program with the wiretap API just to test > how it works, but I'm struggling with the function wtap_open_offline. > Here is what the code looks like: > > #include > #include > #include > #include > > using st

Re: [Wireshark-dev] wiretap function wtap_open_offline fails with SIGSEGV

2018-05-03 Thread Martin Sehnoutka
On 05/03/2018 10:52 AM, Guy Harris wrote: > You must initialize libwiretap before you use it. > > Call > > wtap_init(TRUE); > > first. > > Note also that the libwiretap API is subject to change, so don't rely on it > not changing out from under you in future Wireshark releases. > It

[Wireshark-dev] Embed SSL keylog file in pcap-ng

2018-05-03 Thread Ben Higgins
Hey, We're pretty interested in embedding SSL key log information into pcap-ng to make it really convenient to open up a single file and get SSL/TLS sessions decrypted. I looked around and found a ticket and some wiki content related to this subject: - "use capture file comment to configure SSL