Changeset 932

Show
Ignore:
Timestamp:
02/21/07 15:16:50 (2 years ago)
Author:
common
Message:

nepenthes

  • log-surfnet prevent attack insert failures from messing up following attacks using the same socket ptr
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/log-surfnet/log-surfnet.cpp

    r734 r932  
    680680{ 
    681681        logPF(); 
     682 
     683        Socket *s; 
     684        s = (Socket *)result->getObject(); 
     685        logCrit("Getting attackid for socket %x failed, dropping the whole attack, forgetting all details\n",(uintptr_t)s); 
     686        m_SocketTracker.erase((uintptr_t)s); 
    682687        return true; 
    683688}