Commit Graph

2393 Commits

Author SHA1 Message Date
Luis Ontanon 6a37b19839 dissect_rtse_EXTERNAL is already declared in the header as extern.
svn path=/trunk/; revision=16078
2005-10-03 13:10:28 +00:00
Ronnie Sahlberg 8df0e21fba prettify mount,
if MNT fails with an error,   put the error string in the INFO column


svn path=/trunk/; revision=16076
2005-10-03 09:30:10 +00:00
Anders Broman 96c01ad3c6 Fix a typo.
svn path=/trunk/; revision=16074
2005-10-03 05:59:17 +00:00
Anders Broman 15a08ae521 From Alejandro Vaquero:
New "Fax T38 Analysis" added to the "Statistics" menu to:

- Reassemble the HDLC t30 frames and dissect the header.
- Analyze the UPDTLPacket seq num for packet lost
- Stats of V.x Data:
    - Count the Data bytes
    - Duration
    - Wrong seq num
    - Max Burst of packet lost

svn path=/trunk/; revision=16073
2005-10-03 05:55:26 +00:00
Anders Broman 9e273834dc From Graeme Lunt
X420 - incorrect ExtendedBodyPart handling
ACSE - support for implicitly tagged EXTERNALs and dissection based upon direct-reference RTSE - same change for RTSE EXTERNAL handling as above CMS  - support for ContentType, MessageDigest, SigningTime and CounterSignature attributes ESS  - support for ESSSecurityLabel and EquivalentLabels attributes


svn path=/trunk/; revision=16072
2005-10-03 05:17:51 +00:00
Anders Broman 2bac3e70c5 From Graeme Lunt
allows the dissection of ContentInfo based upon it's OID - something that is used for a secure X.400 messages (Protecting Content Type (PCT)).

svn path=/trunk/; revision=16069
2005-10-02 21:14:35 +00:00
Anders Broman 093040a179 From Jeff Snyder
00-iax.diff
 Modifications to the IAX2 dissector so that it offers desegmentation to 
subdissectors using the same API as TCP offers (pinfo->desegment_len etc)

01-amr.diff
 Modifications to the AMR dissector to allow AMR IF2 data to be dissected via 
call_dissector() from packet-h223.c. This patch also causes the AMR dissector 
to append the frame type string to the info column, so that the info column 
shows what protocols an H.223 frame contains.

02-h263-data.diff
 Modifications to packet-h263.c to separate the dissection of h.263 RTP 
encpasulation from the dissection of the actual h.263 data. The data 
dissection functions are added as a second dissector. This data-only 
dissector is used to dissect the video channel in our h.223 streams. As with 
the AMR modification, this makes the H.263 dissector append to the info 
column.

svn path=/trunk/; revision=16068
2005-10-02 20:59:54 +00:00
Ulf Lamping e11c4aac89 enhancements COL_INFO output and make bittorrent protocol filterable
svn path=/trunk/; revision=16067
2005-10-02 15:41:11 +00:00
Luis Ontanon 54695fec80 propperly initialize vendor->ett if the vendor is not found while radius_register_avp_dissector().
fixes bug 488.


svn path=/trunk/; revision=16064
2005-10-01 11:16:17 +00:00
Olivier Biot 6f5e84b2d7 Fix bug 492 - the MMSE dissector calls add_content_type() defined in WSP, which
uses proto_item_append_string(). The visibility hack must be present, otherwise
a dissector assert is generated within the MMSE dissector.

svn path=/trunk/; revision=16060
2005-09-30 19:29:21 +00:00
Anders Broman 855e39b91c Update to the latest version of the standard.
svn path=/trunk/; revision=16056
2005-09-29 20:24:02 +00:00
Anders Broman 598dc71801 From Mike Duigou
A patch to allow the JXTA dissector to pass fuzz testing. It 
also removes a couple of unused things and optimizes handling of the raw 
data dissector.

svn path=/trunk/; revision=16051
2005-09-29 05:37:27 +00:00
Guy Harris a275cd2495 Move the Diameter dictionary files to a "diameter" subdirectory, along
the lines of what's done for RADIUS.  That keeps them together (and
separate from other files), and makes the layout of the top-level source
directory closer to the layout of the installation directory, so that if
you run Ethereal or Tethereal from the top-level directory on Windows
it'll pick up the Diameter dictionary files (if it supports loading
them), and can do so on UN*X if we support a mechanism to let it find
its control files in the directory in which the binary resides.

Use the diameter_DATA, dtds_DATA, and radius_DATA macros in the
EXTRA_DIST macro, so you only have to change the lists of Diameter, DTD,
and RADIUS files in one place if you add or remove a file.

svn path=/trunk/; revision=16050
2005-09-29 02:20:29 +00:00
Guy Harris 7aa4b4ffe1 Make "top_tree" static; nobody else uses it, and if they're both not
static, they collide with one another in builds on at least some
platforms.

