Commit Graph

16646 Commits

Author SHA1 Message Date
Ulf Lamping 79217bab2e HUGE STEP (hopefully toward the right direction):
remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead.

concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files.

remove redundant code from dumpcap.c

this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while)

svn path=/trunk/; revision=16787
2005-12-13 22:48:58 +00:00
Ulf Lamping 459c0b07b2 we don't use the command line option -W any longer, remove it from a comment
svn path=/trunk/; revision=16786
2005-12-13 22:35:28 +00:00
Ulf Lamping ec87b13d49 make get_if_name() parameter if_text const, it's not changed inside
svn path=/trunk/; revision=16785
2005-12-13 22:33:55 +00:00
Luis Ontanon d265d85d92 we are opening the file for writing....
svn path=/trunk/; revision=16784
2005-12-13 22:08:37 +00:00
Luis Ontanon b40ff00e49 handle sccp connections.
(first step towards RANAP analysis).



svn path=/trunk/; revision=16783
2005-12-13 22:07:09 +00:00
Luis Ontanon 3728b83d2b Avoid the default sccp.ssn range to overwrite sccp.ssns of other dissectors.
svn path=/trunk/; revision=16782
2005-12-13 22:04:02 +00:00
Anders Broman da8debc2ec Change reassembly to include first empty segment, check if SLR exists.
Change pinfo->src/dst to use SS7 address for reassembly to use the correct key.

svn path=/trunk/; revision=16781
2005-12-13 21:14:54 +00:00
Gerald Combs fa312091ce Throw an exception if we have an invalid offset. Fixes bug 585.
svn path=/trunk/; revision=16780
2005-12-13 17:00:03 +00:00
Guy Harris 4ca1ee0a89 Fix some bit mask tests - & has lower priority than !=, so "a & b != c"
means "a & (b != c)", not "(a & b) != c".

Put in a comment noting a potential problem with defragmentation,
pointed out by a compiler warning that apm_Segmentation_local_ref might
not be set before it's used.

svn path=/trunk/; revision=16779
2005-12-13 10:59:33 +00:00
Guy Harris 77ff57e72a Escape question marks when they could be interpreted as part of a
trigraph.

svn path=/trunk/; revision=16778
2005-12-13 10:54:11 +00:00
Guy Harris 691bec82c0 Add tvb_fake_unicode().
svn path=/trunk/; revision=16777
2005-12-13 10:09:52 +00:00
Jörg Mayer f6b5a5d924 Update from samba tree revision 12185 to 12205
============================ Samba log start ============
------------------------------------------------------------------------
r12205 | jelmer | 2005-12-13 02:56:04 +0100 (Tue, 13 Dec 2005) | 2 lines

Support 'TFS' command in conformance files

------------------------------------------------------------------------
============================ Samba log end ==============


svn path=/trunk/; revision=16776
2005-12-13 09:30:09 +00:00
Ronnie Sahlberg 39d07a2555 update the work-in-progress pidl generated wkssvc dissector and add a conformance file using the new nice TFS conformance file directive
svn path=/trunk/; revision=16775
2005-12-13 07:53:52 +00:00
Ronnie Sahlberg 92cddab07a swap Trip/Close as per bug 579
svn path=/trunk/; revision=16774
2005-12-13 06:36:30 +00:00
Gerald Combs 6b376c9c0e asn2eth.py:
Catch a TypeError that gets thrown if we don't use any conversion
specifiers during string formatting.

H.248:

Don't dereference a null pointer.  Fixes bug 626.

svn path=/trunk/; revision=16773
2005-12-13 03:48:26 +00:00
Ulf Lamping 1fe28ca017 We should really do quit Ethereal if user asked us to do so with the -Q option!
Update the window title, right after the fixed capture finished. This might be required if the loading of the capture file afterwards just fails, leaving the title unchanged.

svn path=/trunk/; revision=16772
2005-12-13 02:09:14 +00:00
Ulf Lamping 21a9b08144 don't try to close wtap, if we couldn't load the wiretap file
svn path=/trunk/; revision=16771
2005-12-13 01:17:36 +00:00
Jörg Mayer 6f70b8c2d2 Convert to new style dissector (hopefully done right)
svn path=/trunk/; revision=16770
2005-12-12 23:38:04 +00:00
Luis Ontanon 088ffa504e - add Debug and Default declarations.
- supress unwanted console printouts.


svn path=/trunk/; revision=16769
2005-12-12 23:23:32 +00:00
Jörg Mayer 8225722cc5 Dissect type 0x0c as 'remove tag' flag
svn path=/trunk/; revision=16768
2005-12-12 23:14:41 +00:00
Ulf Lamping 8e3f4ec051 Add a note that the Win32 tool recommendations should be strictly followed.
Change tool headers: "UNIX:" -> "UNIX or Win32 Cygwin:"

Update output of verify_tools target

svn path=/trunk/; revision=16767
2005-12-12 22:29:00 +00:00
Gerald Combs 2b1512c995 Use "guint" instead of "u_int".
svn path=/trunk/; revision=16766
2005-12-12 16:49:49 +00:00
Anders Broman e8997a0478 Reassmble apm messages.
svn path=/trunk/; revision=16765
2005-12-12 15:17:53 +00:00
Anders Broman 47dee284ae From Hannes Gredler
-add codepoint to name resolution for Juniper IFMT, IFLE extension TLVs
-bugfix: DLT_JUNIPER_PPP, correct the calculate offset for PPP payload
-bugfix: DLT_JUNIPER_CHDLC, add CHDLC handler
-bugfix: add a more flexible TLV value extraction function which
   does not bail if the assumed TLV length does not match

