Commit graph

10611 commits

Author SHA1 Message Date
Olivier Biot
c05bcd7c28 More correct implementation of the --disable-usr-local option.
svn path=/trunk/; revision=10661
2004-04-22 20:02:58 +00:00
Ulf Lamping
51f987e04f added some options and enhancements to the print output:
-ps: added formatting hints for ghostscript, so pdf conversion will be much better
-ps: print a thin line at the top and bottom of each page
-ps/text: add an option to start a new page for every packet (formfeed)

svn path=/trunk/; revision=10660
2004-04-22 17:03:21 +00:00
Guy Harris
f205304ed4 From Shinsuke Suzuki:
- sync ICMPv6 Type number with the official assignment (as of
	   Apr 14 2004)

	- decode MLDv2 query packet

svn path=/trunk/; revision=10659
2004-04-22 08:22:07 +00:00
Anders Broman
4aca73e9b4 Skipp leading spaces in front of MEGACO and fix dissection of TransactionResponseAck
svn path=/trunk/; revision=10658
2004-04-21 19:58:14 +00:00
Guy Harris
086e2c3548 From Michael Lum:
ANSI and GSM MAP stats enhancements and cleanups;

	enhanced parameter dissection related to SS for GSM A-interface
	and MAP;

	minor GSM SMS fix;

	GSM SS enhancements for parameter dissection;

	MTP3 statistics tap.

svn path=/trunk/; revision=10657
2004-04-21 17:57:31 +00:00
Ronnie Sahlberg
1b4fc1c4ce update to netlogon to show DsrGetDcNameEx2() Client account name, domain name and site name
svn path=/trunk/; revision=10656
2004-04-21 12:08:41 +00:00
Guy Harris
c6aeb05249 From Michael Lum:
ANSI and GSM MAP stats enhancements and cleanups;

	enhanced parameter dissection related to SS for GSM A-interface
	and MAP;

	minor GSM SMS fix;

	GSM SS enhancements for parameter dissection;

	MTP3 statistics tap.

svn path=/trunk/; revision=10655
2004-04-21 05:53:59 +00:00
Olivier Biot
f1c30d72c8 Part 2 of Ulf's print update.
svn path=/trunk/; revision=10654
2004-04-21 00:48:22 +00:00
Olivier Biot
f1ccdf940b Provide MMSE 1.1 dissection.
Please test with MMSE 1.1 captures!

svn path=/trunk/; revision=10653
2004-04-20 23:54:19 +00:00
Ulf Lamping
91e61df84e changed postscript output:
reduced print margin to 1/2 inch and font size to 8 point,
include filename in page header,
wrap too long lines

svn path=/trunk/; revision=10652
2004-04-20 22:34:08 +00:00
Olivier Biot
7709ed1be1 Fix the Content-Type parameter rendering as sometimes the code was adding
its value to the header field and sometimes to its label in the protocol
tree only.

svn path=/trunk/; revision=10651
2004-04-20 19:27:33 +00:00
Gerald Combs
6ae447604b Update Thierry Pelle's address.
svn path=/trunk/; revision=10650
2004-04-20 13:15:17 +00:00
Ronnie Sahlberg
f4f28ca356 try to dissect the ms cldap netlogon rpc flags bits.
the information comes from the samba sources and may or may not
be reliable or menaingful.

ms documentation in their knowledgebase says that the only really important part
in the netlogon response is the sitename.

(i have reasons to belive at least one of the flags,  closest, is completely bogous)

svn path=/trunk/; revision=10649
2004-04-20 08:33:15 +00:00
Ulf Lamping
c25b4173c5 fixed MSVC problems
svn path=/trunk/; revision=10648
2004-04-20 05:32:46 +00:00
Guy Harris
aa11a2d8ea From metatech: basic BEA Tuxedo protocol support.
svn path=/trunk/; revision=10647
2004-04-20 05:07:23 +00:00
Guy Harris
0cef289a3a From Jelmer Vernooij:
Add support for a couple more SNAC's.

	Handle TLV's in a somewhat more extendible manner.

	Fix a bug in the buddylist dissector that caused pango warnings.

svn path=/trunk/; revision=10646
2004-04-20 04:48:32 +00:00
Guy Harris
28ba549d1a From Yuriy Sidelnikov: add a dissector table for OIDs to the ACSE
dissector, and make the FTAP dissector register itself in that table.

svn path=/trunk/; revision=10645
2004-04-20 04:17:52 +00:00
Olivier Biot
04fcddfa41 Add a textual "(Dont Fragment)" and "(More Fragments)" to the ip.flags line
in case the DF bit or the MF bit is set.

