Commit Graph

731 Commits

Author SHA1 Message Date
Gerald Combs bf2a79a5a2 Switch to .tar.bz2 for the "dist" target since that's what most people
download.

svn path=/trunk/; revision=31068
2009-11-24 23:03:29 +00:00
Gerald Combs f08e18e9a5 Switch back to normal versioning. Bump the version to 1.3.3.
svn path=/trunk/; revision=31064
2009-11-24 05:57:05 +00:00
Jörg Mayer 2cda5ff441 Add a few more optional compiler warnings and some (commented out)
ideas for linker flags.

svn path=/trunk/; revision=30853
2009-11-07 10:08:36 +00:00
Anders Broman a9c313a864 Bump development version.
svn path=/trunk/; revision=30750
2009-10-29 06:15:52 +00:00
Guy Harris 9c988fa854 Putting the AC_CANONICAL_xxx macro(s) *after* AC_INIT seems to work, and
could fix cross-compilation problems, according to Jeff Morriss, and
"make dist" seems to build a ustar archive after we do that, so give
that a try.  (I don't have any cross-compilers handy to test whether it
fixes cross-compilation or not.)

svn path=/trunk/; revision=30586
2009-10-16 22:28:25 +00:00
Kovarththanan Rajaratnam b57e27ef8e ns-cert-ext -> ns_cert_exts to make directory name consistent with filenames
svn path=/trunk/; revision=30478
2009-10-10 14:20:33 +00:00
Kovarththanan Rajaratnam 871970323c Update configure to reflect new asn1 folder names
svn path=/trunk/; revision=30475
2009-10-10 13:28:25 +00:00
Stig Bjørlykke 98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam 3bd5584251 Remove tpg from configure. It's not ready to be built by the masses
svn path=/trunk/; revision=30161
2009-09-26 03:51:17 +00:00
Jörg Mayer cbc3d3f772 Try to add tpg, but it seems it doesn't build with autofoo either.
svn path=/trunk/; revision=30151
2009-09-25 18:09:42 +00:00
Jaap Keuter a8a62d3e8b Bump version number after release of first development snapshot.
svn path=/trunk/; revision=30007
2009-09-20 09:19:59 +00:00
Michael Tüxen 6cc71bfbd8 Fix handling of new-packet-list.
svn path=/trunk/; revision=29965
2009-09-17 09:41:59 +00:00
Anders Broman 5564468d40 Make the new packet list the default build choice.
svn path=/trunk/; revision=29964
2009-09-17 08:29:10 +00:00
Michael Tüxen 86cf763175 Add --enable-new-packet-list to configure script. Default
is no for now. Should be kept in sync with the corresponding
Windows switch.

svn path=/trunk/; revision=29676
2009-09-02 19:16:59 +00:00
Kovarththanan Rajaratnam 974849a9a0 Remove strcasecmp. We use g_ascii_strcasecmp exclusively
svn path=/trunk/; revision=29643
2009-08-31 19:47:50 +00:00
Jörg Mayer b6cffe4050 - Add an AC macro to test linker flags.
- Test whether the linker supports --as-needed and if so,
  adds it to LDFLAGS

svn path=/trunk/; revision=29327
2009-08-07 18:49:24 +00:00
Gerald Combs 72a20c1695 Pull mkstemp() into tempfile.c. That's the only place we use it now, and
it's arguably the only place we _should_ use it. Add create_tempdir() to
tempfile.c and use it to create a temp directory for IP maps. This
should fix bug 3530.

(This still doesn't work on IE 8 / Vista here. IE gives an access denied
error in OpenLayers.js, but this is a separate issue).

svn path=/trunk/; revision=28920
2009-07-02 17:20:27 +00:00
Balint Reczey 789089dfd2 Detect gnutls via pkg-config instead of the deprecated libgnutls-config.
Based on patch from Andreas Metzler.
This fixes bug 3627.

svn path=/trunk/; revision=28874
2009-06-28 16:31:27 +00:00
Balint Reczey 486f55b7b9 Strictly require flex instead of allowing lex, too.
It compiles now.
This fixes bug 1641.

