Commit Graph

18 Commits

Author SHA1 Message Date
Bill Meier 40bd43db83 Minor cleanup (mostly related to proto_reg_handoff...)
svn path=/trunk/; revision=26121
2008-09-02 19:08:29 +00:00
Jaap Keuter e957d8ad1a From Motonori Shindo:
Currently, sFlow dissector only recongnizes "Header" as the packet data type.
This patch enhances it to support "IPv4" and "IPv6" packet data type.

This patch seems to work well against sFlow packets exported from AlaxalA switch.

svn path=/trunk/; revision=25688
2008-07-09 18:37:50 +00:00
Sake Blok a4cec1cf5f From Andrew Ferren (big 2434):
While borrowing code from an other dissector I have worked on I realized I
previously "borrowed" a comment and typo.  Here's a fix.


svn path=/trunk/; revision=24928
2008-04-12 09:35:48 +00:00
Anders Broman 2cd5211e95 From Andrew Feren :
Decoding extended gateway information not implemented for sFlow

svn path=/trunk/; revision=24565
2008-03-05 20:33:19 +00:00
Stig Bjørlykke 28ae535b00 Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
2008-02-07 15:44:45 +00:00
Sake Blok fcdbdcdacb From Andrew Feren:
sFlow datagrams can contain sampled headers from conversations on the network.

Often it is convenient to have wireshark dissect these payload headers, but
doing so can also have undesirable side effects.  Dissected payload headers may
match filters looking for header fields that also happen to occur in the
payload.  This can cause surprising results.

Also TCP analysis will almost always flag errors on sampled headers.  They are,
after all, just a sample and many sequence numbers are sure to be missing.

There is probably a more general way to resolve these issues, but adding
preferences to enable/disable tcp analysis and dissection of sampled headers
will be a good start.  This will make it possible to examine the details of
sampled headers if desired or to disable dissection if the side effects of
dissecting sampled headers cause issues.

svn path=/trunk/; revision=23230
2007-10-19 09:50:29 +00:00
Stig Bjørlykke 5456642ae5 From Andrew Feren:
Add preference to allow user to configure the port(s) to use when identifying
sFlow.

svn path=/trunk/; revision=23153
2007-10-11 22:19:38 +00:00
Jaap Keuter 888cf1130b From Taisuke SASAKI:
I found a misdecoding in dissect_sflow_extended_switch() in epan/dissector/packet-sflow.c and fixed it.

svn path=/trunk/; revision=20187
2006-12-21 22:13:30 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Guy Harris 880ef5343a Get rid of a no-longer-used variable.
svn path=/trunk/; revision=15400
2005-08-18 06:40:10 +00:00
Gerald Combs 2f2a3fedd3 In packet-sflow.c, don't pass a NULL value pointer to
proto_tree_add_ipv6().  Add tree items for the extended router source
and dest mask, and fix offsets.  These changes appear to be correct,
but I don't have a valid capture with extended router data.

In proto.c, throw a dissector error if we try to pass a NULL value to
various proto_tree_set_*() routines.

Fixes bug 356.


svn path=/trunk/; revision=15375
2005-08-16 16:04:30 +00:00
Ulf Lamping 0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Jörg Mayer b6db235c77 Change 802.11f -> F, 802.1d -> D, 802.1x -> X, 802.1q -Q, 802.1P -> p
svn path=/trunk/; revision=14321
2005-05-05 17:07:58 +00:00
Guy Harris 4d5d55b604 Handle the packet headeer for sFlow V5, put in a stub dissector for V5
samples, and give the URL of the V5 spec and some hints about how to
handle the private enterprise code in those samples.

For subtrees that cover structures, make the tree cover the entire
structure, not just the first field.

Add the flow sample type and extended data type to the protocol tree.

Set the protocol column name to capitalize "sFlow" the conventional way,
and remove the redundant "sFlow" from the Info column.

svn path=/trunk/; revision=13744
2005-03-13 21:42:51 +00:00
Guy Harris 3057f63c8d Fix the offset for the system uptime field.
svn path=/trunk/; revision=13712
2005-03-11 11:59:27 +00:00
Guy Harris 2368cd28d9 We don't have an SMDS dissector, and it's not clear what dissector
should be used for ATM, so just use the data dissector for now.

The X.25 dissector registers itself as "x.25", not "x25".

svn path=/trunk/; revision=13711
2005-03-11 11:46:48 +00:00
Guy Harris 7c3027c5e9 Export two versions of the Ethereal dissector, for use with encapsulated
Ethernet frames, one for encapsulated frames that include an FCS and one
for encapsulated frames that don't include an FCS.  Use the appropriate
versions.

In the ISL dissector, do the same sort of processing we do in the
Ethernet dissector to figure out whether the frame has a trailer or not
and whether it has an FCS or not.

svn path=/trunk/; revision=12593
2004-11-24 09:13:52 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00