Hi,

I have a problem with snmpset (net-snmp 5.0.9). In my system I have an
encrypted (md5) password. I have an option to change the system time via
snmp. The system starts with
initial time 01-01-1970 00:00:00 UTC+0. I can change the time manually
or via sntp. So if I don't set any password everything works fine. But
if I set password and change the year snmp stays in a endless loop in
snmp_sess_synch_response. 

count = select(numfds, &fdset, 0, 0, tvp);
if (count > 0) {
        snmp_sess_read(sessp, &fdset);
} else
       switch (count) {
            case 0:
                snmp_sess_timeout(sessp);
                break;

count is 0.

I think the problem is that by password encryption timestamp is used and
when I change the time the encryption engine get trouble with the big 
difference between two timestamps. How do I fix the problem? Or where
should I look (source code) to fix it?


Best regards,

Yegor Yefremov



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to