Re: Snmp_sess_open failure on net-snmp 5.3.1
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
S> Hi All, With net-snmp version 5.3.1 calling snmp_sess_open with a S> peername = ":200" throws an exception saying unable to identify S> hostname. But a similar error is not thrown on net-snmp version S> 5.5. Can somebody point me to the bug / patch which has resulted in S> this change in behaviour. I'm not sure what caused the chaneg, but I assume you probably want to open a "udp:200" peername instead to fix the issue. :200 is fairly generic and doesn't specify the actual port type you want, so IPv4 was probably assumed. But that's not really safe behavior (especially as IPv4 slowly goes away). -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ 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