Changeset 650

Show
Ignore:
Timestamp:
09/24/06 13:16:37 (2 years ago)
Author:
common
Message:

nepenthes

  • module-honeytrap
    • use clean sockets only
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/module-honeytrap/module-honeytrap.cpp

    r647 r650  
    652652 
    653653                Socket *sock = g_Nepenthes->getSocketMgr()->bindTCPSocket(INADDR_ANY,ntohs(tcp->th_sport),600,60); 
    654                 if ( sock != NULL
     654                if ( sock != NULL && (sock->getDialogst()->size() == 0 && sock->getFactories()->size() == 0)
    655655                { 
    656656 
     
    715715 
    716716                                                Socket *sock = g_Nepenthes->getSocketMgr()->bindTCPSocket(INADDR_ANY,ntohs(tcp->th_dport),60,60); 
    717                                                 if ( sock != NULL
     717                                                if ( sock != NULL && (sock->getDialogst()->size() == 0 && sock->getFactories()->size() == 0)
    718718                                                { 
    719719