Commit graph

21903 commits

Author SHA1 Message Date
Luis Ontanon
7475efa0f6 from: Mike Duigou
Adds a heur_dissector_delete() function to allow heuristic dissectors to be
dynamically disabled based upon, for example, preference settings.

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1697


svn path=/trunk/; revision=22463
2007-08-07 21:26:07 +00:00
Luis Ontanon
bc50d5ceb7 Export the entire uat api
svn path=/trunk/; revision=22462
2007-08-07 20:09:18 +00:00
Luis Ontanon
d8e818e9da Make sure that wiretap plugins are loaded before dissectors are (if a new encap type is registered the plugin probably needs it before reg_handoff)
svn path=/trunk/; revision=22461
2007-08-07 20:07:43 +00:00
Luis Ontanon
96f81d7eba From: Shaun Jackman
This patch adds MPEG PES (packetized elementary stream) to the list of
magic types in wiretap/mpeg.c.


svn path=/trunk/; revision=22460
2007-08-06 22:34:26 +00:00
Anders Broman
9eb4bf072c Use correct SVN keywords.
Add missing ASN1 files.

svn path=/trunk/; revision=22459
2007-08-06 12:16:20 +00:00
Ulf Lamping
1bab78bfdf remove an unused variable
svn path=/trunk/; revision=22458
2007-08-06 09:12:18 +00:00
Ulf Lamping
2aef54275a add a way to read a personal /etc/services file for TCP/UDP/... port service name resolution.
svn path=/trunk/; revision=22457
2007-08-06 08:44:26 +00:00
Stephen Fisher
0f1ad4138a Update documentation for change in revision 22455.
svn path=/trunk/; revision=22456
2007-08-04 18:00:27 +00:00
Stephen Fisher
2e398bcb6e Change the export object/export object http code to only be included
in the code for GTK versions 2.4 and up instead of 2 and up.


svn path=/trunk/; revision=22455
2007-08-04 17:52:38 +00:00
Luis Ontanon
f7cdc0be31 Add preferences to register XML for a TCP port or as a TCP heuristic dissector.
svn path=/trunk/; revision=22454
2007-08-04 14:20:37 +00:00
Guy Harris
a817b2df15 Fix cut-and-pasteo.
svn path=/trunk/; revision=22453
2007-08-04 08:13:22 +00:00
Guy Harris
71070dd6d8 Treat runlex.sh-generated headers differently from Flex-generated .c
files - for one thing, the former aren't compiled into .o or .obj files.

svn path=/trunk/; revision=22452
2007-08-04 08:04:17 +00:00
Guy Harris
5238bd07f1 One quote mark sufficeth.
svn path=/trunk/; revision=22451
2007-08-04 03:47:20 +00:00
Guy Harris
b1e9777a81 1989 was quite a while ago. We use function prototypes extensively;
don't worry about YY_PROTO, which isn't defined with the newer shinier
versions of Flex.

svn path=/trunk/; revision=22450
2007-08-04 03:27:18 +00:00
Guy Harris
0f6b7b836e runlex.sh is in tools, not the top-level directory.
svn path=/trunk/; revision=22449
2007-08-04 03:14:00 +00:00
Guy Harris
c2d8a39d95 Sigh, crufty old shells. The Solaris test(1) manual says that
1) "-e" isn't supported by good old /bin/sh, so we use "-r"
	   instead;

	2) "The algorithm for determining the precedence of the
	   operators and the return value that will be generated is
	   based on the number of arguments presented to test", so we
	   explicitly parenthesize.

svn path=/trunk/; revision=22448
2007-08-04 03:11:06 +00:00
Guy Harris
517d6d57e4 Oops, forgot to check in the script for running Flex/Lex.
svn path=/trunk/; revision=22447
2007-08-04 02:36:21 +00:00
Guy Harris
5be4499ad1 Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines.  Use that script when building
lexical analyzers, and, for each lexical analyzer, include the generated
header file in the generated analyzer.

svn path=/trunk/; revision=22446
2007-08-04 02:13:52 +00:00
Ulf Lamping
2d11b0813e mark some parameters as unused
svn path=/trunk/; revision=22445
2007-08-03 20:07:06 +00:00
Ulf Lamping
12aed7290c - add PDInterfaceFSUDataAdjust block
- start to implement an AR conversation handler

