Commit Graph

2923 Commits

Author SHA1 Message Date
Anders Broman d6babe2f76 No longer needed
svn path=/trunk/; revision=15002
2005-07-22 23:12:26 +00:00
Anders Broman 896131ebf1 From Martin Mathieson:
Collapsed the control and data protocols into dissector to cope with commands and data over the same TCP connection.  I've also prettified things a bit and now decoded a few more command parameters.

svn path=/trunk/; revision=15001
2005-07-22 23:11:11 +00:00
Ronnie Sahlberg fd34c9df89 recode the tvb_memdup() to use emem calls.
svn path=/trunk/; revision=15000
2005-07-22 23:04:52 +00:00
Ronnie Sahlberg badb5a40a3 remove a redundant tvb_memdup() and fix a potential buffer overflow at the same time.
svn path=/trunk/; revision=14999
2005-07-22 22:56:08 +00:00
Ronnie Sahlberg 336b300d03 replace one tvb_memdup() with a tvb_memcpy() using an automatically freed emem buffer
svn path=/trunk/; revision=14998
2005-07-22 22:45:36 +00:00
Jörg Mayer e1c6d9ac3d Fix some warnings (and one of my previous 'fixes')
svn path=/trunk/; revision=14997
2005-07-22 17:57:40 +00:00
Jörg Mayer 5731769818 Set svn:keywords and svn:eol-style
svn path=/trunk/; revision=14996
2005-07-22 17:55:47 +00:00
Gerald Combs 5800e255ef Fix a potential memory leak.
svn path=/trunk/; revision=14993
2005-07-22 15:51:20 +00:00
Anders Broman 418092ce05 From Graham Bloice
updates.

svn path=/trunk/; revision=14992
2005-07-22 15:20:57 +00:00
Anders Broman 2f08559cda From Maynard, Chris.
svn path=/trunk/; revision=14991
2005-07-22 13:37:19 +00:00
Anders Broman 120e20801e Use NULL intead of "" in all calls to packet-gsm_a.c
svn path=/trunk/; revision=14989
2005-07-22 08:56:41 +00:00
Anders Broman 3e7c25ba16 Add ep_init_chunk.
svn path=/trunk/; revision=14988
2005-07-22 08:55:06 +00:00
Ronnie Sahlberg 070351d090 convert all other nasty "rotating static array" from to_str.c and make them use the new emem api.
svn path=/trunk/; revision=14987
2005-07-22 08:27:20 +00:00
Jörg Mayer f67b00ad9a More 'char*' -> 'const char*' warning fixes
svn path=/trunk/; revision=14986
2005-07-22 07:55:51 +00:00
Jörg Mayer eb1ff24278 Beginning of radiotap's header dissection
svn path=/trunk/; revision=14985
2005-07-22 07:54:18 +00:00
Ronnie Sahlberg c841beb71b EMEM : a simple and FAST api to allocate memory that will be automatically freed() when the next packet is dissected.
This offesr memory allocation with a packet  scope making memory leaks less likely and memory management faster.


Add initialization calls for both tethereal and ethereal.

Convert the ip_to_str() function to use this and avoid doing the silly rotating buffers thing it previously did.


We also need an equivalent set of functions for allocation with capture file scope (free when next capture is loaded) but i dont know where to put the free_all call.



svn path=/trunk/; revision=14984
2005-07-22 07:46:58 +00:00
Ronnie Sahlberg 762fc4f4eb fix some bugs in a value string
this fixes bug 291



svn path=/trunk/; revision=14983
2005-07-22 02:07:43 +00:00
Ronnie Sahlberg 0138306bc7 fix for bug 290
v2 exchange code 37 is "INFORMATIONAL"



svn path=/trunk/; revision=14982
2005-07-22 02:00:04 +00:00
Gerald Combs c9bc1edd92 When trying to handle gzip-compressed data, don't seek past the end of our
compressed data buffer.  Fixes bug 288.

svn path=/trunk/; revision=14981
2005-07-21 21:40:57 +00:00
Ronnie Sahlberg 0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +00:00
Jörg Mayer 2280b847f9 More warining fixes: char -> const char
svn path=/trunk/; revision=14976
2005-07-21 17:23:29 +00:00
Jörg Mayer 553402acbf More warining fixes: char -> const char
svn path=/trunk/; revision=14975
2005-07-21 17:21:48 +00:00
Jörg Mayer fb0b83fedf One forgotten warning fix
svn path=/trunk/; revision=14974
2005-07-21 17:17:16 +00:00
Jörg Mayer 9bed71737c small warning fixes
svn path=/trunk/; revision=14973
2005-07-21 17:04:10 +00:00
Ulf Lamping 05f0ad566e "fix" bug #244: the implementation was correct but a bit hard to understand. I've added some small explanations, so it should be understandable somewhat better
svn path=/trunk/; revision=14972
2005-07-20 22:11:48 +00:00
Gerald Combs 0de3a392be In packet-gsm_a.c:
- Make sure every function that has an "add_string" argument, make sure
    it isn't NULL before we write to it.
    a null "add_string".
  - Use "_U_" instead of "add_string = add_string" to squelch compiler
    warnings.
  - Fix other compiler warnings.

