Commit Graph

14774 Commits

Author SHA1 Message Date
Anders Broman d410c9ed54 From Peter Johansson:
The supplied patch takes care of the following compilation warnings:

editcap.c(273) : warning C4013: 'getpid' undefined; assuming extern 
returning int
editcap.c(464) : warning C4018: '<' : signed/unsigned mismatch


svn path=/trunk/; revision=15084
2005-07-26 09:34:49 +00:00
Anders Broman 5e241d8a7c From Peter Johansson:
The supplied patch takes care of the following compilation warnings:

getopt.c(409) : warning C4013: 'strcmp' undefined; assuming extern 
returning int
getopt.c(478) : warning C4013: 'strncmp' undefined; assuming extern 
returning int
getopt.c(480) : warning C4013: 'strlen' undefined; assuming extern 
returning int

svn path=/trunk/; revision=15083
2005-07-26 09:31:04 +00:00
Anders Broman fbb92df9f4 Get rid of an unused variable.
svn path=/trunk/; revision=15082
2005-07-26 09:25:46 +00:00
Anders Broman 7e6e7b8b01 From Hannes Gredler:
a patch that adds support for
dissecting packets captured on ML-, LS- and AS PICs
using Multi-link PPP encapsulation,
running JUNOS 7.3 or higher;

additional there i did some clean-up in the
juniper dissector that makes future addition
of JUNIPER_DLTs easier;

svn path=/trunk/; revision=15081
2005-07-26 08:59:32 +00:00
Ronnie Sahlberg 6165bb328f add decoding of ELS iFCP CBIND packets
svn path=/trunk/; revision=15080
2005-07-26 08:47:46 +00:00
Jörg Mayer 7949c7f31c char -> const char warning fixes
svn path=/trunk/; revision=15079
2005-07-26 08:01:16 +00:00
Ronnie Sahlberg 0e9e556e5a From fred hoekstra
New protocol: DEC DNA Routing protocol


svn path=/trunk/; revision=15078
2005-07-26 01:18:25 +00:00
Ronnie Sahlberg 8649034312 more news
SecureLDAP and GSS-KRB encrypted DCE/RPC decryption support.

TCP Sequence graphs is now tappified.


svn path=/trunk/; revision=15077
2005-07-26 01:08:12 +00:00
Ronnie Sahlberg 3e8894dd23 iFCP uses one dedicated TCP session per fc-endpoint pair.
The FC D_id and S_id fields in teh FC frame encapsulated inside iFCP unfortunately has "undefined" (semi-random) values    so we can not use th S_/D_id matching in FC when transported atop iFCP.


Change iFCP to call a new  fc_ifcp handler instead of the fc handler.

Add a new handler to FC specific to iFCP. 
Only set the pinfo->src/dst fields to the S_id/D_id fields IFF the FC frame was NOT transported ontop of iFCP.
Othervise  we just use the TCP/IP values that are already stored there.

Some Hosts use RelativeOffset fields for FC.  We can only dissect the RelOff field with offset 0.
Change FC to only call the FCP subdissector if offset==0  when relative offsets are used.


Some hosts when using relative offsets  do not specify a proper value for rxid in teh commands instead htey lkeave it as 0xffff
Change the FCP conversation matching to ignore RXID when searching for a conversation.



svn path=/trunk/; revision=15076
2005-07-26 00:54:16 +00:00
Luis Ontanon 60ae91aa5e Avoid leaking tap info by using emem allocators
svn path=/trunk/; revision=15075
2005-07-25 23:54:02 +00:00
Ulf Lamping f0c14e3eb4 added some other things that came to my mind
svn path=/trunk/; revision=15074
2005-07-25 23:45:56 +00:00
Luis Ontanon 7796905fd8 From Thomas Anders:
SNMP Engine ID dissection according to RFC3411


svn path=/trunk/; revision=15073
2005-07-25 23:33:44 +00:00
Gerald Combs 6fa95413b8 From Ronnie: Offset checking/handling fix.
Fix up whitespace and newlines.

svn path=/trunk/; revision=15072
2005-07-25 23:11:32 +00:00
Gerald Combs 8851e71254 Prep for 0.10.12. If you've added or changed any major features since
0.10.11 you may want to check the NEWS file to make sure your work is
present and correct.

svn path=/trunk/; revision=15071
2005-07-25 22:16:43 +00:00
Luis Ontanon 1ca8874eda rename OUT to OUTSIDE and TEXT to CDATA
svn path=/trunk/; revision=15070
2005-07-25 22:02:04 +00:00
Ronnie Sahlberg 93a73781ee from aboo
fix  multiple pdus in one segment


