Commit Graph

21560 Commits

Author SHA1 Message Date
Martin Mathieson ef1aa6fe2d Try again!
svn path=/trunk/; revision=22100
2007-06-14 12:43:15 +00:00
Martin Mathieson 34511b8b59 Improve parsing of sctpprim header (variant 1)
svn path=/trunk/; revision=22099
2007-06-14 11:24:37 +00:00
Jaap Keuter 0de9abe808 From Victor Fajardo:
Attached is a patch file for the PANA protocol dissector. The changes updates the packet-pana.c dissector to support draft-ietf-pana-pana-15.txt.

svn path=/trunk/; revision=22098
2007-06-14 07:09:07 +00:00
Anders Broman 9af02b5130 Change actx->external.direct_reference to be the OID string.
Use it in BER direct reference to call the OID dissector.

svn path=/trunk/; revision=22097
2007-06-14 05:17:07 +00:00
Gerald Combs 4b24df98fe Fix a bunch of errors found by gcc.
svn path=/trunk/; revision=22096
2007-06-14 01:13:04 +00:00
Guy Harris 555af2a1dc Include a link to the AFP reference, as well as to the programming
guide.

svn path=/trunk/; revision=22095
2007-06-13 23:43:07 +00:00
Gerald Combs d1a745f27b Add support for PPI (the Per-Packet Information header), described at
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf .

svn path=/trunk/; revision=22094
2007-06-13 22:36:58 +00:00
Luis Ontanon e3fc848842 turns out that wtap_pkthdr was not exportable!
nm on my mac says it is there...


svn path=/trunk/; revision=22093
2007-06-13 19:43:26 +00:00
Luis Ontanon df05be6cf4 Export all that's exportable from libwiretap.dll
svn path=/trunk/; revision=22092
2007-06-13 19:06:19 +00:00
Luis Ontanon d24ceffe73 Fix coverity bug 244, [WS Bug 1649]
svn path=/trunk/; revision=22091
2007-06-13 19:05:03 +00:00
Jeff Morriss 37a954260a Stop using switch statements on the GTI when decoding GT's: the values are
not unique between ANSI and ITU so we end up with incorrect behavior.  In
particular:
  - In non-ANSI if GTI==0x1, don't try to decode TT, NP, and ES.
  - In ANSI don't decode the O/E indicator on GTI==0x1.
  - In non-ANSI don't decode NAI on GTI==0x1 or 0x4.

svn path=/trunk/; revision=22090
2007-06-13 13:39:05 +00:00
Graham Bloice 3ade8e7d43 Fixed crash with missing conversation fragment, improved presentation, minor typos corrected
svn path=/trunk/; revision=22089
2007-06-13 10:15:31 +00:00
Jaap Keuter a0cc432cfe Fix for bug 1632:
Fix bitmask for FCP "retry requested/reply".

svn path=/trunk/; revision=22088
2007-06-13 06:54:49 +00:00
Jaap Keuter d87fb06466 Fix for bug 1633:
Adding BLS ABTS handling.

svn path=/trunk/; revision=22087
2007-06-13 06:52:23 +00:00
Stephen Fisher bcfc3b9468 Get the Unix buildbots going again
svn path=/trunk/; revision=22086
2007-06-13 06:22:43 +00:00
Jaap Keuter c2dcd299c8 YAE2W
svn path=/trunk/; revision=22085
2007-06-13 05:27:32 +00:00
Luis Ontanon 161b20becb This should fix Coverity's CID: 240 (Bug 1648)
svn path=/trunk/; revision=22084
2007-06-12 23:53:58 +00:00
Anders Broman 58f01d87cc Preparations for updated CMIP dissector:
- Export AE-title from ACSE
- Start REAL dissection(unfinished).