svn path=/trunk/; revision=16049
2005-09-29 01:31:19 +00:00
Ulf Lamping 9a42ef9536 fix #480: Change defaults for all reassembling settings to ON
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often.

svn path=/trunk/; revision=16048
2005-09-28 22:15:38 +00:00
Luis Ontanon c6ed07b117 tvbparse.[ch]:
- add a tvbparse_handle() (for recursion)
- change tvbparse_until() to allow more control when parsing
- make the wanted control an union so that different types of data can be used

packet-xml.c:
- change the parser definition to match changes to tvbparse_until()


svn path=/trunk/; revision=16045
2005-09-28 21:32:47 +00:00
Anders Broman 399144a591 Handle sigcomp over TCP.
svn path=/trunk/; revision=16043
2005-09-28 19:57:45 +00:00
Jörg Mayer 66596fe354 Updates for foundry addresses/protocols
svn path=/trunk/; revision=16042
2005-09-28 17:16:30 +00:00
Guy Harris f6ef22c553 Have show_exception() take a "const char *" as its exception message,
and not free the string to which it points.  Pass to
REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so
that they're freed automatically.

svn path=/trunk/; revision=16039
2005-09-28 16:16:37 +00:00
Guy Harris e2d774be16 Don't change the Info column if we have an unknown opcode; we've already
set it to a value that should indicate that the opcode is unknown, and
also indicates what the value is.  (Especially don't do it without
calling check_col() to check whether we *should* change the info column,
as we'll dereference a null pointer if we shouldn't; this change should
fix bug 489.)

svn path=/trunk/; revision=16038
2005-09-28 09:31:37 +00:00
Guy Harris 322999c545 Note that we should redo the handling of OIDs when
"dissect_ber_object_identifier()" can return the OID in a binary form.

svn path=/trunk/; revision=16036
2005-09-28 08:01:54 +00:00
Luis Ontanon 02a506e15f make sure we tell tvbparse_until() to include the last token.
svn path=/trunk/; revision=16033
2005-09-28 01:17:45 +00:00
Luis Ontanon 95d60cc7ea in tvbparse:
- tvbparse_some now handles 0 items.
  - added accessors for a tt's offset and remaining length.

in packet-xml:
  - min_len=0 for tvbparse_chars() is soon going to mean zero instead of 1 change the 0s to 1s.
  - attribute names can have ':' even if it's namespaces isn't managed yet.
  - split the xml grammar in more elements so It can be actually read by a human being.


svn path=/trunk/; revision=16031
2005-09-27 22:57:07 +00:00
Jörg Mayer 74ca6adb4a Op Code 3 (Advertisement) dissection
svn path=/trunk/; revision=16026
2005-09-27 21:50:50 +00:00
Tomas Kukosa 9a66525b71 new option whether tunnelled H.245 and tunnelled protocol are displayed inside H.225 tree or outside
svn path=/trunk/; revision=16020
2005-09-27 10:05:42 +00:00
Ronnie Sahlberg 70f17cd417 remove all strcpy from fcels
ito make it easier to read use doublespace to separate the items on the expansion line instead of ',' since so many of the strings contain spaces.

cleanup fc slightly and remove a redundant parameter


svn path=/trunk/; revision=16019
2005-09-27 08:03:13 +00:00
Tomas Kukosa 04fc893ad7 bug in dissect_per_object_identifier_str() fixed, wrong pointer was passed to oid_to_str()
svn path=/trunk/; revision=16018
2005-09-27 07:14:07 +00:00
Anders Broman 0f2584c4d2 - Make the reassemble TCP preference default TRUE.
- in dissect_tpkt_encap() only check the desegment flag passed in the function.


svn path=/trunk/; revision=16016
2005-09-27 05:39:58 +00:00
Guy Harris 13c7fec8f5 Give more details about too-short AVPs, give up immediately for AVPs
shorter than 2 bytes, and make the item for an AVP with a length < 2 a
generated item.

Put the top-level item for an AVP into the tree the same way regardless
of whether it's Vendor-Specific or not, and skip past the type and
length right after that, before we check for Vendor-Specific.  (This
means we no longer treat "vendor ID = 0" as an indication that this
isn't Vendor-Specific - nothing prevents a packet from getting onto the
wire with a vendor ID of 0; this fixes bug 485.)

Don't require a Vendor-Specific AVP to be at least 6 bytes long; it
might not be particularly useful to have one that has a vendor ID and
nothing else, but we might as well dissect the vendor ID portion.

Do some other cleanups.

