Commit Graph

490 Commits

Author SHA1 Message Date
Gerald Combs 24ca5dbdc3 Print "POSIX capabilities" instead of "libcap".
svn path=/trunk/; revision=25390
2008-05-28 18:52:31 +00:00
Jeff Morriss 58459d3fba Create a new "Wireshark utility" library and move the mpeg-audio stuff from
wiretap to this new libwsutil.  This solves
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark
no longer depend on libwiretap.

svn path=/trunk/; revision=25330
2008-05-20 21:51:01 +00:00
Jaap Keuter cacee64927 From Hans-Peter Bock:
Attached to this post you find a patch for integration into wireshark that adds
a dissector for SERCOS III, ethertype 0x88cd.

svn path=/trunk/; revision=25270
2008-05-10 14:44:32 +00:00
Guy Harris 31cae6e4ef Require GLib 2.4 or later.
That means that G_GINT64_MODIFIER will be defined, so don't check
whether it's defined.

We don't use the PRI[douxX]64 macros, as we use the GLib print routines
and thus use G_GINT64_MODIFIER instead.  Get rid of the checks for
whether inttypes.h defines PRI[douxX]64; just check whether it exists at
all.

That means we don't set INTTYPES_H_DEFINES_FORMATS, so don't check for
it.

svn path=/trunk/; revision=25243
2008-05-05 22:47:32 +00:00
Guy Harris f7c4c23945 Require automake 1.9 or later; earlier versions don't support the
"tar-ustar" option.

svn path=/trunk/; revision=25241
2008-05-05 21:48:32 +00:00
Gerald Combs e9a197ee94 Have autoconf generate "ustar" tar files by default. This should let us have
paths longer than 99 characters.

svn path=/trunk/; revision=25232
2008-05-05 17:03:22 +00:00
Guy Harris a6815b1070 All versions of GLib 2.x come with g_ascii_strcasecmp(), and we require
GLib 2.x; we don't have to check for its presence and supply a
replacement if it's missing.

Get rid of an unremoved reference in epan/dtd_parse.l.

svn path=/trunk/; revision=25197
2008-04-29 16:24:22 +00:00
Guy Harris d136d93252 Have the error for not finding GTK+ indicate that we require GTK+ 2.4 or
later.  Do the same for the GLib error messages, having them indicate
that we require GLib 2.x.

svn path=/trunk/; revision=25191
2008-04-29 08:30:39 +00:00
Jörg Mayer b9c33ecda9 Require at least version 2.4.0 of GTK
svn path=/trunk/; revision=25152
2008-04-23 18:19:01 +00:00
Guy Harris b2f4f0a228 If we have xdg-open, define HAVE_XDG_OPEN.
Add a routine "filemanager_open_directory()", which takes a pathname
(presumed to be UTF-8 in Windows and Mac OS X; this might need work for
other UN*Xes) and attempts to open a file manager window for it, using
ShellExecute on Windows, Launch Services on OS X, and, for now, running
xdg-open on other OSes if we have it (should we have a preference for
the file manaager, just as we have one for the Web browser?).

(For that matter, if we have xdg-open, do we need a preference for the
Web browser, or should we just have xdg-open open the Web browser?)

svn path=/trunk/; revision=25097
2008-04-17 16:14:22 +00:00
Jörg Mayer 39bcbdc87d Update the warning flags (suppress one warning that appears with -pedantic)
svn path=/trunk/; revision=25019
2008-04-14 19:27:39 +00:00
Jeff Morriss 0761d4194a Reword the "you can't do setuid install without dumpcap" error mainly to take out the comma.
svn path=/trunk/; revision=24846
2008-04-08 13:17:26 +00:00
Stephen Fisher f3c333e5b9 Remove GTK1 from Unix build process.
svn path=/trunk/; revision=24775
2008-04-04 23:37:31 +00:00
Gerald Combs f25b110907 Remove most of the OS X packaging files from the distribution. The
files in Resources/themes/Clearlooks-Quicksilver-OSX overrun the
99-character file name length limitation imposed by the default tar
format (V7). We can fix this by

  - Feeding "tar-ustar" to AM_INIT_AUTOMAKE, which apparently means
    changing

AM_INIT_AUTOMAKE(wireshark, x.y.z)

    in configure.in to
  
AC_INIT(wireshark, x.y.z)
AM_INIT_AUTOMAKE(tar-ustar)

    Although the automake documentation recommends this, it means
    updating make-version.pl and possibly other scripts.

  - Shortening everything in the Clearlooks-Quicksilver-OSX path.

  - Skipping tar distributions altogether in favor of zip.

None of these fixes are trivial, and version 1.0 awaits. For now,
you'll have to build OS X packages from SVN.

svn path=/trunk/; revision=24752
2008-03-29 00:54:58 +00:00
Stig Bjørlykke dedfac9c81 Add the OS X packaging Makefile to configure.
svn path=/trunk/; revision=24748
2008-03-28 19:37:53 +00:00
Gerald Combs 55b798b353 Bump the version in the trunk to 1.0.99 (which will become 1.1.0 at some
point).

