Commit graph

14281 commits

Author SHA1 Message Date
Anders Broman
4968c6f086 From Yuriy Sidelnikov:
A perfectly good tvb_bytes_to_str() has been used instead of string_to_hex. 

svn path=/trunk/; revision=14384
2005-05-17 19:21:45 +00:00
Anders Broman
090464f76e Add some more AVP:s.
svn path=/trunk/; revision=14383
2005-05-17 19:15:31 +00:00
Anders Broman
d8566c0028 Add some more media types to be dissected as xml.
svn path=/trunk/; revision=14382
2005-05-17 19:13:05 +00:00
Luis Ontanon
f1368440e6 - change the state label OUT to OUTSIDE to avoid a name collision with a macro defined in the windows system headers.
svn path=/trunk/; revision=14381
2005-05-17 13:29:36 +00:00
Gilbert Ramirez
0e80461b68 Add get_items_before(), to help analyze in the presence of
tunneled protocols.

svn path=/trunk/; revision=14380
2005-05-17 01:47:04 +00:00
Gilbert Ramirez
d3cd8d93e8 Add get_hide() to return the value of the "hide" tag
in field attributes.

svn path=/trunk/; revision=14379
2005-05-16 23:21:01 +00:00
Anders Broman
dc82444047 Add TCP port for "radan-http 8088/tcp Radan HTTP" from IANA.
svn path=/trunk/; revision=14378
2005-05-16 18:24:27 +00:00
Anders Broman
cd773d0e99 Add some more media types.
svn path=/trunk/; revision=14377
2005-05-16 18:15:33 +00:00
Luis Ontanon
bf1117c4c9 Transforms and Pdus are working already, Gops start to work.
svn path=/trunk/; revision=14376
2005-05-16 17:16:52 +00:00
Luis Ontanon
e3d0bbc874 let's get things right, we are in plugins/mate not epan/dfilter (from which I stole the nmake rules)
svn path=/trunk/; revision=14375
2005-05-16 15:10:50 +00:00
Luis Ontanon
d6fa558b5f Forgot this one in the last checkin!
svn path=/trunk/; revision=14374
2005-05-16 14:59:14 +00:00
Luis Ontanon
047baf2c38 MATE has a grammar.
Although not yet fully implemented I want this version as a reference. 


svn path=/trunk/; revision=14373
2005-05-16 13:28:35 +00:00
Anders Broman
a14646212b From Martin Mathieson:
new version of the RDT dissector.  It turns out that
specs are available for this protocol on www.helixcommunity.org  - this
version was written by myself and Tom Marshall of RealNetworks, Inc.

I Changed stream_id and asm_rule_number to be guint16 to fix compiler warnings.

svn path=/trunk/; revision=14372
2005-05-16 06:16:45 +00:00
Anders Broman
7263d93115 From Tim Endean:
Ss-code is Optional in some cases.

svn path=/trunk/; revision=14371
2005-05-15 21:17:29 +00:00
Anders Broman
8198cbe9ec From Tim Endean:
Ss-code is Optional in some cases.

svn path=/trunk/; revision=14370
2005-05-15 21:15:53 +00:00
Ronnie Sahlberg
cb2fc4e58b from martin m
prettify dcerpc


svn path=/trunk/; revision=14369
2005-05-14 22:05:56 +00:00
Gerald Combs
f404b15be5 When we catch an exception, make sure we don't throw the same exception again
(and catch it again in the process).  Fixes bug 170.

svn path=/trunk/; revision=14368
2005-05-14 21:13:07 +00:00
Ronnie Sahlberg
4c29a93f64 from dinesh
fix to make Zone_Alias objects decode properly


svn path=/trunk/; revision=14367
2005-05-14 21:08:20 +00:00
Ronnie Sahlberg
c07f0f0a45 From Guillaume Chazarain
New protocol : ARMAGETRONAD    dissector for the protcol used by the game of the same name


