Commit graph

11369 commits

Author SHA1 Message Date
Jörg Mayer
fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer
a460517f46 Beginnings to make rpm building possible again.
Not yet finished:
- make dist breaks after moving of dissectors
- the real packaging process may not be working yet

svn path=/trunk/; revision=11421
2004-07-18 23:39:15 +00:00
Guy Harris
5e6004745b "struct sockaddr_in"s and "struct sockaddr_in6"s are sufficient to serve
as transport endpoint addresses, so the "sa_data" field includes port
numbers.  Revert the IPv4 code; we'll fix the IPv6 code later (we'll
have to check whether "struct sockaddr_in6" is defined, and not support
IPv6 addresses if it's not, even if AF_INET6 is defined).

svn path=/trunk/; revision=11420
2004-07-18 23:07:04 +00:00
Jörg Mayer
56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Jörg Mayer
1d645fc8c2 SNPRINTF isn't used any more - remove from sample dissector
and coding guidelines.

svn path=/trunk/; revision=11418
2004-07-18 22:36:55 +00:00
Ulf Lamping
66e486054a some more changes for the win32 nmake process
svn path=/trunk/; revision=11417
2004-07-18 21:02:19 +00:00
Jörg Mayer
dd99d1eb50 - Require --with-ssl=... to be explicitly set to work
around licensing problems
- Cause krb5 and snmp to fail, if ssl is required but
  not configured.