svn path=/trunk/; revision=24676
2008-03-17 23:01:20 +00:00
Jeff Morriss b59322ecc1 Don't link plugins against libwireshark: any program that loads the dissector
plugins should already be linked against libwireshark.

Don't link capinfos and editcap against libwireshark: they only needed to be
because the plugins were linked against libwireshark (see rev 24123 and the
ensuing discussion on -dev).

capinfos and editcap: don't complain if plugins fail to load: dissector
plugins should fail to load because they need libwireshark.  I am assuming
here that wiretap plugins don't need libwireshark (I've never seen such a
plugin but LEGO's code and comments suggest this is the case).

(The goal of this checkin is to stop linking capinfos and editcap against
libwireshark while still allowing wiretap plugins.  Since we don't have any
such plugins in the tree I do somewhat doubt the need for all this but I don't
want to be the one to remove the functionality.)

svn path=/trunk/; revision=24650
2008-03-16 00:58:15 +00:00
Gerald Combs 46bcad885a Check in the OS X packaging patch from bug 2341, since I've had
confirmation that the OS X package works on at least one system
other than my laptop.

svn path=/trunk/; revision=24640
2008-03-15 18:31:52 +00:00
Gerald Combs 68d23708bc From Stephen Donnelly via bug 2235:
This plugin implements a dissector for Infiniband. It is released 
under the GPL v2.

Rather than using say libpcap to capture raw (unframed) IP packets 
from near the top of an IPoIB stack, this plugin dissects link level
Infiniband frames.

Infiniband trace files can be read from Endace ERF format trace 
files, or from libpcap DLT_ERF files containing ERF TYPE_INFINIBAND 
records. There is currently no native DLT_INFINIBAND in libpcap.

Each record contains a hardware timestamp, capture metadata such as 
port Id, and a complete link level Infiniband frame starting from
the Local Route Header.

svn path=/trunk/; revision=24628
2008-03-14 17:47:53 +00:00
Gerald Combs 86b4477470 Add missing parts of the PCAP dissector.
svn path=/trunk/; revision=24541
2008-03-03 22:03:05 +00:00
Jeff Morriss aca761a1c4 Don't link the plugins against glib: they already link against libwireshark which is linked against glib. Hopefully this will fix the OS-X buildbot when building with glib-1 without breaking anything else.
svn path=/trunk/; revision=24509
2008-02-29 23:41:32 +00:00
Jeff Morriss d1a9136fe5 Wireshark (packet-ssl-utils.h) uses gnutls_x509_crt_t which appears to only be present in GNUTLS > 1.2 . Check that, if we have GNUTLS, it is at least that version (previously we checked for 1.0).
svn path=/trunk/; revision=24472
2008-02-26 17:50:02 +00:00
Gerald Combs 366863a763 Check for setres[gu]id and define HAVE_SETRESUID and HAVE_SETREGUID
accordingly. Also define _GNU_SOURCE to appease glibc.

svn path=/trunk/; revision=24465
2008-02-25 23:18:53 +00:00
Gerald Combs 2839497766 Rawshark depends on libpcap. Make sure we enforce this in the configure
script, just as we do with dumpcap.

svn path=/trunk/; revision=24422
2008-02-22 17:52:06 +00:00
Gerald Combs b14bd744d3 The trunk is now 0.99.9.
svn path=/trunk/; revision=24379
2008-02-18 19:58:46 +00:00
Gerald Combs 7706f9e17e Fix compilation on non-Windows systems.
svn path=/trunk/; revision=24340
2008-02-16 01:00:01 +00:00
Gerald Combs 3e227104d3 Create makefiles for s1ap and x2ap.
svn path=/trunk/; revision=24018
2008-01-06 18:58:16 +00:00
Stephen Fisher f6f2f267cd Follow-up to SVN commit 23925: Remove tshark from description of setuid
options in configure script, leaving just dumpcap.


svn path=/trunk/; revision=23926
2007-12-20 04:21:04 +00:00
Jörg Mayer f632f77532 Exit -Wextra again, entry -Woverflow and -Warray-bounds
svn path=/trunk/; revision=23909
2007-12-18 01:00:39 +00:00
Jörg Mayer 8060e871dc Actually fail if no lex and yacc (derivatives) could be found.
Add -Wextra to extra warnings if supported.

svn path=/trunk/; revision=23906
2007-12-17 23:38:09 +00:00
Jörg Mayer 4fa211ef56 Get rid of configure in wiretap. Finally!
svn path=/trunk/; revision=23795
2007-12-07 18:59:32 +00:00
Bill Meier 6a208e8ffe From Sjoerd Simons: Fix bug #2077: configuring with --with-plugins not behaving like documented
svn path=/trunk/; revision=23792
2007-12-07 17:30:08 +00:00
Tomas Kukosa 08bbd29c71 Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)
- retrieving the list of remote PCAP interfaces
  - password authentication support
  - UDP data fransfer
  - packet sampling (available in WinPcap 4.x)
  etc.

