[SNMP4J] Checksum

Frank Fock fock at agentpp.com
Wed Mar 29 00:58:02 CEST 2006


Hi Jesse,

As you already pointed out, the UDP checksum cannot be controlled
nor verified on the SNMP layer (the application layer). Whether
it is used depends on the network layer. It may depend, for example,
on the Java Virtual Machine used.

If you want to assure the intergrity of a SNMP message, you can use
SNMPv3 messages with security level authNoPriv or authPriv.
In both cases, corrupted packets will be rejected by the authoritative
engine.

Hope this helps.

Best regards,
Frank

Prusi, Jesse R wrote:
> My concern is the reliability of data in SNMP SET messages sent via UDP
> over a wireless link.  After looking at the UDP specification I see that
> a checksum is included in UDP packets.  I assume this feature is
> utilized by SNMP4J, correct?  What happens after the send() method is
> called on the DatagramSocket if the recipient computes an invalid
> checksum?  Does the DatagramSocket handle retransmission?  Sorry this is
> more of a UDP question than an SNMP4J question.
> 
> Thanks,
> Jesse
> 
> -----Original Message-----
> From: Frank Fock [mailto:fock at agentpp.com] 
> Sent: Tuesday, March 28, 2006 2:05 PM
> To: Prusi, Jesse R
> Cc: snmp4j at agentpp.org
> Subject: Re: [SNMP4J] Checksum
> 
> Hi Jesse,
> 
> On which data do you want to compute a checksum?
> What should be the purpose of such a feature?
> 
> Thanks,
> Frank
> 
> Prusi, Jesse R wrote:
>> Is there a checksum implemented in the SNMP4J stack?  If no, has 
>> anyone implemented a checksum feature?
>>
>> Thanks,
>> Jesse Prusi
>>
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
> 

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list