svn path=/trunk/; revision=28867
2009-06-28 04:20:10 +00:00
Balint Reczey bdfbccf343 Revert commit 28854.
svn path=/trunk/; revision=28855
2009-06-27 08:13:39 +00:00
Balint Reczey cb9c931cf4 Strictly require flex instead of allowing lex, too.
svn path=/trunk/; revision=28854
2009-06-27 06:32:52 +00:00
Jörg Mayer 8a637cee1c Add -Wextra (ok, it was already there as -W) and -Wlogical-op
svn path=/trunk/; revision=28806
2009-06-22 06:31:11 +00:00
Stig Bjørlykke 39d713806f Use liblua by default, if available.
svn path=/trunk/; revision=28621
2009-06-03 12:13:07 +00:00
Stig Bjørlykke 3e0d2b2707 Adjusted the python binding message from configure.
svn path=/trunk/; revision=28544
2009-05-31 16:06:32 +00:00
Sebastien Tandel 52cc5fb1e8 python binding for wireshark (first commit)
* ability to write dissectors with python for wireshark.
        documentation (http://wiki.wireshark.org/Python)


svn path=/trunk/; revision=28529
2009-05-29 21:10:40 +00:00
Gerald Combs bc469b1f79 Move the trunk to 1.3.
svn path=/trunk/; revision=28495
2009-05-26 20:53:28 +00:00
Stig Bjørlykke 3c0d24f3cb Lua support is no plugin.
svn path=/trunk/; revision=28333
2009-05-12 12:03:14 +00:00
Jörg Mayer 88714b7659 Goal: Make the airpcap GUI available on Linux.
Step1: Run "configure --enable-airpcap" and see what fails.

svn path=/trunk/; revision=28285
2009-05-05 21:38:26 +00:00
Guy Harris 96e3a6c6ac Bleah, some dissectors still insist on using structures and sizeof and
offsetof, so turn off 64-to-32 warnings for now.

svn path=/trunk/; revision=28118
2009-04-22 03:10:24 +00:00
Guy Harris 54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Guy Harris 2f6fe511f3 Sigh.
dladdr() in GNU libc isn't available (<dlfcn.h> doesn't define Dl_info)
unless _GNU_SOURCE is defined.

In addition, it's not guaranteed to return anything more useful than
argv[0]; just in case that changes at some point in the future, however,
we still use it, we just run it through the same machinery that we run
argv[0] through.  (On Mac OS X, for example, the path of the executable
is handed to the run-time linker by the kernel, so it *is* useful
there.)

svn path=/trunk/; revision=27821
2009-03-22 18:06:06 +00:00
Guy Harris 7c6e2155cc Attempt to use dladdr() to get the pathname of the executable image if
it's available and works.

svn path=/trunk/; revision=27812
2009-03-22 00:42:33 +00:00
Gerald Combs 1c3e3a4a53 Switch back to 1.1.4.
svn path=/trunk/; revision=27810
2009-03-20 23:15:15 +00:00
Gerald Combs ecd732384c Temporarily switch back to building 1.1.3 final.
svn path=/trunk/; revision=27807
2009-03-20 16:17:02 +00:00
Gerald Combs dd903ca9c8 Create an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
generated from pycrc. The command line used to generate the file is in
epan/crc/Makefile.common. I used "plain" to distinguish it from CCITT,
USB, and other 16-bit CRCs. Integrate the new CRC code into our
infrastructure.

Add crc16_plain_tvb_offset() to epan/crc16.[ch] and use it in
plugins/profinet/packet-pn-rt.c. This _should_ work correctly, but
hasn't been tested.

svn path=/trunk/; revision=27790
2009-03-18 21:59:30 +00:00
Gerald Combs 2d24475011 Move to 1.1.4.
svn path=/trunk/; revision=27767
2009-03-18 05:42:03 +00:00
Gerald Combs cf7fb3ea9c Port rdps from C to Python. This makes it easier to cross-compile
Wireshark on Windows. The GNU toolchain changes have not been tested.

