Re: how can I decode a PDU?

Ottavio Campana <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
JORDI LOPEZ wrote:
> What if you make a small program that gets the PDU from the serial and relays it to net-snmp using a socket to 127.0.0.1 UDP port 161 and relay back the answer to the serial, sort of a bridge between serial and socket. No need to decode the PDU.
> 
> In this way net-snmp would do the work for you and you'd only have to develop a subagent to handle the objects involved. Subagent that will also work if accessed through LAN.
> 

that would mean I had to install snmpd on the device which is en
embedded device.

Anyway, thanks for your help, I extracted some code from freebsd
bsnmpdlib to do asn.1 decoding, I'll write the rest of the code.

Ottavio

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.