Last modified 6 years ago
Running NetPDL parser failed a:
0, PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unknown on line 0 /usr/local/netpdl/parser.php
NetPDL dissector..........VALIDATED !!
0, PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unknown on line 0 /usr/local/netpdl/parser.php
NetPDL dissector..........VALIDATED !!
Original XML source
- <protocol name="xmpp" longname="Extensible Messaging and Presence Protocol" showsumtemplate="xmpp">
- <execute-code>
- <verify>
- <!--<if expr="hasstring($packet[$currentoffset:0],'\x3cstream.*\x3e',0)">-->
- <if expr="hasstring($packet[$currentoffset:0],'\x3cstream:stream[\x09-\x0d ][ -~]*[\x09-\x0d ]xmlns=[\x27\x22]jabber',0)">
- <if-true>
- <assign-variable name="$protoverify_result" value="%FOUND"/>
- </if-true>
- </if>
- </verify>
- <before when="$protoverify_result == %FOUND">
- <assign-variable name="$session_hit" value="1"/>
- <update-lookuptable name="$tcpsessiontable" action="add" validity="updateonhit" keeptime="300" hittime="300">
- <lookupkey value="$firstip"/>
- <lookupkey value="$secondip"/>
- <lookupkey value="$firstport"/>
- <lookupkey value="$secondport"/>
- <lookupdata value="#xmpp"/>
- <lookupdata value="0"/>
- </update-lookuptable>
- <if expr="$enable_servertable">
- <if-true>
- <if expr="checklookuptable($CandidateServersTable, $ipsrc, $portsrc)">
- <if-true>
- <update-lookuptable name="$KnownServerTable" action="add" validity="updateonhit" keeptime="300" hittime="300">
- <lookupkey value="$ipsrc"/>
- <lookupkey value="$portsrc"/>
- <lookupdata value="#xmpp"/>
- </update-lookuptable>
- <!-- delete entry from CandidateServersTable -->
- <update-lookuptable name="$CandidateServersTable" action="purge">
- <lookupkey value="$ipsrc"/>
- <lookupkey value="$portsrc"/>
- </update-lookuptable>
- </if-true>
- <if-false>
- <if expr="checklookuptable($CandidateServersTable, $ipdst, $portdst)">
- <if-true>
- <update-lookuptable name="$KnownServerTable" action="add" validity="updateonhit" keeptime="300" hittime="300">
- <lookupkey value="$ipdst"/>
- <lookupkey value="$portdst"/>
- <lookupdata value="#xmpp"/>
- </update-lookuptable>
- <update-lookuptable name="$CandidateServersTable" action="purge">
- <lookupkey value="$ipdst"/>
- <lookupkey value="$portdst"/>
- </update-lookuptable>
- </if-true>
- </if>
- </if-false>
- </if>
- </if-true>
- </if>
- </before>
- </execute-code>
- <format>
- <fields>
- <field type="variable" name="xmppdata" longname="XMPP Data" expr="$packetlength - $currentoffset" showtemplate="FieldAscii"/>
- </fields>
- </format>
- <visualization>
- <showsumtemplate name="xmpp">
- <section name="next"/>
- <text value="XMPP"/>
- </showsumtemplate>
- </visualization>
- </protocol>
Processing time: 0.033
