Commit Graph

34247 Commits

Author SHA1 Message Date
Anders Broman 3431f32a38 From Alexis La Goutte:
Cleanup 802.11 Dissector : Start Header Field by hf_80211_*

Part 10 - 15
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5647

svn path=/trunk/; revision=35810
2011-02-04 10:04:50 +00:00
Guy Harris f5bfa67b11 Set the error code and additional information string in more cases.
svn path=/trunk/; revision=35809
2011-02-04 09:45:39 +00:00
Anders Broman 06e619bf42 If ENBname is text, append the text.
svn path=/trunk/; revision=35808
2011-02-04 09:38:36 +00:00
Guy Harris 4849599a13 Set *err before *err_info - that's how it's done in most other modules.
svn path=/trunk/; revision=35807
2011-02-04 08:10:08 +00:00
Guy Harris 52638933cb Set *err before *err_info - that's how it's done in most other modules.
svn path=/trunk/; revision=35806
2011-02-04 08:09:35 +00:00
Guy Harris 5399384c29 Set *err before *err_info - that's how it's done in most other modules.
svn path=/trunk/; revision=35805
2011-02-04 08:09:17 +00:00
Guy Harris 79b01c78be Fix indentation.
svn path=/trunk/; revision=35804
2011-02-04 08:07:50 +00:00
Guy Harris 17d1226a56 Put more data into the "additional error information" messages.
Get rid of debugging printouts that are equivalent to the "additional
error information" messages.

Return additional error info for all WTAP_ERR_BAD_RECORD errors.

svn path=/trunk/; revision=35800
2011-02-04 02:24:33 +00:00
Jeff Morriss 84af13f080 (As in the Windows builds) don't have checkapi check the 'abort' group in wiretap.
svn path=/trunk/; revision=35797
2011-02-04 02:10:15 +00:00
Jeff Morriss 1587ac63d8 Use g_strdup() instead of strdup()
svn path=/trunk/; revision=35796
2011-02-04 02:08:47 +00:00
Jaap Keuter 1048f71f5d From David Carne:
col_set_str simply stores the pointer passed to it, and luaL_checkstring
returns a temporary pointer. Changing col_set_str to col_add_str in
Columns_newindex seems to fix the issue.

svn path=/trunk/; revision=35795
2011-02-03 23:17:31 +00:00
Gerald Combs 0c9649929e From Huzaifa Sidhpurwala of the Red Hat Security Response Team: Don't
free uninitialized memory.

See also: bug 5652.

svn path=/trunk/; revision=35791
2011-02-03 22:50:49 +00:00
Jeff Morriss 8ee172d021 Store the result of tvb_get_ntohs() in a guint16 instead of a guint8 to avoid a
compiler warning.  (It looks like the only expected values will fit in 8 bits,
but it also appears that the code really is expecting 'of_code' to be stored in
16 bits on the wire.)


svn path=/trunk/; revision=35790
2011-02-03 22:04:19 +00:00
Jaap Keuter 806bb18a7b From Roberto Morro:
- add PATH-KEY object, PKSv4 and PKSv6 subobjects in ERO (RFC5520)
- new METRIC types, Objective Function (OF) object and TLV (RFC5541)
- new RP object Flags
- restructured PCEP_ERROR object dissection (easier to add new 
  error_types, error_values)

svn path=/trunk/; revision=35789
2011-02-03 20:14:38 +00:00
Bill Meier bec334b1c6 Fix: Cygwin make fails after updating to bash v 4.1.9.2
Extracts from the cygwin Bash 4.1.9.2 release announcement:

4a. For a single affected script, add this line just after the she-bang:
 (set -o igncr) 2>/dev/null && set -o igncr; # comment is needed

4e. bash-4.1.9-1 dropped support for 'shopt -s igncr';

I'm assuming this is backwards compatible; If not, we'll know quite shortly :) 


svn path=/trunk/; revision=35788
2011-02-03 19:33:48 +00:00
Jeff Morriss 2832bf5aa1 Include packet-tetra.h in the source distribution.
svn path=/trunk/; revision=35787
2011-02-03 19:01:19 +00:00
Guy Harris 3908493548 Use the right proto_tree * variable.
Clean up indentation.

svn path=/trunk/; revision=35786
2011-02-03 18:15:56 +00:00
Anders Broman 5d6c22fdb8 Dissect Erroneous message.
svn path=/trunk/; revision=35785
2011-02-03 17:45:17 +00:00
Martin Mathieson 7d6e4633e3 Disable error substring controls when show errors checkbox is disabled.
svn path=/trunk/; revision=35784
2011-02-03 17:41:45 +00:00
Anders Broman f0a410b170 From Alexis La Goutte:
Cleanup 802.11 Dissector : Start Header Field by hf_80211_*

Part 6 - 9
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5647

svn path=/trunk/; revision=35783
2011-02-03 17:35:16 +00:00
Anders Broman 690d412c5a - Use the right tree for IE's
- Dissect MME and VLR name
- Add strings to some IE's