svn path=/trunk/; revision=16015
2005-09-27 00:03:45 +00:00
Olivier Biot 122105370d Part 2 of the fix: also add the correct offset for non-WSP address records.
svn path=/trunk/; revision=16014
2005-09-26 20:49:33 +00:00
Olivier Biot 875fb98655 Fix WSP redirect and SIR address parsing:
- The incorrect number of octets were highlighted (bearer type and port number
   were disregarded).

 - In SIR version 1 content, correct the parsing (full WSP address length was
   not added to the offset for parsing the non-WSP contact points).

svn path=/trunk/; revision=16012
2005-09-26 20:00:37 +00:00
Anders Broman 510476e2ea Remove dependencies on asn1.c, stil endes to be included to define subid_t.
svn path=/trunk/; revision=16010
2005-09-26 18:18:06 +00:00
Ronnie Sahlberg 94df2dc3f4 remove all strcpy() from packet-fc.c
rewrite the functions to do proto_item_append_text() instead of building a string and then printing it.

The new function is functionally equivalent to the previous function except it does not print the values of the multi-bit fields to the expansion
(the expansion line is already a km wide as it is)



there are now only 202 strcpy() left in epan/dissectors  down from 300+ instances some weeks ago.



svn path=/trunk/; revision=16009
2005-09-26 10:11:38 +00:00
Guy Harris a997ee591b Add a new "ipxnet" type for the RADIUS dictionary, for IPX network
numbers.  (Currently, we don't have any dictionary entries with that
type, although we have an attribute with special code to handle it that
uses that type.)

Specially handle Framed-IP-Address, Login-IP-Host, and
Framed-IPX-Network, so that the special values are displayed specially.

Clean up indentation.

Don't specify a number base for IPv4 or IPv6 addresses; the number base
is ignored.

svn path=/trunk/; revision=16008
2005-09-26 08:48:19 +00:00
Guy Harris 2b67057527 Use VENDOR_THE3GPP, rather than a hardcoded 10415, for the vendor ID for
the 3GPP.

svn path=/trunk/; revision=16007
2005-09-26 08:44:31 +00:00
Anders Broman 25fe588f9f From Martin Mathieson:
stun -  add support for 3 extra Message Attributes as described in draft-ietf-behave-rfc3489bis-00

ymsg 
 - avoid looking beyond the tvb while looking for content item delimiters (causing most frames to be shown as malformed packet)
- makes content items (and their keys and values) filterable  (includes fix to bug 415)


svn path=/trunk/; revision=16005
2005-09-26 05:43:25 +00:00
Guy Harris 0e17a773b9 A loop processing all the bytes in a tvbuff from a given offset to the
end of the data in the tvbuff should stop when the offset is >= the
total amount of data in the tvbuff, not when it's > the total amount in
the tvbuff following the starting offset.

In "unpack_digits()", return a null string, not a null pointer, if
there's nothing left in the tvbuff starting at the starting offset, so
that the caller doesn't have to check for a null pointer, and return an
ep_alloc()ed buffer, so the caller doesn't have to worry about freeing
the result.

If we see a filler digit, don't advance the offset in the string buffer;
we want to put the terminating '\0' right after the character we just
put into the string.

Fuzzed against some GSM captures.

svn path=/trunk/; revision=16002
2005-09-25 09:32:01 +00:00
Guy Harris 2d14a6f4ae Show unsigned quantities as such.
svn path=/trunk/; revision=16001
2005-09-25 09:07:41 +00:00
Guy Harris d77101151a If "dissect_dcerpc_cn()" throws an exception when called by
"dissect_dcerpc_cn_bs_body()", it's because it recognized the packet as
a DCE RPC packet, but it ran out of data dissecting it as such;
increment the count of DCE RPC PDUs, so "dissect_dcerpc_cn_bs_body()"
returns TRUE, and its caller doesn't think nothing was dissected.

Fuzzed with some DCE RPC captures.

svn path=/trunk/; revision=16000
2005-09-25 09:06:48 +00:00
Luis Ontanon 35cfa4c11c test the avp_vsa_len not the avp_lenght!
svn path=/trunk/; revision=15999
2005-09-25 02:50:03 +00:00
Luis Ontanon 32c673552c Don't ASSERT if a VSA is too short, add an item reporting the error and leave.
svn path=/trunk/; revision=15998
2005-09-25 02:48:53 +00:00
Ronnie Sahlberg d160beec37 remove some redundant code that would always evaluate to true anyway.
svn path=/trunk/; revision=15996
2005-09-25 01:44:23 +00:00
Ronnie Sahlberg b56bc5db31 prettify the previous patch
remove the remaining strcpy() from this dissector and make it decode the bitmap PROPERLY.


svn path=/trunk/; revision=15995
2005-09-24 23:25:38 +00:00
Ronnie Sahlberg d2ac9b9b97 refactor the "dissector" for task management flags to dissect the bits properly
and get rid of the silly  strcpy() stuff.


