Commit graph

7389 commits

Author SHA1 Message Date
Ronnie Sahlberg
331d267b50 we need to track the fid in the rwdata structure so that reassembly of
connectionoriented dcerpc over smb pipes will be able to find the fid 
used for reassembly


svn path=/trunk/; revision=22557
2007-08-20 08:09:52 +00:00
Luis Ontanon
a5efe69a79 Filtering on snmp variables starts to work so I put it there in case anyone wants to start playing with it. I'll leave the generated dissector in place and the rest off the Makefiles so that others are not bothered by this.
TODO:
- Global
   - add libsmi to autoconf (I modified CFLAGS and LDADDs in the makefile.ams appending my own values, that's good only for me)
   - have other users of oid_resolv.h get to use the new functions in oids.h
   - add a menu item or preference setting for the smi_modules UAT ( the smi_modules file has one dquoted string per line with the name of each module to be loaded)
- SNMP
  - put complete information in the labels of the VarBind Items
  - add oids to COL_INFO
  - negative testing (Well, testing in general)
- OIDS
  - implement "ALL" modules 
  - some functions are not yet tested or implemented

I'll put a TO-DO list on the wiki for people (incl. me) to add more items




svn path=/trunk/; revision=22556
2007-08-19 23:00:47 +00:00
Stig Bjørlykke
696bcf8b2d Mark pinfo as unused to make buildbot happy again.
svn path=/trunk/; revision=22555
2007-08-19 21:56:11 +00:00
Anders Broman
782240831c Fix copy-paste errors.
svn path=/trunk/; revision=22554
2007-08-19 20:41:16 +00:00
Anders Broman
eafb792669 Disscet CC messages.
svn path=/trunk/; revision=22553
2007-08-19 20:26:08 +00:00
Stig Bjørlykke
10752972ea Check for COTP if Call Request has not been captured.
Fixed an offset for diagnostic in COL_INFO.

This file should really be rewritten to use more proto_tree_add_item's
instead of proto_tree_add_text's.

svn path=/trunk/; revision=22552
2007-08-18 22:56:44 +00:00
Graeme Lunt
d36abc4549 Handle unknown Universal and BMP strings.
svn path=/trunk/; revision=22551
2007-08-18 17:39:44 +00:00
Bill Meier
c71c4af57c Fix some gcc warnings so buildbots can proceed.
svn path=/trunk/; revision=22548
2007-08-18 03:19:44 +00:00
Luis Ontanon
fab09c9575 accept 64bit integers where 8 <= len <= 1
svn path=/trunk/; revision=22546
2007-08-18 00:14:52 +00:00
Gerald Combs
6db456ba1d Fix a couple of signedness mismatches.
svn path=/trunk/; revision=22545
2007-08-17 23:53:41 +00:00
Anders Broman
c7fd82dbbe Add code for finding sub dissectors.
svn path=/trunk/; revision=22544
2007-08-17 23:23:36 +00:00
Anders Broman
9f35c24eb5 Add a rudimentarry DPNSS dissector - work in progress.
svn path=/trunk/; revision=22543
2007-08-17 21:31:22 +00:00
Jeff Morriss
d47443ba38 Replace a couple more calls to tvb_get_string() with tvb_get_ephemeral_string(). 2 of the 3 replacements fix memory leaks.
svn path=/trunk/; revision=22542
2007-08-17 21:21:50 +00:00
Ashok Narayanan
a692269fc9 Added support for 802.1ad and 802.1ah ethernet frames
svn path=/trunk/; revision=22541
2007-08-17 21:21:18 +00:00
Graeme Lunt
98688eb828 Further tidy up for preference.
svn path=/trunk/; revision=22539
2007-08-17 19:40:40 +00:00
Gerald Combs
72daa58e19 Instead of converting between 802.11 frequencies and channels umpteen
different ways, add a set of common conversion routines.  Add a
"Frequency/Channel" column and fill it in where we can.  Fix RSSI column
printing in PPI.

Fix up whitespace along the way.

svn path=/trunk/; revision=22538
2007-08-17 19:34:14 +00:00
Graeme Lunt
3d19c5130b Fix for OSX gremlin in PKCS12 template.
svn path=/trunk/; revision=22537
2007-08-17 19:23:15 +00:00
Graeme Lunt
4d708c7260 Faked BMP string display.
svn path=/trunk/; revision=22536
2007-08-17 19:16:51 +00:00
Graeme Lunt
0e9f4f05f1 Support for the decryption of EncryptedData which is used by PKCS12
Uses the PBE routines from PKCS12.


svn path=/trunk/; revision=22535
2007-08-17 19:14:39 +00:00
Graeme Lunt
54aa46c2bb Support for decrypting of PKCS#12 bag contents.
Supports RC2, RC4 and 3DES with SHA1 Password-based Encryption using libgcrypt functions.
Password is provided as a preference, as is trying to decode with a empty/NULL password. 


svn path=/trunk/; revision=22534
2007-08-17 18:52:40 +00:00
Ulf Lamping
4b215597ae experimental feature: dissector filters
add the possibility, that a dissector writer can provide (usually non-trivial) display filters specific for the protocol in question (with an example in packet-dcerpc-pn-io.c), that will appear in the GUI


svn path=/trunk/; revision=22530
2007-08-16 22:03:10 +00:00
Stig Bjørlykke
1ac635cd7d When calculating checksum for p_mul the checksum field itself is set to zero.
Ensure this field is inside the buffer before altering it, so we don't 
write outside the allocated buffer.

svn path=/trunk/; revision=22529
2007-08-16 20:54:43 +00:00
Anders Broman
8d76d4130e Collect context data.
svn path=/trunk/; revision=22528
2007-08-16 19:59:55 +00:00
Stig Bjørlykke
138d737a47 Added handling of ISO FTAM unstructured binary, as this OID is used in
X.420 FileTransferBodyPart for generic binary bodyparts.
Also added handling of ISO FTAM unstructured text.

svn path=/trunk/; revision=22527
2007-08-16 17:59:27 +00:00
Luis Ontanon
b782333f20 - It's just-a-bad-idea(tm) to redefine anything from a foreign library, Don't.
- Allow to look for value-types by name.

[still largelly  untested]

svn path=/trunk/; revision=22524
2007-08-16 06:48:51 +00:00
Ulf Lamping
cc8f5e8f60 add an expert info, if ip.ttl < 5
svn path=/trunk/; revision=22521
2007-08-16 04:25:54 +00:00
Stig Bjørlykke
6a751ffd2e Regenerate the CDT dissector with -X and -T options.
svn path=/trunk/; revision=22519
2007-08-15 23:42:29 +00:00
Jeff Morriss
ffec5b8896 Convert a couple tvb_get_string()'s into tvb_get_ephemeral_string(). In the one remaining use of tvb_get_string(), g_free the old entry if the pointer is *not* NULL.
svn path=/trunk/; revision=22518
2007-08-15 22:41:49 +00:00
Stig Bjørlykke
93a9ea7879 Improved dumping of unexpected data when dissector for OID not implemented.
svn path=/trunk/; revision=22517
2007-08-15 22:34:56 +00:00
Stig Bjørlykke
a29b4bf19e Added support for RFC3030 (BDAT) in SMTP.
Added data fragment length to COL_INFO.
Changed some 0/1 values to boolean.

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1736

svn path=/trunk/; revision=22516
2007-08-15 22:29:58 +00:00
Jeff Morriss
3dec62b85c - s/ntohs/g_ntohs
- s/ntohl/g_ntohl
- s/free/g_free
- Change some tvb_get_string()+g_free()'s into tvb_get_ephemeral_string()
- Change some tvb_fake_unicode()+g_free()'s into tvb_get_ephemeral_faked_unicode()
- Change some tvb_get_string() calls that were clearly memory leaks (like
  atoi(tvb_get_string(...))) into tvb_get_ephemeral_string()

svn path=/trunk/; revision=22515
2007-08-15 22:27:52 +00:00
Stig Bjørlykke
0cab42b465 Use fragment_start_seq_check to start defragmentation when receiving an
Address PDU without adding a empty message fragment.

svn path=/trunk/; revision=22514
2007-08-15 22:26:00 +00:00
Stig Bjørlykke
c6ba6d714d Added fragment_start_seq_check to start a reassembly without adding any data.
svn path=/trunk/; revision=22513
2007-08-15 22:24:05 +00:00
Stig Bjørlykke
84e7d8ca70 Fixed a free -> g_free
Removed a unused hf_ entry

From Ian Brumby:
- Fixed decoding of 4 character and longer SICs

svn path=/trunk/; revision=22512
2007-08-15 22:20:28 +00:00
Jeff Morriss
37b786a771 Change tvb_get_string() to tvb_get_ephemeral_string(). Since we weren't freeing the returned buffer, this cleans up a memory leak. NOTE: I had to manually regenerate this dissector without the "-T" option to avoid checking in a lot of changes that I don't understand/didn't make. Why is the Makefile newer than what's in epan/dissectors/ ?
svn path=/trunk/; revision=22511
2007-08-15 21:37:09 +00:00
Jeff Morriss
ced84236fe checkhf.pl found a couple bugs: hf_sccp_calling_itu_global_title_indicator and hf_sccp_ansi_isni_counter were never used (the former due to a typo, the latter due to oversight).
svn path=/trunk/; revision=22510
2007-08-15 21:07:01 +00:00
Luis Ontanon
05bdebe45d I'm at the end of the second iteration, so far this compiles OK still haven't tested it but it does not go in the Makefiles, I need this as a reference point.
svn path=/trunk/; revision=22508
2007-08-15 19:52:44 +00:00
Jörg Mayer
4793614e27 Mask out only the bc/mc bit, not the locally assigned bit.
Update comment accordingly.

svn path=/trunk/; revision=22507
2007-08-15 13:21:23 +00:00
Anders Broman
d2e37e0fef Change tcap_private to ansi_tcap_private.
svn path=/trunk/; revision=22505
2007-08-15 05:47:17 +00:00
Ulf Lamping
60e81cd141 if the manuf address could not be resolved, strip off special bits (multicast, locally administered) and try again to find it
svn path=/trunk/; revision=22503
2007-08-14 23:52:51 +00:00
Anders Broman
211ad2e696 Actually adding the dissector may help :)
svn path=/trunk/; revision=22502
2007-08-14 22:10:55 +00:00
Anders Broman
1518d1b07a Preparations to split the TCAP dissector into ANSI and ITU parts.
svn path=/trunk/; revision=22501
2007-08-14 22:05:36 +00:00
Anders Broman
ab242d50fa From From: Sommars, Steven E:
Minor problem in packet-gtp.c  when decoding the PDP context Information
Element (7.7.29 in 29.060)   The two uplink TEIDs are reversed in
packet-gtp.c, it should be control plane, followed by data.

