Commit Graph

12858 Commits

Author SHA1 Message Date
Ulf Lamping 5a36a73d25 added the "Online Protocol Info" to the packet details context menu with a simple_dialog doing some explanation.
svn path=/trunk/; revision=13115
2005-01-18 22:24:07 +00:00
Ulf Lamping b5ee55d468 slightly improve dissection of complex_ping response
svn path=/trunk/; revision=13113
2005-01-18 20:44:11 +00:00
Ulf Lamping db59714331 we can merge more than two files with mergecap
svn path=/trunk/; revision=13112
2005-01-18 20:42:47 +00:00
Gerald Combs e7e26224b2 Fix the handling of "enable: 0" in version.conf.
svn path=/trunk/; revision=13109
2005-01-18 16:00:57 +00:00
Guy Harris e2ba7ba242 Add packet-h450.h to the list of header files.
svn path=/trunk/; revision=13107
2005-01-18 02:29:14 +00:00
Guy Harris 751e7a4157 Fix a pathname.
svn path=/trunk/; revision=13106
2005-01-18 02:15:33 +00:00
Lars Roland c2435429a1 Fix a small bug in h245.cnf.
All h.323 related statistics should work now in the same way as they did before the h323 dissectors were generated.

svn path=/trunk/; revision=13105
2005-01-17 23:42:22 +00:00
Guy Harris 4f81f615b0 Use -1 rather than tvb_length() to create a protocol tree item that runs
to the end of the tvbuff.

Don't return a value from "dissect_h4501()" - the value isn't used, and
"dissect_h4501()" is registered with "register_dissector()", so it's not
supposed to return a value.

svn path=/trunk/; revision=13104
2005-01-17 23:26:45 +00:00
Guy Harris fb24498c12 Get rid of the "-b" flag - it's not what was used to generate the H.450
dissector that's currently checked in.

svn path=/trunk/; revision=13103
2005-01-17 23:01:12 +00:00
Ulf Lamping 5aa1b71181 Ok, as I remember being able to change it myself, I've done so :-)
svn path=/trunk/; revision=13102
2005-01-17 22:52:09 +00:00
Gerald Combs f44455fa19 Updates for 0.10.9. The NEWS is downright depressing.
svn path=/trunk/; revision=13101
2005-01-17 22:35:40 +00:00
Anders Broman eee54467b1 Reinsert h450 dissection
svn path=/trunk/; revision=13100
2005-01-17 22:30:31 +00:00
Anders Broman b33945c4b0 Use the new h450 dissector
svn path=/trunk/; revision=13099
2005-01-17 22:27:39 +00:00
Anders Broman 232ab9d158 Export q931_protocol_discriminator_vals
svn path=/trunk/; revision=13098
2005-01-17 22:26:33 +00:00
Anders Broman f6fe109fc7 If a string of zero length is encountered offset still needs to be advanced(?)
svn path=/trunk/; revision=13097
2005-01-17 22:25:36 +00:00
Guy Harris 71e8b5bf1f Squelch compiler warnings about unused parameters.
svn path=/trunk/; revision=13096
2005-01-17 22:25:16 +00:00
Gerald Combs 86edb8d5fe Don't make GTK-Wimp enabled by default after all.
svn path=/trunk/; revision=13095
2005-01-17 22:24:53 +00:00
Lars Roland 76f3c8df66 Add mate to the clean and distclean target
svn path=/trunk/; revision=13094
2005-01-17 22:17:09 +00:00
Guy Harris 1dd7bd0b38 Add MATE to the list of plugins.
svn path=/trunk/; revision=13093
2005-01-17 22:01:38 +00:00
Lars Roland 5a483e3abe From Anders Broman:
Add recently lost support for the h.323 conversations tap in the h225 dissector.

svn path=/trunk/; revision=13092
2005-01-17 21:52:30 +00:00
Ulf Lamping 421737d210 add first implementation of context relevant calls to the protocol specific wiki pages. I've commented out the items in menu.c, so this (hopefully) won't break the current release run. We might think about further steps after the release is out.
However, if someone (already) want's to try out right now, you simply have to remove the comments in menu.c around line 430