svn path=/trunk/; revision=15069
2005-07-25 21:18:58 +00:00
Jörg Mayer 9ec7ce3e69 Update manuf
svn path=/trunk/; revision=15068
2005-07-25 21:10:29 +00:00
Jörg Mayer 88895e2f02 Warning fixes
svn path=/trunk/; revision=15067
2005-07-25 21:08:14 +00:00
Anders Broman 415359db46 From Morro Roberto :
- bug fixes to the dissectors for the GENERALIZED_UNI and
 LABEL objects
 - improved dissector of flag field for the ERROR object
 - improved LABEL_SET object dissector
 - support for the new (proposed) ASSOCIATION object (see 
 draft-ietf-ccamp-gmpls-recovery-e2e-signaling).
 Moveover find also attached a patch to OSPF that fixes a line 
 of source code lost in the TNA TLV (the code compiled anyway).

svn path=/trunk/; revision=15066
2005-07-25 19:52:08 +00:00
Luis Ontanon caa15f2906 Get rid of a unused variable
svn path=/trunk/; revision=15065
2005-07-25 19:19:34 +00:00
Luis Ontanon a7cee8a93e Make the DLT an option, reduce the number of instances and rename them.
svn path=/trunk/; revision=15064
2005-07-25 19:06:02 +00:00
Luis Ontanon 28de1cec4d Fix the IP address representation string (was inverted on little endians)
svn path=/trunk/; revision=15063
2005-07-25 19:03:57 +00:00
Ulf Lamping 6c39d9a5c9 updated GTK-Wimp section to reflect GTK 2.4
svn path=/trunk/; revision=15062
2005-07-25 18:54:21 +00:00
Ulf Lamping ed92a140e4 found by Thomas Boehne: corrected GTK_WIMP_DIR, used by the NSIS installer
svn path=/trunk/; revision=15061
2005-07-25 18:44:59 +00:00
Ulf Lamping 818a760aca update to latest zlib version 123
svn path=/trunk/; revision=15060
2005-07-25 18:30:35 +00:00
Ulf Lamping cb62ed9cea from Thomas Boehne: update README's to reflect latest changes
svn path=/trunk/; revision=15059
2005-07-25 18:27:35 +00:00
Ulf Lamping c64b5cc166 fix a typo: lenght -> length
svn path=/trunk/; revision=15058
2005-07-25 18:03:38 +00:00
Guy Harris 7a6f0a102c When reassembling a packet, all data, including data with
FD_NOT_MALLOCED set, has to be copied - all FD_NOT_MALLOCED means is
that the fragment's data is part of the old reassembled data, rather
than a malloced chunk of its own (this happens if, after reassembly, the
dissector says more reassembly is necessary, as can happen, for example,
in the case of HTTP and other protocols where reassembly continues until
a terminator is seen).  Not copying the data means that the reassembled
data is, in part, whatever random junk happens to be in the
newly-allocated buffer.

Back out the change not to copy the data, but add some sanity checks, in
the hopes of preventing the crash that caused the change not to copy the
data to be added, and in the hopes of discovering the ultimate source of
that crash and fixing it.

svn path=/trunk/; revision=15057
2005-07-25 18:03:19 +00:00
Ulf Lamping 39b2f7c4d9 two bugfixes:
- don't use GtkSelectionData after returned to GTK, as it might free this data immediately (copy the data instead and free it after usage)
- fix return value handling for DnD merge, so it will work again

svn path=/trunk/; revision=15056
2005-07-25 18:02:32 +00:00
Ulf Lamping 1894f6a949 bugfix: default for NPF service was default on for NT and above, but it has to be off (secure default)
stop NPF service and set it back to "On demand" if user deselected the corresponding checkbox