svn path=/trunk/; revision=27704
2009-03-11 22:12:05 +00:00
Jaap Keuter 23461c4382 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27506
2009-02-22 12:01:19 +00:00
Jaap Keuter 9da243b13c Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27505
2009-02-22 11:43:37 +00:00
Jaap Keuter 4683efcfe2 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27504
2009-02-22 11:25:16 +00:00
Jaap Keuter 80863f9568 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27503
2009-02-22 11:10:29 +00:00
Jaap Keuter 9fb248f1c0 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27502
2009-02-22 10:52:05 +00:00
Jaap Keuter 03bbd18a0b Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27501
2009-02-22 10:29:14 +00:00
Jaap Keuter eb77f8a35e Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27500
2009-02-22 10:04:39 +00:00
Jaap Keuter 1948ad3985 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27499
2009-02-22 09:41:05 +00:00
Jaap Keuter b171a36a4f Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27498
2009-02-22 09:24:27 +00:00
Jaap Keuter 56a1139bc0 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27497
2009-02-22 09:09:27 +00:00
Jaap Keuter 663f835c1e Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27496
2009-02-22 00:04:14 +00:00
Jaap Keuter 47f31f3f91 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27495
2009-02-21 22:22:16 +00:00
Jaap Keuter 715fd1d169 Incorporate plugin dissector into build in collection.
svn path=/trunk/; revision=27492
2009-02-21 20:22:40 +00:00
Anders Broman 6c7dea2d21 Add charging_ase
svn path=/trunk/; revision=27408
2009-02-10 06:22:21 +00:00
Gerald Combs 414d042d2e Change the version to 1.1.3. SVN-stamp the version again.
svn path=/trunk/; revision=27252
2009-01-16 22:35:14 +00:00
Guy Harris 3cf92bc86c We have to add the new asn1/lte-rrc directory to the list of directories
in which to generate Makefiles.

svn path=/trunk/; revision=27015
2008-12-16 03:04:09 +00:00
Balint Reczey 99d277ae84 Fix "command not found" error in configure.
svn path=/trunk/; revision=26893
2008-12-01 18:34:14 +00:00
Stig Bjørlykke b2185260af Whops, -Wformat is already included in -Wall
svn path=/trunk/; revision=26656
2008-10-31 18:05:41 +00:00
Stig Bjørlykke 5be73bdea7 Compile with -Wformat and -Wformat-security
svn path=/trunk/; revision=26655
2008-10-31 18:03:12 +00:00
Guy Harris ce92eee853 Correctly report whether we're building with GeoIP or not - even if we
wanted GeoIP, that doesn't mean we necessarily have it, so that doesn't
mean we'll necessarily build with it.

svn path=/trunk/; revision=26639
2008-10-31 02:40:21 +00:00
Anders Broman 41671d662e From Marc Moussali:
Make it easier to add custom plugins.

svn path=/trunk/; revision=26627
2008-10-30 19:45:40 +00:00
Stephen Fisher 06c837b659 Add end of configure script summary item for GeoIP
svn path=/trunk/; revision=26614
2008-10-28 23:18:38 +00:00
Gerald Combs 1b7064bb6a Add support for the GeoIP library. Using different database files,
GeoIP can map IP addresses to Countries, Cities, AS numbers, ISPs,
etc. If any library paths are defined AND any database files are found,
corresponding columns are added to the endpoint tables in the GUI.

To do:
  - Add columns to the conversation list
  - Add GeoIP info to "-z conv,..."
  - Create a default UAT file.

svn path=/trunk/; revision=26571
2008-10-27 04:50:57 +00:00
Stephen Fisher 812ecb21c3 Tweak Mac IGE integration detection so that it can find the functions not
only in the Gtk+ OS X framework, but also in the separate igemacintegration
library.  Also add call to ite_mac_menu_set_menu_bar() to synchronize the
OS X menu bar with the Gtk menu bar in Wireshark.  The Gtk menu bar in
Wireshark will remain there.


svn path=/trunk/; revision=26560
2008-10-26 20:09:54 +00:00
Gerald Combs e8aee91bc3 Add an option to look for the presence of Imendio's Mac OS X integration
functions in GTK+.

svn path=/trunk/; revision=26539
2008-10-24 18:08:32 +00:00
Stephen Fisher 703f8b2c9a Display error messsage that Glib 2.4 or later was not found when checking
for Glib 2.4+.  The message used to say 2.0 or later was not found.


