Commit Graph

4321 Commits

Author SHA1 Message Date
Guy Harris 83aad499b4 Squelch some compiler warnings.
svn path=/trunk/; revision=17250
2006-02-11 09:54:10 +00:00
Guy Harris b912db17b3 Squelch some compiler warnings by declaring RADIUS AVP dissectors to
return pointers to const strings.

svn path=/trunk/; revision=17249
2006-02-11 09:50:11 +00:00
Lars Roland e271ba9a3c Display g_error messages in the console window unconditionally, if preferences aren't loaded yet.
This way we ensure that errors are displayed during protocol registration.

Use g_error instead of g_warning, if not allowed characters are used in display filter names for protocols. Extend the error message in this case.

svn path=/trunk/; revision=17248
2006-02-11 03:50:25 +00:00
Luis Ontanon 009b5f7d29 From ENDOH Akira:
Add heuristic dissection of XML to SIP bodies with unknown media_type.


svn path=/trunk/; revision=17247
2006-02-11 00:13:23 +00:00
Ronnie Sahlberg f535b4cba1 tcp analysis
RST segments should not be checked for and not marked as
PREVIOUS_SEGMENT_LOST


svn path=/trunk/; revision=17246
2006-02-10 22:24:21 +00:00
Anders Broman e8978fda03 From Paolo Abeni:
The attached patch fix bug 732.
 The problem was in the client key dissection. On ssl v3 the encrypted
 data is the whole record data, on tls v1 the encrypted data is preceded
 by the 2 bytes length of the encrypted data itself.

svn path=/trunk/; revision=17244
2006-02-10 13:20:11 +00:00
Tim Potter 5b3f1c2030 ASF messages are in big-endian byte order, not little. From Alert
Standard Format Specification, v2.0, p.51.

svn path=/trunk/; revision=17242
2006-02-10 04:45:32 +00:00
Tim Potter 2025f091c6 Add newline to end of file to quiten compiler warning.
svn path=/trunk/; revision=17241
2006-02-10 02:10:33 +00:00
Ulf Lamping 48c4f86c90 fix# 733: don't crash on unknown msg_types
svn path=/trunk/; revision=17235
2006-02-09 21:02:02 +00:00
Gerald Combs bed77708fe Re-enable the PacketCable RADIUS code and add a few EM updates.
Sponsored by CableLabs.

svn path=/trunk/; revision=17233
2006-02-09 20:24:57 +00:00
Gerald Combs 243fb39067 Add PacketCable Multimedia updates. Sponsored by CableLabs.
svn path=/trunk/; revision=17232
2006-02-09 19:41:20 +00:00
Gerald Combs a00e7fb4fb ntp_fmt_ts() doesn't take two arguments any more.
svn path=/trunk/; revision=17231
2006-02-09 19:22:15 +00:00
Gerald Combs 1602ca0715 Add support for PacketCable CCC-encapsulated RTP data, described in
PKT-SP-ESP1.5-I01-050128.

Sponsored by CableLabs.

svn path=/trunk/; revision=17230
2006-02-09 17:42:42 +00:00
Gerald Combs acfe071eb6 Add decryption support. For this to work, you MUST link against
the Nettle library and specify a Pluto log file in the preferences.
The Pluto log MUST include the encryption key used in each phase.

Add filters for many fields (and get rid of a lot of
proto_tree_add_text()s in the process).

Fix up whitespace.

Sponsored by CableLabs.

svn path=/trunk/; revision=17229
2006-02-09 17:32:14 +00:00
Luis Ontanon 0bb1b874ec Add heuristic dissection of XML
svn path=/trunk/; revision=17228
2006-02-09 13:05:32 +00:00
Jörg Mayer 118e05db0b Ricardo Muggli:
The attached patch will fix ethereal so it will only do network address
resolution when network address resolution is enabled. Even when the
RESOLV_NETWORK flag was set ethereal would try to resolve addresses in
the add_ether_byip function.


svn path=/trunk/; revision=17227
2006-02-09 09:18:15 +00:00
Jörg Mayer 7b5cf64016 Hannes Gredler:
attached a patch that supports filtering for
Juniper's meta information prepended
before packets (logical encapsulation, ifd index etc.)

