Commit Graph

3398 Commits

Author SHA1 Message Date
Anders Broman 41dc49bc3e From Michail Koreshkov:
Added option "ANSI MAP" in Preferences menu, that ansi_map protocol dissector can parse packets with non-standart SSN.

svn path=/trunk/; revision=18358
2006-06-06 18:39:49 +00:00
Anders Broman 65aadc0d79 From Martin Mathieson:
- shows profile-specific extension data at the end of SR/RR reports (if 
packet length has not yet been reached after parsing normal data) and 
advances offset (further packets were not recognised+dissected as this 
data wasn't being skipped).
- checks that the length of the RTCP data in the whole frame matches the 
combined length from the length fields (the last check in RFC 3550, "A.2 
RTCP Header Validity Checks") with a generated field and expert info 
when wrong.
- reports the length field in all of the message types consistently (the 
length was confusingly shown multiplied by 4 only in APP packets...)

svn path=/trunk/; revision=18357
2006-06-06 18:26:57 +00:00
Tomas Kukosa a12a5a7148 uncomment newly supported TYPE-IDENTIFIER usage and per regeneration
svn path=/trunk/; revision=18339
2006-06-05 06:52:50 +00:00
Tomas Kukosa 1f24a713be - packet-per.[ch]: Open Type support
- asn2wrs.py: TYPE-IDENTIFIER and ABSTRACT-SYNTAX information object classes support

svn path=/trunk/; revision=18338
2006-06-05 06:49:52 +00:00
Jörg Mayer 49618dfd6d warning fix: declare some functions static
svn path=/trunk/; revision=18335
2006-06-04 18:22:03 +00:00
Jörg Mayer af663527d2 warning fix: guint16 is always <= 0xFFFF
svn path=/trunk/; revision=18334
2006-06-04 17:48:18 +00:00
Jörg Mayer 98477bc4e4 Add some rudimentary dissector for what seems to be
Telkonets ethernet over powerline communication protocol.

svn path=/trunk/; revision=18333
2006-06-04 13:07:13 +00:00
Anders Broman 5f6f853d16 From Martin Mathieson:
- while parsing fmtp lines, the dissector looks for the MPEG4 'profile-level-id' parameter.  If there is no '=' present, it was throwing an exception and the frame marked as malformed (see e.g. the attached
capture)
- I've added a few comments where the code wasn't obvious to me...

svn path=/trunk/; revision=18332
2006-06-03 11:48:27 +00:00
Ronnie Sahlberg d72e2d6f6c some functions return dos error codes and not nt status codes
svn path=/trunk/; revision=18331
2006-06-03 02:03:52 +00:00
Guy Harris 013ca90c42 Get rid of unused variable.
svn path=/trunk/; revision=18328
2006-06-03 00:44:02 +00:00
Anders Broman b590de7ce0 From Richard van der Hoff:
Q.931:I
mprovesthe dissection of Q.931 Channel 
Identification information elements, by using proper (filterable) header 
fields rather than text tree items.

H253:
make the h.263 dissector dissect the group-of-block 
number which comes after a GOB start code.

svn path=/trunk/; revision=18323
2006-06-02 20:29:05 +00:00
Anders Broman 770777bd17 dissect_geographical_description updates.
svn path=/trunk/; revision=18318
2006-06-02 16:58:22 +00:00
Jörg Mayer 3e3dc39b29 The actual file packet-tivoconnect.c was missing
svn path=/trunk/; revision=18314
2006-06-02 07:11:11 +00:00
Anders Broman 409519d0f2 From Kees Cook:
A dissector for "TiVoConnect Beacon" traffic.

svn path=/trunk/; revision=18308
2006-06-02 05:31:41 +00:00
Anders Broman 2143fccee3 Correct dissect_geographical_description.
svn path=/trunk/; revision=18307
2006-06-02 05:02:54 +00:00
Anders Broman 6471c00a55 From Cvetan Ivanov:
H225.cnf
I noticed is that the voip call flow graph does not have a label for the setupAck packet. I traced this to the empty frame_label.

voip_calls.c
It seems to me that in gtk/voip_calls.c tmp_h323info->guid is pointer itself, therefore: 
memcmp(&tmp_h323info->guid 
should in fact read: 
memcmp(tmp_h323info->guid

svn path=/trunk/; revision=18304
2006-06-01 20:19:51 +00:00
Ronnie Sahlberg 66bf41c493 the very recently added unaligned-per support and the ulp dissector could cause an infinite loop in dissect_per_constrained_integer()
if the interval spans the entire 32 bit range.


special case the two common cases when this may happen  until a real fix is included.

if the range variable becomes 0 due to 32bit overflow   do a g_assert_not_reached to prevent an infinite loop.



this function should be enhanced to work with 64 bit integers.


svn path=/trunk/; revision=18299
2006-06-01 10:16:43 +00:00
Anders Broman ed5e8f550c Complete reasembly code.
svn path=/trunk/; revision=18279
2006-05-31 20:22:51 +00:00
Gerald Combs eb71f7fb96 Rename the main executable to "wireshark", along with more conversions:
ethereal.com -> wireshark.org
  mailing lists and addresses
  ETHEREAL -> WIRESHARK
  Man pages
  Automake/Autoconf names


svn path=/trunk/; revision=18271
2006-05-31 19:12:15 +00:00
Gerald Combs 8958bab6de Tethereal/tethereal -> TShark/tshark.
svn path=/trunk/; revision=18268
2006-05-31 17:38:42 +00:00
Michael Tüxen 232c213eca Editorial fixes from Thomas Dreibholz.
svn path=/trunk/; revision=18265
2006-05-31 13:41:35 +00:00
Tomas Kukosa 34e1acfc08 get rid of few warnings in packet-per.c
svn path=/trunk/; revision=18264
2006-05-31 13:38:10 +00:00
Ronnie Sahlberg 697974ae8d improve the tcp retransmission vs outoforder heuristics to address the issue in PeterBruno's email of may18
dont reply to mailinglist that issue has been resolved since "ethereal" is still in limbo


svn path=/trunk/; revision=18263
2006-05-31 11:15:45 +00:00
Tomas Kukosa 9b2a95f2d4 H.245 update to version 12 (10/2005)
svn path=/trunk/; revision=18262
2006-05-31 07:33:47 +00:00
Gerald Combs b15974d094 libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ of
changes here.  It compiles OK on OS X, but hasn't been tested anywhere else.

svn path=/trunk/; revision=18260
2006-05-31 00:23:01 +00:00
Anders Broman c510c6118e Preparations for reassembly. Currently there is a problem with the rrlp dissector...
svn path=/trunk/; revision=18258
2006-05-30 20:52:43 +00:00
Anders Broman 9491711ab4 From Martin Mathieson:
- shows profile-specific extension data at the end of SR/RR reports (if 
packet length has not yet been reached after parsing normal data) and 
advances offset (further packets were not recognised+dissected as this 
data wasn't being skipped).

svn path=/trunk/; revision=18245
2006-05-29 18:16:23 +00:00
Anders Broman 581f2e92aa From Martin Mathieson:
This version of the patch won't look for the authentication scheme (it 
just skips that part for Authentication-Info headers).  I tested it 
using the enclosed file (pasted from the RFC and fed through 
od/text2pcap, then messed around with so I could test the other new 
parameters, even if they don't really belong in that header...).

svn path=/trunk/; revision=18244
2006-05-29 18:13:55 +00:00
Tomas Kukosa 667fed5915 - h225.asn renamed to H323-MESSAGES.asn
- h245.asn renamed to MULTIMEDIA-SYSTEM-CONTROL.asn
- rollback changes in .asn sources to keep them in original ITU-T form and put necessary changes into .cnf files
- PER dissectors regenerated

svn path=/trunk/; revision=18238
2006-05-29 13:06:44 +00:00
Anders Broman 996d4db495 Ethereal->Wireshark
svn path=/trunk/; revision=18234
2006-05-28 19:49:07 +00:00
Ronnie Sahlberg 42a4ebe633 basic sdp dissector for the bluetooth stack
svn path=/trunk/; revision=18229
2006-05-28 06:14:20 +00:00
Anders Broman c20d559c91 Fix bug 973:
While in 3GPP spec, the last two (Down/up nextPDCP-PDU seq. no.) would be 2 
BYTES. So ethreal could not read the message correctly. We have to modify the 
log to make Ethreal analysis it.

Add disection of TargetID.

svn path=/trunk/; revision=18228
2006-05-27 22:09:07 +00:00
Anders Broman 859e520bdf From Markus Meier:
Better dissection of chanel descriptions.

svn path=/trunk/; revision=18227
2006-05-27 18:26:04 +00:00
Anders Broman 949a2d9bf7 Handle the case with only one speech sample.
svn path=/trunk/; revision=18226
2006-05-27 18:25:08 +00:00
Anders Broman f377855e9f Dissect RTP Redundancy Support correctly.
svn path=/trunk/; revision=18225
2006-05-27 18:24:29 +00:00
Ronnie Sahlberg 36171caca7 the bluetooth SCO transport layer from the affix bluetooth patch
svn path=/trunk/; revision=18224
2006-05-27 06:45:46 +00:00
Ronnie Sahlberg 666c144dd4 add reassembly of bluetooth ACL packets
doing the reassembly internally in acl instead of calling reassembly.c since the fragmentation is so simple and packets are so small anyway so full reassembly.c support would be overkill.



svn path=/trunk/; revision=18223
2006-05-27 06:10:52 +00:00
Ronnie Sahlberg 38a0ca26c6 initial bluetooth rfcomm dissector.
this dissector will not yet detect when ppp is passed over the rfcomm link
but the old code to detect and deescapt the ppp data is still in the dissector, though ifdeffed out   to serve as inspiration when ppp over rfcomm captures are made available.


the only captures i have with rfcomm are for raw serial communications so they dont contain any ppp frames. :-(



svn path=/trunk/; revision=18221
2006-05-27 01:52:02 +00:00
Ronnie Sahlberg a002e7b0c8 pass both chandle and cid from l2cap to higher layer protocols.
higher layer protocols need the chandle, cid and direction (from pinfo) in order to identify packets for the same "conversation"

(it is not a conversation per se in bluetooth butn one unidirectional flow that we track)


svn path=/trunk/; revision=18220
2006-05-26 22:34:33 +00:00
Ronnie Sahlberg fd8f1cee34 protocols running atop ACL/L2CAP needs to be able to track pdus based on
acl chandle + direction + l2cap-CID    to uniquely identify a single specific
flow of PDU packets.

So we need to pass the chandle upp from acl to l2cap at least.



It would have been nice to handle this using "conversations" but the bluetooth
stack does not eaily map to the idiom host:port<->host:port

instead in bluetooth you have unidirectional flows that are identified by ACL-chandle:L2CAP-CID:direction     and additional state held inside l2cap  would attach two such flows together into a "conversation".
Bluetooth packets themself    only indentify "half" of the two way conversation.




svn path=/trunk/; revision=18218
2006-05-26 08:30:56 +00:00
Tomas Kukosa 604000a6b3 - remove some #.MODULE_IMPORT from .cng files
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs

svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Anders Broman d17dad9ead Atempt to fix bug 967 crash on fuzzed SNMP capture. I can't reproduce the Bug.
svn path=/trunk/; revision=18216
2006-05-23 20:36:49 +00:00
Anders Broman b727e4e355 From Markus Meier:
The UMA-message Handover From UMAN Command includes the complete L3-message (and header) and not only the handover-IE's.

svn path=/trunk/; revision=18215
2006-05-23 19:02:05 +00:00
Anders Broman 1814821adc From Martin Mathieson:
- Many DCT2000 protocols can be embedded within an IP primitive 
message.  Add a heuristic to see if we can find the protocol payload 
within in IP primitive message, and look for an ethereal dissector 
matching the DCT2000 protocol name (this is useful for simple protocol 
testing where no physical links are involved)
- Make some more of these protocols (diameter, http, mgcp) findable by name
- Adds protocol 'variant' number to stub and dissector
- Break the duplicated writing of the stub header out into a separate 
function

svn path=/trunk/; revision=18212
2006-05-23 05:48:00 +00:00
Anders Broman 28509cb311 Dissect rrlp payload.
svn path=/trunk/; revision=18211
2006-05-23 05:35:20 +00:00
Tomas Kukosa fbd2a3fe3e - fix bugs in dissect_per_octet_string() introduced with unaligned variant
- step to new ASN.1 API - pass asn_ctx_t* through PER dissectors instead of packet_info*
- PER ALIGNED/UNALIGNED flag moved to asn_ctx_t
- PER created tree item pointer moved to asn_ctx_t
- add nbap into PER dissectors in asn1/Makefile.nmake
- use add_oid_str_name() instead of register_ber_oid_name() in H.225 and H.245
- export asn_ctx_init from library
- PER dissectors regenerated

svn path=/trunk/; revision=18209
2006-05-22 11:49:50 +00:00
Ronnie Sahlberg 6075ec39fb ethereal->wireshark
svn path=/trunk/; revision=18207
2006-05-22 08:21:22 +00:00
Ronnie Sahlberg f0b33a4789 ethereal->wireshark updates
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00