svn path=/trunk/; revision=16764
2005-12-12 10:28:57 +00:00
Guy Harris d4ed40201a OK, if we're not going to have our "idl_types.h" different from Samba's,
we have to put the definition of "unistr" as "[string] wchar_t *" into
the IDL files that use "unistr".

svn path=/trunk/; revision=16763
2005-12-12 10:15:56 +00:00
Luis Ontanon 5883ff951b Avoid to crash if we are given an unexistent field.
svn path=/trunk/; revision=16762
2005-12-12 01:32:31 +00:00
Luis Ontanon 98373635b3 Done is not needed anymore;
in Pdus transforms go before Criteria (because they are evaluated before)


svn path=/trunk/; revision=16761
2005-12-12 01:27:51 +00:00
Jörg Mayer e17d206357 Dissect the management protocol between 3com Netjack200 devices and the
Windows managment application.

svn path=/trunk/; revision=16760
2005-12-12 00:07:54 +00:00
Luis Ontanon f7b48054f9 Cleanup the grammar.
svn path=/trunk/; revision=16759
2005-12-11 23:22:14 +00:00
Jörg Mayer 4dcfde8082 Updates from samba svn
svn path=/trunk/; revision=16758
2005-12-11 22:54:43 +00:00
Jörg Mayer 87768c664f Start the function name on a new line to make it easier to search
svn path=/trunk/; revision=16757
2005-12-11 22:53:25 +00:00
Jörg Mayer 46bafa4324 Port some information from yersinia
(http://yersinia.sourceforge.net/index.html)
by Alfredo Andres and David Barroso. There's more information to be put
into Ethereal but it's a start.

svn path=/trunk/; revision=16756
2005-12-11 22:52:20 +00:00
Ronnie Sahlberg 5b238763bf implement SMB_FILE_ALL_INFO properly once and for all
svn path=/trunk/; revision=16755
2005-12-11 22:29:39 +00:00
Guy Harris 46cbfd576a The Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
fields as BASE_DEC; bitmaps are typically displayed in hex in Ethereal,
so it should generate BASE_HEX instead.  (Submitted to
bugzilla.samba.org as bug 3313.)

A couple of the IDL files use "unistr"; define it as "[string] uint16",
so that the resulting dissectors work correctly.

Regenerate dissectors.

svn path=/trunk/; revision=16754
2005-12-10 22:42:19 +00:00
Ulf Lamping 00777013b5 the verify_tool target should check for /usr/bin/find (I errorneously did changed it a while ago)
add a comment why we should check for exactly that version

svn path=/trunk/; revision=16753
2005-12-10 11:14:36 +00:00
Ronnie Sahlberg 8a5ad119bf if passed a NULL string, make se_strdup() return the static string
"<NULL>" instead of dumping.

This allows callers to not have to check if the string is NULL or not.


This fixes bugs 614 615 617 620 621 and 623




svn path=/trunk/; revision=16752
2005-12-09 22:06:38 +00:00
Anders Broman 056e30ad8b Add packet-nhrp.h
svn path=/trunk/; revision=16751
2005-12-09 18:02:18 +00:00
Jörg Mayer c2eaf1bc74 Fix ...$ to : $
svn path=/trunk/; revision=16750
2005-12-09 16:51:56 +00:00
Jörg Mayer 50d94b2f95 Add missing propset ...
svn path=/trunk/; revision=16749
2005-12-09 16:46:24 +00:00
Jörg Mayer 9e0577d0d2 Maybe Id will work now
svn path=/trunk/; revision=16748
2005-12-09 16:40:06 +00:00
Jörg Mayer d45f7c156a Update enterprise-numbers
svn path=/trunk/; revision=16747
2005-12-09 16:24:05 +00:00
Anders Broman 7a35e9e751 Add Deepak Jain as author of Next Hop Resolution Protocol
svn path=/trunk/; revision=16746
2005-12-09 16:19:49 +00:00
Anders Broman 1636a6ddac Minor bug fixes.
svn path=/trunk/; revision=16745
2005-12-09 16:15:25 +00:00
Anders Broman fdec74f1c7 From: Deepak Jain
changes/addition to support decode for Next Hop Resolution Protocol

svn path=/trunk/; revision=16744
2005-12-09 16:14:42 +00:00
Jörg Mayer ba1b45448a propset svn:executable *
svn path=/trunk/; revision=16743
2005-12-09 15:56:07 +00:00
Jörg Mayer 066315d0ed Regenerate manuf and FAQ
svn path=/trunk/; revision=16742
2005-12-09 15:53:40 +00:00
Jörg Mayer 05a3c157ba Add Cisco-ISL MAC-addresses
Remove IETF-VRRP: This is a generic multicast address, and there are 31
other IP-multicast addresses mapping to the same mac address.

svn path=/trunk/; revision=16741
2005-12-09 15:49:57 +00:00
Jörg Mayer 6d79c4bbd3 Whitespace change
svn path=/trunk/; revision=16740
2005-12-09 15:47:50 +00:00
Jörg Mayer e92c6d4ba7 Add comment how to regenerate the file
svn path=/trunk/; revision=16739
2005-12-09 15:46:09 +00:00
Guy Harris 3f72fb77a6 Re-generate one more BER dissector.
svn path=/trunk/; revision=16738
2005-12-09 03:24:52 +00:00