Reworked the patch.

svn path=/trunk/; revision=22500
2007-08-14 21:50:12 +00:00
Jaap Keuter
e3af953ae2 From Nicolas Dichtel:
Please find enclosed a patch to update BA status code for PMIPv6
according to draft-ietf-netlmm-proxymip6-01 Section 8.5

svn path=/trunk/; revision=22499
2007-08-14 16:37:35 +00:00
Anders Broman
57592cb2aa http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1739
Fro Stig Bjørlykke:
1. BER: Added support for empty indef SET
2. RTSE: Added fragment length in COL_INFO
3. IMF: Use correct hf_id for extension value
4. DOP: Fix typo in COL_INFO oid name

svn path=/trunk/; revision=22492
2007-08-13 16:41:16 +00:00
Anders Broman
e5d21a06fa Add forgotten header field.
svn path=/trunk/; revision=22491
2007-08-13 16:28:13 +00:00
Tomas Kukosa
396ceb5607 NBAP rewritten to use original ASN.1 source and updated to TS 25.433 V7.5.0 (2007-06)
svn path=/trunk/; revision=22490
2007-08-13 11:15:39 +00:00
Luis Ontanon
0b43610ea8 Use '~' as a synonim for "matches" replace rogue "s with \042 to avoid some text editors going wild
svn path=/trunk/; revision=22486
2007-08-11 22:05:44 +00:00
Luis Ontanon
282e5005d2 +prefs_add_uat_preference
svn path=/trunk/; revision=22484
2007-08-10 21:07:18 +00:00
Luis Ontanon
d7b9378232 An old proposal from Martin, append to COL_PROTO the name taken from a matching DTD (in case the media-type actually matches it). Having the name of the root element found would be nicer.
svn path=/trunk/; revision=22483
2007-08-10 21:03:26 +00:00
Anders Broman
5856a9e4e3 Add header fields.
svn path=/trunk/; revision=22481
2007-08-10 11:41:28 +00:00
Anders Broman
87dac870ab Register by name.
svn path=/trunk/; revision=22477
2007-08-09 14:47:25 +00:00
Anders Broman
6c161ff927 Packet-imf.c - Offset must be advanced to AFTER CRLF(CRLF).
packet-multipart.c - imf_find_field_end()'s maxlength is last offset in tvb.