when upgrading from a previous Ethereal install, try to detect which choices of icons and alike was used last time, and set this as default (e.g. don't install desktop icon if I choose not to install last time)

minor text changes

svn path=/trunk/; revision=15055
2005-07-25 17:56:19 +00:00
Gerald Combs 4d666be4b8 Break out of an infinite loop. Fixes bugs 296 and 297.
svn path=/trunk/; revision=15054
2005-07-25 15:43:38 +00:00
Ulf Lamping faaeb4ce7e add a section about the Developer's Guide
svn path=/trunk/; revision=15053
2005-07-25 07:50:11 +00:00
Ulf Lamping 10f6e3ba94 as the buildbot is updated now:
using the /SOLID switch in SetCompressor again, making NSIS at least 2.07 a requirement

svn path=/trunk/; revision=15052
2005-07-25 07:42:06 +00:00
Ulf Lamping 4d6daa907c packet-http.c(484) : warning C4101: 'i' : unreferenced local variable
packet-http.c(486) : warning C4101: 'si' : unreferenced local variable
packet-kink.c(628) : warning C4101: 'quick_mode_payloads_length' : unreferenced local variable

svn path=/trunk/; revision=15051
2005-07-25 01:22:03 +00:00
Guy Harris 72560a2e04 Fix indentation.
svn path=/trunk/; revision=15050
2005-07-24 22:01:14 +00:00
Ulf Lamping 0ef752136a make the default to not use the /SOLID switch for SetCompressor, so buildbot is working again
svn path=/trunk/; revision=15049
2005-07-24 21:25:29 +00:00
Ulf Lamping 156e034ef9 include pinfo_stats_tree.c in the build process, so MSVC compiles again
don't use extern before a function body, that don't make sense

svn path=/trunk/; revision=15048
2005-07-24 21:23:10 +00:00
Gerald Combs 7743ecf3c9 Break out of another infinite loop. Fixes bug 293.
svn path=/trunk/; revision=15047
2005-07-24 21:02:40 +00:00
Guy Harris 255b302a82 Fix some typoes.
Call "dissect_attribute_value_pairs()" regardless of whether we're
building a protocol tree, so the EAP subdissector is always called.

"dissect_attribute_value_pairs()" is only called when the length of AVPs
in the packet is non-zero; don't bother checking for a zero length.

Don't put two items in for each AVP - one is sufficient.

Add some more length checks when processing AVPs.  Don't require AVPs to
be at least 3 bytes long - they might have just a type and length; let
an exception be thrown if that's a problem.

Don't require that the entire AVP be available in the tvbuff before
processing it; let an exception be thrown as we're processing the AVP if
we don't have all the data, so the stuff before the end is processed.

Give the tvbuff for the AVP data a length that reflects the length of
data left in the tvbuff, so that the appropriate exception is thrown if
the packet was cut short by a snapshot length.

Don't have a fixed-length buffer for reassembled EAP messages; grow it
as necessary.

Don't special-case the initial part of the processing of EAP messages;
put in the standard length item, as well as, for fragments, an item for
the fragment data.

Check for non-consecutive EAP-Message attributes.

Set the columns non-writable while dissecting the EAP message, so
Protocol and Info reflect the RADIUS packet.

Doing the reassembly by gluing together all the consecutive EAP-Message
attributes means we don't need help from the EAP dissector, returning
the total length of the EAP message.  Get rid of the no-longer-needed
eap_fragment dissector; just call the regular EAP dissector.

svn path=/trunk/; revision=15046
2005-07-24 20:39:19 +00:00
Michael Tüxen 200571c143 Fix a typo.
svn path=/trunk/; revision=15044
2005-07-24 19:58:05 +00:00
Guy Harris 554f620001 Constify to remove a bunch of warnings. Add some casts to squelch
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst
warnings.

In the TACACS dissector, clean up the variables used in option parsing
to avoid some const-to-nonconst warnings.

Clean up some white space.

svn path=/trunk/; revision=15043
2005-07-24 19:01:28 +00:00
Guy Harris 72c01a62f8 "fragment_add_common()" isn't used outside this file - make it static.
Move to "show_fragment()" the code to append the fragment information to
the top-level item.

Fix indentation.

svn path=/trunk/; revision=15042
2005-07-24 17:48:10 +00:00
Ulf Lamping bb847366a3 from Graeme Hewson: "Fixes for ethereal config files"
svn path=/trunk/; revision=15041
2005-07-24 14:35:12 +00:00
Ulf Lamping 9eedc98db7 Update to zlib 1.2.3
svn path=/trunk/; revision=15040
2005-07-24 14:16:54 +00:00
Ulf Lamping d043a722ee Update to zlib 1.2.3
svn path=/trunk/; revision=15039
2005-07-24 13:54:19 +00:00
Jörg Mayer cb2d67351c Lars Ruoff:
Use correct offsets to decode bssid in all cases:
        Depending on the packet type the header contains
        up to 4 addresses but may contain less. The position/
        definition of the bssid changes as a result of this.

svn path=/trunk/; revision=15038
2005-07-24 11:35:41 +00:00
Guy Harris a58c119084 Register the port range preferences as such, rather than doing our own
range implementation.

Make string preferences "const", to squelch compiler warnings, and make
other variables and arguments "const" to match.

Port numbers are unsigned; display them as such.

svn path=/trunk/; revision=15037
2005-07-24 11:14:13 +00:00
Luis Ontanon 3c8376dcf8 register the dissector by name
svn path=/trunk/; revision=15036
2005-07-24 10:32:37 +00:00
Guy Harris e4f089af58 Add "pinfo_stats_tree.h" to declare "register_pinfo_stat_trees()", and
include it in "pinfo_stats_tree.c" (which defines it) and
"stats_tree_plugin.c" (which refers to it).

Make all the other routines defined in "pinfo_stats_tree.c" static, as
they're not used outside "pinfo_stats_tree.c".

Get rid of declaration of unused "register_http_stat_trees()".

svn path=/trunk/; revision=15035
2005-07-24 10:32:22 +00:00
Ronnie Sahlberg 699e51ccdd some more ep_tvb_get_string updates
svn path=/trunk/; revision=15034
2005-07-24 04:24:30 +00:00