svn path=/trunk/; revision=11416
2004-07-18 20:33:54 +00:00
Ulf Lamping
4fdb830569 first attempt to make Win32 generation (nmake) ready for the dissector movings (but still incomplete)
svn path=/trunk/; revision=11415
2004-07-18 20:21:20 +00:00
Guy Harris
0e754b6725 If the pane separator positions are 0 (e.g., because this is GTK+
1.2[.x] and you can't get the positions), don't write them out, as
they'll get errors when they're read back in.

svn path=/trunk/; revision=11414
2004-07-18 19:54:07 +00:00
Guy Harris
1eed77c0a4 Just because AF_INET6 is defined, that doesn't mean "struct
sockaddr_in6" is defined - the former, but not the latter, is defined in
FreeBSD 3.4.  Just copy the appropriate number of bytes from the
"sa_data" field of a "struct sockaddr".

svn path=/trunk/; revision=11413
2004-07-18 19:44:41 +00:00
Guy Harris
892091fe95 Define CLEANFILES only once.
svn path=/trunk/; revision=11412
2004-07-18 18:59:09 +00:00
Guy Harris
2aec055c79 Add support for IPv6 addresses for interfaces.
svn path=/trunk/; revision=11411
2004-07-18 18:47:44 +00:00
Gilbert Ramirez
669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Ulf Lamping
ae46c27a38 As the gtk2 directory is no longer needed (GTK1 and 2 are using the same sources from gtk dir and conditional compilation for a long time now), and we are using subversion now, it should be safe to remove this dir without loosing all the history.
svn path=/trunk/; revision=11409
2004-07-18 15:52:21 +00:00
Guy Harris
d11757d5b3 Declare "wrap_dissect_gssapi_verf()" in "packet-gssapi.h", and, in
"packet-kerberos.c", get the declaration from that header.

svn path=/trunk/; revision=11408
2004-07-18 04:03:26 +00:00
Guy Harris
fbd37e5c16 Use -1, rather than "tvb_length_remaining(tvb, offset)", in
"tvb_new_subset()" calls with an offset of "offset", so that the
reported length is set appropriately.

svn path=/trunk/; revision=11407
2004-07-18 04:01:23 +00:00
Guy Harris
bf491ed70b From Jean-Baptiste Marchand:
add identification for various Microsoft Security Service
	Providers in DCE RPC;

	for the Kerberos SSP, disect AP_REQ and AP_REP tokens in DCE RPC
	Bind requests.

svn path=/trunk/; revision=11406
2004-07-18 03:46:34 +00:00
Guy Harris
b548e2baa7 From Marco van den Bovenkamp: add the Sun elliptic curve and
Cambellia-based cipher suites.

svn path=/trunk/; revision=11405
2004-07-18 03:34:37 +00:00
Guy Harris
53c8fcbd6e Add some comments, and expand on a comment (if "pcap_stats()" returns
counts since the last call, not since the beginning of the capture, on
Windows, that's a bug - and that bug *does* exist on some UN*Xes).

Clean up indentation.

Use the minimum snapshot length, not the maximum snapshot length, when
opening a network interface to keep track of how many packets are
arriving on it (that might cause packet data to be discarded rather than
buffering it, reducing the overhead of running all those captures from
which we don't actually grab any packets.

svn path=/trunk/; revision=11404
2004-07-18 02:56:29 +00:00
Guy Harris
5acf051692 Not all interfaces have descriptions.
svn path=/trunk/; revision=11403
2004-07-18 02:43:18 +00:00
Guy Harris
c7cbe51e76 Get IPv4 addresses and the loopback flag if we don't have
"pcap_findalldevs()".

"if_info_ip()" is used - and can be compiled - only if libpcap has
"pcap_findalldevs()".

svn path=/trunk/; revision=11402
2004-07-18 02:34:45 +00:00
Guy Harris
860750fb90 Squelch a compiler warning.
svn path=/trunk/; revision=11401
2004-07-18 02:32:19 +00:00
Guy Harris
8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Ulf Lamping
16c252d775 Be kind and say "Please note" instead of simply "Note" when something went wrong while uninstalling :-)
svn path=/trunk/; revision=11399
2004-07-17 20:34:41 +00:00
Gerald Combs
b7b3c7f945 Set the "svn:keywords Id" property on all other files with an RCS ID string.
svn path=/trunk/; revision=11398
2004-07-17 20:30:22 +00:00
Gerald Combs
22d2b425cd Run
grep -l '\$Id:.*\$' * | xargs svn propset svn:keywords Id

in the top-level source directory.  This should replace any RCS "$Id:$"
strings with Subersion Ids.


svn path=/trunk/; revision=11397
2004-07-17 20:20:45 +00:00
Ulf Lamping
357ebbca5a add a new dialog box to menu "Capture/Interfaces..." to show the current state of the interfaces and a quick way to start a capture.
added the IP address of the currently selected interface to the capture options dialog

svn path=/trunk/; revision=11396
2004-07-17 13:50:07 +00:00
Ulf Lamping
80a890cb12 if using the get_interface_list function, try to get the IP addresses too
svn path=/trunk/; revision=11395
2004-07-17 13:43:31 +00:00
Ulf Lamping
31b5d74f55 Changed dependencies, so image dir will be generated before epan, otherwise the libethereal.res file will not be available when needed to link libethereal.dll
svn path=/trunk/; revision=11394
2004-07-17 12:49:34 +00:00
Guy Harris
f5e2f3a6e6 From Marco van den Bovenkamp: add some Sun elliptic curve cryptography
and Camellia-based cipher suites.

svn path=/trunk/; revision=11393
2004-07-17 10:56:34 +00:00
Guy Harris
9800018d21 From Jean-Baptiste Marchand: add Microsoft-specific name-types, and make
the name-type field signed.

Make the variable into which "dissect_krb5_name_type()" puts the name
type local to that routine - it's not used outside that routine.

svn path=/trunk/; revision=11392
2004-07-17 10:48:02 +00:00
Guy Harris
8669624f24 From Yuriy Sidelnikov: if asn1_length_decode() returns 0 but
tvb_reported_length_remaining() returns more then two bytes we still
have to dissect rest of the pdu.

svn path=/trunk/; revision=11391
2004-07-17 10:22:59 +00:00
Guy Harris
456b2c075f From Lars Ruoff: don't hardwire the RTP sampling clock rate to 8000
samples/second, determine it from the payload type for payload types
with a known clock rate.

svn path=/trunk/; revision=11390
2004-07-17 10:14:03 +00:00
Guy Harris
e31d5dda74 From Martin Mathieson: if you create a new filter and cancel the "Edit
Color Filter" dialog, remove the new filter from the list.

svn path=/trunk/; revision=11389
2004-07-17 10:09:12 +00:00
Guy Harris
506605d771 From Graham Bloice: add resource information to libethereal.dll.
svn path=/trunk/; revision=11388
2004-07-17 09:49:32 +00:00
Guy Harris
3af21a8836 From Ainsley Pereira: set up conversations for RTSP when appropriate.
svn path=/trunk/; revision=11386
2004-07-17 09:02:03 +00:00
Guy Harris
2cc860f922 From Lukas Pokorny: fix some bugs.
svn path=/trunk/; revision=11385
2004-07-17 08:49:22 +00:00
Guy Harris
12fddb1280 G_MAXINT32, G_MININT32, and G_MAXUINT32 aren't defined by GLib 1.2[.x],
so we have to define them ourselves if they're not defined.

svn path=/trunk/; revision=11384
2004-07-17 08:45:10 +00:00
Jörg Mayer
42f5540524 From Debian. Likely author: Frederic Peters <fpeters@debian.org>
* Updated omniorb URL (closes: #257512)
 run pod2man with --section=4 for ethereal-filter


svn path=/trunk/; revision=11383
2004-07-16 23:42:38 +00:00
Guy Harris
c27d80c9ad I'm not sure "strtol()" and "strtoul()" are guaranteed to clear "errno"
on success, so we clear it before calling them.

Assign the value of "strtol()" to a "long" and assign the value of
"strtoul()" to an "unsigned long", as those are the return types for
those functions - "gint32" and "guint32" might not be large enough for
the return value on an LP64 platform.

Check for errno being EINVAL, as that can happen if the number isn't
valid.

Before assigning the value returned by "strtol()" or "strtoul()" to the
final destination, check whether it's in the right range for that
destination.

svn path=/trunk/; revision=11382
2004-07-16 23:35:46 +00:00
Guy Harris
1715f98d9c This shouldn't be checked in, as it's generated from Makefile.am.
svn path=/trunk/; revision=11381
2004-07-16 23:26:27 +00:00
Jörg Mayer
9da0dd21d7 Indces run from 0-2 if an array is declared as array[3].
This patch has been part of RedHat since 0.9.16, unfortunately
the patch never made it into the mainline source.

The patch seems to be authored by Phil Knirsch  (from ethereal.spec:
* Tue Nov 25 2003 Phil Knirsch <pknirsch@redhat.com> 0.9.16-3
- Fixed out of bound array access (#110749).


svn path=/trunk/; revision=11380
2004-07-16 21:24:26 +00:00
Gerald Combs
8106dc0862 Convert make-version.pl and the associated cvsversion.h and CVSVERSION
definition to Subversion.  "svn info" prints out the last changed date
of the repository, so we don't have to go hunting through "CVS/Entries"
files anymore.


svn path=/trunk/; revision=11379
2004-07-15 21:09:33 +00:00
Gerald Combs
b5384b0bd3 Try again (hook script didn't do its thing).
svn path=/trunk/; revision=11378
2004-07-15 19:29:49 +00:00
Gerald Combs
fb8b8c8cfb Test commit for new repository.
svn path=/trunk/; revision=11377
2004-07-15 19:26:05 +00:00
Guy Harris
935b32dffe As per Pavel Kankovsky, return FALSE, not TRUE, if "user_font_test()"
fails, as that means we aren't setting the font to the new value.

svn path=/trunk/; revision=11376
2004-07-14 08:04:39 +00:00
Gerald Combs
26da520614 Both epan/doxygen.cfg and gtk/doxygen.cfg depend on the root doxygen.cfg.
Build it before going into those directories.

svn path=/trunk/; revision=11375
2004-07-13 19:30:02 +00:00
Gerald Combs
df8f6cdb5e Use libethereal.dll by default.
svn path=/trunk/; revision=11374
2004-07-13 18:19:59 +00:00
Ulf Lamping
683c8f587a Conversation/Endpoint list performance patch from Ian Schorr
svn path=/trunk/; revision=11373
2004-07-13 18:14:00 +00:00
Guy Harris
fd262f1b97 From Daniel Thompson: add additional message/alert box options to
display "Save", "Continue without Saving", and "Cancel", for the "do you
want to save?" messages.

svn path=/trunk/; revision=11372
2004-07-13 07:15:45 +00:00