Menu

#1118 Use IP_RECVDSTADDR sockopt

closed
nobody
None
5
2012-11-09
2011-02-08
Niki Denev
No

This patch makes net-snmp use IP_RECVDSTADDR sockopt where available, so if the agent is multihomed it would reply from the IP that the request was sent to.
This is already the case for Linux which uses IP_PKTINFO, but this patch enables the similar behaviour for *BSD hosts.
Without it in environments with asymetric routing and statefull firewalls it's very hard to access some snmp enabled nodes.

Discussion

  • Niki Denev

    Niki Denev - 2011-02-08

    Patch for net-snmp-5.5

     
  • Dave Shield

    Dave Shield - 2011-04-17

    SVN revision 20183

     
  • Dave Shield

    Dave Shield - 2011-04-17

    Thanks for the patch! It has been applied to the 5.5.x and later code branches and the main development tree, and will appear in future releases of the Net-SNMP package.

     

Log in to post a comment.