svn path=/trunk/; revision=22476
2007-08-09 12:17:56 +00:00
Ulf Lamping
a11feafee6 don't use NULL to initialise an integer
svn path=/trunk/; revision=22474
2007-08-08 23:36:48 +00:00
Ulf Lamping
5c86e7fd4c add pinfo fields clnp_srcref and clnp_dstref to the clnp dissector, similar to the srcport / destport already existing. As simply using srcport / destport for this will confuse mixed protocol usage (like RFC1006 ISOonTCP), I've added explicit clnp fields.
This way, protocols on top of COTP / CLNP have at least a chance to do reassembling correct.

svn path=/trunk/; revision=22473
2007-08-08 22:53:14 +00:00
Ulf Lamping
8ad0c82614 From Markus Seehofer:
A new version of the IEEE1588/PTP dissector. This dissector now includes the
coming version 2 of the standard. It supports both IP/UDP and pure ethernet
frames.
 
I've done some minor changes:
 
LL suffix doesn't work on Win32, used G_GINT64_CONSTANT instead - as described in doc/readme.developer
removed ETHERTYPE_PTP definition, already defined in etypes.h
removed some duplicated "if (tree)"
 

svn path=/trunk/; revision=22472
2007-08-08 20:06:51 +00:00
Anders Broman
16e3bf0476 Add more XCAP application types.
svn path=/trunk/; revision=22471
2007-08-08 19:50:39 +00:00
Anders Broman
aba53f4da7 Wireshark fails to decode the MIME encapsulation part correctly if there is a
"white space" in the Content-Type field before the semi-colon.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1716
Still does not work correctly as packet-multipart.c seems to have got broken.