svn path=/trunk/; revision=14366
2005-05-14 21:00:43 +00:00
Gerald Combs
7effa95f95 Throw an exception if AndXOffset is less than the current offset. Fixes bug
163.  I'm not sure if this fix is entirely correct, but it doesn't appear to
have affected any SMB captures here adversely.

svn path=/trunk/; revision=14365
2005-05-14 19:13:02 +00:00
Ronnie Sahlberg
432a015797 add decoding of teh REMOVABLE bit in inquiry data
svn path=/trunk/; revision=14364
2005-05-14 17:41:07 +00:00
Ronnie Sahlberg
ceb1c26871 add a missing field to the REPORT LUNS datain pdu
svn path=/trunk/; revision=14363
2005-05-14 17:12:45 +00:00
Gilbert Ramirez
25dd1ce767 Add WTAP_GCOM_TIE1 and WTAP_GCOM_SERIAL for
Oolan Zimmer <ethereal@gcom.com>

svn path=/trunk/; revision=14362
2005-05-13 19:44:25 +00:00
Luis Ontanon
1eeda6e946 - make sure contextId and transactionId are added to the tree as filterable fields even if they are larger than 4 octets
- set COL_INFO to something useful


svn path=/trunk/; revision=14361
2005-05-13 11:16:05 +00:00
Anders Broman
acdaec7d25 Forgott the lex.py file
svn path=/trunk/; revision=14360
2005-05-13 05:50:26 +00:00
Anders Broman
746eefbaf5 Add the asn2eth related files to extra-dist (I hope this is the right thing to do to get them into the SVN tarballs).
svn path=/trunk/; revision=14359
2005-05-13 05:47:56 +00:00
Guy Harris
d5bad28951 Use "pcap_get_selectable_fd()" if we have it, and if it returns -1,
don't do a "select()".

svn path=/trunk/; revision=14358
2005-05-12 03:31:33 +00:00
Guy Harris
33db7e6fcb Don't include <pcap.h> twice.
svn path=/trunk/; revision=14357
2005-05-12 03:29:59 +00:00
Guy Harris
bcc201cd88 If we have libpcap, include <pcap.h>, because "capture.h" requires it.
If we *don't* have libpcap, don't include "capture.h", and don't test
whether a capture is in progress.

Clean up a message.

svn path=/trunk/; revision=14356
2005-05-12 03:29:26 +00:00
Guy Harris
38c139dce3 Squelch a compiler warning (GCC 4.0's data flow analysis is
interprocedural, so it knows "sip_parse_line()" doesn't always set
"*token_1_len", but it doesn't know that if it doesn't return OTHER_LINE
it *does* always set it, so it's safe not to set it as long as it's
never used if the return value is OTHER_LINE).

svn path=/trunk/; revision=14355
2005-05-12 02:55:59 +00:00
Guy Harris
bd29cb1267 Fix a routine to return the value it's supposed to return.
svn path=/trunk/; revision=14354
2005-05-12 02:51:59 +00:00
Guy Harris
3a8d46d8e9 Always set "*success" in "ipxnet_addr_lookup()" before returning (thanks
and a tip of the hat to GCC 4.0's interprocedural data flow analysis for
catching this one!).

svn path=/trunk/; revision=14353
2005-05-12 02:50:27 +00:00
Anders Broman
92b1092937 Reinsert Gerards patch (r14342) which was lost.
svn path=/trunk/; revision=14352
2005-05-11 22:20:11 +00:00
Anders Broman
d87981ccb6 Reinsert Gerards patch (r14342) which was lost.
svn path=/trunk/; revision=14351
2005-05-11 22:19:36 +00:00
Anders Broman
eac5e05d3a pinfo->p2p_dir not set in the new gsm_map dissector causing problems with dissection of SMS messages.
svn path=/trunk/; revision=14350
2005-05-11 22:00:50 +00:00
Anders Broman
0232c81b91 From Viorel Suman:
Enable a proper deconding of an alphanumeric 7-bit encoded SMS TP-Originating-Address.

