clientAddr ipv6

2018-10-28 Thread Pushpa Thimmaiah
Hi All, I am using option 'clientAddr' with IPv6 address and noticed that it is not working. so I applied patch https://sourceforge.net/p/net-snmp/mailman/message/33064273/ on 5.7.3 but It seems not working. Kindly let me know if I am missing any configurations. Eg: linux machine has ipv6

Re: net-SNMP on windows getting decryption error

2018-10-28 Thread Bart Van Assche
On 10/23/18 6:00 AM, Mark Christiansen wrote: Does anybody have ideas of what could be going wrong here? I built net-SNMP 5.8 for my Windows 10 machine. I set up my snmpd.conf file as shown below where I added the same users as I have on my Linux machine called aurelius. I get the following

Re: net-SNMP on windows getting decryption error

2018-10-28 Thread Mark Christiansen
It would be really nice to get an answer to my question that I posted last Tuesday. I've compiled net-snmp for windows configured to use openSSL. My version 3 access to my remote server aurelius works but it doesn't work with my local server. What have I done wrong in building net-snmp for windows

[PATCH 2/6] libsnmp/transports: Introduce netsnmp_sockaddr_in3() and netsnmp_sockaddr_in6_3()

2018-10-28 Thread Bart Van Assche
Introduce functions for converting Net-SNMP endpoint definitions into struct netsnmp_ep. Calls to these functions will be added in a later patch. --- include/net-snmp/library/snmpIPBaseDomain.h | 18 +++ include/net-snmp/library/snmpIPv4BaseDomain.h | 5 +++

[PATCH 3/6] libsnmp/transports: Change multiple sockaddr_in* arguments into netsnmp_ep

2018-10-28 Thread Bart Van Assche
Make this change for all internal transport functions that will need the network interface information. This patch does not change any functionality. --- include/net-snmp/library/snmpDTLSUDPDomain.h | 4 +- include/net-snmp/library/snmpTCPDomain.h | 4 +-

[PATCH 5/6] libsnmp/transports: Add support for interface binding

2018-10-28 Thread Bart Van Assche
--- include/net-snmp/library/snmpIPBaseDomain.h | 2 + snmplib/transports/snmpIPBaseDomain.c | 41 +++-- snmplib/transports/snmpIPv4BaseDomain.c | 2 + snmplib/transports/snmpIPv6BaseDomain.c | 2 + snmplib/transports/snmpTCPDomain.c | 7

[PATCH 6/6] testing/fulltests/unit-tests: Add netsnmp_parse_ep_str() unit test

2018-10-28 Thread Bart Van Assche
--- testing/fulltests/support/clib_build | 1 + .../T022netsnmp_parse_ep_str_clib.c | 55 +++ 2 files changed, 56 insertions(+) create mode 100644 testing/fulltests/unit-tests/T022netsnmp_parse_ep_str_clib.c diff --git a/testing/fulltests/support/clib_build

[PATCH 0/6] Add support for interface binding

2018-10-28 Thread Bart Van Assche
Hello, As you may have noticed multiple people asked to add SO_BINDTODEVICE support to Net-SNMP. This patch series adds such support by allowing to specify the name of the network interface to bind a Net-SNMP endpoint to as "@". An example: agent/snmpd -Mmibs -f -Lo -c .../snmpd.conf

[PATCH 4/6] configure: Add a test for SO_BINDTODEVICE

2018-10-28 Thread Bart Van Assche
--- configure | 34 +++ configure.d/config_os_misc4 | 15 include/net-snmp/net-snmp-config.h.in | 3 +++ 3 files changed, 52 insertions(+) diff --git a/configure b/configure index 282631f4266e..fe05c50374f0 100755 ---

[PATCH 1/6] libsnmp/transports: Introduce netsnmp_parse_ep_str()

2018-10-28 Thread Bart Van Assche
The only functional change in this patch is that it is now allowed to surround IPv4 addresses and hostnames with square brackets in transport endpoint definitions. --- include/net-snmp/library/snmpIPBaseDomain.h | 16 ++ include/net-snmp/library/snmpIPv4BaseDomain.h | 2 +