metze/wireshark/wip.git
18 years agoHave tcap subdissectors registering using functions provided by tcap and tcap manage...
Luis Ontanon [Sat, 17 Dec 2005 16:55:45 +0000 (16:55 -0000)]
Have tcap subdissectors registering using functions provided by tcap and tcap manage ssn registration.

In packet-sccp.c avoid not having a binding.

svn path=/trunk/; revision=16834

18 years agoWin32 bugfix: peeking the signal_pipe at capture_loop start seems to be unreliable
Ulf Lamping [Sat, 17 Dec 2005 00:19:47 +0000 (00:19 -0000)]
Win32 bugfix: peeking the signal_pipe at capture_loop start seems to be unreliable

Instead, simply keep the signal_pipe setting directly from the command line which is working well

svn path=/trunk/; revision=16833

18 years agoboth eug and edg still mentioned Ethereal 0.10.12
Ulf Lamping [Sat, 17 Dec 2005 00:16:37 +0000 (00:16 -0000)]
both eug and edg still mentioned Ethereal 0.10.12

svn path=/trunk/; revision=16832

18 years agoadd work in progress srvsvc.idl.
Ronnie Sahlberg [Fri, 16 Dec 2005 22:06:52 +0000 (22:06 -0000)]
add work in progress srvsvc.idl.

This idl file is required by wkssvc.idl since wkssvc references Platform_id

There are still some minor changes required for pidl to prettify the output for both wkssvc and srvsvc before these two dissectors should be used.

note that this idl is significantly different from the samba4 idl since it contains all the additional functions and structures the handwritten dissector has that is lacking from s4 idl.

it is expected that s4 will take up the authorative version of this idl soon so there will only be one master copy of this idl.

svn path=/trunk/; revision=16831

18 years agoInclude the latest diameter.xml files
Anders Broman [Fri, 16 Dec 2005 20:58:50 +0000 (20:58 -0000)]
Include the latest diameter.xml files

svn path=/trunk/; revision=16830

18 years agomodify the tool tip "Nodes in the diagram are identified with network source and...
Anders Broman [Fri, 16 Dec 2005 20:54:24 +0000 (20:54 -0000)]
modify the tool tip "Nodes in the diagram are identified with network source and destination address (like SS7 point codes)" remove the section between parenthesis

svn path=/trunk/; revision=16829

18 years agoA patch for packet-ospf.c is attached:
Anders Broman [Fri, 16 Dec 2005 20:37:45 +0000 (20:37 -0000)]
A patch for packet-ospf.c is attached:
 - Fix the handling of the DN-bit of options field.
 - Add a new function dissect_ospf_bitfield() to dissect a bitfield
   such as options, flags. The following functions are merged by
   using this function.
     - dissect_ospf_lls_extended_options()
     - dissect_ospf_dbd()
     - dissect_ospf_options()
     - dissect_ospf_v3_prefix_options()
 - dissect the flags and prefix-options bitfield.

svn path=/trunk/; revision=16828

18 years agoAs per Olivier Jacques mail,
Anders Broman [Fri, 16 Dec 2005 20:36:09 +0000 (20:36 -0000)]
As per Olivier Jacques mail,
"preferences/mtp3 must be changed accordingly (it is explicitly indicated that the "network address format" is ..."
Change the text and som names.

svn path=/trunk/; revision=16827