svn path=/trunk/; revision=22470
2007-08-08 14:25:17 +00:00
Tomas Kukosa
652b2503c9 add missing initial registration to TCP and SSL ports
svn path=/trunk/; revision=22469
2007-08-08 14:01:28 +00:00
Martin Mathieson
cd47f86da3 Send free-standing generic XML messages -> xml dissector
svn path=/trunk/; revision=22468
2007-08-08 13:12:15 +00:00
Anders Broman
7badbc8eb6 From Daniel Rao:
Implement desegment for SIGCOMP over TCP, similar with HTTP desegment.

svn path=/trunk/; revision=22467
2007-08-08 12:44:28 +00:00
Jaap Keuter
cf95f5ccfd Fix the build
svn path=/trunk/; revision=22466
2007-08-08 07:04:28 +00:00
Luis Ontanon
4238415deb Remove XML heuristic dissector when disabling it.
svn path=/trunk/; revision=22465
2007-08-07 23:07:27 +00:00
Richard van der Hoff
0982bc011c remember to dissect IEs which we rely on elsewhere, even when there is no
packet tree.

svn path=/trunk/; revision=22464
2007-08-07 22:49:31 +00:00
Luis Ontanon
7475efa0f6 from: Mike Duigou
Adds a heur_dissector_delete() function to allow heuristic dissectors to be
dynamically disabled based upon, for example, preference settings.

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1697


svn path=/trunk/; revision=22463
2007-08-07 21:26:07 +00:00
Luis Ontanon
bc50d5ceb7 Export the entire uat api
svn path=/trunk/; revision=22462
2007-08-07 20:09:18 +00:00
Luis Ontanon
d8e818e9da Make sure that wiretap plugins are loaded before dissectors are (if a new encap type is registered the plugin probably needs it before reg_handoff)
svn path=/trunk/; revision=22461
2007-08-07 20:07:43 +00:00
Ulf Lamping
1bab78bfdf remove an unused variable
svn path=/trunk/; revision=22458
2007-08-06 09:12:18 +00:00
Ulf Lamping
2aef54275a add a way to read a personal /etc/services file for TCP/UDP/... port service name resolution.
svn path=/trunk/; revision=22457
2007-08-06 08:44:26 +00:00
Luis Ontanon
f7cdc0be31 Add preferences to register XML for a TCP port or as a TCP heuristic dissector.
svn path=/trunk/; revision=22454
2007-08-04 14:20:37 +00:00
Guy Harris
a817b2df15 Fix cut-and-pasteo.
svn path=/trunk/; revision=22453
2007-08-04 08:13:22 +00:00
Guy Harris
71070dd6d8 Treat runlex.sh-generated headers differently from Flex-generated .c
files - for one thing, the former aren't compiled into .o or .obj files.

svn path=/trunk/; revision=22452
2007-08-04 08:04:17 +00:00
Guy Harris
5be4499ad1 Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines.  Use that script when building
lexical analyzers, and, for each lexical analyzer, include the generated
header file in the generated analyzer.

svn path=/trunk/; revision=22446
2007-08-04 02:13:52 +00:00
Ulf Lamping
12aed7290c - add PDInterfaceFSUDataAdjust block
- start to implement an AR conversation handler

svn path=/trunk/; revision=22444
2007-08-03 19:29:34 +00:00
Guy Harris
98309a6c83 Squelch a warning.
svn path=/trunk/; revision=22442
2007-08-02 19:07:08 +00:00
Guy Harris
dd86332046 Gak. <> makes it too easy to make these make- scripts do what the rest
do, and take $(srcdir) as the first argument.  Back the previous changes
out, for now.

