Does net-snmp perform any validation on session.peername?
Carlos Ichikawa <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAORK68FUbYUeJE==+7o5syTtNmZR7TV0EQ3LPrs5b_UFnA=_kg@mail.gmail.com> |
snmp_open returns non-null when called with an invalid ip address. Is this expected ? Example: mysession.peername = "192.168.1.0" myhandle = snmp_open(mysession) myhandle is not null mysession.peername = "192garbish" myhandle = snmp_open(mysession) myhandle still not null I guess the more general answer I'm looking for is how to valida that the Ip address indicated by peername is reachable ? _______________________________________________ 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