BER problem

Brackstone, Wayne wayne.brackstone____baesystems.com
Tue Jun 24 16:23:40 CEST 2003


SNMP++ V3.2.5b Agent++ V3.5.10b

Guys,

	I've come across a problem whereby an SNMP firewall that is part of the 
system architecture that my software has to interface with is rejecting SNMP 
traps generated by my Agent++ agents because of the BER encoding of the length 
parameter.
Essentially what it is objecting to is the fact that although the trap is less 
than 127 bytes in length it is encoded the 'long' way with the extra 
preceeding byte set to zero. Although I have subsequently found out that this 
isn't illegal I have seen other SNMP implementations that change the encoding 
depending on the length i.e. use the short form if less than 127 bytes.

At the moment it looks unlikely that the firewall can be changed. I have 
considered changing the the source code used by the agents (probably only 
option and not yet investigated) but I also wondered if there were any plans 
to change this by yourselves in future versions?

Any help appreciated

Wayne Brackstone



********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************



More information about the AGENTPP mailing list