svn path=/trunk/; revision=22441
2007-08-02 16:06:13 +00:00
Guy Harris
ad76a231d4 We have to include Makefile.common if we move definitions we need
there....

svn path=/trunk/; revision=22440
2007-08-02 08:24:00 +00:00
Guy Harris
4f00d5fcc1 Move the list of source files to a Makefile.common file.
Don't put $(srcdir)/ at the beginning of those file names - other
Makefile.am files don't have it, and it appears to break "make
distcheck", at least on my Mac OS X 10.4 machine.

svn path=/trunk/; revision=22439
2007-08-02 07:54:03 +00:00
Sebastien Tandel
15626ed976 From Amine Dhraief:
there is a mistake in the assigned  number of the update request and update
   ack shim6 control message. Accordingly to draft-ietf-shim6-proto-08 the
   update request has a value of 64 and the update ack 65.


svn path=/trunk/; revision=22438
2007-08-02 02:28:48 +00:00
Guy Harris
46be54cee3 Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a
.SUFFIXES pseudo-rule to add .l to the list of suffixes.  Have
Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get
that rule.

The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the
right names for the files in question.

Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate".

svn path=/trunk/; revision=22437
2007-08-01 22:20:38 +00:00
Guy Harris
159e795100 Add a Makefile.am.inc file, to hold rules etc. used by multiple
Makefile.am files; currently, it has the (F)lex-to-C rule.  Have
Makefile.am files with .l.c rules include Makefile.am.inc to get that
rule.

svn path=/trunk/; revision=22436
2007-08-01 20:35:05 +00:00
Jaap Keuter
6ab0bbb73c Clean up the WiMax Mac-to-Mac dissector code.
svn path=/trunk/; revision=22435
2007-08-01 17:42:43 +00:00
Guy Harris
61dd46fa9c Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.

svn path=/trunk/; revision=22434
2007-08-01 00:22:25 +00:00
Guy Harris
3d18eafe0a Export dfilter_macro_build_ftv_cache() for use by Wireshark.
svn path=/trunk/; revision=22429
2007-07-31 01:32:47 +00:00
Luis Ontanon
9865b6346f As per Ulf's request add ${proto.field} macros that will use the value of the given field has in the last selected packet.
svn path=/trunk/; revision=22427
2007-07-30 23:32:47 +00:00
Guy Harris
968d363f11 Add comments to various %option items to explain what they're doing.
Move the %options to the beginning if they weren't already there, and
put them in the same order in all files.

Add "prefix=" options to .l files that don't already have them, so we
don't have to pass a "-P" option.

Add "never-interactive" and "noyywrap" options to our lexical analyzers,
to remove extra isatty() checks and to eliminate the need for yywrap()
from the Flex library.

Get rid of %option nostdinit - that's the default.

Add .l.c: rules to Makefile.am files, replacing the rules for specific
.l files.  Have those rules all check that $(LEX) is set.

Update the address for the FSF.

svn path=/trunk/; revision=22424
2007-07-30 20:22:37 +00:00
Martin Mathieson
0d437580ee Parse EPSV responses (229) & set up FTP-DATA conversation.
svn path=/trunk/; revision=22423
2007-07-30 18:45:48 +00:00
Jeff Morriss
5bf0217530 As requested by Mike Rogovin: register the ICMP dissector by name. For completeness, also register ICMPv6 by name.
svn path=/trunk/; revision=22422
2007-07-30 17:21:40 +00:00
Jeff Morriss
7c4cca3e63 From Florent Drouin:
Correct bug in TCAP statistics when read filter is used.
Rename the TCAP decoding functions to show which are ITU vs. ANSI.
Don't unregister an ITU SSN if it's used by an ANSI subdissector.

svn path=/trunk/; revision=22421
2007-07-30 17:10:20 +00:00
Jaap Keuter
9636fdfefd Fix for bug 1712:
RFC 4627 defines "The application/json Media Type for JavaScript Object Notation (JSON)" 
application/json is a text based type used by JavaScript applications and web pages.

