(1) Please move coding level discussions into ntop-dev.

(2) Read the code ... The match goes in here:

    if(proto)
      theSession->guessed_protocol = strdup(proto); 

So follow guessed_protocol. I think the only thing done with it now is
Skype:


        if((session->guessed_protocol != NULL)
           && session->voipSession
           && strstr(session->guessed_protocol, "skype"))
          voipStr = "/skype.gif";
        else if(session->voipSession)
          voipStr = "&nbsp<VoIP>";
        else
          voipStr = "";


-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 6:59 AM
To: [email protected]
Subject: [Ntop] pattern matching

Hello,

I wanted to do some pattern matching on the packets' payload. I've added a
file with my pattern to l7-patterns and confirmed that ntop loads it during
startup. What's more I've put some debugging lines in l7.c, in the
l7SessionProtoDetection function to see if the pattern is really detected.
The problem is I don't know where the information about the detected
protocol goes after that. I couldn't find it anywhere on the pages generated
by ntop. Any ideas?

/Michal

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to