Hi Team,

I want to change source ip for snmp-response, I was able to use
clientaddr token for changing source ip in snmp trap. but snmp
responses is not working same way.


Currently responses are using srcip from snmp request destination ip.
I tried changing s_addr in local addr_pair, but sendmsg was failing
and packet was sent via interface.


I am using netsnmp ver 5.7.2

Please suggest me better way to change srcip in snmpresponses,

Any changes we can do from pdu, or Sessions level / Socket level.
setting Clientaddr token is not working for snmpresponses.


Thanks in advance.
Surya


_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to