svn path=/trunk/; revision=22420
2007-07-30 13:06:01 +00:00
Tomas Kukosa
7f02fcd555 RNSAP updated to V7.5.0 (2007-06)
svn path=/trunk/; revision=22419
2007-07-30 12:08:38 +00:00
Tomas Kukosa
beffad7887 add forgotten files
svn path=/trunk/; revision=22418
2007-07-30 08:22:22 +00:00
Tomas Kukosa
5a46ea46b5 H.450 regenerated from original ASN.1 sources
svn path=/trunk/; revision=22417
2007-07-30 08:01:59 +00:00
Jeff Morriss
29facf8ff9 From Florent Drouin:
- add support of session management for tcap ANSI.
   (In fact, this support already exist for ANSI MAP subdissector, but as our
   simulators can reuse the tcap transaction Id, the decoding of the response
   may be wrong)
- move the code related to asn1 in tcap.cnf, and update tcap.cnf
- move the code related to the session management in tcap-persistentdata
- add a compilation option to free the entry in the hashtable for a closed
  transaction. This is used only for tshark statistics generation, with huge file.
- cleanup and add some comments

Add Id tags to epan/tcap-persistentdata.{c,h}

svn path=/trunk/; revision=22415
2007-07-27 19:24:40 +00:00
Martin Mathieson
c539ff38ef Check the length in unsigned32 AVP data fields.
svn path=/trunk/; revision=22413
2007-07-27 18:32:09 +00:00
Jeff Morriss
0c6ea016ea Add fetch_tapped_data
svn path=/trunk/; revision=22412
2007-07-27 14:22:47 +00:00
Tomas Kukosa
e5922df225 - use #.FN_HDR where #.FN_BODY is not necessary
- modify subtypes for individual TCMessage/ansi... fields instead of switching based on hf_index inside common TransactionPDU type

svn path=/trunk/; revision=22411
2007-07-27 06:23:45 +00:00
Jeff Morriss
45ee7230cc Change a bunch of calls to col_append_*() to col_add_*() in places where we
_want_ what's currently in the INFO column (usually a more generic message
type from a lower level dissector) replaced (usually with a more
specific--higher level--message type from the currect dissector).  Add a
comment there not to change it back and to explain the use of col_set_fence()
in case someone finds data there that they _don't_ want replaced.

svn path=/trunk/; revision=22409
2007-07-26 20:05:54 +00:00
Jeff Morriss
1af3ee0936 Check COL_INFO before calling col_set_fence(..., COL_INFO) rather than COL_PROTOCOL
svn path=/trunk/; revision=22408
2007-07-26 19:27:22 +00:00
Tomas Kukosa
b104611590 remove unused variable
svn path=/trunk/; revision=22407
2007-07-26 14:31:38 +00:00
Tomas Kukosa
82ea2908f1 - export some ASN.1 functions from libwireshark
- fill-in actx->created_item in dissect_ber_object_identifier()

svn path=/trunk/; revision=22406
2007-07-26 14:00:48 +00:00
Graeme Lunt
bd559bc7e5 Small cosmetic change to show Named Property name.
svn path=/trunk/; revision=22402
2007-07-25 19:11:02 +00:00
Jaap Keuter
44b31f98f3 From Francois-Xavier Le Bail:
The following patch decodes DHCP option 121. (RFC 3442)

svn path=/trunk/; revision=22399
2007-07-24 21:23:55 +00:00
Anders Broman
61fb0c84d2 From Florent Drouin:
- add a subtree to the ApplyChargingXX Report
- add a subtree to ReleaseCall and ReleaseSMS
- synchronize Unix and Windows makefile.

svn path=/trunk/; revision=22396
2007-07-24 17:20:44 +00:00
Tomas Kukosa
8334a43855 QSIG extended with SYNC-SIG operations (ECMA-245)
svn path=/trunk/; revision=22394
2007-07-24 07:37:10 +00:00
Jeff Morriss
e705b7335b (sigh): move packet-bacapp, packet-diameter, and packet-sctp back out of CLEAN_DISSECTOR_SRC. Next time: check the compile logs on the buildbots _before_ experimenting
svn path=/trunk/; revision=22393
2007-07-24 00:44:07 +00:00
Jeff Morriss
62330a8c8b Getting brave (or foolish?): move packet-bacapp, packet-cops, packet-diameter, and packet-sctp to CLEAN_DISSECTOR_SRC
svn path=/trunk/; revision=22392
2007-07-23 23:29:36 +00:00
Anders Broman
ba2549b83a Fix bug
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1699 Bad decoding of Camel PromptAndCollectUserInfo

By fixing up the generation of HF vars for Arg etc

Add an OID name to INAP.

svn path=/trunk/; revision=22391
2007-07-23 23:02:54 +00:00
Jeff Morriss
43966696b9 Move packet-isup to CLEAN_DISSECTOR_SRC--it compiles cleanly for me.
svn path=/trunk/; revision=22390
2007-07-23 22:38:57 +00:00
Ulf Lamping
3b509e89ae - add a column for the expert info severity level
- fix a column related bug introduced in SVN 20118