svn path=/trunk/; revision=26511
2008-10-22 05:17:02 +00:00
Anders Broman 2e68f4386c Remove kerberos
svn path=/trunk/; revision=26473
2008-10-16 06:17:03 +00:00
Anders Broman 3cbb374385 Now Kerberos compiles, a lot of work remains to get it into shape.
svn path=/trunk/; revision=26467
2008-10-15 20:08:10 +00:00
Stig Bjørlykke 3f2f2cd9b6 Added asn1/goose to configure.in
svn path=/trunk/; revision=26449
2008-10-14 12:29:57 +00:00
Gerald Combs 193ad40a59 Switch back to 1.1.2.
svn path=/trunk/; revision=26392
2008-10-09 05:07:24 +00:00
Gerald Combs 57a1c7be61 Try for another 1.1.1 development release.
svn path=/trunk/; revision=26374
2008-10-07 21:29:25 +00:00
Gerald Combs 2ed9fdf00e Switch back to normal versioning. Bump the development version to 1.1.2.
svn path=/trunk/; revision=26259
2008-09-24 03:29:21 +00:00
Jeff Morriss c08a1f420e Turn on -Werror for the top level targets, excluding text2pcap (which includes some generated code).
svn path=/trunk/; revision=26245
2008-09-21 14:59:05 +00:00
Guy Harris 74c4a0d76f Put back the "Checking whether to use the GNU ADNS library if available"
message, so that the "yes" or "no" printed when the check finishes is
associated with a "Checking..." message.

svn path=/trunk/; revision=26224
2008-09-17 08:09:45 +00:00
Guy Harris 96a306c764 inet_aton(), like inet_pton(), is in -lsocket in Solaris and possibly
other SVR4-flavored UN*Xes; search for it the same way we search for
inet_pton().

Note that, while that fixes the Solaris build, this probably still
wouldn't build on a platform without inet_aton() (if any such exist),
and might have problems with platforms lacking other functions (as they
handle this similarly).

svn path=/trunk/; revision=26221
2008-09-17 02:31:05 +00:00
Gerald Combs 11171da80f Move to 1.1.1.
svn path=/trunk/; revision=26199
2008-09-15 18:30:51 +00:00
Jörg Mayer e169350321 The newer autoconf version requirement is needed in
configure.in as well.

svn path=/trunk/; revision=26181
2008-09-11 21:17:17 +00:00
Gerald Combs 56c7f5b643 Move the trunk to 1.1.0. Temporarily build a non-SVN-stamped package, so
that we can build 1.1.0 packages.

svn path=/trunk/; revision=26136
2008-09-04 19:37:16 +00:00
Stig Bjørlykke e84877ca6f If using $prefix we add "$prefix/include" to the include search path
and "$prefix/lib" to the library search path.

svn path=/trunk/; revision=25969
2008-08-09 16:16:28 +00:00
Gerald Combs 9fbab46ad4 Add support for c-ares to the GNU toolchain.
svn path=/trunk/; revision=25955
2008-08-08 00:04:38 +00:00
Jeff Morriss 86e10880c9 Remove iconv/libiconv checks from *NIX builds: GLIB-2 provides iconv replacements.
svn path=/trunk/; revision=25765
2008-07-18 12:11:08 +00:00
Jeff Morriss 6be48cf5dd Don't use C-style comments in a shell script. This fixes this error:
./configure: line 21850: /bin: is a directory

when running configure.

svn path=/trunk/; revision=25757
2008-07-16 20:26:32 +00:00
Jeff Morriss e4730dce77 packet-pkcs12-template.c uses the libgcrypt symbol GCRY_CIPHER_RFC2268_40
which, according to:

http://lists.gnupg.org/pipermail/gnupg-devel/2004-February/020779.html

is new to the 1.1.92 release of libgcrypt.  Bump our required version of
libgcrypt from 1.1.42 to 1.1.92 .

svn path=/trunk/; revision=25666
2008-07-03 15:57:34 +00:00
Guy Harris 83fc9d5e09 Constify a bunch of stuff, to squelch -Wwrite-strings warnings.
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
ready to enable that warning by default yet.

