Commit Graph

16890 Commits

Author SHA1 Message Date
Ulf Lamping 0d9c276e90 only a backup, nothing changed for now.
second try to bring dumpcap to life. Currently it's working, but the child (dumpcap) will show an annoying Win32 console window while running. 

svn path=/trunk/; revision=17239
2006-02-10 01:27:23 +00:00
Ulf Lamping c98e18c555 some improvements in the console output handling
svn path=/trunk/; revision=17238
2006-02-10 01:18:24 +00:00
Ulf Lamping 07173c5578 add dumpcap manual page
svn path=/trunk/; revision=17237
2006-02-09 21:49:02 +00:00
Ulf Lamping ba7b92bc02 Win32 inconvenience: a call to g_error will terminate the program and the user won't see anything.
To avoid this, the log handler in the error case:

- opens a console window (regardless of the users settings)
- waits for a keypress before continuing to terminate the program

This way, the user will be notified that there's a problem, instead of simply seeing a terminating program only.

svn path=/trunk/; revision=17236
2006-02-09 21:37:14 +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
Luis Ontanon 9fd26b71ef * DissectorTable.add does not allow to add lua protocols that don't have a dissector.
* ProtoFiled.uint checks the base to be a valid value to avoid an assertion in proto.c while registering the field array
* save one lua table lookup by using a reference to the dissectors table instead of looking for it by name
* set data_hanlde's value to avoid a crash while invoking it.
* make the TvbRange of Tree:add_item really optional. 


svn path=/trunk/; revision=17220
2006-02-08 23:26:52 +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 2d668534a9 Include glib.h, so FALSE is defined when compiling statically.
svn path=/trunk/; revision=17218
2006-02-08 17:04:21 +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
Guy Harris 0a19b80f96 Call "get_credential_info()", so any later calls to privileges.c
routines will have the UID info (not that it matters in this case,
but...).

svn path=/trunk/; revision=17216
2006-02-08 10:22:20 +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 83d8a24e22 Try to fix a grammar error in the XML code I added for -X
svn path=/trunk/; revision=17212
2006-02-08 00:31:33 +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 afa7c90487 Changed how files are loaded.
load $ETH/init.lua if it exists
if we are not runninig on special privileges
  load $USER/init.lua
  and then all the files given with cmd line option -X lua_script:file.lua 


svn path=/trunk/; revision=17210
2006-02-08 00:02:15 +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
Jörg Mayer c24e4dd597 Peter Kjellerstedt:
GTK_WRAP_WORD_CHAR does not exist in old versions of GTK2+
(2.2.1 and earlier).  The following patch should make it
compile again (solution borrowed from GAIM).


svn path=/trunk/; revision=17199
2006-02-07 10:22:41 +00:00
Jörg Mayer 325f8b88ba lua autofoo:
- Fail if with-lua was given but liblualib is missing
- Make the test for liblualib succeed on my system
  (make sure the test gets linked with liblua and libm).

svn path=/trunk/; revision=17198
2006-02-07 09:49:38 +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 5bf6a2939f init_routines was moved back to globals.
svn path=/trunk/; revision=17192
2006-02-07 03:47:13 +00:00
Luis Ontanon 5a2013cdfc I Noticed a crash when registering a tap with filter during handoff (that's when I had lua starting) trying to see if I could move dfilter_init() before protocol registration I discovered register_final_registration_routine() neat!
Lua protocols won't need a handoff routine anymore!!


svn path=/trunk/; revision=17191
2006-02-07 03:06:02 +00:00
Luis Ontanon 1352ce5fe6 + gui_enabled()
* make  the gui routines call-able since the first line of the script


svn path=/trunk/; revision=17190
2006-02-06 23:58:07 +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