there is a HUGE number of these kinds of very ugly bitmap dissection in all the fibre channel related dissectors and all need to be converted to proer dissection.



svn path=/trunk/; revision=15994
2005-09-24 22:43:15 +00:00
Ronnie Sahlberg 89a7e3e76c remove an array from the stack, remove some strcpy() and strcat() calls
svn path=/trunk/; revision=15993
2005-09-24 21:22:24 +00:00
Ronnie Sahlberg 44699e4082 get rid of one array from the stack and convert all strcpy() to pointers to literal strings.
svn path=/trunk/; revision=15992
2005-09-24 21:14:47 +00:00
Guy Harris 5e6d63a804 Squelch some compiler warnings.
svn path=/trunk/; revision=15991
2005-09-24 19:09:40 +00:00
Luis Ontanon 3cf75fd6bb get rid of most dtd leaks.
There's just one left I'm aware of (the doctype name).


svn path=/trunk/; revision=15990
2005-09-24 19:03:35 +00:00
Jörg Mayer 86e8646afd That code was never even compiled for testing
svn path=/trunk/; revision=15988
2005-09-24 15:52:42 +00:00
Jörg Mayer 32eccf1162 Shoichi Sakane:
Hi, I fixed some bugs to decoding IKEv2 payloads.  the following things
have been checked at the IPsec bake off in Toronto this week.

        - fixed decoding IP address in TS payload
        - fixed decoding IPv6 address in ID payload
        - fixed decoding IKEv2 Delete payload
        - SPI printing


svn path=/trunk/; revision=15987
2005-09-24 15:42:37 +00:00
Luis Ontanon 993e209b7f - There can be '/' in attribute names as well
- 140Kb of leaks less.


svn path=/trunk/; revision=15986
2005-09-24 15:07:38 +00:00
Ronnie Sahlberg 07f98b8fb7 From MartinM
IRC update and fix for bug 218


svn path=/trunk/; revision=15985
2005-09-23 21:33:02 +00:00
Ronnie Sahlberg f5c51aa470 From Kaul
One of the "unknown" fields are actually a digest.


svn path=/trunk/; revision=15983
2005-09-23 21:26:09 +00:00
Ronnie Sahlberg 44fb2d3d56 Dont decrement the length by 2 if it is already less than two
since then the length will wrap and become +4G or so.

This fixes bug 479


svn path=/trunk/; revision=15982
2005-09-23 20:51:09 +00:00
Ulf Lamping bed8f51d98 show the same [Packet size limited during capture] message in the column info, instead of the former (unintuitive) [Short Frame]
svn path=/trunk/; revision=15979
2005-09-23 18:05:36 +00:00
Ulf Lamping 1c9305a90e when I've done the last change here, I wasn't expecting to get an fcs_len value of -1, fixed now
svn path=/trunk/; revision=15976
2005-09-23 17:01:19 +00:00
Ronnie Sahlberg 26828b0876 remove some compiler warnings
svn path=/trunk/; revision=15975
2005-09-23 10:39:58 +00:00
Ronnie Sahlberg b52e2939d7 remove some compiler warnings
svn path=/trunk/; revision=15974
2005-09-23 10:31:39 +00:00
Ulf Lamping d94cb40e76 fix offset calculation of DataStatus fields if Ethernet FCS (or a similar trailer) is present
svn path=/trunk/; revision=15970
2005-09-22 21:24:28 +00:00
Ulf Lamping b828a6e09d bugfix: don't crash, if pinfo->match_string == NULL
svn path=/trunk/; revision=15969
2005-09-22 21:21:29 +00:00
Ulf Lamping d3b3e5fe16 bugfix: don't crash, if tag_save_literal == NULL
svn path=/trunk/; revision=15968
2005-09-22 21:19:23 +00:00
Ulf Lamping a9e1c71b7a bugfix: don't crash, if current_frame->ns == NULL
svn path=/trunk/; revision=15967
2005-09-22 21:18:19 +00:00
Ulf Lamping 5305988e3d enhance heuristics:
some Siemens SIMATIC protocols also use COTP, and shouldn't be 
misinterpreted as SES.
the starter in this case is fixed to 0x32 (SES_MINOR_SYNC_ACK for SES), 
so if the following parameter type is unknown, it's probably SIMATIC and not SES

