aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-02-13Add a manifest, so that styled widgets are drawn correcltly. TheGerald Combs4-2/+35
"version" field in the manifest is picky about formatting, so setting a custom version in config.nmake (e.g. "0.10.14-test") will probably break the Windows build. svn path=/trunk/; revision=17291
2006-02-13- disable printLuis Ontanon6-35/+306
- add a log facility to lua (so far just prints to stderr) - add settings to disable lua even if installed, to load or not to load user scripts when superuser - create a default /usr/local/share/ethereal/init.lua that blocks all the io/system calls when running as superuser svn path=/trunk/; revision=17290
2006-02-13add missing #include "tempfile.h"Ulf Lamping1-0/+1
svn path=/trunk/; revision=17289
2006-02-13Make the files at least compile. While testing them as plugins theyJörg Mayer2-143/+185
caused tethereal to abort during startup. svn path=/trunk/; revision=17288
2006-02-13Add original files for oracle dissection from the ClearSightJörg Mayer2-0/+1001
archive. svn path=/trunk/; revision=17287
2006-02-13Add a placeholder for integrating with the display filter dialog.Gerald Combs1-0/+3
svn path=/trunk/; revision=17286
2006-02-13Copy over the file open/save code from the Win32 native branch.Gerald Combs11-63/+1864
The Windows-native routines were integrated by inserting #if GTK_MAJOR_VERSION >= 2 && _WIN32 win32_native_routine(GDK_WINDOW_HWND(top_level->window)); return; #endif at the beginning of each GTK+ file routine. There's probably a prettier way to do this. Some of the sizes need to be tweaked in win32-file-dlg.rc, but everything seems to work. Fix up whitespace. svn path=/trunk/; revision=17285
2006-02-13Add redirects to the ICMP filter.Gerald Combs1-1/+1
svn path=/trunk/; revision=17284
2006-02-13Remove a couple of unused variables.Gerald Combs1-2/+0
svn path=/trunk/; revision=17283
2006-02-13From Mike Duigou:Anders Broman1-124/+278
- Improves ability of dissector to find conversations without seeing whole stream. - Fixes some issues with dissection of data which requires reassembly. - Adds the ability to dissect jxta conversations from SCTP streams. - Better handling of welcome message. - Adds direct dissection of compressed SRDI data. - Has been run through extensive fuzz testing. - Fixes compiler warnings with previous patch 17141 svn path=/trunk/; revision=17282
2006-02-13Paolo AbeniJörg Mayer2-93/+95
the attached patch fix a couple of possible memory leak in the ssl decryption code, add some indentation fix, more comments and add the preference to select the debug output (missing in previous patch) svn path=/trunk/; revision=17281
2006-02-13Add tempfile.h to the list of headeer files. That was the problem, notGuy Harris2-1/+2
the pathname in the #include. svn path=/trunk/; revision=17280
2006-02-12Look for "tempfile.h" in the top-level directory.Guy Harris1-1/+1
svn path=/trunk/; revision=17279
2006-02-12Move create_tempfile() to tempfile.c out of util.c. This means dumpcapGuy Harris9-166/+217
no longer needs util.c, so it no longer includes routines that use host_ip_af(), so it no longer needs to define its own host_ip_af(). That also means dumpcap.c no longer needs to include <sys/socket.h>. svn path=/trunk/; revision=17278
2006-02-12At least on UN*X, the first argument - argv[0] - is supposed to be theGuy Harris1-4/+7
name of the program as used to run it (command name/path name). Pass that - otherwise, we pass "-i" as argv[0], and dumpcap ignores it and treats the capture device as the first argument and doesn't handle it correctly (i.e., it doesn't capture on that device). svn path=/trunk/; revision=17277
2006-02-12Distinguish between pipe_read_block() returning 0 (EOF) or a negativeGuy Harris1-2/+10
value (error reading). svn path=/trunk/; revision=17276
2006-02-12Instead of using (commented-out) g_warning() calls to log errors readingGuy Harris1-9/+26
and writing the sync pipe, using g_log() calls at the G_LOG_LEVEL_DEBUG or G_LOG_LEVEL_WARNING levels, so we can get at them if necessary. Add some messages for errors for which we had no logging. svn path=/trunk/; revision=17275
2006-02-12Send LOG_DOMAIN_CAPTURE_CHILD messages to our log handler, so they don'tGuy Harris1-1/+4
go to the standard output (as is the case for some such messages, including the "child is sending an error message to the parent" message, which shows up if we fail to exec dumpcap). *Anything* other than an official capture-child message written to the standard output by the capture child confuses the heck out of the parent, and can cause it to think the child closed the pipe (resulting, in the case described in the previous parenthetical note, in no dialog box being displayed for dumpcap not being executed). svn path=/trunk/; revision=17274
2006-02-12fuzz testing revealed that an infinite loop in the uma dissector was only ↵Lars Roland1-1/+1
partly fixed in revision 17119. This will fix the infinite loop and bug 738. svn path=/trunk/; revision=17273
2006-02-12add rfc1964 stuff and (incomplete) KRB_CRED support.Ronnie Sahlberg1-3/+217
KRB_CRED does not currently even try to decrypt EncKrbCredPart but it is better than no KRB_CRED dissection at all. svn path=/trunk/; revision=17272
2006-02-12Well, it doesn't help to apply patches and then forget to actuallyJörg Mayer1-11/+0
commit them. Patch by Paolo Abeni: remove some commented out code. svn path=/trunk/; revision=17271
2006-02-12add a minor commentUlf Lamping1-0/+1
svn path=/trunk/; revision=17270
2006-02-12freebsd needs to define AF_INET6, seems to need sys/socket.hUlf Lamping1-0/+4
svn path=/trunk/; revision=17269
2006-02-12Export get_progfile_dir() and init_progfile_dir().Guy Harris1-0/+2
svn path=/trunk/; revision=17268
2006-02-12Add a routine to attempt to get the absolute pathname of the executableGuy Harris6-81/+255
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. svn path=/trunk/; revision=17267
2006-02-12Re-UTF-8-ify.Guy Harris1-0/+0
svn path=/trunk/; revision=17266
2006-02-12"default on" for dumpcap generation (it's required at least for Ethereal's ↵Ulf Lamping1-1/+1
capturing now) svn path=/trunk/; revision=17265
2006-02-12add generation of dumpcap manpageUlf Lamping1-2/+11
svn path=/trunk/; revision=17264
2006-02-12mark an unused parameterUlf Lamping1-1/+1
svn path=/trunk/; revision=17263
2006-02-12Fix up indentation.Guy Harris1-6/+2
svn path=/trunk/; revision=17262
2006-02-12Add userdata arguments to a bunch of stat initialization routines toGuy Harris16-139/+140
squelch compiler warnings. Tag one existing such argument as unused to squelch another warning. Fix up some indentation. svn path=/trunk/; revision=17261
2006-02-12we still need sync_pipe_errmsg_to_parent() for the *NIX buildUlf Lamping1-0/+12
svn path=/trunk/; revision=17260
2006-02-11add dumpcap.exe and the corresponding HTML manpage to the distributionUlf Lamping1-0/+2
svn path=/trunk/; revision=17259
2006-02-11various capture child related minor cleanupsUlf Lamping1-20/+5
svn path=/trunk/; revision=17258
2006-02-11font_init don't need to know if running as a capture_child, this will simply ↵Ulf Lamping3-19/+3
no longer happen. svn path=/trunk/; revision=17257
2006-02-11the point of no return ...Ulf Lamping8-495/+150
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. svn path=/trunk/; revision=17256
2006-02-11minor bugfix: restore the Ethereal icon (after capturing) at the right placesUlf Lamping1-13/+26
svn path=/trunk/; revision=17255
2006-02-11This was missing from last check-inLuis Ontanon1-0/+6
svn path=/trunk/; revision=17254
2006-02-11Paolo Abeni:Jörg Mayer3-32/+62
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. svn path=/trunk/; revision=17253
2006-02-11 add an userdata argument to register_stat_cmd_arg() and its callback to use ↵Luis Ontanon66-187/+219
the callback for multiple registrations. svn path=/trunk/; revision=17252
2006-02-11In "Save As", support only file types we can write to; that simplifiesGuy Harris5-139/+108
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.) svn path=/trunk/; revision=17251
2006-02-11Squelch some compiler warnings.Guy Harris1-1/+3
svn path=/trunk/; revision=17250
2006-02-11Squelch some compiler warnings by declaring RADIUS AVP dissectors toGuy Harris1-10/+10
return pointers to const strings. svn path=/trunk/; revision=17249
2006-02-11Display g_error messages in the console window unconditionally, if ↵Lars Roland2-3/+7
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-11From ENDOH Akira:Luis Ontanon2-12/+19
Add heuristic dissection of XML to SIP bodies with unknown media_type. svn path=/trunk/; revision=17247
2006-02-10tcp analysisRonnie Sahlberg1-1/+3
RST segments should not be checked for and not marked as PREVIOUS_SEGMENT_LOST svn path=/trunk/; revision=17246
2006-02-10When using GTK 2.8, we need the cairo dlls, so add them to the ↵Lars Roland1-0/+4
install-gtk2-deps target svn path=/trunk/; revision=17245
2006-02-10From Paolo Abeni:Anders Broman2-5/+22
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-10The target is called eug_html_chunked not eug_htmlchunkUlf Lamping1-1/+1
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). svn path=/trunk/; revision=17243
2006-02-10ASF messages are in big-endian byte order, not little. From AlertTim Potter1-5/+5
Standard Format Specification, v2.0, p.51. svn path=/trunk/; revision=17242