svn path=/trunk/; revision=13091
2005-01-17 21:48:51 +00:00
Guy Harris 1f8699cca9 Fix a typo in the previous checkin.
svn path=/trunk/; revision=13090
2005-01-17 21:38:31 +00:00
Anders Broman f6d41ad776 Added some more h450.x functions
svn path=/trunk/; revision=13089
2005-01-17 21:31:37 +00:00
Guy Harris 2aad197f9e Use WINDIR rather than SYSTEMROOT - WINDIR is apparently set on Windows
OT as well as NT, while SYSTEMROOT isn't.

If it's not set, don't bother looking for the hosts file, rather than
trying a path with a fixed drive letter.  If it is set, try the Windows
NT location first and, if that fails, the Windows OT location.

svn path=/trunk/; revision=13088
2005-01-17 19:30:31 +00:00
Gerald Combs db4f10408c Switch the Windows build environment to GTK 2.4.14. Enable GTK-Wimp by
default in the installer.

svn path=/trunk/; revision=13087
2005-01-17 16:45:15 +00:00
Tomas Kukosa e0d75c08f6 Support of GeneralizedTime in PER
svn path=/trunk/; revision=13086
2005-01-17 11:53:36 +00:00
Tomas Kukosa 5b3af778d6 ASN.1 PER VisibleString support
svn path=/trunk/; revision=13085
2005-01-17 10:09:43 +00:00
Guy Harris 3778ca99c1 If a given TLV type isn't found in an aim_tlv table, just use "Unknown"
as the description - some aim_tlv tables have NULL in the end-of-table
entry.

For those that don't, replace "Unknown" with NULL; "Unknown" is now
redundant.

svn path=/trunk/; revision=13084
2005-01-17 08:13:02 +00:00
Guy Harris 6d5fa89996 When assembling application layer chunks, don't include the transport
layer byte in the reassembled data - including it means we have to pass
to "tvb_new_real_data()" a pointer to the *second* byte of a mallocated
chunk of data, but that would require us to have the free routine for
the new tvbuff back that pointer up before freeing it (we aren't doing
that currently, which means that "free()" either complains bitterly or,
potentially, corrupts the arena, causing crashes later).

Put in some XXX comments about some issues seen when looking at the
code.

svn path=/trunk/; revision=13083
2005-01-17 03:39:58 +00:00
Guy Harris 5e4584e186 Add the source file name and line number to the dissector bug report
(not as useful as for bugs caught in the dissector itself, but still may
be useful).