Throw in some casts to handle GLib routines that take arbitrary
non-const pointers (they can later return the pointers, and some
callers might want to modify or free up those pointers in cases where
they're known to be writable or allocated).

Use ep_tvb_memdup() rather than a combination of ep_alloc() and
tvb_memcpy().

Clean up some indentation.

svn path=/trunk/; revision=25601
2008-06-25 09:12:35 +00:00
Guy Harris 360e555826 Update a comment.
svn path=/trunk/; revision=25597
2008-06-25 03:05:53 +00:00
Guy Harris da027b4668 Make -Wwrite-strings non-default for now.
Note what files are blocking some -W flags.

svn path=/trunk/; revision=25589
2008-06-24 19:58:29 +00:00
Guy Harris a33614e485 We're not ready for -Wshadow by default yet.
svn path=/trunk/; revision=25585
2008-06-24 19:13:15 +00:00
Guy Harris 6588c21e67 Temporarily turn on some -W options, to provoke the buildbots to build
with them to check whether we've cleaned those warnings up or not.

svn path=/trunk/; revision=25578
2008-06-24 17:45:09 +00:00
Guy Harris f3b0035e0f One -Wcast-align suffices.
svn path=/trunk/; revision=25577
2008-06-24 17:43:48 +00:00
Guy Harris 3235c5b4f4 Temporarily make -Wshadow not a default.
svn path=/trunk/; revision=25550
2008-06-23 20:51:31 +00:00
Guy Harris 98a15b7e80 Add -Wshadow, so we catch cases where somebody might not be using the
variable they think they are.

svn path=/trunk/; revision=25537
2008-06-23 19:56:47 +00:00
Guy Harris c8ad5ec2ca We have to define HTML_VIEWER for the prefs.c code that sets the default
value of the Web browser preference, even though that preference won't
be offered.

svn path=/trunk/; revision=25515
2008-06-21 18:50:52 +00:00
Guy Harris 8f244766f3 If we have xdg-open, always run that to launch a Web browser, and ignore
the Web browser setting; that should honor the user's *real* preferred
Web browser setting (i.e., the one they've selected in their desktop
environment).

Don't bother defining HTML_VIEWER as "xdg-open" if we have xdg-open - we
don't need it.

svn path=/trunk/; revision=25514
2008-06-21 18:09:17 +00:00
Guy Harris 160a305efa g_ascii_strtoull() is in GLib 2.2 and later, and we require GLib 2.4 or
later, so there's no longer any need to have our own g_ascii_strtoull.

svn path=/trunk/; revision=25423
2008-06-04 01:30:40 +00:00
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
Anders Broman dfec0c6079 Remove Ethercat from the makefiles(second try)
svn path=/trunk/; revision=23180
2007-10-15 05:45:50 +00:00
Anders Broman 2cc898ef83 Remove Ethercat from the makefiles
svn path=/trunk/; revision=23179
2007-10-15 05:26:22 +00:00
Anders Broman 4ef076f1b5 Forgotten file.
svn path=/trunk/; revision=23175
2007-10-14 18:32:15 +00:00
Jörg Mayer 868825629a Finish conversion (well, almost, need to add the
generation stuff to the x.../Makefile.common.
I love circular dependencies.

svn path=/trunk/; revision=23138
2007-10-10 17:57:33 +00:00
Bill Meier 2f9e179207 Fix two typos: ansi_tcap --> ansi-tcap
svn path=/trunk/; revision=23137
2007-10-10 15:56:02 +00:00
Jörg Mayer 973239b13c Split tcap into tcap and ansi-tcap. Just assume that all the
extra asn files belong to ansi-tcap.

svn path=/trunk/; revision=23134
2007-10-10 12:06:30 +00:00
Jörg Mayer 24470fdfae More conversions and updates to existing Makefile stuff
svn path=/trunk/; revision=23127
2007-10-10 08:09:19 +00:00
Jörg Mayer 0241734801 Last set of changes to convert Makefiles for today
svn path=/trunk/; revision=23119
2007-10-09 19:19:36 +00:00
Jörg Mayer b8249bc68d More Makefile conversions
svn path=/trunk/; revision=23116
2007-10-09 18:47:12 +00:00
Jörg Mayer 03eee8b930 More Makefile updates
svn path=/trunk/; revision=23113
2007-10-09 17:58:29 +00:00
Jörg Mayer c1bc6c3e20 Convert to new Makefile structure. Rename some files to
use same spelling as generated protocol name.

svn path=/trunk/; revision=23104
2007-10-09 01:25:40 +00:00
Jörg Mayer c3a3d76630 Convert h450 to new Makefile structure. Split h450.ros
out into h450-ros.

svn path=/trunk/; revision=23102
2007-10-08 23:52:21 +00:00
Stig Bjørlykke a3b590a655 h225, h235 and h248 was moved to new Makefile structure
svn path=/trunk/; revision=23097
2007-10-08 19:52:46 +00:00
Tomas Kukosa 3862b87c94 change QSIQ ASN.1 dissector to the new makefile structure
svn path=/trunk/; revision=23091
2007-10-08 08:08:25 +00:00
Jörg Mayer 4a5f7e88a7 Convert some more protocols to new Makefile style.
Renamed the gsmmap template files to not contain an _

svn path=/trunk/; revision=23083
2007-10-07 20:02:30 +00:00
Stig Bjørlykke 4245058b58 Try xdg-open before htmlview.
svn path=/trunk/; revision=23035
2007-09-30 10:07:56 +00:00
Jörg Mayer 682332dcc0 Convert asn1/dap/
svn path=/trunk/; revision=22997
2007-09-27 09:24:38 +00:00
Tomas Kukosa 6055995bf1 revert changes in config.nmake committed by mistake and commit configure.in
svn path=/trunk/; revision=22996
2007-09-27 08:33:53 +00:00
Jörg Mayer 548b224e28 Change some additional protocols to the new build system
svn path=/trunk/; revision=22958
2007-09-25 18:02:49 +00:00
Jörg Mayer 9ad70d3450 Convert acp133 to new build structure.
Update some svn:ignore files, remove no longer needed Makefiles

svn path=/trunk/; revision=22957
2007-09-25 17:09:01 +00:00
Jörg Mayer caaaf914d3 I forgot to commit the necessary change to configure.in,
so the distcheck failed. Fix that.


svn path=/trunk/; revision=22953
2007-09-25 14:07:53 +00:00
Jörg Mayer 094e2a9a5f Get rid of the remains of NET-SNMP in the build process.
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Stig Bjørlykke 1e0be90b3d Added test to the libsmi AM_CONDITIONAL to remove a error message in configure.
svn path=/trunk/; revision=22895
2007-09-17 22:42:15 +00:00
Martin Mathieson 0b04fe922b Build WiMAX ASN Control Plane dissector plugin
svn path=/trunk/; revision=22801
2007-09-06 10:14:49 +00:00
Gerald Combs 92802883a6 Change the "--enable-setuid-install" option to install dumpcap and TShark
setuid instead of Wireshark.  Remove the "DANGEROUS" notices, but leave it
disabled by default.  Whine if the user runs Wireshark or TShark as root.
Add a preference to disable the whining.  Add a "setuid-root" script that
can be used to switch dumpcap and TShark's setuid-ness on and off for
development and testing.  Update the release notes and README.packaging.

svn path=/trunk/; revision=22733
2007-08-30 00:24:40 +00:00
Jörg Mayer 7109b71246 libsmi: Small fix and add a comment
svn path=/trunk/; revision=22668
2007-08-26 17:58:26 +00:00
Luis Ontanon 782c19a0c5 get libsmi into the picture
svn path=/trunk/; revision=22661
2007-08-25 20:27:58 +00:00
Richard van der Hoff e184617c04 complete the death of the h223 plugin
svn path=/trunk/; revision=22635
2007-08-24 13:44:59 +00:00
Richard van der Hoff bea90e8c33 In keeping with all the other path variables (eg, libdir), don't resolve
plugindir at configure time. Instead leave it to be defined at make
time, which means it can then be changed by, eg, changing $prefix. This
also means moving the definition of PLUGIN_DIR from config.h to a -D in
CPPFLAGS.


svn path=/trunk/; revision=22617
2007-08-24 00:06:30 +00:00
Jeff Morriss 8aa05e0f58 Postpone checking if dumpcap is enabled until after we have checked if we have libpcap or not: if not, don't bother trying to build dumpcap.
svn path=/trunk/; revision=22592
2007-08-22 21:05:25 +00:00
Jaap Keuter b65cc92385 Add the UNISTIM plugin to Wireshark.
svn path=/trunk/; revision=22558
2007-08-20 20:50:29 +00:00
Guy Harris f104bfa2ad I think the intent, at least, is to allow people to build Wireshark from
a source release tarball without having Flex (think of a source release
tarball being as much a platform-independent distribution format for
people *not* interested in development, and who are on platforms for
which there aren't binary packages, as a way of getting the source to do
development).  Don't check Flex's capabilities in the configure script
(handling reentrant scanners would have to be done differently).

svn path=/trunk/; revision=22414
2007-07-27 18:52:05 +00:00
Guy Harris 96ef450636 Step 1 in adding support for reentrant Flex scanners if Flex supports
them - check whether Flex supports them.

svn path=/trunk/; revision=22410
2007-07-27 02:51:42 +00:00
Guy Harris 3242580dfa Check %l[doux] first, when looking for the format to use with 64-bit
integral data types, so we handle LP64 platforms if "gint64" is just a
"long int".

svn path=/trunk/; revision=22281
2007-07-09 20:27:38 +00:00
Sebastien Tandel 6f8bc99620 default value of --with-gcrypt must be set to yes.
svn path=/trunk/; revision=22157
2007-06-21 22:36:33 +00:00
Sebastien Tandel adebfe60f1 Fix bug #1395
Configure options '--with-libgnutls-prefix' and '--with-libgcrypt-prefix' could
be used to indicate the path where the respective libraries had been installed.
However, these options could not be used to compile wireshark without the use
of them if installed on the system.
These two macros are not part of the wireshark project. configure.in has
therefore been modified so that wireshark can be compiled without gnutls or
gcrypt. Two configure options have been introduced : '--with-gnutls' and
'--with-gcrypt'. They take precedence on their 'prefix-specification'
counterpart or in other words, if '-with-gnutls=no' and
'--with-libgnutls-prefix' are used, wireshark will be compiled *without*
gnutls.

svn path=/trunk/; revision=22127
2007-06-18 03:03:54 +00:00
Sebastien Tandel d3b8c062ea get rid of the "case" statement to test the value of withval.
svn path=/trunk/; revision=22126
2007-06-18 02:23:44 +00:00
Gerald Combs ad56f2ee36 0.99.6 has been split off. Bump the trunk to 0.99.7.
svn path=/trunk/; revision=22111
2007-06-15 18:44:43 +00:00
Guy Harris d2ac4f7133 Check for G_GINT64_MODIFIER in Wireshark as we do in Wiretap.
In all the places where a cast to "long long" or "unsigned long long"
was done, use G_GINT64_MODIFIER and get rid of the cast, as

	1) there's no guarantee that "%ll" works

and

	2) there's no guarantee that "long long" works