svn path=/trunk/; revision=22083
2007-06-12 21:29:27 +00:00
Anders Broman 930c097b10 Add some more asn1 modules.
svn path=/trunk/; revision=22082
2007-06-12 21:26:29 +00:00
Jaap Keuter db0a89220f Just keep it simple.
svn path=/trunk/; revision=22081
2007-06-12 18:43:24 +00:00
Martin Mathieson c474b96c17 Add gqpolicy.xml to installed diameter XML files
svn path=/trunk/; revision=22080
2007-06-12 15:29:23 +00:00
Martin Mathieson a06723a7fb Diameter update:
- add IMS Gq interface (same AVPs seem to be used by IMS Rx and ETSI Gq' interfaces)
- other small corrections

svn path=/trunk/; revision=22079
2007-06-12 11:09:22 +00:00
Gerald Combs be8915a208 Fix dist.
svn path=/trunk/; revision=22078
2007-06-11 22:40:38 +00:00
Anders Broman f0a231a2f4 Add some more asn1 modules.
svn path=/trunk/; revision=22077
2007-06-11 22:17:28 +00:00
Gerald Combs 9bf0729452 Fix include paths.
svn path=/trunk/; revision=22076
2007-06-11 19:03:20 +00:00
Gerald Combs f60e81aaac Fix compilation under VS6 (hopefully without breaking compilation
anywhere else).  Instead of using getaddrinfo() and getnameinfo(),
promote inet_pton.c and inet_ntop.c to the top level and use those
routines instead.

(It's 2007, for crying out loud.  Why is this even an issue?)

svn path=/trunk/; revision=22075
2007-06-11 18:26:09 +00:00
Bill Meier 68cdbd4e65 Note invalidity of realtick for
captypes ETH_CAPTYPE_OTHERPOD2 and
ETH_CAPTYPE_GIGPOD2 in comments for
the associated TpS tables.

svn path=/trunk/; revision=22074
2007-06-11 15:50:03 +00:00
Jaap Keuter 1e2e9d4f7e Fix segmentation fault when NULL err_msg pointer passed to capture_interface_list() and sync_list_interface_open() fails.
svn path=/trunk/; revision=22073
2007-06-11 06:40:56 +00:00
Anders Broman 3f3efe41da Generate ANSI MAP with the -X option.
svn path=/trunk/; revision=22072
2007-06-11 05:28:18 +00:00
Gerald Combs e9f1a0b692 One more step in privilege separation.
Add a capture_interface_list(), which works similar to
get_interface_list() except that it forks dumpcap instead of calling
the pcap routines directly.  Use it in the GUI.

Add a "-I" flag to dumpcap, which prints out verbose interface
information.

Tested under Windows and Linux.

svn path=/trunk/; revision=22071
2007-06-11 03:58:58 +00:00
Anders Broman f07a01dd51 Remove an unused variable.
svn path=/trunk/; revision=22070
2007-06-10 21:31:10 +00:00
Anders Broman d28046f3b5 Updated GSM MAP to use the latest asn1 original files.
MAP-dalouge and gsm_ss is included in this dissector.

svn path=/trunk/; revision=22069
2007-06-10 19:04:12 +00:00
Anders Broman 34b4318b4c Add more ofthe needed splited ASN1 files.
svn path=/trunk/; revision=22068
2007-06-09 14:58:51 +00:00
Guy Harris 230c951306 From Stephen Donnelly of Endace:
The code for reading ERF files has not been significantly
	updated since 2004.  This patch brings it up to date with a
	number of changes.

	1) Increase number of decodable ERF types from 7 to 12. This
	   covers newer DAG card models and firmware updates.

	2) Fix timestamp conversion. Was calculating only microsecond
	   precision, now displaying with nanosecond resolution.  Hardware
	   precision is 7.5 to 30 ns depending on model.

	3) Allow the user to specify HDLC encapsulation as 'chdlc',
	   'ppp_serial', 'frelay' or 'mtp2'.  This is needed because the
	   ERF HDLC capture formats do not include information on what
	   protocol is used at the next level.  This is currently done via
	   an environment variable 'ERF_HDLC_ENCAP' and is analagous to the
	   existing 'ERF_ATM_ENCAP' variable.

	   If the user does not specify an HDLC encapsulation it tries to
	   guess, and falls back to MTP2 for backwards compatibility with
	   Florent's existing behaviour.

	   I know environment variables are ugly, suggestions are welcome.

	4) When reading HDLC captures as MTP2, use
	   WTAP_ENCAP_MTP2_WITH_PHDR rather than WTAP_ENCAP_MTP2.  This
	   allows us to put the 'Multi-Channel ERF' record 'channel
	   number' field into the MTP2 pseudo header > 'link_number'
	   field.  This is then displayed in Frame information, and can
	   be filtered on.  (Would be nice if it could be made a display
	   column?)

	Because the ERF record does not specify whether Annex A is used
	or not, we pass MTP2_ANNEX_A_USED_UNKNOWN and allow the existing
	user preference to decide.

