On 28/07/2010 10:17, Dave Shield wrote:
> On 28 July 2010 14:06, Roberto Greiner<mrgrei...@gmail.com>  wrote:
>> Based on
>> http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg20966.html,
>> I tried to add "dontLogTCPWrappersConnects 1" in my snmpd.conf file ...
>
>>   /etc/snmp/snmpd.conf: line 28: Warning: Unknown token: 
>> dontLogTCPWrappersConnects.
>>   NET-SNMP version 5.2.3
> That token was implemented in 2006, and first appears in the 5.4.x line.
> The 5.2.x lines originally dates from 2004, so does not include
> support for this token.
>
>
>>> For information, I'm running Debian 5.0.4, with net-snmpd version 5.4.1
>>> (installed via Debian apt).
> That version ought to recognise 'dontLogTCPWrappersConnects'
> But 5.2.3 won't
>
> Dave
You are right. I´ve tried it the original box (with version 5.4.1), and 
it accepted the token, but it did not achieve the desired effect. With 
that token in snmpd.conf, no connection is being logged, valid or not. I 
was looking for something that would log only invalid connections 
(invalid community, unauthorized IP, etc). Any ideas?

Thanks,

Roberto Greiner


-- 
   -----------------------------------------------------
                 Marcos Roberto Greiner

    Os otimistas acham que estamos no melhor dos mundos
     Os pessimistas tem medo de que isto seja verdade
                                   James Branch Cabell
   -----------------------------------------------------


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to