aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
AgeCommit message (Collapse)AuthorFilesLines
2012-03-21Disable debug.Anders Broman1-1/+1
svn path=/trunk/; revision=41716
2012-03-20Try to make the buildbot happy.Anders Broman1-10/+10
svn path=/trunk/; revision=41684
2012-03-20Write ISB:s if we have them.Anders Broman1-32/+173
svn path=/trunk/; revision=41683
2012-03-19Set eol-style to native (just to make these files readable on *NIX).Jeff Morriss1-445/+445
svn path=/trunk/; revision=41654
2012-03-17Fix indentation.Guy Harris1-1/+1
svn path=/trunk/; revision=41627
2012-03-16When we're in a for(i=0,[...]) loop, don't reuse (and thus reset) 'i' in ↵Jeff Morriss1-3/+3
another for(i=0,[...]) loop. This fixes the capinfos double-free crashes that the fuzz bot has been experiencing. svn path=/trunk/; revision=41610
2012-03-15Initialize the new num_stat_entries and interface_statistics members ofGuy Harris1-4/+7
a wtapng_if_descr_t, so that we don't crash on a close (as is happening in the buildbot). Fix up some 4-space tabs. svn path=/trunk/; revision=41575
2012-03-15If we have one ISB, display the droped count from it.Anders Broman1-3/+6
svn path=/trunk/; revision=41561
2012-03-15- Store ISB data.Anders Broman2-4/+75
- free IDB and ISB data when closing. svn path=/trunk/; revision=41558
2012-03-14Don't free idb_inf in wtap_dump_open_ng(): free it in the callers. This ↵Jeff Morriss1-1/+0
fixes the double-free editcap crashes that the buildbot's been seeing lately. svn path=/trunk/; revision=41542
2012-03-13From Jose Pedro Oliveira:Anders Broman1-1/+0
Remove a printf line in wiretap/pcapng.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6718 svn path=/trunk/; revision=41534
2012-03-13Add data structure to hold information from ISB:sAnders Broman3-2/+27
svn path=/trunk/; revision=41522
2012-03-12From Jose Pedro Oliveira:Anders Broman1-2909/+2909
Enforce the modelines in wiretap/pcapng.c svn path=/trunk/; revision=41506
2012-03-12From Jose Pedro Oliveira: Add ModlinesAnders Broman1-0/+13
svn path=/trunk/; revision=41495
2012-03-10In pcapng.c use the units per second value from the interface instead ofGerald Combs1-73/+73
the default. Add support for reading nseclibpcap files to dumpcap. svn path=/trunk/; revision=41455
2012-03-09From Jose Pedro Oliveira: Corrects several 'wdh->bytes_dumped += ...' lines. ↵Anders Broman1-5/+5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6718 svn path=/trunk/; revision=41443
2012-03-07The User & Network direction is reversed ↵Anders Broman1-3/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6656 svn path=/trunk/; revision=41402
2012-03-07From Martin Kaiser: correct sorting for wiretap's file type listAnders Broman1-6/+8
svn path=/trunk/; revision=41387
2012-03-06From Mike Wakerly: Add wiretap suport for LINKTYPE_NFC_LLCPAnders Broman3-1/+52
svn path=/trunk/; revision=41368
2012-03-05Use correct lenght when writing if_filter_str.Anders Broman1-1/+3
svn path=/trunk/; revision=41352
2012-03-05Fix calculation of pading for if_filter_str.Anders Broman1-1/+1
svn path=/trunk/; revision=41351
2012-03-05From Martin Kaiser:Anders Broman1-2/+3
wiretap mpeg2 ts: eof vs short read https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6909 svn path=/trunk/; revision=41350
2012-03-05From Martin Kaiser:Anders Broman1-0/+13
wiretap mpeg2 ts: more thorough check for sync byte. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6908 svn path=/trunk/; revision=41349
2012-03-04Squelch a can't-really-happen uninitialized reference warning.Guy Harris1-1/+1
svn path=/trunk/; revision=41342
2012-03-04Use parenthesesAnders Broman1-1/+1
svn path=/trunk/; revision=41341
2012-03-04if_filter isn't a string per se,The first byte of the Option Data keeps a ↵Anders Broman3-25/+74
code of the filter used svn path=/trunk/; revision=41339
2012-03-04Make sure all names in NRB records are null-terminated; report an errorGuy Harris1-13/+138
if they're not. Also report an error for zero-length names. Handle multiple names per IP address - the pcap-NG spec says "one or more zero-terminated strings containing the DNS entries for that address." Use a Buffer to hold NRB records, so there's no maximum size (well, there is a maximum size, because the record length is 16 bits, but let's not allocate 64KiB on the stack if we don't have to). svn path=/trunk/; revision=41332
2012-03-03From Jose Pedro Oliveira: Fix typosAnders Broman1-9/+9
svn path=/trunk/; revision=41330
2012-03-03Don't look at the interface_id field of the packet header ifGuy Harris1-1/+10
WTAP_HAS_INTERFACE_ID isn't set in the presence flags. svn path=/trunk/; revision=41327
2012-03-02Flag mp2t file as really having only relative time stamps. Put theGuy Harris2-1/+3
comment on its own line in mpeg.c as well. svn path=/trunk/; revision=41294
2012-03-02The additional_file_extensions member of struct file_type_info need notGuy Harris1-1/+1
and should not contain the extension in the default_file_extension member - that's why the name starts with "additional". svn path=/trunk/; revision=41293
2012-03-02Get rid of no-longer-needed argument to pcapng_write_section_header_block().Guy Harris1-25/+3
svn path=/trunk/; revision=41292
2012-03-02Skip an intermediating wtapng_block_t in the code path to writeGuy Harris1-78/+44
Interface Description Blocks. Fix a typo (if_fcslen was meant rather than opt_comment when writing the FCS length). svn path=/trunk/; revision=41291
2012-03-02Simplify the code path for writing pcap-NG packets, and remove someGuy Harris1-87/+34
no-longer-needed elements from the wtapng_packet_t structure. svn path=/trunk/; revision=41289
2012-03-02From Weston Schmidt: Add mpeg-ts capture file format support. ↵Anders Broman6-2/+219
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6894 svn path=/trunk/; revision=41286
2012-03-02Fill in the wtap_pkthdr fields in pcap_read_packet_block() andGuy Harris1-81/+75
pcap_read_simple_packet_block(), not in pcap_read() - the way the fields are filled in differs between simple and non-simple packet blocks. Clean up white space. svn path=/trunk/; revision=41284
2012-03-02AFAIKT there's no reason to #include <wsutil/crc32.c>; Include crc32.h like ↵Bill Meier1-183/+186
everyone else... Also: Do some whitespace and indentation cleanup. svn path=/trunk/; revision=41281
2012-03-01Fix CID 1385.Michael Tüxen1-1/+1
svn path=/trunk/; revision=41264
2012-03-01Fix CID 354.Michael Tüxen1-6/+6
svn path=/trunk/; revision=41263
2012-03-01Read the complete NRB.Anders Broman1-2/+5
#Backport svn path=/trunk/; revision=41259
2012-03-01Add debuginfoAnders Broman1-1/+3
svn path=/trunk/; revision=41258
2012-03-01From Reinhard Speyerer: Adding support for LINKTYPE_PPP_ETHER/DLT_PPP_ETHERAnders Broman3-1/+10
svn path=/trunk/; revision=41256
2012-02-29- Add a LED in the statusbar to indicate that capture comments exists,Anders Broman1-0/+2
clickable to open an edit window. - Add checks for NULL pointers. Help with a different color LED possibly with Jeff's (c) in it apreceated. Should the LED be placed elsewhere or the whole thing done differently? svn path=/trunk/; revision=41242
2012-02-28Some more details about REC_HEADER1 and REC_V2DESC; REC_HEADER1 doesn'tGuy Harris1-2/+14
appear to contain anything of use to us - too random - but REC_V2DESC might be worth converting into a comment. svn path=/trunk/; revision=41215
2012-02-26Make it possible to edit capture commentsAnders Broman3-0/+9
svn path=/trunk/; revision=41193
2012-02-26For LANalyzer files, make the "File type name" be the file comment.Guy Harris1-7/+41
Display the file comment in the Summary dialog. svn path=/trunk/; revision=41188
2012-02-25Add a presence flag field to the packet information structure filled inGuy Harris44-22/+120
by Wiretap, to indicate whether certain fields in that structure actually have data in them. Use the "time stamp present" flag to omit showing time stamp information for packets (and "packets") that don't have time stamps; don't bother working very hard to "fake" a time stamp for data files. Use the "interface ID present" flag to omit the interface ID for packets that don't have an interface ID. We don't use the "captured length, separate from packet length, present" flag to omit the captured length; that flag might be present but equal to the packet length, and if you want to know if a packet was cut short by a snapshot length, comparing the values would be the way to do that. More work is needed to have wiretap/pcapng.c properly report the flags, e.g. reporting no time stamp being present for a Simple Packet Block. svn path=/trunk/; revision=41185
2012-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-3/+3
svn path=/trunk/; revision=41180
2012-02-24Fix a typo and revert previous.Anders Broman1-1/+1
svn path=/trunk/; revision=41179
2012-02-24Fix a typo.Anders Broman1-1/+1
svn path=/trunk/; revision=41178