(the latter definitely does *NOT* work with MSVC++; the former doesn't
work with regular printf in MSVC++, but it might work with the GLib
printf-based functions).

svn path=/trunk/; revision=21978
2007-05-29 06:56:07 +00:00
Gerald Combs a491fec183 From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

svn path=/trunk/; revision=21945
2007-05-25 23:40:42 +00:00
Guy Harris b0f2653497 Back out the previous change.
svn path=/trunk/; revision=21918
2007-05-24 12:00:55 +00:00
Guy Harris cbd762e968 Temporarily turn on a bunch of warnings and turn off -Werror, to see
what the complete set of warnings we should either try to fix or, for
cases where it can't be fixed, turn off or or avoid -Werror for.  I'll
revert this change as soon as a complete set of buildbot builds start
with it.

svn path=/trunk/; revision=21917
2007-05-24 11:43:53 +00:00
Guy Harris e531c23af4 If GTK+ isn't available, fail unless the user explicitly specified
"--disable-wireshark"; if they haven't explicitly said that they don't
want Wireshark, assume they do, and that they won't be happy if, when
the build finishes, they don't have Wireshark and weren't made
sufficiently aware that they wouldn't get it.

People who want to build TShark for machines that don't have GTK+
installed, but don't want to build Wireshark because they can't install
GTK+ on the build/target machine, can still do that; they just have to
explicitly specify "--disable-wireshark" to do it.

