Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

New Post: INFORM notInTimeWindow issue (was: Issue creating INFORM listener on a worker thread)

$
0
0
Hi again,

Done a bit more digging and I've found out what is going on here - the situation wasn't precisely as indicated above.

The solution works fine if I start the C# listener and then the Java sender such that they both start at the same time. However, if I stop one or the other, then restart after a couple of minutes, the requests are all rejected.

From walking through the code, the problem seems to be the testing of the time window of the messages - once the difference is >150s, it (correctly) rejects it as notInTimeWindow; however, it doesn't actually send the response to indicate that this is the reason for rejection (marked "TODO: handle error here. return TRAP saying authenticationFailed in SnmpApplication:117), so the SNMP4J time is never synchronized with the #SNMP time, and the problem continues indefinitely.

Thanks,

Austen

Viewing all articles
Browse latest Browse all 576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>