svn path=/trunk/; revision=22444
2007-08-03 19:29:34 +00:00
Gerald Combs
89a2966ced Add a "-S" flag to dumpcap, which prints out interface statistics. Use
this in the GUI rather than calling pcap_stats() directly. This gets rid
of the last pcap_open_live() call in the GUI code. Update
README.packaging.

svn path=/trunk/; revision=22443
2007-08-02 21:45:27 +00:00
Guy Harris
98309a6c83 Squelch a warning.
svn path=/trunk/; revision=22442
2007-08-02 19:07:08 +00:00
Guy Harris
dd86332046 Gak. <> makes it too easy to make these make- scripts do what the rest
do, and take $(srcdir) as the first argument.  Back the previous changes
out, for now.

svn path=/trunk/; revision=22441
2007-08-02 16:06:13 +00:00
Guy Harris
ad76a231d4 We have to include Makefile.common if we move definitions we need
there....

svn path=/trunk/; revision=22440
2007-08-02 08:24:00 +00:00
Guy Harris
4f00d5fcc1 Move the list of source files to a Makefile.common file.
Don't put $(srcdir)/ at the beginning of those file names - other
Makefile.am files don't have it, and it appears to break "make
distcheck", at least on my Mac OS X 10.4 machine.

svn path=/trunk/; revision=22439
2007-08-02 07:54:03 +00:00
Sebastien Tandel
15626ed976 From Amine Dhraief:
there is a mistake in the assigned  number of the update request and update
   ack shim6 control message. Accordingly to draft-ietf-shim6-proto-08 the
   update request has a value of 64 and the update ack 65.


svn path=/trunk/; revision=22438
2007-08-02 02:28:48 +00:00
Guy Harris
46be54cee3 Add a Makefile.nmake.inc file, to hold rules etc. used by multiple
Makefile.nmake files; currently, it has the (F)lex-to-C rule and a
.SUFFIXES pseudo-rule to add .l to the list of suffixes.  Have
Makefile.nmake files with .l.c rules include Makefile.nmake.inc to get
that rule.

The names Makefile.am.inc and Makefile.nmake.inc aren't necessarily the
right names for the files in question.

Use $(PACKAGE) in the Mate plugin's Makefile, rather than "mate".

svn path=/trunk/; revision=22437
2007-08-01 22:20:38 +00:00
Guy Harris
159e795100 Add a Makefile.am.inc file, to hold rules etc. used by multiple
Makefile.am files; currently, it has the (F)lex-to-C rule.  Have
Makefile.am files with .l.c rules include Makefile.am.inc to get that
rule.

svn path=/trunk/; revision=22436
2007-08-01 20:35:05 +00:00
Jaap Keuter
6ab0bbb73c Clean up the WiMax Mac-to-Mac dissector code.
svn path=/trunk/; revision=22435
2007-08-01 17:42:43 +00:00
Guy Harris
61dd46fa9c Use a common .l.c rule for running Flex on .l files, just as is done on
UN*X.

svn path=/trunk/; revision=22434
2007-08-01 00:22:25 +00:00
Ulf Lamping
f39958d89a add PROFINET Multicast OUI 01:0E:CF (in addition to the unicast 00:0E:CF)
svn path=/trunk/; revision=22433
2007-07-31 19:03:43 +00:00
Ulf Lamping
f4cabf95a1 update PTCP dissection to latest specification draft
svn path=/trunk/; revision=22432
2007-07-31 19:01:15 +00:00
Ulf Lamping
6970aff017 add helper function dissect_pn_int32()
svn path=/trunk/; revision=22431
2007-07-31 18:57:51 +00:00
Martin Mathieson
0a5437dc33 Add "igmp" -> "ip" mapping.
svn path=/trunk/; revision=22430
2007-07-31 13:53:45 +00:00
Guy Harris
3d18eafe0a Export dfilter_macro_build_ftv_cache() for use by Wireshark.
svn path=/trunk/; revision=22429
2007-07-31 01:32:47 +00:00
Guy Harris
cab450519f If YY_SKIP_YYWRAP is defined, don't bother defining WRAP_FUNC - with
flex 2.5.31, WRAP_FUNC will end up being defined as a value that, when
used as a function-style macro, expands to 1, so the definition of
WRAP_FUNC will get a syntax error.