Me:

declare juniper_ext_get_tlv_value static

svn path=/trunk/; revision=17226
2006-02-09 09:15:21 +00:00
Jörg Mayer caad611a07 Olivier Montanuy:
This is a simple patch to the Netflow v9 dissector, that let it decode
Netflow v9 MPLS-Aware, a feature of Cisco 12000 IOS 12.0.24S and above
on Cisco 12000, 7500 and 7200 that is very useful for MPLS-VPN networks.


svn path=/trunk/; revision=17225
2006-02-09 09:11:06 +00:00
Lars Roland 95ecdf78c1 From Bill Meier
The following patch prevents a windows nmake of Ethereal from
relinking libethereal.dll 
when DOXYGEN is not defined in config.nmake and
there are no changes to libethereal.dll dependents.

svn path=/trunk/; revision=17224
2006-02-09 07:03:54 +00:00
Lars Roland 5b46139a57 remove a duplicated name
svn path=/trunk/; revision=17223
2006-02-09 06:57:25 +00:00
Guy Harris 400d343529 Export the right name.
svn path=/trunk/; revision=17222
2006-02-09 06:47:29 +00:00
Guy Harris 55c64cec5e Add "proto_tree_add_XXX_format_value()" routines, which are like the
"proto_tree_add_XXX_format()" routines except that the format doesn't
have to include the field name - the field name, followed by ": ", are
put into the representation string, followed by the result of the
formatting, so you just format the value with the format string, not the
entire representation.

svn path=/trunk/; revision=17221
2006-02-09 04:18:23 +00:00
Gerald Combs 6f4dd2267c Add support for PacketCable option 60/suboption 5.23. Sponsored by
CableLabs.

svn path=/trunk/; revision=17219
2006-02-08 23:09:17 +00:00
Jörg Mayer 1174fe71e7 Paolo Abeni:
the attached patch clean a bit the ssl decryption related code, removing
a macro I used when the code was still for an external plugin.


svn path=/trunk/; revision=17217
2006-02-08 12:45:14 +00:00
Ronnie Sahlberg 6fcf2d8c66 smb2:
if the secblob starts with 'NTLMSSP'   call the ntlmssp handle directly and not the gssapi one

ntlmssp:
dont change offset when dissecting a client_time,   offset will be changed properly later outside the switch.



svn path=/trunk/; revision=17215
2006-02-08 08:48:23 +00:00
Guy Harris 6382f1d4bb Fix up some comments.
svn path=/trunk/; revision=17214
2006-02-08 03:25:22 +00:00
Guy Harris 4d86160203 Clean up the comments for files_identical(), and fix up the UNIX
implementation to check whether the stat calls succeed and to check not
only that the files have the same inumber but that they also are on the
same file system.

svn path=/trunk/; revision=17213
2006-02-08 02:06:09 +00:00
Luis Ontanon 007796b156 Make file_exists() work on macosx (and other unices)
svn path=/trunk/; revision=17211
2006-02-08 00:06:38 +00:00
Luis Ontanon 7740e30072 svn:keywords and svn:eol-style
svn path=/trunk/; revision=17209
2006-02-07 22:18:05 +00:00
Luis Ontanon 5998ec58c0 Forgotten from last commit
svn path=/trunk/; revision=17208
2006-02-07 22:11:01 +00:00
Luis Ontanon b5f22bf8a8 eXtenstion options access to the -X command line options
svn path=/trunk/; revision=17207
2006-02-07 22:08:12 +00:00
Ronnie Sahlberg 3cb23ec4f8 smb2 signing
add dissection of the "Signature present" bit
and the 16 byte signature field in the header


svn path=/trunk/; revision=17206
2006-02-07 21:30:21 +00:00
Anders Broman 250a701144 Newlines in preference comments causes problems in reading the prefeerence file.
svn path=/trunk/; revision=17205
2006-02-07 19:31:54 +00:00
Anders Broman b7cff15f97 Packet-bssap.c - Dissect BCD coded IE:s
Packet-g723.c - B0 and B1 should be treated together.
packet-tipc.c - Change desgementation code to handle more than 2 segments.