svn path=/trunk/; revision=22387
2007-07-23 20:11:05 +00:00
Ulf Lamping
a770cf59a3 show the number of fragment bytes in the info column
svn path=/trunk/; revision=22384
2007-07-23 20:06:03 +00:00
Jeff Morriss
c6d7440be1 From Marc Petit-Huguenin: this is an update to the STUN2 dissector using the
last draft, draft-ietf-behave-rfc3489bis-07.  Changelog:

* My employer is now sponsoring this work, so added a copyright line.
* Added a comment for each method/attribute with the RFC/I-D where is
  it defined, so it will be easier to add new STUN usages.
* Removed the SHARED-SECRET method.
* Removed the PASSWORD and REFRESH-INTERVAL attributes.
* Changed "Response" to "Success Response".
* Changed "Error Reason Phase" to "Error Reason Phrase".
* Added reassembly for TCP segments on STUN2.
* Updated STUN acronym expansion.
* Renamed STUN2_ERROR to ERROR_RESPONSE.
* Changed the value of attribute FINGERPRINT from 0x8025 to 0x8028.
* Display if an unknown attribute is comprehension-optional or
  comprehension-required.
* Reorganized order of attributes in the dissector code.
* The message length is now displayed in decimal.

svn path=/trunk/; revision=22383
2007-07-23 19:32:40 +00:00
Martin Mathieson
59c8ec0670 Make contributing items and hdr extensions proper fields.
svn path=/trunk/; revision=22382
2007-07-23 14:39:17 +00:00
Luis Ontanon
3764b345b3 register dissect_eth_maybefcs as "eth" users might find it useful.
svn path=/trunk/; revision=22381
2007-07-22 16:44:25 +00:00
Luis Ontanon
6c31e5fc14 Fix documentation comments
svn path=/trunk/; revision=22373
2007-07-21 18:23:08 +00:00
Jeff Morriss
3b6cd9fc91 From Ted Percival: Support for PA-S4U2Self Kerberos packet type based on ASN.1
description in Heimdal.

svn path=/trunk/; revision=22364
2007-07-20 18:57:02 +00:00
Martin Mathieson
3e62d049de - add an all_cmds array for looking up 'RFC' packets
- improve error/expert info when see unmatched AVPs, commands, appids

svn path=/trunk/; revision=22363
2007-07-20 11:39:09 +00:00
Tomas Kukosa
3b5c406f8c QSIG fully implemented
svn path=/trunk/; revision=22361
2007-07-20 09:54:47 +00:00
Luis Ontanon
5e290061f2 - <?avp-proto and <?type-proto to instruct about which dissector to use for a given type or avp
- dissect timestamps
- add all the avps that were commented out in the dictionary


svn path=/trunk/; revision=22360
2007-07-20 00:15:17 +00:00
Jeff Morriss
fae881dc45 Put register_dissector() call back in
svn path=/trunk/; revision=22359
2007-07-19 15:11:34 +00:00
Jeff Morriss
a6dd859454 For LEGO: Use crypt_tvb when we don't have cleartext_tvb
svn path=/trunk/; revision=22358
2007-07-19 14:04:56 +00:00
Jeff Morriss
81e2b4b66e Change "lenght" to "length", this time in the *source* of the SNMP dissector (sigh)
svn path=/trunk/; revision=22357
2007-07-19 13:43:36 +00:00
Jeff Morriss
794a933a2c Change "lenght" to "length" and "decypt" to "decrypt"
svn path=/trunk/; revision=22356
2007-07-19 13:05:39 +00:00
Tomas Kukosa
9dad88f94b get rid of few warnings
svn path=/trunk/; revision=22355
2007-07-19 12:31:01 +00:00
Tomas Kukosa
17feb32ca9 change QSIG tables structure so as they can be generated automatically from ASN.1 in the next step
svn path=/trunk/; revision=22354
2007-07-19 11:41:10 +00:00
Bill Meier
71209c200f Fix two Windows compile warnings
svn path=/trunk/; revision=22353
2007-07-18 15:07:45 +00:00
Tomas Kukosa
3f0e5022e2 remove packet-q932-ros.h
svn path=/trunk/; revision=22352
2007-07-18 14:12:56 +00:00
Martin Mathieson
b0d92aeb98 Initialise description field to avoid crash when dumping dictionary.
svn path=/trunk/; revision=22351
2007-07-18 13:22:11 +00:00
Martin Mathieson
0a759fa734 Minor changes to expert items
svn path=/trunk/; revision=22350
2007-07-18 13:18:41 +00:00
Tomas Kukosa
ab5d466fc7 rose_ctx_t structure usage in Q.932 dissector
svn path=/trunk/; revision=22349
2007-07-18 13:15:36 +00:00
Luis Ontanon
54a9c2e94e add license
svn path=/trunk/; revision=22348
2007-07-18 08:25:09 +00:00
Michael Tüxen
06ff527c5b Make debugging static.
svn path=/trunk/; revision=22347
2007-07-18 07:06:46 +00:00
Luis Ontanon
f1c5a7c55b fxi a ytpo
svn path=/trunk/; revision=22346
2007-07-18 00:19:37 +00:00
Luis Ontanon
e27b40f589 Add Address decoding, two debug environment variables (WIRESHARK_DEBUG_DIAM_DICT_PARSER and WIRESHARK_DUMP_DIAM_DICT) and fix some issues pointed out by Martin
svn path=/trunk/; revision=22345
2007-07-17 22:19:54 +00:00
Luis Ontanon
776820f3fb (Following my "tradition") I forgot to ci the changes to the Makefiles for crc6 and crc10
svn path=/trunk/; revision=22344
2007-07-17 22:11:07 +00:00
Luis Ontanon
144ca8491d fix a leak
svn path=/trunk/; revision=22343
2007-07-17 22:09:10 +00:00
Luis Ontanon
b8258e4a36 increase line numbers on comments too
svn path=/trunk/; revision=22342
2007-07-17 22:05:18 +00:00
Luis Ontanon
e1ed3a1b8d get crc10 and crc6 out of packet-iuup.c
- experimental code for a way-too-heurstic look for iuup dissector