svn path=/trunk/; revision=14349
2005-05-11 21:59:44 +00:00
Anders Broman
00bd7965b2 pinfo->p2p_dir not set in the new gsm_map dissector causing problems with dissection of SMS messages.
svn path=/trunk/; revision=14348
2005-05-11 21:46:16 +00:00
Ronnie Sahlberg
9ad2f9d11c avoid a div-by-0
svn path=/trunk/; revision=14347
2005-05-11 12:37:20 +00:00
Ronnie Sahlberg
4e3c7cc716 From Hannes Gredler
support for Juniper PPPOE encapsulation


svn path=/trunk/; revision=14346
2005-05-11 11:24:17 +00:00
Ronnie Sahlberg
fcab322ada Some applications do very naughty things like reusing a port for a different protocol during different stages of an application cycle.
This is very naughty and will cause problems when we have assigned a dissector to a dynamic port using conversation_set_dissector().


To make ethereal handle this case I have changed the try_conversation_dissector() to allow it to fail and return 0,   meaning   yes there is indeed a protocol registered for this conversation but that protocol rejected this packet.
(which only happens for "new" style dissectors, "old" style dissectors will never reject a packet that way)

When this happens  the decode_udp_port() helper will still allow other dissectors to be tried, in the hope that the conversation is now used for some other protocol and thus someone else might be able to decode the packet.


Update SNMP and TFTP dissectors to  check that even if there already is a conversation but that conversation does NOT have snmp/tftp registered as the dissector for it, then create a new conversation anyway and attach the proper dissector.

Since ethereal keeps track of which frame number a conversation started in, this actually works really well.



svn path=/trunk/; revision=14345
2005-05-11 10:40:53 +00:00
Gerald Combs
e3e4f52245 Don't write a '\0' way the heck past the end of an array. Fixes bug 164.
Add a comment asking if we shouldn't use oid_to_str() instead of our own
routine.

svn path=/trunk/; revision=14344
2005-05-10 23:45:39 +00:00
Luis Ontanon
5535853bf2 - export Audio Codec modes from isup/bicc
- detailed dissection of GSM/UMTS speech code list ETSI 126 103 (3gpp 26.103 v3.0.0)
- use it for H.248


svn path=/trunk/; revision=14343
2005-05-10 21:54:37 +00:00
Anders Broman
88c39bc93b Fix dissection of mo-forwardSM
svn path=/trunk/; revision=14342
2005-05-10 20:09:09 +00:00
Anders Broman
01adac2ffe Fix dissection of mt-forwardSM.
svn path=/trunk/; revision=14341
2005-05-10 20:06:04 +00:00
Anders Broman
b782032c1e fix some field rename errors turned up by the latest asn2eth compiler.
svn path=/trunk/; revision=14340
2005-05-10 20:02:14 +00:00
Ronnie Sahlberg
39e517a9b3 make SNMP over UDP a new style dissector and add some heuristics to check if this is SNMP or not,
svn path=/trunk/; revision=14339
2005-05-10 08:49:27 +00:00
Gerald Combs
c64e5e59f6 Make a field type check more strict. Remove some unnecessary code.
svn path=/trunk/; revision=14338
2005-05-10 03:10:09 +00:00
Gerald Combs
cd321f5958 Make sure we don't feed a null string to strncmp(). Fixes bug 161.
Make sure we don't free static memory.  Fix a small memory leak.

svn path=/trunk/; revision=14337
2005-05-10 03:08:36 +00:00
Jörg Mayer
78d0e8b33d I just found a packet with an option e. As the value looked very much
like the mac-address of the switch, I added decoding of option e as
mac address.


svn path=/trunk/; revision=14336
2005-05-09 11:21:16 +00:00
Lars Roland
9a47db0c3d Add another sanity check to the new SIP URI parser.
Just to be sure.

svn path=/trunk/; revision=14335
2005-05-09 01:21:41 +00:00