svn path=/trunk/; revision=21883
2007-05-22 07:52:11 +00:00
Sebastien Tandel c60b0a4f3a temporarily put cast-align in extra-gcc-warnings while compilation on Solaris
slave generates 'cast increases required alignment of target type' warnings. 


svn path=/trunk/; revision=21835
2007-05-19 18:38:45 +00:00
Sebastien Tandel 93314fc852 typo fix
svn path=/trunk/; revision=21822
2007-05-18 00:15:31 +00:00
Sebastien Tandel 55a4b5ad93 temporarily disable cast-align warnings
svn path=/trunk/; revision=21821
2007-05-18 00:04:58 +00:00
Ulf Lamping dd8feca514 from Gerhard Gappmeier (ascolab):
new dissector for OPCUA protocol

svn path=/trunk/; revision=21760
2007-05-14 13:58:54 +00:00
Ronnie Sahlberg 57f4b01fa9 there was a syntax error introduced in this file which made it
impossible to configure and build wireshark under gtk1


svn path=/trunk/; revision=21709
2007-05-07 07:23:38 +00:00
Guy Harris 0ac1bdfc22 If the user explicitly specified "--enable-wireshark", fail immediately
if the test for GTK+ fails; that lets the user insist on getting
Wireshark and gives them immediate feedback if they can't have it, so
they can either give up and just get TShark or fix the problem.