svn path=/trunk/; revision=22341
2007-07-17 22:04:00 +00:00
Luis Ontanon
fc98b36914 Have the encapsulation selection match on the port name as well as stk filename.
svn path=/trunk/; revision=22340
2007-07-17 22:00:40 +00:00
Stephen Fisher
d1357063ae From Jess Balint:
a patch to fix the state management for the MySQL protocol dissector.


svn path=/trunk/; revision=22339
2007-07-17 21:50:29 +00:00
Gerald Combs
01567eb9f4 If we can't find dictionary.xml, fail instead of trying to read from
stdin (which makes distcheck unhappy).  Fixup whitespace.

svn path=/trunk/; revision=22338
2007-07-17 21:29:18 +00:00
Guy Harris
d38d3652d9 "key" is a guint8 *; make the pointer into the string to which it refers
a guint8 * as well - that keeps us from sign-extending the characters
before passing them to the ctype.h macros.

svn path=/trunk/; revision=22337
2007-07-17 19:09:50 +00:00
Jeff Morriss
a1c34d30c8 Don't use g_ascii_isupper() nor g_ascii_tolower(): they don't exist in GTK1. Replaced with generic isupper() and tolower().
svn path=/trunk/; revision=22336
2007-07-17 18:56:09 +00:00
Martin Mathieson
355d1e1321 Show malformed SDP line as an expert item
svn path=/trunk/; revision=22334
2007-07-17 13:09:44 +00:00
Martin Mathieson
6bbe9bd5d6 Avoid an infinite loop (on malformed packet)
svn path=/trunk/; revision=22333
2007-07-17 11:54:22 +00:00
Jaap Keuter
8cb4cc6aaf Fix for bug 1616:
ICMPv6 & UDP w/IPv6 checksum with a routing header fixed using the routing header address now.

svn path=/trunk/; revision=22331
2007-07-17 07:01:36 +00:00
Stephen Fisher
a1f317de36 From Kevin A. Noll via private bug #1683:
This is a major re-write of the WLCCP version 0xc1 dissector. It now is
able to dissect many more WLCCP message types and the TLVs that may be
included in a message. Placeholders are left for message types and
TLV types that we do not currently have enough data to engineer a
dissector.


svn path=/trunk/; revision=22330
2007-07-17 06:21:15 +00:00
Jeff Morriss
520296ca02 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1675 (warning: cast from pointer to integer of different size) and, presumably, display of PER encoded IPv4 addresses by copying the IP address into a guint32 and passing that to proto_tree_add_ipv4().
svn path=/trunk/; revision=22328
2007-07-16 21:37:07 +00:00
Luis Ontanon
e8b9920f58 Fix distcheck
svn path=/trunk/; revision=22324
2007-07-16 17:39:40 +00:00
Luis Ontanon
81d168b14c Glibize diam_dict.l (should fix windows config)
svn path=/trunk/; revision=22323
2007-07-16 17:27:51 +00:00