svn path=/trunk/; revision=13082
2005-01-17 01:11:39 +00:00
Guy Harris df98de72ed Use REPORT_DISSECTOR_BUG() for the "bogus length" error in
"alloc_field_info()", so the error report can include the field with the
problem.  (The file and line number isn't interesting - the bug isn't in
"alloc_field_info()", it's in the dissector that called the routine
calling "alloc_field_info()" - but the field name/abbrevition is
interesting, as it'd help developers identify the place in the dissector
where we're passing in a bogus length.)

svn path=/trunk/; revision=13081
2005-01-17 00:56:56 +00:00
Lars Roland 61a74850dd Convert files with mixed (unix and DOS) EOL-style correctly.
svn path=/trunk/; revision=13080
2005-01-17 00:23:43 +00:00
Guy Harris 2617e40356 Add a REPORT_DISSECTOR_BUG() macro to let caller-specified messages be
used in DissectorError exceptions.

svn path=/trunk/; revision=13079
2005-01-17 00:18:39 +00:00
Guy Harris 2bdef3c122 Rename the FieldError exception to DissectorError.
Add a DISSECTOR_ASSERT() macro, which is the usual type of assertion
macro, but throws a DissectorError exception with a message giving the
flien and line number and the failed test as a string.  Use that macro
in "alloc_field_info()".

Report that exception in the Info column and the protocol tree, as well
as logging the exception failure with g_warning().

svn path=/trunk/; revision=13078
2005-01-16 23:30:55 +00:00
Lars Roland 13bf5539af When using Cygwin's python asn2eth.py
generates dissectors with mixed EOL! SVN doesn't allow you to commit such files.
Add a target to all nmake makefiles in asn1 subdirectory which will fix these files.

svn path=/trunk/; revision=13077
2005-01-16 23:26:02 +00:00
Lars Roland ce032dd5cf Add a few more things to the h225 dissector that got lost.
Lost things left:
-h.450 stuff
-support for the h.323 conversations tap (It is currently broken.)

svn path=/trunk/; revision=13076
2005-01-16 21:21:41 +00:00
Guy Harris 636d4690d7 Make the object length variable in some routines an "int"; we fetch a
16-bit unsigned value into it, but we might round it up to a multiple of
4 bytes, which could overflow a guint16.  Make arguments corresponding
to them "int" as well.

Use the reported length in "cops_analyze_packetcable_mm_obj()".

svn path=/trunk/; revision=13075
2005-01-16 20:26:19 +00:00
Ulf Lamping 1c9781b4ec throw the new FieldError exception, if a dissector tries to add a field with invalid parameters
add a message parameter to the show_exception function

svn path=/trunk/; revision=13074
2005-01-16 16:06:15 +00:00
Jörg Mayer 491ceb3905 Some trivial warning fixes in mate
svn path=/trunk/; revision=13073
2005-01-16 15:45:21 +00:00
Guy Harris f4a0e4c783 Supply Makefile.nmake files.
svn path=/trunk/; revision=13072
2005-01-16 10:38:21 +00:00
Guy Harris eaf9490e04 Make the Makefile look like the h235 Makefiles, with the new rules.
Get rid of their "executable" property, and set svn:keywords to Id and
svn:eol-style to native if they're not already set.

svn path=/trunk/; revision=13071
2005-01-16 10:19:21 +00:00
Guy Harris 7fe7cba143 Add Makefiles.
svn path=/trunk/; revision=13070
2005-01-16 10:17:53 +00:00
Guy Harris 9757ee05c8 Make the dissector files depend on asn2eth.py, so they're regenerated if
it's modified.

svn path=/trunk/; revision=13069
2005-01-16 09:17:16 +00:00
Guy Harris 21667c248a Make the rules match those of Makefile.nmake - make "all" and
"generate_dissector" generate the dissector files but not copy them to
epan/dissectors, add a "copy_files" rule to copy them, and add a "clean"
rule to clean up.

svn path=/trunk/; revision=13068
2005-01-16 09:16:36 +00:00
Guy Harris 840b84c12f Add a Makefile.
svn path=/trunk/; revision=13067
2005-01-16 09:09:57 +00:00
Guy Harris 72eb406f8d Phase 2 of renaming "makefile.nmake" to "Makefile.nmake", to match other
Makefile.nmake files.

svn path=/trunk/; revision=13066
2005-01-16 09:06:25 +00:00
Guy Harris f709d03855 Phase 1 of renaming "makefile.nmake" to "Makefile.nmake" - this is a bit
of a pain on case-insensitive file systems.

svn path=/trunk/; revision=13065
2005-01-16 09:05:45 +00:00
Guy Harris 714ca234a6 When we get an EOF, only return WTAP_ERR_SHORT_READ as the error if we
were in the middle of processing a record.  If we got one at the
*beginning* of the record, that just means we've come to a clean
end-of-file.

svn path=/trunk/; revision=13064
2005-01-16 08:45:11 +00:00
Guy Harris d1ae7c688f From Jon Ringle:
don't dissect attributes if there aren't any;

	put each attribute into a subtree;

	register the dissector by name.

Use "match_strval()" to check whether the message type is a known STUN
message type, and to generate the message type for the Info column.

Don't use "tvb_bytes_exist()" to check when we run out of data - use the
length fields from the packet.  Check the sanity of those lengths, too.

svn path=/trunk/; revision=13063
2005-01-16 04:25:27 +00:00
Guy Harris 5485b96a9a Report a friendlier name, if possible, when capturing in Tethereal.
svn path=/trunk/; revision=13062
2005-01-16 03:09:05 +00:00