In packet-uma.c, pass NULL instead of "" for the add_string argument to
de_mid().  Fixes bug 287.

svn path=/trunk/; revision=14971
2005-07-20 20:57:04 +00:00
Jörg Mayer 32b4bac3cc Convert the result of tvb_get_guint8 to (gint8) so that the display
as FT_INT32 shows a negative number if appropriate.

Is there a better way to solve this?
Does this problem occur in other places too?

svn path=/trunk/; revision=14970
2005-07-20 15:08:29 +00:00
Ronnie Sahlberg 10856f2f9a prettify the HW type and address printouts slightly.
svn path=/trunk/; revision=14969
2005-07-20 12:20:56 +00:00
Jörg Mayer 830d555224 Fix: packet-dis-enums.h:248: warning: comma at end of enumerator list
svn path=/trunk/; revision=14968
2005-07-20 12:05:14 +00:00
Ronnie Sahlberg 9de2aaec7c add proper decoding and presentation of domain strings in dhcpv6
this fixes bug 273


svn path=/trunk/; revision=14967
2005-07-20 11:44:57 +00:00
Jörg Mayer ca322883d6 Change proto_register_protocol to use 'const char*' instead of 'char*'
svn path=/trunk/; revision=14966
2005-07-20 11:01:35 +00:00
Ronnie Sahlberg 568266283e fix for bug 285
decode isakmp nat keepalive packets properly


svn path=/trunk/; revision=14964
2005-07-20 07:51:24 +00:00
Gerald Combs 570d352948 Move Win32-specific variable declaration to the beginning of a function.
Fixes a recent buildbot failure.

svn path=/trunk/; revision=14962
2005-07-19 22:24:28 +00:00
Ulf Lamping e8939e1f60 fix three doxygen warnings
svn path=/trunk/; revision=14959
2005-07-19 20:49:28 +00:00
Ronnie Sahlberg 3febc9f180 From Aboo
New protocol :    iFCP   protocol


svn path=/trunk/; revision=14957
2005-07-19 20:45:17 +00:00
Ulf Lamping 47d503303c from Graeme Hewson: "Fixes for ethereal config files"
svn path=/trunk/; revision=14956
2005-07-19 20:44:45 +00:00
Anders Broman 05e8481eed Fix an unpack_digits off by one error.
svn path=/trunk/; revision=14954
2005-07-19 19:48:02 +00:00
Ronnie Sahlberg 9f6a3801d9 minor fix to add required alignment for AueryPathInfo level 0x107
it decodes "better"   but might still be broken since none of the packets I have match any of the "standards"




svn path=/trunk/; revision=14952
2005-07-19 08:58:20 +00:00
Guy Harris 1dd2e0e8f4 DIS packets must be at least 12 bytes long. DIS uses port 3000, by
default, but the Cisco Redundant Link Management protocol can also use
that port; RLM packets are 8 bytes long, so we use this to distinguish
between them.

svn path=/trunk/; revision=14950
2005-07-18 09:55:54 +00:00
Gerald Combs 210deaf2cd Tweak the previous fix.
svn path=/trunk/; revision=14947
2005-07-17 22:30:56 +00:00
Gerald Combs 141f8341af Make the recent RADIUS changes work on IA64.
svn path=/trunk/; revision=14946
2005-07-17 22:16:59 +00:00
Jörg Mayer a795443a0f Add radius_dict.c to DISTCLEAN
svn path=/trunk/; revision=14945
2005-07-17 13:55:46 +00:00
Ulf Lamping 84424bb2da add radius_dict.c to the distclean target, don't know how to do this for Makefile.am
svn path=/trunk/; revision=14944
2005-07-17 13:39:24 +00:00
Guy Harris c0e24d4fff Fix the RCS ID.
svn path=/trunk/; revision=14942
2005-07-17 08:39:51 +00:00
Anders Broman c5a8a019e0 Update to the new per signatures.
svn path=/trunk/; revision=14941
2005-07-16 21:34:19 +00:00
Anders Broman c0de9d912b Remove some unused variables.
svn path=/trunk/; revision=14940
2005-07-16 19:59:21 +00:00
Anders Broman 53ff940b13 Remove an unused export
svn path=/trunk/; revision=14939
2005-07-16 19:58:23 +00:00
Guy Harris 3227fab080 List the new "packet-radius.h" file so it's included in the tarball.
svn path=/trunk/; revision=14938
2005-07-16 06:20:56 +00:00
Guy Harris 9859c05fbc Get rid of the newline between "radius:" and the error when trying to
read the RADIUS directory.