svn path=/trunk/; revision=15966
2005-09-22 21:16:54 +00:00
Ulf Lamping ca662b74b0 change ConnectCR flag item sequence, so the "most significant" bit will come first (as done in the other req/responses)
svn path=/trunk/; revision=15964
2005-09-22 21:12:51 +00:00
Ulf Lamping 6f98654a6a bugfix: don't simply use length field value from packet data, ensure the bytes really exist
svn path=/trunk/; revision=15963
2005-09-22 21:09:02 +00:00
Ulf Lamping 9d1af7d6fb add two more bind reject reasons from the specs
svn path=/trunk/; revision=15962
2005-09-22 21:07:25 +00:00
Luis Ontanon 88dd585d23 in register_dtd() do not leak the elements hash
svn path=/trunk/; revision=15959
2005-09-22 16:41:53 +00:00
Tomas Kukosa 81a2feddab Call H245 decoding and tunelled protocols decoding at the end of H225 dissector. I makes less confusion in info column.
svn path=/trunk/; revision=15958
2005-09-22 14:40:26 +00:00
Jörg Mayer 1c0667858e Add the cisco url as well
svn path=/trunk/; revision=15957
2005-09-22 10:07:26 +00:00
Jörg Mayer 41911c041a Add a comment on packets with opcode 3
svn path=/trunk/; revision=15956
2005-09-22 10:00:40 +00:00
Ulf Lamping 6af80b98cb replace match_strval with val_to_str, where the output was used by string output, but not expecting NULL
svn path=/trunk/; revision=15954
2005-09-22 02:18:19 +00:00
Guy Harris 23661240d7 Squelch some compiler warnings.
svn path=/trunk/; revision=15953
2005-09-22 02:08:03 +00:00
Ulf Lamping 031d7beea0 prevent output of NULL strings
svn path=/trunk/; revision=15950
2005-09-22 01:16:25 +00:00
Ulf Lamping 714c04d3a8 replace match_strval with val_to_str in several places, where the output was used by string output, but not expecting NULL
svn path=/trunk/; revision=15949
2005-09-22 01:09:01 +00:00
Guy Harris c5b0fc27d7 Fix a bunch of places where we were calling "dissect_ber_octet_string()"
with a non-null pointer-to-pointer-to-tvbuff and not checking whether
the returned tvbuff pointer was non-null.

svn path=/trunk/; revision=15948
2005-09-22 00:51:11 +00:00
Guy Harris 341a2f503d dissect_ber_octet_string() can return a null tvbuff pointer, if the
putative octet string isn't one; always check before using it to
dissect, and don't call the dissector if the tvbuff is null.  This
should fix bug 472.

svn path=/trunk/; revision=15946
2005-09-21 23:23:58 +00:00
Guy Harris ced076f8d4 OIDs are put into the protocol tree as strings containing a textual
representation of the OID, so the fields for them should be of type
FT_STRING.  This should fix bug 470.

svn path=/trunk/; revision=15945
2005-09-21 23:07:07 +00:00
Ronnie Sahlberg 8b32f13476 get rid of strcpy in packet-ntp.c
at the same time  change ntp_fmt_ts to return a pointer to ian ep-allocated buffer.
remove the redundant buffer parameter in the signature and change all callers.


svn path=/trunk/; revision=15939
2005-09-21 20:05:13 +00:00
Guy Harris 4e09b5e0b3 Some compilers don't allow a static declaration of a function inside
another function, so move the declaration of
dissect_spnego_PrincipalSeq() to the top of the file.

svn path=/trunk/; revision=15938
2005-09-21 18:27:28 +00:00
Guy Harris 0fb81e221e An InnerContextToken comes with an OID for the mechanism, which is what
we use to determine how to interpret the token; don't bother fetching
the OID attached to the frame or conversation, as we're not using it.

Indent code in the .cnf file to match the code generated by asn2eth.

The mechListMIC in a NegTokenInit is sometimes a sequence containing a
string; check the header of the mechListMIC and dissect it as such a
sequence or as a regular item depending on whether it's a sequence or
not.

If we see a supportedMech in a NegTokenTarg, save next_level_value for
that OID with the conversation.

Dissect a responseToken in a NegTokenTarg, and a mechListMIC in a
NegTokenTarg, appropriately.

Get rid of "gssapi_dissector_handle()", and just use
next_level_value->handle - it was never being called if next_level_value
was null.

When we're dissecting a KRB5 blob, just use get_ber_identifier() to get
the header, so we don't report an ASN.1 error if there isn't a BER
identifier there; dissect the identifier and length only if we know we
have them.

svn path=/trunk/; revision=15937
2005-09-21 17:42:11 +00:00
Guy Harris fa2779e00d Don't fill in a data structure for the packet while dissecting; we use
almost none of the data - fill in only variables for what we need, and
use proto_tree_add_item() in most cases.

Move what's left of the packet-winsrepl.h header into packet-winsrepl.c,
and get rid of the header.

Dissect the name flags field in detail, as per the Samba code.

We don't do any checks for whether the packet is a valid WINS
replication packet, so don't make the dissector a new-style dissector.

svn path=/trunk/; revision=15936
2005-09-21 17:33:04 +00:00
Guy Harris 6c0328f7f3 Don't fill in a data structure for the packet while dissecting; we use
almost none of the data - fill in only variables for what we need, and
use proto_tree_add_item() in most cases.

