Re: Selecting source port with snmpget and set

2004-10-08 Thread Alan Leigh
Hey Dave, Thanks for getting back to me. I figured it out not long before getting this message. Basically, I init-ed a session with net-snmp, then using the netsnmp_session thing that returned, I was able to burrow down to the socket that it used. I then just bind that to the port I wanted, and

Re: Selecting source port with snmpget and set

2004-10-08 Thread Dave Shield
> I am hoping to be able to set up a firewall > between the computer the code will be running on and an SNMP device. I > therefore would like to be able to open just one port. The problem is > that it seems the library chooses an arbitrary source port on the local > co

Selecting source port with snmpget and set

2004-10-07 Thread Alan Leigh
Hi all, Hoping someone can help me out and this hasn't been covered before - I've had a pretty good search of the lists etc. I am using the net snmp library in my code to enable some get/set type calls. The problem is I am hoping to be able to set up a firewall between the computer the code wil