The error string from "radius_load_dictionary()" is g_malloced; free it,
and g_strdup the "Could not find the radius directory" error, so we
don't have to worry about constant vs. g_malloced strings.

svn path=/trunk/; revision=14937
2005-07-16 01:55:58 +00:00
Guy Harris 8e4007ef27 Throw in some casts to squelch warnings, at least with some compilers
(the values are const because nobody's supposed to modify them once
they've been allocated, but they *can* be freed - by us - when we're
done with them).

svn path=/trunk/; revision=14936
2005-07-16 01:33:22 +00:00
Ronnie Sahlberg ee55c8a608 new protocol
RFC3770   Wlan Certificate Extensions


svn path=/trunk/; revision=14935
2005-07-16 01:04:36 +00:00
Guy Harris 8935861396 epan/dissectors/packet-gtp.h has rung down the curtain and joined the
Choir Invisible.

svn path=/trunk/; revision=14933
2005-07-16 00:37:44 +00:00
Guy Harris 724a42adbe Fix the RCS ID.
svn path=/trunk/; revision=14931
2005-07-16 00:26:07 +00:00
Luis Ontanon 440f4871b5 propset and fix the filename
svn path=/trunk/; revision=14929
2005-07-15 21:45:34 +00:00
Luis Ontanon 910f6f94ac forgot to add the (c) notice
svn path=/trunk/; revision=14928
2005-07-15 21:41:47 +00:00
Luis Ontanon 07cc608f6a register the dissector by name
svn path=/trunk/; revision=14927
2005-07-15 21:32:12 +00:00
Luis Ontanon 853501a452 Radius Dictionary Support
Part 3: the makefiles


svn path=/trunk/; revision=14926
2005-07-15 21:18:32 +00:00
Luis Ontanon 9c341a333d Radius Dictionary Support
Part 2: the code

svn path=/trunk/; revision=14925
2005-07-15 21:12:27 +00:00
Anders Broman 4a1213344d Updare Id, and a comment.
svn path=/trunk/; revision=14922
2005-07-15 20:26:36 +00:00
Tomas Kukosa 1374231148 - PER helper functions for SET/SEQUENCE OF dissection were changed to have prototype similar to BER (per_sequence_t is used as parameter)
- asn2eth was updated to support new PER helper functions for SET/SEQUENCE OF
- #.FN_PARS implemented for SET/SEQUENCE OF and REAL
- PER SET/SEQUENCE OF field can be FT_UINTxx to display number of items
- PER dissectors regenerated

svn path=/trunk/; revision=14921
2005-07-15 15:20:40 +00:00
Anders Broman a5e89b2793 Packet-gtp.c - Fix up decoding of the rest of the IE:s use routines from packet-gsm_a.c
Packet-uma.c Let packet-gsm_a handle som IE dissection.
Packet-gsm.a add some IE dissection and export some routines.

svn path=/trunk/; revision=14918
2005-07-14 21:05:38 +00:00
Ronnie Sahlberg 98a0c9a590 ISAKMP version2 has changed the payload format of a CertificateRequest.
In version 2 this is just a concatenation of 20 byte SHA-1 hashes with no other encxapsulation.

this resolves bug 281




svn path=/trunk/; revision=14917
2005-07-14 08:10:30 +00:00
Luis Ontanon df4cce353b fix a string
svn path=/trunk/; revision=14915
2005-07-13 23:40:06 +00:00
Anders Broman 383564aff0 From Ilya Konstantinov :
fixes a tiny bug which caused the boolean fields not to refer to the same offset as their 
parent.

svn path=/trunk/; revision=14914
2005-07-13 21:38:07 +00:00
Ronnie Sahlberg 618724969c convert two other autogenerated dissectors to use FT_GUID
svn path=/trunk/; revision=14913
2005-07-13 08:24:05 +00:00
Ronnie Sahlberg 3905fca8bc make idl2eth generate FT_GUID hf fields for uuid_t and GUID types.
make dissect_dcerpc_uuid_t() accept eitehr FT_STRING (old style) and FT_GUID (new style) hf fields. once all dissectors are modified to use FT_GUID we can remove the FT_STRING support here.

