aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
AgeCommit message (Collapse)AuthorFilesLines
2012-04-22Fix a buildbot compile warning.Bill Meier1-1/+1
svn path=/trunk/; revision=42197
2012-04-22Various minor cleanup:Bill Meier1-200/+222
- fix a few small memory leaks; - fix some indentation to match style used (gnu); - remove trailing whitespace; - ... svn path=/trunk/; revision=42196
2012-04-22Global variables considered harmful (and unnecessary).Guy Harris1-13/+10
svn path=/trunk/; revision=42189
2012-04-21Lose some more unused variables reported by clang.Martin Mathieson1-7/+4
svn path=/trunk/; revision=42173
2012-04-20Try to fix up some clang warnings. Will look at other modules I addedMartin Mathieson1-37/+14
recently later. svn path=/trunk/; revision=42167
2012-04-20Add a couple of casts to try to make the Windows-7-x64 buildbot happy.Martin Mathieson1-2/+2
svn path=/trunk/; revision=42159
2012-04-20Missed file from previous commit.Martin Mathieson1-0/+29
svn path=/trunk/; revision=42156
2012-04-20Patch for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5048Martin Mathieson6-0/+2124
From Tom Cook and Tom Alexander. 1. A VWR encapsulation that reads VeriWave capture files (*.vwr) generated from WaveTest test hardware 2. Dissectors that display the VeriWave tap headers (both 802.11 and Ethernet) 3. A dissector for the WaveAgent protocol. The WaveAgent dissector is heuristic and parses the WaveAgent packet (a UDP payload). The WaveAgent dissector has been Fuzz tested. The VWR ENCAP and dissectors have been used extensively by VeriWave customers in a special version of WireSark compiled by VeriWave. svn path=/trunk/; revision=42155
2012-04-20Fix more indentation.Guy Harris1-1/+1
svn path=/trunk/; revision=42147
2012-04-20Use consistent 2-space indentation, and don't use tabs.Guy Harris1-496/+496
svn path=/trunk/; revision=42146
2012-04-19Fix typo.Guy Harris1-1/+1
svn path=/trunk/; revision=42145
2012-04-19Don't byte-swap bytes that aren't there.Guy Harris1-6/+16
svn path=/trunk/; revision=42144
2012-04-18From Rolf Fiedler:Anders Broman1-2/+3
patch to fix mp2t.c to reject more byte streams that are not MPEG2. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7132 svn path=/trunk/; revision=42127
2012-04-18Get the Windows build going again. The Netxray "fix" cast to guint8 may not ↵Anders Broman2-2/+2
be OK. svn path=/trunk/; revision=42125
2012-04-18From Colus Tang via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7134Alexis La Goutte1-1/+1
Unable to display the correct IEEE802.11 MCS data rates due to header definition The problem is due to the ieee_802_11_phdr.data_rate is defined as guint8, since this variable is counting number of 0.5Mbps units, any datarates which is higher than 255Mbps would get wrapped up. In the above example, only the lower 8bit value will be put into the ieee_802_11_phdr which is 0x04 and result in the incorrect 2Mbps display. There are 802.11n WLAN product is capable to transmit @450Mbps, we should fix this data_rate from guint8 to guint16. #BACKPORT svn path=/trunk/; revision=42123
2012-04-18If we see a 5View time-stamped header with a bad key, make sure weGuy Harris2-2/+6
return the right error code and information string. InfoVista bought Accellent Group, and, at least according to the InfoVista Web site, it's "5View", not "5Views". svn path=/trunk/; revision=42119
2012-04-18Fix some indentation errors from the previous change.Guy Harris1-3/+3
svn path=/trunk/; revision=42118
2012-04-18Get rid of tabs, so we don't have to worry about 4-space vs. 8-space tabs.Guy Harris1-160/+161
svn path=/trunk/; revision=42117
2012-04-15Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7048Michael Tüxen1-10/+40
Write timetamps for the interface statistic blocks the way specified by http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html svn path=/trunk/; revision=42080
2012-04-15Whitespace cleanup (done while debugging).Michael Tüxen1-65/+65
svn path=/trunk/; revision=42079
2012-04-15Fix a typo (just clearing my client out before I start doing diffs).Martin Mathieson1-1/+1
svn path=/trunk/; revision=42077
2012-04-14More double-free fixes - destroy_k12_file_data() frees its argument, soGuy Harris1-2/+0
calling g_free() on that argument after calling destroy_k12_file_data() is always an error. svn path=/trunk/; revision=42067
2012-04-14From From Evan Huus: Potential double-free while importing k12xx *.rf5 files ↵Anders Broman1-2/+0
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7084 svn path=/trunk/; revision=42062
2012-04-13Remove doubled semicolons and semicolons outside function.Jakub Zawadzki4-4/+4
svn path=/trunk/; revision=42053
2012-04-10Call LAPD-with-Linux-pseudoheader "linux-lapd", and fix its descriptionGuy Harris1-2/+2
to indicate the Linux pseudo-header. Fix the description of LAPD-without-Linux-pseudoheader to be just "LAPD". svn path=/trunk/; revision=42018
2012-04-10Fix tpo.Guy Harris1-1/+1
svn path=/trunk/; revision=42017
2012-04-10It's "X.25", not "X25".Guy Harris1-1/+1
svn path=/trunk/; revision=42016
2012-04-09Mark some function static.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=41999
2012-04-061.7.1 → 1.7.2.Gerald Combs1-1/+1
svn path=/trunk/; revision=41971
2012-04-06Indicate where BACnet MS/TP is specified.Guy Harris3-4/+14
Add a new WTAP_ENCAP_BACNET_MS_TP_WITH_PHDR encapsulation type, for use by the EyeSDN file reader; unlike the pcap-encapsulated MS/TP, it includes a direction indicator. Don't treat WTAP_ENCAP_BACNET_MS_TP as if it has a direction indicator, as it doesn't; instead, do that for WTAP_ENCAP_BACNET_MS_TP_WITH_PHDR. Add some missing entries to encap_table_base for WTAP_ENCAP_ values that didn't get entries added. svn path=/trunk/; revision=41969
2012-04-05Use tabs more uniformly.Guy Harris1-1/+1
svn path=/trunk/; revision=41966
2012-04-05WTAP_ENCAP_MTP2 is for MTP2 *without* a pseudo-header giving directionGuy Harris1-3/+3
or other information; WTAP_ENCAP_MTP2_WITH_PHDR is for MTP2 *with* such a pseudo-header. Use WTAP_ENCAP_MTP2_WITH_PHDR for the EyeSDN captures, and don't assume there's a pseudo-header if you have WTAP_ENCAP_MTP2. svn path=/trunk/; revision=41962
2012-04-04Allow loading xml files (file MUST start with <?xml).Jakub Zawadzki1-1/+5
I needed it for testing (bug #7028) if you feel like it's stupid idea give me nfo :) svn path=/trunk/; revision=41944
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss2-2/+2
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
2012-04-04From Rolf Fiedler:Anders Broman3-4/+18
Patch to add V5.2 tracing capability on E1 links using EyeSDN probes. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7027 Removed preference related stufff as it's not needed. svn path=/trunk/; revision=41915
2012-04-03Set up table to help with ascii-hex -> hex conversion in advance toMartin Mathieson1-18/+26
avoid testing static for every conversion. svn path=/trunk/; revision=41900
2012-03-31Add initial support for dissecting packets encapsulated in Netfilter LOG ↵Jakub Zawadzki2-1/+4
(DLT_NFLOG=239). svn path=/trunk/; revision=41872
2012-03-30From Martin Kaiser via ↵Jeff Morriss1-15/+63
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6984 : The attached patch extends the mpeg2 ts format detection to take into account that trailing bytes might be added to each packet. Once it finds no sync after 188 bytes, it checks an additional 40 bytes for the next sync byte and adjusts the packet size accordingly. Only the 188 bytes of the actual ts packet are passed on to wiretap, the trailer is omitted. svn path=/trunk/; revision=41863
2012-03-26Print the correct block size in a debug message.Gerald Combs1-1/+1
svn path=/trunk/; revision=41773
2012-03-23Don't mark the file as unsaved unless the capture or packet comments ↵Jeff Morriss1-13/+16
actually changed. svn path=/trunk/; revision=41744
2012-03-22From Krishna:Anders Broman3-4/+97
Enhancement to add more trace record fields in Citrix NetScaler capture file format. https://bugs.wireshark.org/bugzilla/show_bug.cgi? svn path=/trunk/; revision=41740
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