svn path=/trunk/; revision=10644
2004-04-19 23:36:46 +00:00
Olivier Biot
9d78c83f6d Fix a bug in the processing of WV-CSP OPAQUE data (TCPAddress was Integer in
WV-CSP 1.0 but became a String from WV-CSP 1.1 onwards).

The token code page 3 of WV-CSP 1.2 is the same as in WV-CSP 1.1 (not 1.0).

svn path=/trunk/; revision=10643
2004-04-19 23:26:36 +00:00
Guy Harris
7e9ae490c0 Put the value(s) of a parameter into the top-level item for that
parameter, and clean up the display of the value(s) under that item.

svn path=/trunk/; revision=10642
2004-04-19 22:41:19 +00:00
Guy Harris
e9a8a1e8f7 Add length checks to submessages.
Clean up the handling of parameter sequences - add a bunch of length
checking, give each parameter a protocol tree item with the
ID/length/value under it, and don't format variable-length string
parameters into fixed-length buffers.  Use the parameter-sequence
dissector for the ISSUE message.

Use the "number of bits" value when dissecting a bitmap.

svn path=/trunk/; revision=10641
2004-04-19 20:20:49 +00:00
Guy Harris
dbfb8a729d Update Pasi Eronen's e-mail address.
svn path=/trunk/; revision=10640
2004-04-19 08:26:12 +00:00
Guy Harris
b9fa6daaba Use a "while()" loop, rather than a "do { ... } while()" loop, in
"dissect_rtps()", just in case a message with *no* submessages is sent.

Fetch the flags field in that loop, as we need the E bit value to
determine the byte order of the "next submessage offset" field; fetch
that value in the loop as well, and pass both those values, and the
byte-order flag, to submessage dissector routines as necessary.

Make the main protocol tree item for each submessage cover the entire
submessage; put into that protocol tree an item that covers the
submessage ID, with a named field.

Construct the submessage subtree in that loop, rather than in the
submessage dissectors.

Put into that subtree items for the flags and next submessage offset; we
do that in the submessage dissector, as the interpretation of the bits
in the flags field differs from submessage to submessage.

svn path=/trunk/; revision=10639
2004-04-19 08:19:48 +00:00
Guy Harris
c8f17017ca The "next_submsg" argument passed to "get_bitmap()" is an offset within
the tvbuff, not a relative offset, so it should just be a "gint".

svn path=/trunk/; revision=10638
2004-04-18 20:08:59 +00:00
Guy Harris
68a8e74f22 Get rid of an unused variable.
svn path=/trunk/; revision=10637
2004-04-18 19:52:06 +00:00
Guy Harris
c8b07d8c4b Make "little_endian" local to the routines to parse submessages.
Before checking for the "RTPS" tag, make sure we have at least 4 bytes
in the message.

Use "tvb_reported_length()" to get the length of the message, so we
throw an exception on a packet cut short by a snapshot length.

Put in a comment asking whether the byte order of the "offset to next
submessage" field is little-endian or specified by the E bit.

svn path=/trunk/; revision=10636
2004-04-18 18:55:13 +00:00
Olivier Biot
7d09e69dde Update the cygwin build instructions (plugins can now be compiled too).
Hint on how cygwin gcc can be used to compile a native Win32 Ethereal.

svn path=/trunk/; revision=10635
2004-04-18 10:16:19 +00:00
Ulf Lamping
2390df11bf added a small section about the supported compilers
svn path=/trunk/; revision=10634
2004-04-18 06:41:42 +00:00
Ulf Lamping
110249be63 removed some MSVC warnings
svn path=/trunk/; revision=10633
2004-04-18 06:40:27 +00:00
Ulf Lamping
a4bb819139 replaced some integer types by glib ones,
to be able to compile again on win32

svn path=/trunk/; revision=10632
2004-04-18 06:39:31 +00:00
Guy Harris
47da2aae59 Put "#" in pre-processor keywords at the beginning of the line - I seem
to remember that at least at one point in the history of C, at least one
compiler required that.

Clean up the byte-order stuff - LITTLE_ENDIAN and BIG_ENDIAN aren't
defined by Ethereal or GLib, so we shouldn't use them (some platforms
might define them, but at least some platforms define them *both* as
non-zero values, so they can't be used as "true or false" values for
"e_bit"), and we don't need to worry about the byte order of the machine
running Ethereal - we should just use Ethereal's standard routines to
fetch little-endian or big-endian values.

Get rid of C++ comments.