regenerate the DRSUAPI interface with the new FT_GUID support.




svn path=/trunk/; revision=14912
2005-07-13 08:00:15 +00:00
Anders Broman 43c0144b8e From Ilya Konstantinov :
A patch to the AIM dissector to support Client Auto Response messages. I still don't know the meaning of all the fields as they weren't all mapped but this patch decodes all the important ones.

svn path=/trunk/; revision=14911
2005-07-13 05:06:38 +00:00
Ulf Lamping 1788358c55 code cleanup: use "correct" proto_tree_add_... functions for li and tpdu code fields
svn path=/trunk/; revision=14910
2005-07-12 21:21:14 +00:00
Ulf Lamping 6424332af2 add some more textual explanations of the protocol and it's fields
svn path=/trunk/; revision=14909
2005-07-12 21:09:34 +00:00
Anders Broman 70522b125b Fix decoding of quintuplets.
svn path=/trunk/; revision=14907
2005-07-12 20:30:33 +00:00
Jörg Mayer 9806180700 Add value for FCS (no decoding).
Fix a signedness warning.

svn path=/trunk/; revision=14905
2005-07-12 17:06:09 +00:00
Jörg Mayer e7c4db81c1 Remove/replace SPACES at the beginning of Makefile.am/Makefile.common
files as not all make implementation work with this.

Found by running
grep '^ ' `find . -name "Makefile.am" -o -name "Makefile.common"`

Gerald: Maybe adding this to the buildbot would be a good idea after all.

svn path=/trunk/; revision=14904
2005-07-12 12:44:42 +00:00
Guy Harris 2fcce4b6c4 Fix some more signed vs. unsigned warnings.
svn path=/trunk/; revision=14903
2005-07-12 01:01:19 +00:00
Guy Harris ef1bfb6f9b In NTLMSP_AUTH messages, include the domain name and user name in the
Info column.

svn path=/trunk/; revision=14902
2005-07-11 22:48:51 +00:00
Anders Broman 1484c99e0f DIS dissection
svn path=/trunk/; revision=14900
2005-07-11 22:23:57 +00:00
Anders Broman a063532343 From Jeremy j Ouellette:
DIS dissection.

svn path=/trunk/; revision=14899
2005-07-11 22:23:15 +00:00
Anders Broman 43e9a11b11 Dissect some more fields
svn path=/trunk/; revision=14897
2005-07-11 19:25:25 +00:00
Guy Harris 79beab421d Put the data (print job contents) in LPD requests under the LPD protocol
item, rather than making it a top-level item.

svn path=/trunk/; revision=14893
2005-07-10 09:26:20 +00:00
Jörg Mayer 5b442f2279 After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"
returned quite a list of files. Add them to MAINTAINERCLEANFILES.