18 years agoIf "CLIENTNAME" is set (which indicates that we're using RDP) use
Gerald Combs [Fri, 16 Dec 2005 17:53:44 +0000 (17:53 -0000)]
If "CLIENTNAME" is set (which indicates that we're using RDP) use
"not tcp port 3389" instead of "not ip host $CLIENTNAME", since it
seems to be more reliable.

Make sure we remove dumpcap.obj when we clean.

This also tests the content-type "text/plain; charset=utf-8" for commit
messages.  Maybe Stig B's name will show up correctly now.

svn path=/trunk/; revision=16826

18 years agoSome updates
Jörg Mayer [Fri, 16 Dec 2005 17:52:05 +0000 (17:52 -0000)]
Some updates

svn path=/trunk/; revision=16825

18 years agoDon't link dumpcap against libethereal etc.
Jörg Mayer [Fri, 16 Dec 2005 17:05:37 +0000 (17:05 -0000)]
Don't link dumpcap against libethereal etc.
It might be, that I've removed too many options:

in that case, replace
@PCAP_LIBS@
by some of
@PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@

and let me know which of the options are needed

svn path=/trunk/; revision=16824

18 years agoJaap Keuter:
Jörg Mayer [Fri, 16 Dec 2005 16:40:31 +0000 (16:40 -0000)]
Jaap Keuter:
I'm seeing a variant of the registered Ethernet address for MS NLB
multicast being used.

Changed to remove "multicast" from the name as it isn't a multicast
address.

svn path=/trunk/; revision=16823

18 years agoFrom Jaap Keuter:
Anders Broman [Fri, 16 Dec 2005 16:37:03 +0000 (16:37 -0000)]
From Jaap Keuter:
- Editcap
Mikko Tiihonen filed bug 379 including a patch for editcap. This wasn't picked up so far. I've ported the patch to svn 16820 and included a documentation patch.

-packet-ieee80211.c
Radek Vokal of RedHat filed a bug found by Vladimir Kondratiev of Intel in the 802.11 dissector. Radek provided a sample capture and Vladimir a oneliner patch. I've ported the patch to svn 16820 and tested it against the provided capture. Works well.

-From Kan Sasaki
A patch for packet-ospf.c is attached:
 - Fix the handling of the DN-bit of options field.
 - Add a new function dissect_ospf_bitfield() to dissect a bitfield
   such as options, flags. The following functions are merged by
   using this function.
     - dissect_ospf_lls_extended_options()
     - dissect_ospf_dbd()

     - dissect_ospf_options()
     - dissect_ospf_v3_prefix_options()
 - dissect the flags and prefix-options bitfield.

- lldp Bugfix Bug 596  LLDP TIA Network Policy Decode is not correct

- Camel make it possible to dissect based on OID.

svn path=/trunk/; revision=16822

18 years agoFrom Jaap Keuter:
Anders Broman [Fri, 16 Dec 2005 16:31:46 +0000 (16:31 -0000)]
From Jaap Keuter:
Bug 373 complains about a field type. Trivial fix attached.

svn path=/trunk/; revision=16821

18 years agoDeclare the GTK 2.6 as the official mainline now!!!
Ulf Lamping [Fri, 16 Dec 2005 08:20:22 +0000 (08:20 -0000)]
Declare the GTK 2.6 as the official mainline now!!!

(as per mailing list discussions and mainly as the Gimp windows port also uses this version)

fix the NSIS install settings for GTK 2.6 of GTK-Wimp

svn path=/trunk/; revision=16820

18 years agosome minor fixes: logging and comments fixed
Ulf Lamping [Fri, 16 Dec 2005 07:43:24 +0000 (07:43 -0000)]
some minor fixes: logging and comments fixed

svn path=/trunk/; revision=16819

18 years agoFrom Michael Rozhavsky:
Anders Broman [Fri, 16 Dec 2005 07:37:28 +0000 (07:37 -0000)]
From Michael Rozhavsky:

This patch adds support for draft-nguyen-ospf-lls-05.txt, draft-nguyen-ospf-oob-resync-05.txt and draft-nguyen-ospf-restart-05.txt. These are an alternative way to do OSPF graceful restart.

These drafts are implemented by cisco and several other vendors that want to interoperate with cisco. My patch adds a dissectors for LLS TLVs.

I had to modify the existing ospf dissector as it assumed that all the data after IP header is OSPF packet. This is not true anymore and probably was not true before as well.

Also please find attached an example of OSPF packets with LLS data blocks.
--

svn path=/trunk/; revision=16818

18 years agoFrom Jacques, Olivier (OCBU-Test Infra)
Anders Broman [Fri, 16 Dec 2005 07:20:13 +0000 (07:20 -0000)]
From Jacques, Olivier (OCBU-Test Infra)

> here is a small patch for the flow graph feature. It allows
> to have SS7 nodes (network indicator/point codes) to be
> recognized as nodes in the graphs.
> The patch consists in using "pinfo->net_src" or
> "pinfo->net_dst" instead of "pinfo->src" or "pinfo->dst".
> I did some tests with other IP protocols and behavior was
> still the same as before. But I do not guaranty that it
> doesn't have some bad side effects for some protocols.

svn path=/trunk/; revision=16817

18 years agoFrom Grame Lunt:
Anders Broman [Fri, 16 Dec 2005 07:18:52 +0000 (07:18 -0000)]
From Grame Lunt:
The new oid_resolv.c OID handling is more strict on what an OID is. It now requires the OID string representation to be a sequence of dotted integers - particularly when looking up an associated name.

The X.411 and DISP dissectors have [ab]used the OID handling to support the dissection of x.411 standard-extensions (which are indicated by a single
integer) and where the OID is sufficient by itself (disp). Have a look at x411.cnf and disp.cnf

Attached is a small patch to restore the previous functionality in the new handling. If this is something you don't wish to continue to support in the OID handling, then I'll look at alternate mechanisms.

Graeme

svn path=/trunk/; revision=16816

18 years agoGet rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:s
Anders Broman [Fri, 16 Dec 2005 07:05:50 +0000 (07:05 -0000)]
Get rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:s

svn path=/trunk/; revision=16815

18 years agoFrom Graeme Lunt:
Anders Broman [Fri, 16 Dec 2005 06:47:22 +0000 (06:47 -0000)]
From Graeme Lunt:
* DOP - This has now been successfully tested and so is now enabled by default and workaround code removed.
Also now uses the correct EXPORTs from the other modules/dissectors.

* X509SAT - Most of the selected attributes are now supported in addition to the DirectoryString syntax attributes. This includes restoring the correct DirectoryString syntax and also providing the basic syntaxes (e.g. OBJECT IDENTIFIER, PrintableString). The latter requires a sed line in the Makefile which I assume should be OK? Not all the SAT can be defined in x509sat - so some have been included in x509if and x509af - though x509sat.cnf contains the master list and references the other dissectors where appropriate.

(I still prefer a syntax registration approach but I don't think that is going to be agreed in the short term.)

* X509IF - a mechanism to register some formating, based upon the hf_index, that is used in the cnf file.

* A couple of fixes identified by Stig.

svn path=/trunk/; revision=16814

18 years agoFrom Stig B
Ronnie Sahlberg [Fri, 16 Dec 2005 00:32:12 +0000 (00:32 -0000)]
From Stig B
Patch for COTP reassembly.

There does not seem to be any reasonable or cleaner way to fix COTP
reassembly than adding the frame.[ch] patch.

svn path=/trunk/; revision=16813

18 years agofrom Jaap K
Ronnie Sahlberg [Thu, 15 Dec 2005 23:17:01 +0000 (23:17 -0000)]
from Jaap K

fix for bug 306

svn path=/trunk/; revision=16812

18 years agoupdate to modbus/tcp
Ronnie Sahlberg [Thu, 15 Dec 2005 22:54:33 +0000 (22:54 -0000)]
update to modbus/tcp

Make the dissector new-style and add simple (better than nothing) heuristics so that it can reject some packets that are obviously not modbus.

change the constants to upper case

 the horrors:
replace two instances where tvb_memcpy()  were used to read straight into a structure to instead read the structure field by field using tvb_get_...()
This may allow the modbus dissector to actually work.

svn path=/trunk/; revision=16811

18 years agoFix themeing for GTK+ 2.8. This hasn't been tested under 2.6 or 2.4.
Gerald Combs [Thu, 15 Dec 2005 19:12:51 +0000 (19:12 -0000)]
Fix themeing for GTK+ 2.8.  This hasn't been tested under 2.6 or 2.4.

svn path=/trunk/; revision=16810

18 years agoMake sure we install the libpng and cairo DLLs if needed.
Gerald Combs [Thu, 15 Dec 2005 03:36:17 +0000 (03:36 -0000)]
Make sure we install the libpng and cairo DLLs if needed.

svn path=/trunk/; revision=16809

18 years agoUse the reported length, not the length, to figure out how much to
Guy Harris [Thu, 15 Dec 2005 02:44:26 +0000 (02:44 -0000)]
Use the reported length, not the length, to figure out how much to
dissect (so that we report a packet cut short by the snapshot length).

Get rid of an unused variable..

As we restore "pinfo->fragmented" from "save_fragmented" regardless of
whether we're defragmenting or not, we have to save its previous value
in "save_fragmented" regardless of whether we're defragmenting or not.

svn path=/trunk/; revision=16808

18 years agoremove the setting of no longer required command line options:
Ulf Lamping [Thu, 15 Dec 2005 00:48:59 +0000 (00:48 -0000)]
remove the setting of no longer required command line options:

-H (Hide capture info dialog)
-m (font to use)

svn path=/trunk/; revision=16807

18 years agoremove a missplaced comment
Ulf Lamping [Thu, 15 Dec 2005 00:46:23 +0000 (00:46 -0000)]
remove a missplaced comment

svn path=/trunk/; revision=16806

18 years agouse capture_opts_trim_iface() instead of duplicated code
Ulf Lamping [Thu, 15 Dec 2005 00:45:29 +0000 (00:45 -0000)]
use capture_opts_trim_iface() instead of duplicated code

various minor code cleanup

svn path=/trunk/; revision=16805

18 years agoFix Bug 628 Bugzilla 2.18.3
Anders Broman [Wed, 14 Dec 2005 21:46:56 +0000 (21:46 -0000)]
Fix Bug 628  Bugzilla 2.18.3
CAMEL - Connect decoding error
- Calledparty number included first two octets

svn path=/trunk/; revision=16804

18 years agoAdd possibility to try to dissect IP over TIPC.
Anders Broman [Wed, 14 Dec 2005 21:40:04 +0000 (21:40 -0000)]
Add possibility to try to dissect IP over TIPC.

svn path=/trunk/; revision=16803

18 years agoAdd support for GLib/GTK+ 2.8. Point to the latest tag.
Gerald Combs [Wed, 14 Dec 2005 21:19:39 +0000 (21:19 -0000)]
Add support for GLib/GTK+ 2.8.  Point to the latest tag.

svn path=/trunk/; revision=16802

18 years agoFrom Jaap Keuter:
Anders Broman [Wed, 14 Dec 2005 21:14:57 +0000 (21:14 -0000)]
From Jaap Keuter:
> Two patch files are attached adding UDP-Lite dissection to the UDP
> dissector. Wiki page is available at the normal location, including
> sample captures courtesy of Gerrit Renker of the University of
> Aberdeen Electronics Research Group. The patch has been tested with
> both the sample captures and Fuzz test.

And add Marc Petit-Huguenin to AUTHORS

svn path=/trunk/; revision=16801

18 years agoAdd makefiles
Anders Broman [Wed, 14 Dec 2005 21:04:42 +0000 (21:04 -0000)]
Add makefiles

svn path=/trunk/; revision=16800

18 years agoFrom Grame Lunt:
Anders Broman [Wed, 14 Dec 2005 21:02:56 +0000 (21:02 -0000)]
From Grame Lunt:
Attached is a patch that updates -

* DOP - This has now been successfully tested and so is now enabled by default and workaround code removed.
Also now uses the correct EXPORTs from the other modules/dissectors.

* X509SAT - Most of the selected attributes are now supported in addition to the DirectoryString syntax attributes. This includes restoring the correct DirectoryString syntax and also providing the basic syntaxes (e.g. OBJECT IDENTIFIER, PrintableString). The latter requires a sed line in the Makefile which I assume should be OK? Not all the SAT can be defined in x509sat - so some have been included in x509if and x509af - though x509sat.cnf contains the master list and references the other dissectors where appropriate.

(I still prefer a syntax registration approach but I don't think that is going to be agreed in the short term.)

* X509IF - a mechanism to register some formating, based upon the hf_index, that is used in the cnf file.

* A couple of fixes identified by Stig.

Note the patc for dop did not apply don't regenerate dissectors yet.

svn path=/trunk/; revision=16799

18 years agoFrom Graeme Lunt:
Anders Broman [Wed, 14 Dec 2005 20:45:15 +0000 (20:45 -0000)]
From Graeme Lunt:
Here is a patch for packet-ber.c that only includes the upgraded dissect_unknown_ber()

svn path=/trunk/; revision=16798

18 years agoFrom Marc Petit-Huguenin
Anders Broman [Wed, 14 Dec 2005 20:43:39 +0000 (20:43 -0000)]
From Marc Petit-Huguenin

This is a patch that add support for the latest drafts[1] in the STUN dissectors. I choose to add TURN directly in the STUN dissector instead of creating a new dissector because of the decision at the latest IETF meeting[2] to redefine TURN as an use case of STUN.

[1] ftp://ftp.rfc-editor.org/in-notes/internet-drafts/draft-ietf-behave-rfc3489bis-02.txt
ftp://ftp.rfc-editor.org/in-notes/internet-drafts/draft-rosenberg-midcom-turn-08.txt
ftp://ftp.rfc-editor.org/in-notes/internet-drafts/draft-camarillo-midcom-turn-ipv6-00.txt
[2] http://www3.ietf.org/proceedings/05nov/minutes/behave.txt

svn path=/trunk/; revision=16797

18 years agoUse src and dst instead of net_src.
Anders Broman [Wed, 14 Dec 2005 20:01:21 +0000 (20:01 -0000)]
Use src and dst instead of net_src.

svn path=/trunk/; revision=16796

18 years agoClose the dictionary files after reading from them.
Luis Ontanon [Wed, 14 Dec 2005 09:50:11 +0000 (09:50 -0000)]
Close the dictionary files after reading from them.

svn path=/trunk/; revision=16795

18 years agoupdate Ethereal command line options -D and -i
Ulf Lamping [Wed, 14 Dec 2005 09:43:16 +0000 (09:43 -0000)]
update Ethereal command line options -D and -i

svn path=/trunk/; revision=16794

18 years agodocument latest command line changes:
Ulf Lamping [Wed, 14 Dec 2005 09:16:30 +0000 (09:16 -0000)]
document latest command line changes:

new: -D to list interfaces
changed: -i will also accept indices (rather than complete names only)

text copied from the tethereal.pod file

svn path=/trunk/; revision=16793

18 years ago"a & b == c" is, in C, parsed as "a & (b == c)" - and if b and c are the
Guy Harris [Wed, 14 Dec 2005 07:33:07 +0000 (07:33 -0000)]
"a & b == c" is, in C, parsed as "a & (b == c)" - and if b and c are the
same, and have only one bit set, "(a & b) == c", which is what is
intended, is the same as "a & b".

In addition, we don't want to do desegmentation if "isup_apm_desegment"
isn't set, so that test should be ANDed with the other two tests.

svn path=/trunk/; revision=16792

18 years agoConstify a bunch of arguments and variables, to squelch compiler
Guy Harris [Wed, 14 Dec 2005 07:29:38 +0000 (07:29 -0000)]
Constify a bunch of arguments and variables, to squelch compiler
warnings.

Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations
of data structures for headers in libpcap files.  This lets us remove
the includes of "wiretap/libpcap.h from files including
"capture_loop.h".

Make "log_func_ignore()" in "tethereal.c" static, and declare some of
its arguments unused.  Also get rid of an unused variable.

Include <pcap.h> before including "wiretap/wtap-capture.h", to declare
"struct pcap_pkthdr".

svn path=/trunk/; revision=16791

18 years agohmmm, the include sequence might be important too ...
Ulf Lamping [Wed, 14 Dec 2005 01:45:09 +0000 (01:45 -0000)]
hmmm, the include sequence might be important too ...

svn path=/trunk/; revision=16790

18 years agoadd missing include
Ulf Lamping [Wed, 14 Dec 2005 00:10:23 +0000 (00:10 -0000)]
add missing include

svn path=/trunk/; revision=16789

18 years agoadd a new directory 'test', currently containing an alpha test (using some simple...
Ulf Lamping [Tue, 13 Dec 2005 23:15:20 +0000 (23:15 -0000)]
add a new directory 'test', currently containing an alpha test (using some simple bash scripts) of the ethereal/tethereal command line parameters. See the file README.test for details.

svn path=/trunk/; revision=16788

18 years agoHUGE STEP (hopefully toward the right direction):
Ulf Lamping [Tue, 13 Dec 2005 22:48:58 +0000 (22:48 -0000)]
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

18 years agowe don't use the command line option -W any longer, remove it from a comment
Ulf Lamping [Tue, 13 Dec 2005 22:35:28 +0000 (22:35 -0000)]
we don't use the command line option -W any longer, remove it from a comment

svn path=/trunk/; revision=16786

18 years agomake get_if_name() parameter if_text const, it's not changed inside
Ulf Lamping [Tue, 13 Dec 2005 22:33:55 +0000 (22:33 -0000)]
make get_if_name() parameter if_text const, it's not changed inside

svn path=/trunk/; revision=16785

18 years agowe are opening the file for writing....
Luis Ontanon [Tue, 13 Dec 2005 22:08:37 +0000 (22:08 -0000)]
we are opening the file for writing....

svn path=/trunk/; revision=16784

18 years agohandle sccp connections.
Luis Ontanon [Tue, 13 Dec 2005 22:07:09 +0000 (22:07 -0000)]
handle sccp connections.
(first step towards RANAP analysis).

svn path=/trunk/; revision=16783

18 years agoAvoid the default sccp.ssn range to overwrite sccp.ssns of other dissectors.
Luis Ontanon [Tue, 13 Dec 2005 22:04:02 +0000 (22:04 -0000)]
Avoid the default sccp.ssn range to overwrite sccp.ssns of other dissectors.

svn path=/trunk/; revision=16782

18 years agoChange reassembly to include first empty segment, check if SLR exists.
Anders Broman [Tue, 13 Dec 2005 21:14:54 +0000 (21:14 -0000)]
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

18 years agoThrow an exception if we have an invalid offset. Fixes bug 585.
Gerald Combs [Tue, 13 Dec 2005 17:00:03 +0000 (17:00 -0000)]
Throw an exception if we have an invalid offset.  Fixes bug 585.

svn path=/trunk/; revision=16780

18 years agoFix some bit mask tests - & has lower priority than !=, so "a & b != c"
Guy Harris [Tue, 13 Dec 2005 10:59:33 +0000 (10:59 -0000)]
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

18 years agoEscape question marks when they could be interpreted as part of a
Guy Harris [Tue, 13 Dec 2005 10:54:11 +0000 (10:54 -0000)]
Escape question marks when they could be interpreted as part of a
trigraph.

svn path=/trunk/; revision=16778

18 years agoAdd tvb_fake_unicode().
Guy Harris [Tue, 13 Dec 2005 10:09:52 +0000 (10:09 -0000)]
Add tvb_fake_unicode().

svn path=/trunk/; revision=16777

18 years agoUpdate from samba tree revision 12185 to 12205
Jörg Mayer [Tue, 13 Dec 2005 09:30:09 +0000 (09:30 -0000)]
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

18 years agoupdate the work-in-progress pidl generated wkssvc dissector and add a conformance...
Ronnie Sahlberg [Tue, 13 Dec 2005 07:53:52 +0000 (07:53 -0000)]
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

18 years agoswap Trip/Close as per bug 579
Ronnie Sahlberg [Tue, 13 Dec 2005 06:36:30 +0000 (06:36 -0000)]
swap Trip/Close as per bug 579

svn path=/trunk/; revision=16774

18 years agoasn2eth.py:
Gerald Combs [Tue, 13 Dec 2005 03:48:26 +0000 (03:48 -0000)]
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

18 years agoWe should really do quit Ethereal if user asked us to do so with the -Q option!
Ulf Lamping [Tue, 13 Dec 2005 02:09:14 +0000 (02:09 -0000)]
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

18 years agodon't try to close wtap, if we couldn't load the wiretap file
Ulf Lamping [Tue, 13 Dec 2005 01:17:36 +0000 (01:17 -0000)]
don't try to close wtap, if we couldn't load the wiretap file

svn path=/trunk/; revision=16771

18 years agoConvert to new style dissector (hopefully done right)
Jörg Mayer [Mon, 12 Dec 2005 23:38:04 +0000 (23:38 -0000)]
Convert to new style dissector (hopefully done right)

svn path=/trunk/; revision=16770

18 years ago- add Debug and Default declarations.
Luis Ontanon [Mon, 12 Dec 2005 23:23:32 +0000 (23:23 -0000)]
- add Debug and Default declarations.
- supress unwanted console printouts.

svn path=/trunk/; revision=16769

18 years agoDissect type 0x0c as 'remove tag' flag
Jörg Mayer [Mon, 12 Dec 2005 23:14:41 +0000 (23:14 -0000)]
Dissect type 0x0c as 'remove tag' flag

svn path=/trunk/; revision=16768

18 years agoAdd a note that the Win32 tool recommendations should be strictly followed.
Ulf Lamping [Mon, 12 Dec 2005 22:29:00 +0000 (22:29 -0000)]
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

18 years agoUse "guint" instead of "u_int".
Gerald Combs [Mon, 12 Dec 2005 16:49:49 +0000 (16:49 -0000)]
Use "guint" instead of "u_int".

svn path=/trunk/; revision=16766

18 years agoReassmble apm messages.
Anders Broman [Mon, 12 Dec 2005 15:17:53 +0000 (15:17 -0000)]
Reassmble apm messages.

svn path=/trunk/; revision=16765

18 years agoFrom Hannes Gredler
Anders Broman [Mon, 12 Dec 2005 10:28:57 +0000 (10:28 -0000)]
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

18 years agoOK, if we're not going to have our "idl_types.h" different from Samba's,
Guy Harris [Mon, 12 Dec 2005 10:15:56 +0000 (10:15 -0000)]
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

18 years agoAvoid to crash if we are given an unexistent field.
Luis Ontanon [Mon, 12 Dec 2005 01:32:31 +0000 (01:32 -0000)]
Avoid to crash if we are given an unexistent field.

svn path=/trunk/; revision=16762

18 years agoDone is not needed anymore;
Luis Ontanon [Mon, 12 Dec 2005 01:27:51 +0000 (01:27 -0000)]
Done is not needed anymore;
in Pdus transforms go before Criteria (because they are evaluated before)

svn path=/trunk/; revision=16761

18 years agoDissect the management protocol between 3com Netjack200 devices and the
Jörg Mayer [Mon, 12 Dec 2005 00:07:54 +0000 (00:07 -0000)]
Dissect the management protocol between 3com Netjack200 devices and the
Windows managment application.

svn path=/trunk/; revision=16760

18 years agoCleanup the grammar.
Luis Ontanon [Sun, 11 Dec 2005 23:22:14 +0000 (23:22 -0000)]
Cleanup the grammar.

svn path=/trunk/; revision=16759

18 years agoUpdates from samba svn
Jörg Mayer [Sun, 11 Dec 2005 22:54:43 +0000 (22:54 -0000)]
Updates from samba svn

svn path=/trunk/; revision=16758

18 years agoStart the function name on a new line to make it easier to search
Jörg Mayer [Sun, 11 Dec 2005 22:53:25 +0000 (22:53 -0000)]
Start the function name on a new line to make it easier to search

svn path=/trunk/; revision=16757

18 years agoPort some information from yersinia
Jörg Mayer [Sun, 11 Dec 2005 22:52:20 +0000 (22:52 -0000)]
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

18 years agoimplement SMB_FILE_ALL_INFO properly once and for all
Ronnie Sahlberg [Sun, 11 Dec 2005 22:29:39 +0000 (22:29 -0000)]
implement SMB_FILE_ALL_INFO properly once and for all

svn path=/trunk/; revision=16755

18 years agoThe Bitmap routine in lib/Parse/Pidl/Ethereal/NDR.pm in Pidl generates
Guy Harris [Sat, 10 Dec 2005 22:42:19 +0000 (22:42 -0000)]
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

18 years agothe verify_tool target should check for /usr/bin/find (I errorneously did changed...
Ulf Lamping [Sat, 10 Dec 2005 11:14:36 +0000 (11:14 -0000)]
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

18 years agoif passed a NULL string, make se_strdup() return the static string
Ronnie Sahlberg [Fri, 9 Dec 2005 22:06:38 +0000 (22:06 -0000)]
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

18 years agoAdd packet-nhrp.h
Anders Broman [Fri, 9 Dec 2005 18:02:18 +0000 (18:02 -0000)]
Add packet-nhrp.h

svn path=/trunk/; revision=16751

18 years agoFix ...$ to : $
Jörg Mayer [Fri, 9 Dec 2005 16:51:56 +0000 (16:51 -0000)]
Fix ...$ to : $

svn path=/trunk/; revision=16750

18 years agoAdd missing propset ...
Jörg Mayer [Fri, 9 Dec 2005 16:46:24 +0000 (16:46 -0000)]
Add missing propset ...

svn path=/trunk/; revision=16749

18 years agoMaybe Id will work now
Jörg Mayer [Fri, 9 Dec 2005 16:40:06 +0000 (16:40 -0000)]
Maybe Id will work now

svn path=/trunk/; revision=16748

18 years agoUpdate enterprise-numbers
Jörg Mayer [Fri, 9 Dec 2005 16:24:05 +0000 (16:24 -0000)]
Update enterprise-numbers

svn path=/trunk/; revision=16747

18 years agoAdd Deepak Jain as author of Next Hop Resolution Protocol
Anders Broman [Fri, 9 Dec 2005 16:19:49 +0000 (16:19 -0000)]
Add  Deepak Jain as author of Next Hop Resolution Protocol

svn path=/trunk/; revision=16746

18 years agoMinor bug fixes.
Anders Broman [Fri, 9 Dec 2005 16:15:25 +0000 (16:15 -0000)]
Minor bug fixes.

svn path=/trunk/; revision=16745

18 years agoFrom: Deepak Jain
Anders Broman [Fri, 9 Dec 2005 16:14:42 +0000 (16:14 -0000)]
From: Deepak Jain

changes/addition to support decode for Next Hop Resolution Protocol

svn path=/trunk/; revision=16744

18 years agopropset svn:executable *
Jörg Mayer [Fri, 9 Dec 2005 15:56:07 +0000 (15:56 -0000)]
propset svn:executable *

svn path=/trunk/; revision=16743

18 years agoRegenerate manuf and FAQ
Jörg Mayer [Fri, 9 Dec 2005 15:53:40 +0000 (15:53 -0000)]
Regenerate manuf and FAQ

svn path=/trunk/; revision=16742

18 years agoAdd Cisco-ISL MAC-addresses
Jörg Mayer [Fri, 9 Dec 2005 15:49:57 +0000 (15:49 -0000)]
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

18 years agoWhitespace change
Jörg Mayer [Fri, 9 Dec 2005 15:47:50 +0000 (15:47 -0000)]
Whitespace change

svn path=/trunk/; revision=16740

18 years agoAdd comment how to regenerate the file
Jörg Mayer [Fri, 9 Dec 2005 15:46:09 +0000 (15:46 -0000)]
Add comment how to regenerate the file

svn path=/trunk/; revision=16739

18 years agoRe-generate one more BER dissector.
Guy Harris [Fri, 9 Dec 2005 03:24:52 +0000 (03:24 -0000)]
Re-generate one more BER dissector.

svn path=/trunk/; revision=16738

18 years agoRepeatedly indicate that "-w" is for writing binary packet data, and
Guy Harris [Fri, 9 Dec 2005 02:59:36 +0000 (02:59 -0000)]
Repeatedly indicate that "-w" is for writing binary packet data, and
that if you want to send text to a file, just redirect the standard
output.  I've seen at least one message on the Ethereal lists from
somebody who didn't realize that, and I think I've seen more.

svn path=/trunk/; revision=16737

18 years agoRegenerate with the latest asn2eth, to get FT_OID used, and to add #line.
Guy Harris [Thu, 8 Dec 2005 23:29:21 +0000 (23:29 -0000)]
Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.

svn path=/trunk/; revision=16736

18 years ago"get_oid_name()" can return a null pointer; don't try to add the name if
Guy Harris [Thu, 8 Dec 2005 23:21:26 +0000 (23:21 -0000)]
"get_oid_name()" can return a null pointer; don't try to add the name if
it does.

svn path=/trunk/; revision=16735