svn path=/trunk/; revision=21687
2007-05-05 00:24:53 +00:00
Guy Harris 1bc049906a Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.

If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.

Constify a bunch of stuff, and make some other changes, to get rid of
warnings.

Clean up some indentation.

svn path=/trunk/; revision=21526
2007-04-23 10:59:26 +00:00
Jörg Mayer 8ff9801ec1 Fix regression: Automatically disable -Werror in case of extra gcc flags.
svn path=/trunk/; revision=21513
2007-04-22 23:01:49 +00:00
Sebastien Tandel 706627f882 adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gcc
supports the options passed as arguments. If the options are supported, they
are added to CFLAGS.


svn path=/trunk/; revision=21493
2007-04-22 09:27:21 +00:00
Guy Harris 23faf81799 Use AC_HELP_STRING for the help strings for --with and --enable flags.
Add -Wpointer-arith to the GCC -W flags by default.

Make "extra-gcc-checks" and "warnings-as-errors" --enable flags rather
than --with flags - autoconf's model is that --enable is for turning
features on or off, --with is for enabling or disabling the use of
external packages (libpcap, Net-SNMP, GNU ADNS, etc.).

When testing whether the compiler is GCC, use the same style all the
time - check whether "x$GCC" equals "xyes".  (The "x" might be overkill
- if you don't quote the arguments, it avoids a missing argument to
"test"/"[", but if you do, it might not be needed.)

svn path=/trunk/; revision=21492
2007-04-22 07:22:37 +00:00
Jeff Morriss 046cf4db31 Fix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with gcc)
svn path=/trunk/; revision=21453
2007-04-17 10:01:39 +00:00
Jörg Mayer 6c8b972c62 Disable warnings as errors if extra gcc warnings was specified.
Change to positive logic --without-warnings-as-errors (default no)
==> --with-warnings-as-errors (default yes)

svn path=/trunk/; revision=21425
2007-04-14 00:35:53 +00:00
Sebastien Tandel 7098b76ee0 change the script to automatically stop on warning if compiling with gcc.
svn path=/trunk/; revision=21421
2007-04-13 22:52:33 +00:00
Guy Harris c45434ce68 Fix a comment.
svn path=/trunk/; revision=21356
2007-04-08 20:42:08 +00:00
Guy Harris 233a8fb918 Get rid of extra white space in configure message.
Quote the message about flags added for the Apple linker, so it shows up
correctly.

svn path=/trunk/; revision=21354
2007-04-08 20:32:21 +00:00
Stephen Fisher 8fd3ee0560 Remove almost all of the casts I committed recently and in place of
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.


svn path=/trunk/; revision=21253
2007-03-28 21:55:11 +00:00