svn path=/trunk/; revision=22428
2007-07-31 01:24:26 +00:00
Luis Ontanon
9865b6346f As per Ulf's request add ${proto.field} macros that will use the value of the given field has in the last selected packet.
svn path=/trunk/; revision=22427
2007-07-30 23:32:47 +00:00
Luis Ontanon
c1c9e0bb90 nononono.... print one on 250 not every line
svn path=/trunk/; revision=22426
2007-07-30 21:17:03 +00:00
Luis Ontanon
f43578e8f4 for bug 1158 have editcap print the value of the timestamps while running so I can get feedback from the user.
svn path=/trunk/; revision=22425
2007-07-30 21:10:12 +00:00
Guy Harris
968d363f11 Add comments to various %option items to explain what they're doing.
Move the %options to the beginning if they weren't already there, and
put them in the same order in all files.

Add "prefix=" options to .l files that don't already have them, so we
don't have to pass a "-P" option.

Add "never-interactive" and "noyywrap" options to our lexical analyzers,
to remove extra isatty() checks and to eliminate the need for yywrap()
from the Flex library.

Get rid of %option nostdinit - that's the default.

Add .l.c: rules to Makefile.am files, replacing the rules for specific
.l files.  Have those rules all check that $(LEX) is set.

Update the address for the FSF.

svn path=/trunk/; revision=22424
2007-07-30 20:22:37 +00:00
Martin Mathieson
0d437580ee Parse EPSV responses (229) & set up FTP-DATA conversation.
svn path=/trunk/; revision=22423
2007-07-30 18:45:48 +00:00
Jeff Morriss
5bf0217530 As requested by Mike Rogovin: register the ICMP dissector by name. For completeness, also register ICMPv6 by name.
svn path=/trunk/; revision=22422
2007-07-30 17:21:40 +00:00
Jeff Morriss
7c4cca3e63 From Florent Drouin:
Correct bug in TCAP statistics when read filter is used.
Rename the TCAP decoding functions to show which are ITU vs. ANSI.
Don't unregister an ITU SSN if it's used by an ANSI subdissector.

svn path=/trunk/; revision=22421
2007-07-30 17:10:20 +00:00
Jaap Keuter
9636fdfefd Fix for bug 1712:
RFC 4627 defines "The application/json Media Type for JavaScript Object Notation (JSON)" 
application/json is a text based type used by JavaScript applications and web pages.

svn path=/trunk/; revision=22420
2007-07-30 13:06:01 +00:00
Tomas Kukosa
7f02fcd555 RNSAP updated to V7.5.0 (2007-06)
svn path=/trunk/; revision=22419
2007-07-30 12:08:38 +00:00
Tomas Kukosa
beffad7887 add forgotten files
svn path=/trunk/; revision=22418
2007-07-30 08:22:22 +00:00
Tomas Kukosa
5a46ea46b5 H.450 regenerated from original ASN.1 sources
svn path=/trunk/; revision=22417
2007-07-30 08:01:59 +00:00
Luis Ontanon
4142a2b90f A toy I wrote as PoC for a more complex similar tool I'm working on.
Not in the makefiles yet: It works on my mac but I do not know if it works anywhere else (Guy?)


svn path=/trunk/; revision=22416
2007-07-28 11:37:27 +00:00
Jeff Morriss
29facf8ff9 From Florent Drouin:
- add support of session management for tcap ANSI.
   (In fact, this support already exist for ANSI MAP subdissector, but as our
   simulators can reuse the tcap transaction Id, the decoding of the response
   may be wrong)
- move the code related to asn1 in tcap.cnf, and update tcap.cnf
- move the code related to the session management in tcap-persistentdata
- add a compilation option to free the entry in the hashtable for a closed
  transaction. This is used only for tshark statistics generation, with huge file.
- cleanup and add some comments

Add Id tags to epan/tcap-persistentdata.{c,h}

svn path=/trunk/; revision=22415
2007-07-27 19:24:40 +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