svn path=/trunk/; revision=10631
2004-04-17 22:11:42 +00:00
Guy Harris
ad8564846e From Lukas Pokorny: RTPS (Real-Time Publish-Subscribe) support.
svn path=/trunk/; revision=10630
2004-04-17 21:43:32 +00:00
Guy Harris
39819b2e7d Updates from metatech:
- Added SPI messages.
	- A bit a factorisation.

svn path=/trunk/; revision=10629
2004-04-17 20:58:49 +00:00
Ulf Lamping
f4564cf6aa added PSML output to the printing dialog
svn path=/trunk/; revision=10628
2004-04-17 11:50:14 +00:00
Olivier Biot
5c550c3788 Fix a typo in %DateTime of length 7 (missing colon between minutes and seconds).
svn path=/trunk/; revision=10627
2004-04-17 10:45:58 +00:00
Ulf Lamping
667d4eecd9 PDML output: if a protocol field is invisible,
add the attribute: hide="yes" to the field node

svn path=/trunk/; revision=10626
2004-04-17 09:02:32 +00:00
Guy Harris
b54a2d3f11 Neaten up the display of the top-level protocol tree item for a number
IE.

svn path=/trunk/; revision=10625
2004-04-17 04:43:58 +00:00
Guy Harris
773a8fa0e3 In EnterNotify and LeaveNotify events, the last byte isn't a Boolean,
it's a bitmask with "focus" and "same-screen" bits.

svn path=/trunk/; revision=10624
2004-04-17 03:38:09 +00:00
Guy Harris
7815961f50 The value returned by "diameter_avp_get_value()" is used only in
protocol tree items that also have the AVP value in the text, so there's
no reason to have the string returned by "diameter_avp_get_value()"
contain that value as well - it's redundant.

svn path=/trunk/; revision=10623
2004-04-17 03:02:01 +00:00
Guy Harris
e6f2831d43 Confirmation dialogs should be marked as such.
svn path=/trunk/; revision=10622
2004-04-17 01:12:47 +00:00
Guy Harris
d4bb41b15d Failure to get the list of interfaces should be reported as an error.
svn path=/trunk/; revision=10621
2004-04-17 01:10:09 +00:00
Guy Harris
76a4b357d8 Failures when capturing should be reported as errors.
svn path=/trunk/; revision=10620
2004-04-17 01:07:47 +00:00
Guy Harris
64e8678959 Update to handle the changed epan_init() API, with a "general failure"
routine added.  Add a missing newline to the end of read failure
messages.

svn path=/trunk/; revision=10619
2004-04-17 01:05:00 +00:00
Guy Harris
5fe1168180 Report problems due to the user specifying something we can't handle as
errors, not warnings.

svn path=/trunk/; revision=10618
2004-04-17 01:01:22 +00:00
Guy Harris
5d9b301783 Report errors in opening various configuration files at the time the
failure occurs; now that "simple_dialog()" queues up messages if we
don't yet have the main window, those messages will be queued up until
then.

Move the point at which we pop up those queued messages after the
"process all pending GUI events" is done, so that those messages are
properly displayed on top of the main window.

svn path=/trunk/; revision=10617
2004-04-16 23:57:54 +00:00
Guy Harris
d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Olivier Biot
a0146ed5be Add a discriminator for WV-CSP so the correct version is used for rendering the WBXML tokens in WV-CSP.
Provide rendering of OPAQUE data for media types, based on a framework of 4 functions that take care of well-known and literal tags and attribute names for deciding on the meaning of the OPAQUE data. Applied to SI, EMN and WV-CSP.

Update reference URLs for WAP, OMA and related specs.

Note: as the WBXML common code only takes ~2000 lines while the token mappings take ~4000 lines, maybe it is time to envisage writing the per-media mappings to dedicated source files (packet-wbxml-wml.c, packet-wbxml-wv_csp.c etc)?

svn path=/trunk/; revision=10615
2004-04-16 22:44:24 +00:00
Guy Harris
6d2501b49f If we're printing summaries and packet detail or hex dump information,
print the header before each summary line, and print a blank line
separating the summary line and the remaining information.

svn path=/trunk/; revision=10614
2004-04-16 20:20:54 +00:00
Guy Harris
00a057b79f Make "new_color_filter()" take the background and foreground colors, as
GdkColors, as arguments.

svn path=/trunk/; revision=10613
2004-04-16 19:36:36 +00:00
Guy Harris
e20b794c0e You have to initialize a GtkColor structure before passing it to
"get_color()" - otherwise, GDK will allocate a color from the colormap
to match whatever random values happen to be there.

svn path=/trunk/; revision=10612
2004-04-16 19:05:05 +00:00