Move what's left of the packet-winsrepl.h header into packet-winsrepl.c,
and get rid of the header.

Dissect the name flags field in detail, as per the Samba code.

We don't do any checks for whether the packet is a valid WINS
replication packet, so don't make the dissector a new-style dissector.

svn path=/trunk/; revision=15935
2005-09-21 17:32:21 +00:00
Gerald Combs a493fdd54b Use a proper length for booleans. If we have a malformed packet, throw an
exception.  Fixes bug 468.

svn path=/trunk/; revision=15934
2005-09-21 16:18:30 +00:00
Ronnie Sahlberg 7e2eed2a30 remove some strcpy() with g_snprintf()
svn path=/trunk/; revision=15931
2005-09-21 15:38:12 +00:00
Gerald Combs 71f16f2a3f If pinfo->match_string is null (e.g. when we're called from the Jabber
dissector), don't try to look it up in a hash table.  Fixes the current
Buildbot failure.

svn path=/trunk/; revision=15929
2005-09-21 15:03:19 +00:00
Ulf Lamping 85ae3a8086 fix #372: the bug raised a "division by zero" exception. I've add a check for this and simply replaced the expression with 0 in that case. Don't know if it's correct to do so, but fixes the exception at least :-)
svn path=/trunk/; revision=15927
2005-09-21 10:29:22 +00:00
Ulf Lamping 853067c739 bugfix: break out of an endless loop, if dissect_sip_common() returns 0 or -2, found in a file send to me by david martin in an attempt to fix #372
svn path=/trunk/; revision=15926
2005-09-21 10:22:14 +00:00
Jörg Mayer 8e8d66c2a9 manpages are now done automagically
svn path=/trunk/; revision=15925
2005-09-21 09:50:09 +00:00
Guy Harris 13e99476e6 Use BASE_DEC_HEX for the identifier field; that means we don't have to
use "proto_tree_add_uint_format()", we can just let the Ethereal core
format it.

svn path=/trunk/; revision=15922
2005-09-21 02:12:24 +00:00
Guy Harris c952476658 Squelch some compiler wranings, and fix up the creation of a subset
tvbuff.

Fix indentation.

svn path=/trunk/; revision=15921
2005-09-21 01:47:46 +00:00
Guy Harris eecbe6a8de Squelch a compiler warning.
svn path=/trunk/; revision=15920
2005-09-21 01:39:39 +00:00
Guy Harris 551f589cb9 Fix a compiler warning.
svn path=/trunk/; revision=15916
2005-09-21 01:33:16 +00:00
Guy Harris 7ae7aaf75c Fix a comment.
svn path=/trunk/; revision=15915
2005-09-21 01:15:32 +00:00
Guy Harris 81a1fbfcd7 Put in some comments based on stuff seen in the Samba code
(include/nameserv.h, code in wrepld).

svn path=/trunk/; revision=15914
2005-09-21 00:00:43 +00:00
Guy Harris 52c5f6f07b Give it an RCS ID.
svn path=/trunk/; revision=15913
2005-09-20 22:55:48 +00:00
Guy Harris c4e374785e Fix the name in the comment.
Give it an RCS ID.

svn path=/trunk/; revision=15912
2005-09-20 22:53:31 +00:00
Guy Harris 2f6530246c Give them RCS IDs.
svn path=/trunk/; revision=15911
2005-09-20 22:52:31 +00:00
Guy Harris c4d9915be6 Give them RCS IDs.
svn path=/trunk/; revision=15910
2005-09-20 22:51:42 +00:00
Guy Harris 0a93fcdcd3 Give it an RCS ID.
svn path=/trunk/; revision=15909
2005-09-20 22:49:54 +00:00
Anders Broman df21536710 From Hannes Gredler:
patch to support 4 additional juniper DLTs.

all those are wrappers for exisiting media types augmented with meta-information which gets also displayed using this patch;

svn path=/trunk/; revision=15908
2005-09-20 20:25:55 +00:00
Anders Broman ff34f18d67 From Kaul:
Jabber traffic is XML, attached patch dissects it as such

svn path=/trunk/; revision=15907
2005-09-20 20:20:08 +00:00
Anders Broman 1bb6396a93 Fix bug #404 Decoding of MSISDN on GSM is incomplete.
svn path=/trunk/; revision=15906
2005-09-20 20:04:01 +00:00
Ronnie Sahlberg 5d98676745 from francesco
update to remove sprintf()



svn path=/trunk/; revision=15905
2005-09-20 19:42:40 +00:00
Ronnie Sahlberg 8088098ce6 make options field filterable
remove silly rotating buffers