Move the MTP2_ANNEX_A_ definitions into Wiretap, make the annex_a_used
field a guint8, and change MTP2_ANNEX_A_USED_UNKNOWN to 2 so it fits in
a guint8.  (This means that if you can save an ERF MTP2 file as a
libpcap file, the pseudo-header will have MTP2_ANNEX_A_USED_UNKNOWN in
it.)

svn path=/trunk/; revision=22067
2007-06-08 17:06:13 +00:00
Anders Broman 9a116d0bcf From Stefan Wenk:
Following items are changed:
*) Bandwidth efficient decoding re-implemented with expert-info support. 
    The old implementation supported a single frame only.
*) Support for AMR-WB added
*) Fixes for IF1 and IF2 decoding

svn path=/trunk/; revision=22066
2007-06-08 05:04:54 +00:00
Guy Harris e5f3d4af31 Better hash function for file handles, as suggested by Brent Callaghan
(the old one was mapping file handles that differed only by one bit to
the same hash value; the new one mapped them to different hash values).

svn path=/trunk/; revision=22065
2007-06-08 02:45:30 +00:00
Gerald Combs f445de2be5 Add an option to ignore vendor-specific HT elements.
svn path=/trunk/; revision=22064
2007-06-07 17:40:23 +00:00
Tomas Kukosa 2c362d3e8d - improve compilation (passing type information) if modules are not merged with -p option
- start "module grouping" compilation feature

svn path=/trunk/; revision=22063
2007-06-07 06:05:36 +00:00
Luis Ontanon 2a6e042da8 Unconditionally initialize profile (avoid a warning causing the distcheck buildbot to fail).
svn path=/trunk/; revision=22062
2007-06-06 22:02:56 +00:00
Bill Meier 6e5dc8ea47 Fwom David Buechi: Powerlink dissector enhancement:
The attached patch adds a small enhancement for the ETHERNET Powerlink
dissector (some well-known CANopen device profiles are decoded in human
readable plaintext in the IdentResponse frame).

svn path=/trunk/; revision=22061
2007-06-06 21:04:22 +00:00
Luis Ontanon 475916db3c Actually implement wtap_register_file_type() and have it returning the ID of the new file type.
Add few functions to wiretap's exported API.



svn path=/trunk/; revision=22060
2007-06-06 20:56:38 +00:00
Jaap Keuter f345f716a2 Fix for bug 1643.
Add element type Policy Server.

svn path=/trunk/; revision=22059
2007-06-06 19:58:26 +00:00
Jaap Keuter a1a33fbcfc Fix for bug 1644.
Get the DST from the right offset in the tvb.

svn path=/trunk/; revision=22058
2007-06-06 19:50:28 +00:00
Tomas Kukosa dab003bbf0 fix dist failed
svn path=/trunk/; revision=22057
2007-06-06 11:52:48 +00:00
Tomas Kukosa b4d36142ed build-in OPERATION and ERROR classes definition
svn path=/trunk/; revision=22056
2007-06-06 09:46:35 +00:00
Tomas Kukosa 90974e3440 Q.932 ROS regenerated from original ASN.1 source
svn path=/trunk/; revision=22055
2007-06-06 09:43:45 +00:00
Tomas Kukosa 1dcf2aaef0 use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
svn path=/trunk/; revision=22054
2007-06-06 08:12:27 +00:00
Guy Harris ad07451fd1 For various routines used by dissect_smb_fid() to dissect various FID
attributes specified at open time, have them take a length value, and
pass 4 if the values are extracted from the current packet and 0 if they
come from values saved when the FID was opened (as they're generated
values not found in the packet) - that fixes bug 1638.

svn path=/trunk/; revision=22053
2007-06-05 21:23:49 +00:00
Jaap Keuter e9577b77f5 Fix for bug 1512:
Present user with the invalid time string.

svn path=/trunk/; revision=22052
2007-06-05 20:36:23 +00:00
Jaap Keuter 08a6f4ed7b Fix for bug 1642:
Added hf_smpp_sms_signal to hf_array.

svn path=/trunk/; revision=22051
2007-06-05 20:26:03 +00:00