fix problem if non-default rpcap port is used

svn path=/trunk/; revision=23750
2007-12-04 11:19:29 +00:00
Gerald Combs 36f0b417ea Add a directory argument and some default directories to "configure
--with-libsmi".

svn path=/trunk/; revision=23676
2007-11-30 00:45:12 +00:00
Guy Harris 9c89cdaaa3 strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delenda
est.  Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our
own versions if they're missing from GLib (as is the case with GLib
1.x).

In the code to build the list of named fields for Diameter, don't use
g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping
in the hash function and use g_ascii_strcasecmp() in the compare
function.

We do this because there is no guarantee that toupper(), tolower(), and
functions that use them will, for example, map between "I" and "i" in
all locales; in Turkish locales, for example, there are, in both
upper case and lower case, versions of "i" with and without a dot, and
the upper-case version of "i" is "I"-with-a-dot and the lower-case
version of "I" is "i"-without-a-dot.  This causes strings that should
match not to match.

This finishes fixing bug 2010 - an earlier checkin prevented the crash
(as there are other ways to produce the same crash, e.g. a bogus
dictionary.xml file), but didn't fix the case-insensitive string matching.

svn path=/trunk/; revision=23623
2007-11-27 18:52:51 +00:00
Stig Bjørlykke 0e229d8d63 Corrected setting of "warnings_as_errors_default".
svn path=/trunk/; revision=23577
2007-11-25 01:48:01 +00:00
Gerald Combs 4e70cac80c Make it easier to change the default behavior of --enable-warnings-as-errors.
svn path=/trunk/; revision=23531
2007-11-21 18:32:44 +00:00
Gerald Combs 7a4d6fbf36 Bump the trunk to 0.99.8.
svn path=/trunk/; revision=23525
2007-11-21 00:09:38 +00:00
Gerald Combs 58914b5248 If libcap is present, have dumpcap use it to drop privileges while
retaining CAP_NET_ADMIN and CAP_NET_RAW.  Update some Makefile
dependencies for dumpcap.

svn path=/trunk/; revision=23511
2007-11-20 16:53:01 +00:00
Stig Bjørlykke 8ebe9be378 Added p7 to build environment.
svn path=/trunk/; revision=23493
2007-11-19 13:40:27 +00:00
Guy Harris 5057a3a763 Quote a "Checking for" message.
svn path=/trunk/; revision=23420
2007-11-10 02:39:19 +00:00
Guy Harris 6862f071bc Update comment, clean up message.
svn path=/trunk/; revision=23419
2007-11-10 02:18:18 +00:00
Stephen Fisher 432aa1788a Add MacOS X version next to the Darwin version in version outputs.
svn path=/trunk/; revision=23418
2007-11-10 00:57:41 +00:00
Tomas Kukosa 686ea4b773 new H.282 (RDC) and H.283 (LCT) dissectors
svn path=/trunk/; revision=23339
2007-11-02 12:18:01 +00:00
Ronnie Sahlberg eca5a7d7d4 add a asn2wrs generated T.125 MCP dissector
This dissects the initial Connect-Initial and Connect-confirm pdus of 
setting up t.125


The dissector needs to be enhanced to also decode the data payload so 
that it can decode any furhter packets on the connection after these two 
initial handshake packets



svn path=/trunk/; revision=23307
2007-10-29 11:32:07 +00:00
Tomas Kukosa c08b07005f H.501 Mobility protocol implemented
svn path=/trunk/; revision=23275
2007-10-26 07:42:29 +00:00
Tomas Kukosa 44800d2c5a H.460 new dissector implemented (H.460.2-H.460.22)
H.225
 - change RysMessage_vals to h225_Rasmessage_vals
 - use #.PDU directive for H323-UserInformation and RasMessage instead of implementing it by hands
 - register RasMessage_PDU as "h225.ras" dissector for calling it from H.460
asn2wrs make PDUs exportable

svn path=/trunk/; revision=23226
2007-10-18 13:35:57 +00:00
Tomas Kukosa 286f231eb9 new H.323 dissector
- Generic Extensible Framework helper
  - Annex M1 (QSIG over H.323)
  - Annex M4
  - Annex R
H.225/H.245 support for Generic Extensible Framework (GEF)
H.235 register MIKEY into new H.225/H.245 GEF tables
regenerate H.225,H.245,H.235,H.450,H.450-ROS,T.35 from new makefiles

svn path=/trunk/; revision=23216
2007-10-17 10:25:21 +00:00
Anders Broman 3c419f798c Make MGCP a builtin dissector to reduce the number of plugins.
(Leave the MGCP plugin dir for now).

svn path=/trunk/; revision=23190
2007-10-15 18:57:10 +00:00
Anders Broman 721796617d From Peter Johansson:
addressing the compilation problems

svn path=/trunk/; revision=23188
2007-10-15 18:39:58 +00:00