svn path=/trunk/; revision=15904
2005-09-20 19:36:38 +00:00
Gerald Combs ba83bf145f Don't try to reassemble a zero-length fragment. Add a comment to
reassemble.c about the handling of zero-length fragments.

svn path=/trunk/; revision=15899
2005-09-20 17:23:19 +00:00
Jörg Mayer 27a1e92489 Francesco Fondelli: Add dcp support (forgot this file)
svn path=/trunk/; revision=15898
2005-09-20 15:19:11 +00:00
Jörg Mayer e6194537b3 Francesco Fondelli; Add dcp support
svn path=/trunk/; revision=15897
2005-09-20 15:18:28 +00:00
Tomas Kukosa 300f1231cd get rid of few warnings
svn path=/trunk/; revision=15895
2005-09-20 14:14:07 +00:00
Tomas Kukosa d3492e684a asn2eth
- #.FN_BODY accepts parameters too
 - single line variant of #.FN_PAR is possible
 - new parameter FN_VARIANT for OBJECT IDENTIFIER
packet-per.c
 - dissect_per_object_identifier() returns value as tvb
 - new dissect_per_object_identifier_str() function
PER dissectors adapted and regenerated

svn path=/trunk/; revision=15894
2005-09-20 10:56:08 +00:00
Ulf Lamping dce67e2bbe fix: packet-lldp.c(2071) : warning C4761: integral size mismatch in argument; conversion supplied
svn path=/trunk/; revision=15893
2005-09-20 09:02:38 +00:00
Ulf Lamping e8dd2e9279 fix: packet-dcerpc.c(4019) : warning C4018: '<' : signed/unsigned mismatch
svn path=/trunk/; revision=15892
2005-09-20 08:55:50 +00:00
Jörg Mayer 7f48c561d2 Jim Young: LLDP improvements
svn path=/trunk/; revision=15879
2005-09-19 21:24:07 +00:00
Luis Ontanon 9597f669bd display something useful in the radius VSA item
svn path=/trunk/; revision=15875
2005-09-19 19:48:55 +00:00
Gerald Combs 876ce82beb Don't dereference a null pointer. Fixes bug 460.
svn path=/trunk/; revision=15874
2005-09-19 19:46:25 +00:00
Luis Ontanon fbc222f41a Change "Value" into "VSA" for Vendor SPecific Attributes
svn path=/trunk/; revision=15873
2005-09-19 19:36:32 +00:00
Anders Broman d54a6094b3 Add a preference to decode different types of AMR payload.
svn path=/trunk/; revision=15872
2005-09-19 19:11:50 +00:00
Gerald Combs 0e802a164b Throw an exception if our ACL length is flat-out wrong.
svn path=/trunk/; revision=15871
2005-09-19 17:50:38 +00:00
Luis Ontanon a6ff6fb97c - allow multiple attributes inside one VSA (fixes bug 438)
- preference to choose whether to add the AVP's payload length items
- preference to add an alternate UDP port


svn path=/trunk/; revision=15870
2005-09-19 17:42:02 +00:00
Gerald Combs d2e3d45042 In the SPNEGO dissector, don't call a subdissector if we don't have a TVB.
Fixes bugs 448, 449, 451, 452, 454, 456, and 461.

Add similar TVB checks to the BER dissector.

svn path=/trunk/; revision=15869
2005-09-19 16:23:05 +00:00
Jörg Mayer f10f911bce Change README to reflect the fact that tools/pidl is now a
svn:externals reference.

svn path=/trunk/; revision=15868
2005-09-19 14:59:32 +00:00
Jörg Mayer 31c136e937 Add idl_types.h from samba to fix warning
svn path=/trunk/; revision=15865
2005-09-19 13:26:49 +00:00
Jörg Mayer ec750054cc Point to tools/pidl/README.ethereal
svn path=/trunk/; revision=15864
2005-09-19 09:23:52 +00:00
Guy Harris 7a7f0be69b Fix a typo.
svn path=/trunk/; revision=15863
2005-09-19 08:09:41 +00:00
Ronnie Sahlberg eba5b5b225 sometimes it seems that we have the text based h248/megaco running ontop of
m3ua  and not the binary one.


make the binary dissector check if it is really the text based one to be used and if so
call that dissector instead.



svn path=/trunk/; revision=15862
2005-09-19 08:06:25 +00:00
Tomas Kukosa ee8d53adf5 remove unused parameter 'name' from dissect_per_choice()
svn path=/trunk/; revision=15861
2005-09-19 07:35:05 +00:00
Anders Broman 7981470317 Change some of the asn1 functions to use packet-ber ones.
svn path=/trunk/; revision=15857
2005-09-18 20:04:04 +00:00
Guy Harris 138e7409d3 If the tag field is a bitfield, always show it as such, otherwise always
show the value of 1 1111 as "Continued" in the bitfield and the actual
tag value in the following bytes.

