aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
AgeCommit message (Collapse)AuthorFilesLines
2013-12-21isascii(x) && isprint(x) -> g_ascii_isprint(x)Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=54328
2013-12-20Change G_GINT64_CONSTANT(xxxxU) to G_GUINT64_CONSTANT(xxxx)Jakub Zawadzki2-8/+8
svn path=/trunk/; revision=54314
2013-12-17Get rid of trailing periods in some error messages for consistency; theGuy Harris2-7/+7
others don't have trailing periods, and the caller adds a period as desired. svn path=/trunk/; revision=54199
2013-12-14Cast away shorten-64-to-32 warnings.Gerald Combs1-5/+5
svn path=/trunk/; revision=54101
2013-12-14Squelch a bunch of shorten-64-to-32 warnings by parsing all of ourGerald Combs1-14/+16
numeric values using strtoul and casting it the result to a guint32. Hopefully no user or session IDs are negative or greater than 32 bits. svn path=/trunk/; revision=54100
2013-12-13And another one.Guy Harris1-2/+2
svn path=/trunk/; revision=54018
2013-12-13Add some more file types misidentified as VWR files.Guy Harris1-4/+4
svn path=/trunk/; revision=54017
2013-12-13The IxVeriWave heuristic now gets more false positives (after, IGuy Harris1-1/+6
suspect, the change to handle VWR files with no packets); shuffle it after all the types we've seen misidentified as VWR files. svn path=/trunk/; revision=54012
2013-12-12Appease Visual Studio Code Analysis by ensuring that the string in csec[] is ↵Chris Maynard1-0/+1
NULL-terminated. svn path=/trunk/; revision=53995
2013-12-07Add WTAP_ENCAP_NETLINK which maps to DLT_NETLINK /253/Jakub Zawadzki3-0/+6
svn path=/trunk/; revision=53834
2013-12-03wiretap: start using <wsutil/pint.h>Jakub Zawadzki23-329/+260
svn path=/trunk/; revision=53764
2013-12-02Space between STANAG and the standard number.Guy Harris1-1/+1
svn path=/trunk/; revision=53739
2013-12-02Fix encap_table_base[] array.Jakub Zawadzki2-3/+7
svn path=/trunk/; revision=53738
2013-12-02Move most of the plugin code from epan to wsutil and remove allGuy Harris2-0/+73
knowledge of particular types of plugins. Instead, let particular types of plugins register with the common plugin code, giving a name and a routine to recognize that type of plugin. In particular applications, only process the relevant plugin types. Add a Makefile.common to the codecs directory. svn path=/trunk/; revision=53710
2013-11-30STANAG 5066 DTS Layer dissector. Bug 9217 ↵Michael Mann3-1/+7
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) From İbrahim Can Yüce From me: Update to new tcp_dissect_pdus format, minor whitespace issues noticed in wiretap files. svn path=/trunk/; revision=53669
2013-11-29Replace macros: BSWAP16, BSWAP32, BSWAP64 with glib-version.Jakub Zawadzki5-83/+64
XXX, people are not aware that expression of this macros might be evaluated multiple times, like: - BSWAP16(tvb_get_letohs(tvb, off)) : \ + GUINT16_SWAP_LE_BE(tvb_get_letohs(tvb, off)) : \ Should be tvb_get_ntohs() called? svn path=/trunk/; revision=53653
2013-11-29Expand macros: htoles(), htolel(), htolell()Jakub Zawadzki9-129/+124
svn path=/trunk/; revision=53651
2013-11-23Bluetooth improvements. Bug 9446 ↵Michael Mann1-3/+15
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9446) From Michal Labedzki svn path=/trunk/; revision=53525
2013-11-21Get rid of C++ comments.Guy Harris1-1/+1
svn path=/trunk/; revision=53486
2013-11-21Cope with empty VWR files (bug 9428)Martin Mathieson1-2/+9
svn path=/trunk/; revision=53475
2013-11-20Add support for a new type of frame data record seen in a k18 file, andGuy Harris1-10/+34
handle that file not ending with a 2-byte 0xffff end-of-file record. This fixes bug 9455, although it doesn't add support for reading an "index" file for a capture that's in multiple .rf5 files, which is a separate issue noted in that bug. It also doesn't attempt to figure out what the data in the new record type following the data that appears to be the same as that in the other data record format but preceding the actual packet data is. svn path=/trunk/; revision=53452
2013-11-20Add code to dump part of a record as ASCII, and use it to dump stringsGuy Harris1-27/+236
in a source description record, including the stack. Dump some other fields in those records as well. Attach separate sequential and random read buffers to the private data structure, rather than allocating them in various routines (and not always freeing them) and, in at least one case, allocating a single *common* buffer for all wth's to use. Fix some comments (the DS0 mask is 32 bytes long, but gets turned into a bitmask). Put in a description of what a "stack file"'s contents look like. Much of it may be useless to us (for example, we have the notion that TCP has protocol number 6 built-in...), but the RELATION entries that map from "BASE" to a protocol could obviate the need to have the user specify a map from stack file names to starting protocols, and we might be able to use, for example, entries that map TCP/UDP/SCTP port numbers to protocols to obviate the need for the user to explicitly use Decode As or otherwise configure port-to-protocol mappings themselves. Add a bunch of record length checks before we fetch data from records. svn path=/trunk/; revision=53450
2013-11-19Update URL for the Tektronix manual, and fix a typo in the same comment.Guy Harris1-20/+27
Dump the raw contents of records as hex and ASCII, not just hex. Sort the record types, and add a new one for a type we've seen in a k18 file and about which we know nothing. For unknown record types, print the type in hex. svn path=/trunk/; revision=53441
2013-11-19Fix some problems with the debugging code.Guy Harris1-4/+5
svn path=/trunk/; revision=53438
2013-11-181.11.2 → 1.11.3.Gerald Combs1-1/+1
svn path=/trunk/; revision=53412
2013-11-151.11.1 → 1.11.2.Gerald Combs1-1/+1
svn path=/trunk/; revision=53346
2013-11-11Export the right function name.Anders Broman1-1/+1
svn path=/trunk/; revision=53255
2013-11-09Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.Jakub Zawadzki6-14/+11
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
2013-11-08(Trivial) whitespace cleanup (mostly trailing whitespace).Bill Meier28-89/+89
svn path=/trunk/; revision=53172
2013-11-08Looks like r53166 was not compile tested. Now k12text.l compiles again.Jörg Mayer1-2/+2
svn path=/trunk/; revision=53167
2013-11-08The "file types" we have are actually combinations of types andGuy Harris52-416/+418
subtypes, e.g. Network Monitor version 1 and Network Monitor version 2 are separate "file types", even though they both come from Network Monitor. Rename various functions, #defines, and variables appropriately. svn path=/trunk/; revision=53166
2013-11-08For open dialogs, offer a list of sets of extensions, not of file types;Guy Harris2-24/+86
.cap, for example, doesn't refer to a particular file type - a whole bunch of file types use .cap. Also offer, in addition to "All Files", "All Capture Files", which matches all the extensions we know about. svn path=/trunk/; revision=53156
2013-10-29simplify file_error()Martin Kaiser1-5/+4
svn path=/trunk/; revision=52944
2013-10-29allow err_info==NULL in file_error()Martin Kaiser1-1/+2
this fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9309 reported by Peter Wu svn path=/trunk/; revision=52943
2013-10-28Revert SVN #52914;Bill Meier5-247/+7
OSX-10.6-x64 buildbot still givs an error (At least we now know which line of code gives the error). svn path=/trunk/; revision=52915
2013-10-28From Shekhar Chandra: support for version 3.0 of netscaler packet wire format.Bill Meier5-7/+247
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9280 (Revised patch: let's see if this version compiles w/o error on all the buildbots) svn path=/trunk/; revision=52914
2013-10-28Fix up some formatting.Jeff Morriss1-11/+22
svn path=/trunk/; revision=52911
2013-10-27Fix up some more svn properties.Jeff Morriss1-1/+1
svn path=/trunk/; revision=52882
2013-10-23From Michal Labedzki viaEvan Huus1-1/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8818 Add support for dissection ELF files. It opens as a "capture" file via wiretap at the moment for simplicity's sake, but the intention is eventually to have this (and other file types we dissect) open through some other program sharing much of the libwireshark infrastructure. svn path=/trunk/; revision=52775
2013-10-21Fix "unused variable 'dct3trace_magic_l2_end' ↵Bill Meier1-0/+2
[-Werror,-Wunused-const-variable" found by clang v3.4 svn path=/trunk/; revision=52749
2013-10-19Minor refactoring in CMake ABI dump generationBalint Reczey1-3/+1
svn path=/trunk/; revision=52689
2013-10-19Set and use TMPDIR for ABI dump generation when using CMakeBalint Reczey1-4/+4
svn path=/trunk/; revision=52688
2013-10-18White space cleanups (thanks either to shekhar.chandra@citrix.com orGuy Harris1-31/+31
Bill Meier; see bug 9280). svn path=/trunk/; revision=52677
2013-10-18Revert SVN #52665.Bill Meier5-299/+39
Compilation fails on (only the ?) OSX-10.6-x64 buildbot with error: netscaler.c: In function 'nstrace_read_v30': netscaler.c:1295: warning: implicit conversion shortens 64-bit value into a 32-bit value (Life is too short for me to dig multiple levels deep into a set of macros to try to see which actual line of code is causing the problem. Maybe the patch submitter can identify the problem). svn path=/trunk/; revision=52666
2013-10-18From Shekhar Chandra: support for version 3.0 of netscaler packet wire format.Bill Meier5-39/+299
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9280 From me: fix indentation(tabs->spaces) and trailing whitespace. svn path=/trunk/; revision=52665
2013-10-16Fix various: whitespace, comments & etc.Bill Meier1-612/+624
Add editor modelines. svn path=/trunk/; revision=52639
2013-10-15Add another cast.Gerald Combs1-1/+1
svn path=/trunk/; revision=52622
2013-10-15Add casts to fix some shortening errors.Gerald Combs1-4/+4
svn path=/trunk/; revision=52621
2013-10-15limit the values written to phdr.(cap)len to guint32, not to guint16Martin Kaiser1-6/+6
We read a two-byte length field and add a constant number of header bytes to this length, so we could in theory be larger than guint16. svn path=/trunk/; revision=52619
2013-10-15code review of parse_s1_W_stats()Martin Kaiser1-2/+16
range check for array index don't assign the result of pntohs() to a gint16 range check for the values stored in phdr.(cap)len svn path=/trunk/; revision=52618