Whitespace changes (replace multiple spaces by TABs, in a few cases this
needed to be done at the beginning of Makefile lines.


svn path=/trunk/; revision=14891
2005-07-10 08:04:27 +00:00
Ronnie Sahlberg 85f38ef5fa For packets flagged as Retransmission
calculate RTO as the delta between the retransmitted frame and the last previous frame seen for this session (in the same direction).

while this is technically not the RTO  this delta is in most cases more important/useful than the tru RTO anyway since this measure represents the amount of thiime that the link went idle  while waiting for an RTO.




It would be nice with a statistics tap for TCP where one couls see, seeion by session :
Length in time of the session.
Total bytes transferred
Number of retransmissions
Time spent waiting for an RTO
Time spent waiting for an RTO in % of the total time.




svn path=/trunk/; revision=14890
2005-07-10 05:27:38 +00:00
Guy Harris 8647bbf353 Make a bunch of items in encryption code arrays of guint8, and make some
pointers either "void *" or "guint8 *", to reduce the level of compiler
warnings (the data in question is largely binary in those cases).

svn path=/trunk/; revision=14886
2005-07-09 03:25:25 +00:00
Guy Harris 34ae8c850f Fix up a bunch of arguments to "dissect_ber_identifier()" to match its
current signature ("class" is a "gint8 *", not a "guint8 *", and "tag"
is a "gint32 *", not a "guint32 *").  Re-generate the dissectors from
the ASN.1 and the .cnf files in the cases where the arguments were fixed
in a .cnf file.

Give some dissectors the right svn:keywords and svn:eol-style settings.

svn path=/trunk/; revision=14885
2005-07-09 02:58:07 +00:00
Guy Harris 9cb86fda9c Squelch various signed vs. unsigned warnings by:
making pointers to byte data be "guint8 *" rather than "char *",
	and making buffers holding byte data arrays of "guint8" rather
	than arrays of "char";

	making pointers to text strings "char *" rather than "guchar *";

	appropriately casting pointers (cast to "guint8 *" when passing
	to routines expecting "guint8 *" or when assigning to "guint8
	*");

	making port-number preferences "guint";

	making enum preferences "gint";

	making hf_ variables "int".

Clean up white space.

svn path=/trunk/; revision=14884
2005-07-09 00:53:17 +00:00
Guy Harris da80656d0e MAC addresses are arrays of bytes, not strings; make the destination MAC
address an array of guint8 - that squelches some compiler warnings.

Use -1 rather than tvb_length(tvb) to make the item for LWAPP go to the
end of the tvbuff.

svn path=/trunk/; revision=14883
2005-07-09 00:47:57 +00:00
Guy Harris a05302b67a Find the BitTorrent dissector immediately after registering it, and save
the handle, rather than finding it every time we need it.

Just make a guint8 array with the BitTorrent magic string length
followed by the string, and use "tvb_memeql()" to test against that - it
handles checking to make sure there's enough data in the tvbuff (if
not, it returns -1 as a "no match" indication) and then checks all of
the first 20 bytes in one operation.

Clean up white space.

svn path=/trunk/; revision=14882
2005-07-09 00:44:44 +00:00
Guy Harris 68b1ab41d7 Use "tvb_get_string()" rather than duplicating its functionality by
hand.

Use "g_strdup()" rather than duplicating its functionality by hand.

Make the magic number an array of "guint8", as "tvb_memeql()" expects a
pointer to "guint8".

svn path=/trunk/; revision=14881
2005-07-09 00:35:13 +00:00
Ulf Lamping 2c30357c48 checksum messages: use "[correct]" instead of "(correct)" and other "alike" messages
svn path=/trunk/; revision=14880
2005-07-08 22:11:13 +00:00
Anders Broman c50d7e229e Add some missing IMPLICIT tags, and use FN_PARS directive.
Add disection of some RR elements and command Handover.

svn path=/trunk/; revision=14878
2005-07-08 20:01:11 +00:00
Guy Harris f64a0aa20b Get rid of most unused arguments and variables (including some that are
set but not used).  (Leave "pi" around so the warning acts as a reminder
that the tap structure stuff needs a cleanup - currently, the tap
structures aren't freed; perhaps the new memory allocation scheme
proposed by Ronnie could be used for tap structures.)

Have "ac_istrace()" return NOT_ACTRACE for apparently non-actrace
packets and return the packet type for actrace packets, so that we don't
need a global variable for the packet type.

Make "actrace_udp_port" unsigned to squelch a signed vs. unsigned
warning.

Use "col_set_str()" rather than "col_add_str()" when setting the
Protocol column.

We don't recognized packets as CAS packets unless they're 48 bytes long,
so we don't need to test whether they're 48 bytes long in the CAS packet
dissection code.

Use the reported length, not the captured length, when doing length
checks.

svn path=/trunk/; revision=14874
2005-07-08 02:31:45 +00:00
Gerald Combs 5b7df3128b Make sure "which" is present before we verify our tools. Add "env" to
the list of programs to check.  Make sure our python scripts start with
"#!/usr/bin/env python" as recommended at

  http://www.python.org/doc/faq/library.html#how-do-i-make-a-python-script-executable-on-unix

svn path=/trunk/; revision=14871
2005-07-07 21:26:09 +00:00
Guy Harris e2d750eab5 Add a cast to SET_ADDRESS() to squelch GCC4 "differ in signedness"
warnings.  Use SET_ADDRESS in the VOIP calls code, rather than
explicitly filling in "pstn_add".

svn path=/trunk/; revision=14867
2005-07-07 04:03:35 +00:00
Ulf Lamping 2f2ab41ea4 fix *several* dissector bugs, found by private fuzz-tests
svn path=/trunk/; revision=14861
2005-07-05 22:33:22 +00:00
Gerald Combs 8434647836 Call proto_tree_add_guid_hidden() for an FT_GUID value. Fixes bugs 274,
276, and 277.

svn path=/trunk/; revision=14859
2005-07-05 20:20:15 +00:00
Gerald Combs 276f179b0b Don't crash if we're handed a zero-length fragment. Fixes bug 272. Although
we don't crash now, we still don't handle zero-length fragments correctly.

svn path=/trunk/; revision=14858
2005-07-05 20:04:03 +00:00
Tomas Kukosa b579d77b9a GUID lowercase form seems to be preferred
svn path=/trunk/; revision=14855
2005-07-05 18:55:17 +00:00
Anders Broman 02a57cdfcc Add application/vnd.wv.csp.xml
svn path=/trunk/; revision=14854
2005-07-05 17:10:09 +00:00
Anders Broman 623f9057c1 From : David Frascone
These minor changes fix some errors, and add some messages to the LWAPP dissector.

svn path=/trunk/; revision=14851
2005-07-05 04:32:32 +00:00
Anders Broman 96389d268c Add dissection of BSS-MAP elements and a fix to dissect Tele and Bearer service again.
svn path=/trunk/; revision=14848
2005-07-04 19:07:02 +00:00
Tomas Kukosa cdb09b497a usage of FT_GUID field type in H.225 dissector
svn path=/trunk/; revision=14847
2005-07-04 13:19:58 +00:00
Tomas Kukosa b9703d0919 export of proto_tree_add_guid...() functions
svn path=/trunk/; revision=14846
2005-07-04 13:13:07 +00:00
Tomas Kukosa bab34b522b new field type FT_GUID
svn path=/trunk/; revision=14845
2005-07-04 13:04:53 +00:00
Tomas Kukosa 5f2fd433ab - use tvb instead of offset and length in dissect_per_octet_string() for value returning
- asn2eth: #.FN_PARS support for OCTET STRING
- usage of #.FN_PARS in h225 and h245
- h225: ParallelH245Control support
- h245: better support of NonStandardParameter
- usage of MAX_OID_STR_LEN constant
- all PER dissectors regenerated

svn path=/trunk/; revision=14844
2005-07-04 09:35:25 +00:00
Guy Harris 828641b2ad Mark stub data as such if no dissector claims it.
svn path=/trunk/; revision=14842
2005-07-04 03:45:29 +00:00
Anders Broman 8a448fade7 Add an exported value string
svn path=/trunk/; revision=14840
2005-07-03 21:20:27 +00:00
Anders Broman 2d264e4314 Add an exported value string
svn path=/trunk/; revision=14839
2005-07-03 21:19:49 +00:00
Anders Broman 6671c5b15d Change gsm_a.c to use value strings in some places in preparation to use it from packet-uma.c and gsm_map.
Some bug fixes to packet-uma.c

svn path=/trunk/; revision=14838
2005-07-03 20:33:06 +00:00
Anders Broman efc7044f35 Add packet-mms.h
svn path=/trunk/; revision=14837
2005-07-03 12:01:11 +00:00
Ronnie Sahlberg 3440ba76fc New protocol :
MMS    Manufacturing Message Specification


svn path=/trunk/; revision=14836
2005-07-03 06:08:53 +00:00
Ronnie Sahlberg 50f4e721ce export a few more symbols from acse
svn path=/trunk/; revision=14835
2005-07-03 05:28:12 +00:00
Guy Harris 8b8f22ec94 Note that the MPLS extension dissector will misdissect ICMP packets that
contain more than 128 bytes of the original datagram.  (Yes, RFC 1812
and the ICMP Extensions for MPLS draft collide here, as the draft in
question notes.)

svn path=/trunk/; revision=14834
2005-07-03 00:52:08 +00:00
Michael Tüxen 3b62802faa Use brackets instead of parentheses for the checksum info, which is generated.
svn path=/trunk/; revision=14833
2005-07-02 21:16:17 +00:00
Guy Harris a42c4bc656 Have separate fields for NFSv2, NFSv3, and NFSv4 return statuses, using
the names in the v2, v3, and v4 specs for values, so that they display
correctly and can be filtered on correctly.

Have "nfs.status" as a hidden field, with a name table giving just "OK"
and "ERR_" values, and having items for v2, v3, and v4 status values
(the only collision is that the v3 JUKEBOX error is the v4 DELAY error),
so that filters on "nfs.status" will still work, but will now be able to
filter symbolically on values from v2, v3, and v4.

Show 33 status values in the Info column and the summary entry using the
table of v3 status values and names, not the table of v2 status values
and names.

Fix some v3 dissectors to use the v3 return status field rather than the
v2 return status field.

svn path=/trunk/; revision=14831
2005-07-02 08:18:17 +00:00
Ulf Lamping 2ce8d2a30f fixed various issues (two serious ones) found by "private" fuzz-testing
svn path=/trunk/; revision=14830
2005-07-01 21:04:13 +00:00
Tomas Kukosa abc732f855 beter displaying of true/false strings in dissect_ber_bitstring()
svn path=/trunk/; revision=14828
2005-07-01 13:48:52 +00:00
Ulf Lamping dd1287fc71 add some more information to the DCE/RPC packet details summary line
svn path=/trunk/; revision=14827
2005-06-30 22:51:17 +00:00
Ulf Lamping 3d831f4bfb add a new DCE/RPC related column, which contains the call_id for connection oriented packets or the sequence number for connectionless (datagram) packets.
This is extremely useful, to keep track of the corresponding request/response packets of a DCE/RPC call (which can be quite a lot packets if fragmentation is used).

svn path=/trunk/; revision=14826
2005-06-30 22:46:19 +00:00
Ronnie Sahlberg 19409dc44f fix a bug in the conformance file for CMIP to make it compile again
(semi-recent changes to asn2eth and PARAM handling makes us have to use double %% in some BODY statements)

at the same time, regenerate it so it also benefit from bugfixes to handling of indefinite length



svn path=/trunk/; revision=14823
2005-06-30 07:48:25 +00:00
Guy Harris 324bed3029 If only part of an entry in an object fits in the object, don't report
the stuff that didn't fit as a negative number of junk bytes.

The difference between two pointers isn't guaranteed to have a
particular size; cast it to "long" and display it with "%ld".

svn path=/trunk/; revision=14821
2005-06-29 23:19:21 +00:00
Ronnie Sahlberg c7c28d5112 from
Maria-Luiza Crivat and
Brice Augustin

ICMP MPLS extensions


svn path=/trunk/; revision=14818
2005-06-29 10:39:09 +00:00
Ronnie Sahlberg 54b0d37892 fix a typo for the name of a bit
svn path=/trunk/; revision=14817
2005-06-29 08:11:23 +00:00
Ulf Lamping 1c13be2c9c make dissect_CBA_Connection_Data available for plugins
svn path=/trunk/; revision=14816
2005-06-29 08:06:07 +00:00
Ulf Lamping 2cecaba970 add references to the corresponding request of datagram ping and ack packets
svn path=/trunk/; revision=14815
2005-06-29 08:03:06 +00:00
Ronnie Sahlberg 226c5a56ab be more careful when attempting to dissect an unknown ber field not to read beyond the end and triggering a [malformed packet]
also prettify the error when finding "unknown" entries inside a SEQUENCE to make it easier to track down what went wrong.



svn path=/trunk/; revision=14814
2005-06-29 08:00:55 +00:00
Guy Harris 6e1081bf45 Squelch a compiler warning.
svn path=/trunk/; revision=14813
2005-06-28 22:39:56 +00:00
Guy Harris 7556ea3783 Declare "decrypt_krb5_data()" for use by the KINK dissector.
svn path=/trunk/; revision=14809
2005-06-28 21:25:56 +00:00
Anders Broman 359ada1199 Fix to SendAuthenticationInfoRes
svn path=/trunk/; revision=14808
2005-06-28 21:14:59 +00:00
Gerald Combs 7f2a239179 Add missing commas.
svn path=/trunk/; revision=14804
2005-06-28 14:46:47 +00:00
Gerald Combs 4c6c39effd Terminate a bunch of value_strings.
svn path=/trunk/; revision=14803
2005-06-28 14:02:21 +00:00
Ronnie Sahlberg 12c3955d1f addition of NBS9
and bugfix for FTAM where we sometimes forgot to check if the tag was implicit.


svn path=/trunk/; revision=14802
2005-06-28 11:23:56 +00:00
Ronnie Sahlberg 52b8c407c7 regenerate FTAM with the bugfix for GraphicString in asn2eth
svn path=/trunk/; revision=14801
2005-06-27 20:45:02 +00:00
Ronnie Sahlberg 05f9375d55 fix two bugs when updating offset incorrectly that could lead to an infinite loop when trying to decode an unknown ber structure
svn path=/trunk/; revision=14799
2005-06-27 11:43:18 +00:00
Ronnie Sahlberg 6838ce2807 remove a \n in the preference string to prevent it from creating a garbage/invalid preference file entry.
svn path=/trunk/; revision=14798
2005-06-27 11:06:40 +00:00
Anders Broman fa7c5d4aac Missed from previous commit.
svn path=/trunk/; revision=14797
2005-06-27 08:55:39 +00:00
Ronnie Sahlberg 77823f61bc some implementations do provide a CRC in the FCIP frame so skip the
'test for zero' check.
the heuristics are probably strong enough even without this check.



svn path=/trunk/; revision=14796
2005-06-27 08:27:49 +00:00
Ronnie Sahlberg b913b8f3bf From Chris Bontje
DNP3 Application Layer Object dissection


svn path=/trunk/; revision=14794
2005-06-27 08:12:55 +00:00
Guy Harris 81466a539e The name returned by "get_dns_name()" (and thus by
"get_dns_name_type_class()") is null-terminated - and the length
returned is *NOT* the length of the string, it's the length of the chunk
of DNS data extracted by "get_dns_name()", and that chunk could just
point to a later chunk as part of DNS compression.  When running the
name through "format_text()", just use "strlen()" to get the length, so
you don't get a value that's too large *OR* too small (both are
possible - "too large" if it's uncompressed and includes length
informatioin, "too small" if it contains a pointer to a string longer
than the pointer).

When adding a string value to the protocol tree, add the *raw* name, not
the formatted name - the Ethereal display code will format the string's
value as necessary.

Add formatting code for DNS names in replies.

svn path=/trunk/; revision=14793
2005-06-27 07:50:11 +00:00
Anders Broman e37467eb29 From Alejandro Vaquero
new dissector for the AudioCodes trunk trace protocol. 
This protocol is used to debug the trunk protocol in AudioCodes 
gateways. It currently supports ISDN PRI and CAS (MFCR2, WinkStart, 
etc...) trunk protocols. It also add these protocols in the "Voip Calls 
Graph..."

svn path=/trunk/; revision=14790
2005-06-27 06:21:51 +00:00
Guy Harris 89e823ea4f Yet more constification.
svn path=/trunk/; revision=14788
2005-06-26 21:11:22 +00:00
Guy Harris b50dd72e2a More constification.
svn path=/trunk/; revision=14787
2005-06-26 20:39:21 +00:00
Guy Harris ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Guy Harris 2b07720c2f Set the Info column to the correctly-capitalized name.
Use "val_to_str()" to set the Info column, and give the "hyperscsi.cmd"
field a value_string table.

svn path=/trunk/; revision=14785
2005-06-26 19:55:06 +00:00
Ulf Lamping 6c3b559e21 value_string.c(71) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14784
2005-06-26 11:40:26 +00:00
Ulf Lamping ba1d304f7a prefs.c(1218) : warning C4761: integral size mismatch in argument; conversion supplied
prefs.c(1230) : warning C4761: integral size mismatch in argument; conversion supplied
prefs.c(1240) : warning C4761: integral size mismatch in argument; conversion supplied
prefs.c(1245) : warning C4761: integral size mismatch in argument; conversion supplied

svn path=/trunk/; revision=14783
2005-06-26 11:32:02 +00:00
Ulf Lamping d5ae7ee8af proto.c(2941) : warning C4090: 'function' : different 'const' qualifiers
proto.c(2941) : warning C4022: 'g_tree_insert' : pointer mismatch for actual parameter 2

svn path=/trunk/; revision=14782
2005-06-26 11:29:04 +00:00
Ulf Lamping 1e0675a01b packet-x11.c(1780) : warning C4090: 'function' : different 'const' qualifiers
packet-x11.c(1780) : warning C4022: 'g_tree_insert' : pointer mismatch for actual parameter 3
packet-x11.c(2209) : warning C4090: 'initializing' : different 'const' qualifiers

svn path=/trunk/; revision=14781
2005-06-26 11:24:26 +00:00
Ulf Lamping debc4cd849 packet-smb.c(14406) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14780
2005-06-26 11:21:39 +00:00
Ulf Lamping 0265375589 packet-pgsql.c(891) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14779
2005-06-26 11:18:47 +00:00
Ulf Lamping 10ffd2da48 packet-diameter.c(856) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(856) : warning C4024: 'addVendor' : different types for formal and actual parameter 2
packet-diameter.c(857) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(857) : warning C4024: 'addVendor' : different types for formal and actual parameter 3
packet-diameter.c(863) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(863) : warning C4024: 'addCommand' : different types for formal and actual parameter 2

svn path=/trunk/; revision=14778
2005-06-26 11:10:26 +00:00
Anders Broman 1bad9775dd Add a signal
svn path=/trunk/; revision=14777
2005-06-26 11:03:39 +00:00
Ulf Lamping c14334db25 packet-dcerpc-samr.c(2795) : warning C4090: '=' : different 'const' qualifiers
packet-dcerpc-samr.c(2900) : warning C4090: '=' : different 'const' qualifiers
packet-dcerpc-samr.c(2933) : warning C4090: '=' : different 'const' qualifiers

svn path=/trunk/; revision=14776
2005-06-26 11:02:13 +00:00