ulfl [Sun, 12 Feb 2006 11:35:02 +0000 (11:35 +0000)]
freebsd needs to define AF_INET6, seems to need sys/socket.h
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17269
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 12 Feb 2006 04:35:15 +0000 (04:35 +0000)]
Export get_progfile_dir() and init_progfile_dir().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17268
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 12 Feb 2006 03:15:29 +0000 (03:15 +0000)]
Add a routine to attempt to get the absolute pathname of the executable
file, strip off the last component to get the pathname of the directory
containing the executable file, and save it for future use. On Windows,
you can get that from the OS, but, on UN*X, you have to look at argv[0]
and derive the absolute path from that (argv[0] is not guaranteed to be
an absolute path, or even a path at all). (In addition, if you're
running from the build directory, you might have to strip off a ".libs/"
added to argv[0] as an artifact of the libtoolizing script.)
Use that in the About dialog, and use it to construct the path of
dumpcap.
Don't put quotes into the path of dumpcap; you don't have to quote
strings with spaces in them when handing them to execvp and, in fact,
you *mustn't* quote them, as the quotes will be treated as part of the
pathname.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17267
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 12 Feb 2006 02:04:23 +0000 (02:04 +0000)]
Re-UTF-8-ify.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17266
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sun, 12 Feb 2006 01:45:58 +0000 (01:45 +0000)]
"default on" for dumpcap generation (it's required at least for Ethereal's capturing now)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17265
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sun, 12 Feb 2006 01:40:20 +0000 (01:40 +0000)]
add generation of dumpcap manpage
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17264
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sun, 12 Feb 2006 01:38:02 +0000 (01:38 +0000)]
mark an unused parameter
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17263
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 12 Feb 2006 00:59:34 +0000 (00:59 +0000)]
Fix up indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17262
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sun, 12 Feb 2006 00:54:56 +0000 (00:54 +0000)]
Add userdata arguments to a bunch of stat initialization routines to
squelch compiler warnings. Tag one existing such argument as unused to
squelch another warning.
Fix up some indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17261
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sun, 12 Feb 2006 00:03:10 +0000 (00:03 +0000)]
we still need sync_pipe_errmsg_to_parent() for the *NIX build
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17260
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 11 Feb 2006 23:58:07 +0000 (23:58 +0000)]
add dumpcap.exe and the corresponding HTML manpage to the distribution
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17259
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 11 Feb 2006 23:47:03 +0000 (23:47 +0000)]
various capture child related minor cleanups
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17258
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 11 Feb 2006 23:35:31 +0000 (23:35 +0000)]
font_init don't need to know if running as a capture_child, this will simply no longer happen.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17257
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 11 Feb 2006 23:25:11 +0000 (23:25 +0000)]
the point of no return ...
using dumpcap as the capture child for Ethereal.
dumpcap is a plain console application now, even for Win32 (so no WinMain, create_console and special piping stuff reguired). The undocumented command line option -Z will switch dumpcap into "child mode", using binary instead of plain text output messages to communicate with a parent Ethereal.
Ethereal's main.c no longer needs to distinguish between child mode or not, so some simplifying here.
capture_sync.c has to call dumpcap in a "hidden window" mode using CreateProcess instead of spawnvp, otherwise an uggly console window would appear. The handles created by _pipe doesn't seem to be inheritable for this function, using CreatePipe instead.
The file capture_loop.c is only needed by dumpcap, removed from Ethereal link objects.
Some debugging aid added and other minor cleanup done.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17256
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Sat, 11 Feb 2006 17:08:32 +0000 (17:08 +0000)]
minor bugfix: restore the Ethereal icon (after capturing) at the right places
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17255
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Sat, 11 Feb 2006 15:22:43 +0000 (15:22 +0000)]
This was missing from last check-in
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17254
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Sat, 11 Feb 2006 13:41:17 +0000 (13:41 +0000)]
Paolo Abeni:
The attached patch cleanup the debug infrastructure for ssl dissector.
Debug messages are by default off and can be enabled via the ssl
dissector preference. Debug output can be directed to stderr or file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17253
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Sat, 11 Feb 2006 13:05:24 +0000 (13:05 +0000)]
add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17252
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 11 Feb 2006 11:21:38 +0000 (11:21 +0000)]
In "Save As", support only file types we can write to; that simplifies
the logic, making it easier to get it right (fewer interactions between
components of the dialog - the file type doesn't affect whether we can
save some but not all packets). It also means we don't offer a file
type for saving, only to take it away if you choose anything other than
saving all packets.
If the capture file is a temporary file from a capture done in the
current Ethereal session, it's libpcap format, which we can write to, so
you would be able to save it.
If it's a saved file we read in, saving the file in its entirety in its
own format is just copying the file, and it's not clear supporting that
adds enough useful functionality to justify the extra complication.
Fix "range_update_dynamics()" to update all the rows of the range
button/count table properly (make the button active iff there's
a non-zero count in the currently-selected column, make a count active
iff the column is selected), to select the "Captured" column if the
count of displayed packets goes to zero, and to select the "Save all
packets" row if the count of packets in the currently-selected row and
column goes to zero. (XXX - we should perhaps do that with the
"user-defined range" counts as well, which would involve updating the
counts on every change to the range field.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17251
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 11 Feb 2006 09:54:10 +0000 (09:54 +0000)]
Squelch some compiler warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17250
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Sat, 11 Feb 2006 09:50:11 +0000 (09:50 +0000)]
Squelch some compiler warnings by declaring RADIUS AVP dissectors to
return pointers to const strings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17249
f5534014-38df-0310-8fa8-
9805f1628bb7
lroland [Sat, 11 Feb 2006 03:50:25 +0000 (03:50 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17248
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Sat, 11 Feb 2006 00:13:23 +0000 (00:13 +0000)]
From ENDOH Akira:
Add heuristic dissection of XML to SIP bodies with unknown media_type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17247
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Fri, 10 Feb 2006 22:24:21 +0000 (22:24 +0000)]
tcp analysis
RST segments should not be checked for and not marked as
PREVIOUS_SEGMENT_LOST
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17246
f5534014-38df-0310-8fa8-
9805f1628bb7
lroland [Fri, 10 Feb 2006 14:13:06 +0000 (14:13 +0000)]
When using GTK 2.8, we need the cairo dlls, so add them to the install-gtk2-deps target
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17245
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Fri, 10 Feb 2006 13:20:11 +0000 (13:20 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17244
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Fri, 10 Feb 2006 09:27:32 +0000 (09:27 +0000)]
The target is called eug_html_chunked not eug_htmlchunk
The pdf (and chm) targets are called differently in the two Makefiles (user-guide... vs. eug...), and I don't know which one is better (while keeping in mind that this will require changes in the documentation and elsewhere as well if we change it).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17243
f5534014-38df-0310-8fa8-
9805f1628bb7
tpot [Fri, 10 Feb 2006 04:45:32 +0000 (04:45 +0000)]
ASF messages are in big-endian byte order, not little. From Alert
Standard Format Specification, v2.0, p.51.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17242
f5534014-38df-0310-8fa8-
9805f1628bb7
tpot [Fri, 10 Feb 2006 02:10:33 +0000 (02:10 +0000)]
Add newline to end of file to quiten compiler warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17241
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Fri, 10 Feb 2006 02:05:30 +0000 (02:05 +0000)]
remove all calls to exit() from the capture_opts.c and replace them by status return values (0,1 or 2).
This way makes it much easier to debug, e.g. to set a common breakpoint if a command line parameter fails.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17240
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Fri, 10 Feb 2006 01:27:23 +0000 (01:27 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17239
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Fri, 10 Feb 2006 01:18:24 +0000 (01:18 +0000)]
some improvements in the console output handling
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17238
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Thu, 9 Feb 2006 21:49:02 +0000 (21:49 +0000)]
add dumpcap manual page
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17237
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Thu, 9 Feb 2006 21:37:14 +0000 (21:37 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17236
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Thu, 9 Feb 2006 21:02:02 +0000 (21:02 +0000)]
fix# 733: don't crash on unknown msg_types
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17235
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 21:01:17 +0000 (21:01 +0000)]
Add strptime.c, mkstemp.c, and libethereal.lib to the ignore list.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17234
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 20:24:57 +0000 (20:24 +0000)]
Re-enable the PacketCable RADIUS code and add a few EM updates.
Sponsored by CableLabs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17233
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 19:41:20 +0000 (19:41 +0000)]
Add PacketCable Multimedia updates. Sponsored by CableLabs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17232
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 19:22:15 +0000 (19:22 +0000)]
ntp_fmt_ts() doesn't take two arguments any more.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17231
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 17:42:42 +0000 (17:42 +0000)]
Add support for PacketCable CCC-encapsulated RTP data, described in
PKT-SP-ESP1.5-I01-050128.
Sponsored by CableLabs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17230
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Thu, 9 Feb 2006 17:32:14 +0000 (17:32 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17229
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Thu, 9 Feb 2006 13:05:32 +0000 (13:05 +0000)]
Add heuristic dissection of XML
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17228
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 9 Feb 2006 09:18:15 +0000 (09:18 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17227
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 9 Feb 2006 09:15:21 +0000 (09:15 +0000)]
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17226
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Thu, 9 Feb 2006 09:11:06 +0000 (09:11 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17225
f5534014-38df-0310-8fa8-
9805f1628bb7
lroland [Thu, 9 Feb 2006 07:03:54 +0000 (07:03 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17224
f5534014-38df-0310-8fa8-
9805f1628bb7
lroland [Thu, 9 Feb 2006 06:57:25 +0000 (06:57 +0000)]
remove a duplicated name
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17223
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 9 Feb 2006 06:47:29 +0000 (06:47 +0000)]
Export the right name.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17222
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Thu, 9 Feb 2006 04:18:23 +0000 (04:18 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17221
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Wed, 8 Feb 2006 23:26:52 +0000 (23:26 +0000)]
* 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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17220
f5534014-38df-0310-8fa8-
9805f1628bb7
gerald [Wed, 8 Feb 2006 23:09:17 +0000 (23:09 +0000)]
Add support for PacketCable option 60/suboption 5.23. Sponsored by
CableLabs.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17219
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 8 Feb 2006 17:04:21 +0000 (17:04 +0000)]
Include glib.h, so FALSE is defined when compiling statically.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17218
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Wed, 8 Feb 2006 12:45:14 +0000 (12:45 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17217
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 8 Feb 2006 10:22:20 +0000 (10:22 +0000)]
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...).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17216
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Wed, 8 Feb 2006 08:48:23 +0000 (08:48 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17215
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 8 Feb 2006 03:25:22 +0000 (03:25 +0000)]
Fix up some comments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17214
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Wed, 8 Feb 2006 02:06:09 +0000 (02:06 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17213
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Wed, 8 Feb 2006 00:31:33 +0000 (00:31 +0000)]
Try to fix a grammar error in the XML code I added for -X
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17212
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Wed, 8 Feb 2006 00:06:38 +0000 (00:06 +0000)]
Make file_exists() work on macosx (and other unices)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17211
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Wed, 8 Feb 2006 00:02:15 +0000 (00:02 +0000)]
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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17210
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Tue, 7 Feb 2006 22:18:05 +0000 (22:18 +0000)]
svn:keywords and svn:eol-style
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17209
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Tue, 7 Feb 2006 22:11:01 +0000 (22:11 +0000)]
Forgotten from last commit
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17208
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Tue, 7 Feb 2006 22:08:12 +0000 (22:08 +0000)]
eXtenstion options access to the -X command line options
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17207
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 21:30:21 +0000 (21:30 +0000)]
smb2 signing
add dissection of the "Signature present" bit
and the 16 byte signature field in the header
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17206
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 7 Feb 2006 19:31:54 +0000 (19:31 +0000)]
Newlines in preference comments causes problems in reading the prefeerence file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17205
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 7 Feb 2006 19:29:51 +0000 (19:29 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17204
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 12:50:58 +0000 (12:50 +0000)]
add the CLIENT_TIME ntlmv2 addr name type
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17203
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 12:01:34 +0000 (12:01 +0000)]
handmerged patch from metze it conflicted with recent P bit patch i checked in
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17202
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 11:32:10 +0000 (11:32 +0000)]
rename Logoff to SessionLogoff to make it consistent with
TreeConnect/TreeDisconnect
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17201
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 7 Feb 2006 10:26:20 +0000 (10:26 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17200
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 7 Feb 2006 10:22:41 +0000 (10:22 +0000)]
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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17199
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Tue, 7 Feb 2006 09:49:38 +0000 (09:49 +0000)]
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).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17198
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 09:28:02 +0000 (09:28 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17197
f5534014-38df-0310-8fa8-
9805f1628bb7
lroland [Tue, 7 Feb 2006 09:12:43 +0000 (09:12 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17196
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Tue, 7 Feb 2006 08:48:51 +0000 (08:48 +0000)]
add dissection of
SMB/SetFileInfo level 1023
SMB2/SetInfo/FILE_INFO level 0x17
FILE_PIPE_INFO infolevel
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17195
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 7 Feb 2006 04:57:30 +0000 (04:57 +0000)]
Dissect channel needed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17194
f5534014-38df-0310-8fa8-
9805f1628bb7
etxrab [Tue, 7 Feb 2006 04:56:37 +0000 (04:56 +0000)]
Add a RFC value.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17193
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Tue, 7 Feb 2006 03:47:13 +0000 (03:47 +0000)]
init_routines was moved back to globals.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17192
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Tue, 7 Feb 2006 03:06:02 +0000 (03:06 +0000)]
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!!
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17191
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Mon, 6 Feb 2006 23:58:07 +0000 (23:58 +0000)]
+ gui_enabled()
* make the gui routines call-able since the first line of the script
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17190
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Mon, 6 Feb 2006 23:54:54 +0000 (23:54 +0000)]
- fix a leak
- register the funnel mini-api ASAP
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17189
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 6 Feb 2006 15:47:05 +0000 (15:47 +0000)]
Forgot to add ssl-dlg.h to the distro
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17188
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 6 Feb 2006 15:00:49 +0000 (15:00 +0000)]
Paolo Abeni
the attached patch set correctly the title of the 'Follow SSL stream'
dialog, to fix one issue reported by Nail Devis.
Unfortunaly there isn't an easy way to enable the 'Follow SSL stream'
dialog only for ssl session without knowing the value of proto_ssl (the
ssl protocol id), because the ssl dissector can run on user specified
ports (configured via preferences)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17187
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 6 Feb 2006 13:17:11 +0000 (13:17 +0000)]
prettify class/infolevel for GetInfo/SetInfo
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17186
f5534014-38df-0310-8fa8-
9805f1628bb7
ulfl [Mon, 6 Feb 2006 13:06:15 +0000 (13:06 +0000)]
fix some variable declarations bugs (code not conforming to ANSI-C)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17185
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 6 Feb 2006 12:41:58 +0000 (12:41 +0000)]
Declare -ssl_stream_cb in ssl-dlg.h
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17184
f5534014-38df-0310-8fa8-
9805f1628bb7
jmayer [Mon, 6 Feb 2006 12:21:31 +0000 (12:21 +0000)]
svn eol-style and keywords
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17183
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 11:18:38 +0000 (11:18 +0000)]
Export the new privilege-manipulation routines (not that they do
anything on Windows).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17182
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 10:27:27 +0000 (10:27 +0000)]
Move the code to relinquish set-UID and set-GID privileges to a routine
in epan/privileges.c.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17181
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 6 Feb 2006 09:51:42 +0000 (09:51 +0000)]
dissect the TWrp chain element
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17180
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 6 Feb 2006 09:37:56 +0000 (09:37 +0000)]
add dissection of a few more create options
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17179
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 6 Feb 2006 09:32:27 +0000 (09:32 +0000)]
another gtk_resize_window()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17178
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 09:09:06 +0000 (09:09 +0000)]
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17177
f5534014-38df-0310-8fa8-
9805f1628bb7
sahlberg [Mon, 6 Feb 2006 08:50:20 +0000 (08:50 +0000)]
gtk1.x does not have gtk_window_resize()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17176
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 04:12:12 +0000 (04:12 +0000)]
Tag some #else/#endif to make it clearer what tests they handle.
Also, remove some trailing white space.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17175
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 03:11:34 +0000 (03:11 +0000)]
Add code to check whether the app was started with special privileges
(e.g., set-UID or set-GID), and don't load user plugs if it is.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17174
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Mon, 6 Feb 2006 01:29:05 +0000 (01:29 +0000)]
Lua uses the simple dialog
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17173
f5534014-38df-0310-8fa8-
9805f1628bb7
lego [Mon, 6 Feb 2006 01:27:05 +0000 (01:27 +0000)]
The simple dialog
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17172
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 01:17:29 +0000 (01:17 +0000)]
No C++/C99-style comments, please.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17171
f5534014-38df-0310-8fa8-
9805f1628bb7
guy [Mon, 6 Feb 2006 01:14:36 +0000 (01:14 +0000)]
Include <epan/gnuc_format_check.h> in packet-ssl-utils.h, not
packet-ssl-utils.c; everything else that includes it is a header file.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17170
f5534014-38df-0310-8fa8-
9805f1628bb7