Ethereal-dev: [Ethereal-dev] ldp dissector, desegment_tcp()
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
Hello,
I'm trying to complete the ldp
subdissector. I'm planning to request desegmentation to the tcp dissector. But I
have a problem when I don't have the first 4 bytes of the LDP PDU in the
tvb (LDP PDU=guint16 version; guint16 PDU Length; etc). I must first request the
bytes to fill the header and then make another request for the rest of the PDU.
For what I've understood from
the code, I think function desegment_tcp() (in packet-tcp.c) is not prepared to
handle this case. And one option is to make some changes to the function. Do you
think it's a feasible one? Do you have any suggestions? I've already seen other
dissectors but they don't seem to be handling this case.
Thanks,
Ricardo.
This message has been 'sanitized'. This means that potentially
dangerous content has been rewritten or removed. The following
log describes which actions were taken.
Sanitizer (start="1009481731"):
Part (pos="1150"):
SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
Match (rule="2"):
Enforced policy: accept
Part (pos="2016"):
SanitizeFile (filename="unnamed.html", mimetype="text/html"):
Match (rule="default"):
Enforced policy: accept
Rewrote HTML tag: >>_META http-equiv=Content-Type content="text/html; charset=iso-8859-1"_<<
as: >>_MANGLED_ON_PURPOSE_META http-equiv=Content-Type content="text/html; charset=iso-8859-1"_<<
Rewrote HTML tag: >>_META content="MSHTML 6.00.2600.0" name=GENERATOR_<<
as: >>_MANGLED_ON_PURPOSE_META content="MSHTML 6.00.2600.0" name=GENERATOR_<<
Rewrote HTML tag: >>_STYLE_<<
as: >>_MANGLED_ON_PURPOSE_STYLE_<<
Total modifications so far: 3
Anomy 0.0.0 : Sanitizer.pm
$Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $
|
|