svn path=/trunk/; revision=35782
2011-02-03 16:36:22 +00:00
Anders Broman 6b38bce9c6 Hope fully this will be the correct set of files - finally.
svn path=/trunk/; revision=35781
2011-02-03 16:17:10 +00:00
Guy Harris 3eecbb3248 Just use g_strdup_printf(), rather than doing it ourselves.
svn path=/trunk/; revision=35780
2011-02-03 08:31:04 +00:00
Guy Harris 133e639dab Get rid of extra blank line at the end of the file.
svn path=/trunk/; revision=35779
2011-02-03 08:16:08 +00:00
Anders Broman 9b0adb69e6 Add a forgotten file
svn path=/trunk/; revision=35778
2011-02-03 08:06:54 +00:00
Jaap Keuter a54400c59f From Samu Varjonen:
This patch fixes four issues with the Host Identity Protocol (HIP dissector:

1. The incorrect parsing of the "type 1" locator of HIP. 
2. Updates the comments to reflect the approval of RFC 5770.
3. Cosmetic change (uppercase SPI)
4. Change in the checksum dissection 
   (when the HIP packet is UDP encapsulated 0 checksum is correct).

svn path=/trunk/; revision=35777
2011-02-03 06:32:35 +00:00
Martin Mathieson 6b4acef729 Allow PDCP dissector to be called for complete SDUs from UM RLC PDUs.
svn path=/trunk/; revision=35775
2011-02-02 23:23:07 +00:00
Martin Mathieson 82cbbca3e5 Add and use accessors to get/set per-packet data for LTE MAC.
This will allow plugins to use the dissector.

svn path=/trunk/; revision=35774
2011-02-02 23:21:16 +00:00
Anders Broman 77333de278 Start to prettify TimeStamp(to be continued).
svn path=/trunk/; revision=35773
2011-02-02 23:12:34 +00:00
Anders Broman ac057f8445 From Alexis La Goutte:
A series of patch to enhance 802.11 Dissector : Start all Header field by hf_80211_*
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5647

svn path=/trunk/; revision=35772
2011-02-02 23:09:41 +00:00
Jaap Keuter 9e367f5cff From njohnkev:
Add support for LAPD data link type.

svn path=/trunk/; revision=35771
2011-02-02 22:49:40 +00:00
Bill Meier 32ca1b0490 Remove duplicate 'asn1/gprscdr/Makefile' entry
svn path=/trunk/; revision=35770
2011-02-02 22:02:53 +00:00
Anders Broman f02c4d6685 Warning: packet-tetra.c does not have an SVN Id tag.
Error: the blurb for field "Carrier Number" ("tetra.carrier") matches the field name in packet-tetra.c
Error: the blurb for field "PDU" ("tetra.pdu") matches the field name in packet-tetra.c
Error: Found deprecated APIs in packet-tetra.c: dissector_add

svn path=/trunk/; revision=35769
2011-02-02 21:06:51 +00:00
Anders Broman 9f45ee9883 From Alexis La Goutte:
Cleanup renaming hf 80211 Part7.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5609

svn path=/trunk/; revision=35768
2011-02-02 20:21:18 +00:00
Anders Broman 3d32921095 From Alexis La Goutte:
Cleanup renaming hf 80211 Part 8 and 9.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5609

svn path=/trunk/; revision=35767
2011-02-02 20:19:02 +00:00
Anders Broman 2395973d17 Integrate and build the tetra dissector.
svn path=/trunk/; revision=35766
2011-02-02 20:11:02 +00:00
Guy Harris 8a0d5c1526 Add the gprscdr Makefile to the list of Makefiles to be generated.
svn path=/trunk/; revision=35765
2011-02-02 20:06:05 +00:00
Anders Broman 16f1460763 From Alexis La Goutte:
Fix checkhf error (hf_ieee80211_ff_mesh_mgt_ie_id) and enhance dissect Mesh ID 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5636

svn path=/trunk/; revision=35764
2011-02-02 19:54:14 +00:00
Anders Broman 94d8b44aec Use gprscdr to dissect CDRs.
svn path=/trunk/; revision=35763
2011-02-02 17:51:00 +00:00
Anders Broman a740413286 Move gprscdr to dissectors with warnings.
svn path=/trunk/; revision=35762
2011-02-02 17:50:12 +00:00
Anders Broman 5bb082fde0 Build gsmcdr.
svn path=/trunk/; revision=35761
2011-02-02 17:16:29 +00:00
Anders Broman ba18fd9cc7 Add packet-gprcdr.[ch] to SVN.
svn path=/trunk/; revision=35760
2011-02-02 17:15:27 +00:00
Anders Broman 583d2776f5 Add GTK 2.22 deprecated functions
svn path=/trunk/; revision=35759
2011-02-02 17:11:26 +00:00
Anders Broman a5d4b6c73b Add gsmcdr to the makefiles.
svn path=/trunk/; revision=35758
2011-02-02 17:10:31 +00:00
Anders Broman 6d4964bb49 Export more functions.
svn path=/trunk/; revision=35757
2011-02-02 17:09:05 +00:00
Anders Broman 115dfa550c Routines to dissect GPRS CDR's tranported in GTP'
svn path=/trunk/; revision=35756
2011-02-02 17:00:19 +00:00
Anders Broman b52d775061 Add the local makefiles.
svn path=/trunk/; revision=35755
2011-02-02 06:48:58 +00:00
Anders Broman 51fbf86740 From Holger Freyther:
- Code Cleanups and preparation to call code from gsmtap
- Fix a bug in the asn1 file, Bug found with traces from OsmocomTETRA

svn path=/trunk/; revision=35754
2011-02-02 06:41:16 +00:00
Anders Broman c88ad5ccb2 The Beijing Institute of Technology (BIT) and associate professor LI Hai has created a TETRA decoder for wireshark,
they made the decision to use the ASN1 infrastructure for creating the dissector and were kind enough to send the
GPLed sourcecode to us(The Osmocom Group). This group is using a protocol provided by their equipment.

This is an initial checkin of the code from BIT, it is not fit for inclusion in Wireshark in this state. Further patches are expected
before the code can be integrated by being added to the makefiles.

svn path=/trunk/; revision=35753
2011-02-02 06:35:08 +00:00
Jaap Keuter 78ee220881 makefile.nmake => Makefile.nmake
svn path=/trunk/; revision=35752
2011-02-02 06:14:27 +00:00