svn path=/trunk/; revision=17204
2006-02-07 19:29:51 +00:00
Ronnie Sahlberg 4df342823a add the CLIENT_TIME ntlmv2 addr name type
svn path=/trunk/; revision=17203
2006-02-07 12:50:58 +00:00
Ronnie Sahlberg dd2f806e15 handmerged patch from metze it conflicted with recent P bit patch i checked in
svn path=/trunk/; revision=17202
2006-02-07 12:01:34 +00:00
Ronnie Sahlberg c35dfab4e9 rename Logoff to SessionLogoff to make it consistent with
TreeConnect/TreeDisconnect



svn path=/trunk/; revision=17201
2006-02-07 11:32:10 +00:00
Jörg Mayer 83068a9b9d Paolo Abeni:
>There is still an issue into the HAVE_LIBGNUTLS macro definition. I'm
>fixing it and cleaning a bit the windows side configuration. I hope to
>post soon the fix.


The attached patch should fix the issue. I missed to modify the
config.win32 file and I misstyped a few macros name.


svn path=/trunk/; revision=17200
2006-02-07 10:26:20 +00:00
Ronnie Sahlberg 5036c5cc54 add dissection of the P (PID Valid) bit in the header
If the P bit is NOT set, then flag the PID field as "(not valid)"
Sicne the TID might be undefined/0 in the response to a "pending" read
we cant use that solely to determine if a read was for a named/pipe (==dcerpc)
Assume that only NamedPipe reads can be STATUS_PENDING and thus have the P bit set and assume it IS dcerpc if the P bit is set.




svn path=/trunk/; revision=17197
2006-02-07 09:28:02 +00:00
Lars Roland 5f1e470cc2 changes to build lua plugin with MSVC6:
- nmake makefile for lua plugin added.
- declare variables at the beginning of a function.
- proto_reg_handoff_lua was removed, remove remaining calls, too.
- missing functions to libethereal.def added.

add lua plugin to installer, if available.

svn path=/trunk/; revision=17196
2006-02-07 09:12:43 +00:00
Ronnie Sahlberg baed8f0888 add dissection of
SMB/SetFileInfo level 1023
SMB2/SetInfo/FILE_INFO level 0x17

FILE_PIPE_INFO   infolevel


svn path=/trunk/; revision=17195
2006-02-07 08:48:51 +00:00
Anders Broman b3adb51d07 Dissect channel needed.
svn path=/trunk/; revision=17194
2006-02-07 04:57:30 +00:00
Anders Broman 6550608ea0 Add a RFC value.
svn path=/trunk/; revision=17193
2006-02-07 04:56:37 +00:00
Luis Ontanon 3196dfeaf6 - fix a leak
- register the funnel mini-api ASAP


svn path=/trunk/; revision=17189
2006-02-06 23:54:54 +00:00
Ronnie Sahlberg 0c350fb5b6 prettify class/infolevel for GetInfo/SetInfo
svn path=/trunk/; revision=17186
2006-02-06 13:17:11 +00:00
Guy Harris 847fe0e323 Export the new privilege-manipulation routines (not that they do
anything on Windows).

svn path=/trunk/; revision=17182
2006-02-06 11:18:38 +00:00
Guy Harris c897da2ded Move the code to relinquish set-UID and set-GID privileges to a routine
in epan/privileges.c.

svn path=/trunk/; revision=17181
2006-02-06 10:27:27 +00:00
Ronnie Sahlberg 4a2048a5ef dissect the TWrp chain element
svn path=/trunk/; revision=17180
2006-02-06 09:51:42 +00:00
Ronnie Sahlberg f1e686af86 add dissection of a few more create options
svn path=/trunk/; revision=17179
2006-02-06 09:37:56 +00:00
Guy Harris ad3cb359b6 From Paolo Abeni:
Set up to build on Windows if we have GNU TLS.

	Define "ssl_data_set()" regardless of whether we have GNU TLS or
	not, as it's used in either case.

	Get rid of an extra #include of epan/gnuc_format_check.h.

svn path=/trunk/; revision=17177
2006-02-06 09:09:06 +00:00