Show the BER identifier data before an OID if we're showing internal BER
fields.

svn path=/trunk/; revision=15856
2005-09-18 16:54:00 +00:00
Ulf Lamping 497478bc99 as discussed in the Users list: replace "Short Frame" by "Packet size limited during capture" message
svn path=/trunk/; revision=15855
2005-09-18 11:18:42 +00:00
Anders Broman 7ef861a9a9 If unkown Tag's are found in a set add length.
svn path=/trunk/; revision=15853
2005-09-17 21:02:51 +00:00
Luis Ontanon 4c14b12c25 Because there's more than just text in XML...
DTDs are imported to create fields


svn path=/trunk/; revision=15851
2005-09-17 17:05:46 +00:00
Ulf Lamping 8ace2749f3 using heur_dissector_add("cotp_is") doesn't seem to be enough, if H1 is used over TCP/TPKT (RFC1006). Add heur_dissector_add("cotp") so it will be dissected correctly, hopefully this won't introduce new problems with other "cotp" heuristics ...
svn path=/trunk/; revision=15850
2005-09-17 14:14:24 +00:00
Ronnie Sahlberg f00c521c19 remove some strcpy()
svn path=/trunk/; revision=15849
2005-09-17 12:16:11 +00:00
Ronnie Sahlberg 97bf84d37b remove some strcpy()
svn path=/trunk/; revision=15848
2005-09-17 12:09:36 +00:00
Guy Harris ab2dca9114 Move some headers for stuff defined by a dissector into epan/dissectors
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file.

svn path=/trunk/; revision=15845
2005-09-17 00:31:15 +00:00
Guy Harris b7b80d94be Move a pile of protocol-related headers from the top-level source
directory to the epan directory.  Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.

Fix Gerald's e-mail address in files we're moving.

svn path=/trunk/; revision=15844
2005-09-17 00:02:31 +00:00
Ulf Lamping ef461aa94b add an expert info based on QualityCode and a COL_INFO output
svn path=/trunk/; revision=15843
2005-09-16 22:17:50 +00:00
Ulf Lamping 4469693560 slightly shrink COL_INFO output
svn path=/trunk/; revision=15842
2005-09-16 22:14:33 +00:00
Ulf Lamping 485d75946c split call id's with a #, if more than one DCE/RPC call is in a data PDU
svn path=/trunk/; revision=15841
2005-09-16 22:05:50 +00:00
Tim Potter 092c0c20ed Aargh - undo r15838 as I missed jmayer's commit of r15835.
svn path=/trunk/; revision=15839
2005-09-16 12:30:33 +00:00
Tim Potter 301279b840 Comment out pidl dissectors for the moment to get the win32 build
going again.  I have most of a patch to get it working but I don't
think it will be finished tonight.

svn path=/trunk/; revision=15838
2005-09-16 12:11:17 +00:00
Guy Harris b8ae3f1988 If we've enabled the display of BER encapsulation tokens, only put them
into the protocol tree once.

Fix the offsets and lengths used to put the variable binding values into
the protocol tree.

svn path=/trunk/; revision=15837
2005-09-16 09:47:18 +00:00
Jörg Mayer f6264ee8d2 Move the packet-dcerpc-*.[hc] from pidl/ back to dissectors.
This makes Ethereal build again - there's no real reason that
ethereal fails to build for such a long time on so many platforms.


svn path=/trunk/; revision=15835
2005-09-16 08:55:51 +00:00
Guy Harris 806a9d66ac Note problems with some values that appear in, for example, some SNMP
captures.

svn path=/trunk/; revision=15833
2005-09-16 08:30:35 +00:00
Guy Harris 5502846e7b Fix a type.
svn path=/trunk/; revision=15832
2005-09-16 07:50:02 +00:00
Tim Potter 447b09df0b Add conformance file used for building winreg dissector.
svn path=/trunk/; revision=15831
2005-09-16 04:25:12 +00:00
Guy Harris f91d140cc9 Don't use u_char - not all platforms define it, and even those that do
might require other files to be included to get it.

svn path=/trunk/; revision=15828
2005-09-15 23:39:08 +00:00
Luis Ontanon 756421af73 Add more information regarding call legs.
Make the release cause value filterable.


svn path=/trunk/; revision=15826
2005-09-15 19:30:44 +00:00
Gerald Combs e777958eb6 Fix fragment length checks. Fixes bugs 440 and 442-446.
svn path=/trunk/; revision=15824
2005-09-15 18:42:04 +00:00
Ronnie Sahlberg 46276102d9 remove some redundant strcpy()
svn path=/trunk/; revision=15823
2005-09-15 13:41:56 +00:00
Ronnie Sahlberg 04661f4a90 remove some redundant strcpy()
svn path=/trunk/; revision=15822
2005-09-15 13:36:31 +00:00