Re: trap changes made for VRF

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Joan,

Please try the following:

git clone [email protected]:net-snmp/net-snmp.git
&&

cd net-snmp &&

git checkout V5-9-patches &&

for c in b3dd62016170
5d61e9367200 02de400544de dc3194eaecb4 \ 3ca90c2c1260; do git
revert --no-edit $c || break; done

and next build, install and test
Net-SNMP.

Thanks,

Bart.

On 1/12/21 11:50 AM, Joan Landry wrote:

Please tell me where to find these patches
– links please.

Thanks

From: Bart Van Assche
<[email protected]>

Sent: Saturday, January 9, 2021 5:47 PM

To: Joan Landry <[email protected]> ;
[email protected]

Cc: [email protected]

Subject: Re: trap changes made for VRF

----------

Hi Joan,

Pre-existing functionality should not
have been affected by adding VRF support. That probably was
an unintended side effect. Can you revert the following
patches and verify whether that is sufficient to restore
previous functionality?

-
b3dd62016170 ("libsnmp, UDP: Only display VRF debug
messages if relevant")

-
5d61e9367200 ("snmplib, UDP transport: Do not compare
array pointers against NULL")

-
02de400544de ("libsnmp: Set Linux VRF iface on Trap sink
IP addresses")

-
3ca90c2c1260 ("libsnmp/transports/UDP: Add support for
VRF")

Thanks,

Bart.

On 1/6/21 11:33 PM, Joan Landry wrote:

Can you please also explain why the
pre-existing functionality of clientaddr x.x.x.x:port – no
longer works

and what I need to do to get it to work
again?

Also, where should I look for this patch
– and any idea on when it might be available?

Thanks,

Joan

From: Bart Van Assche <[email protected]>

Sent: Wednesday, January 6, 2021 11:28 PM

To: [email protected]

Cc: Joan Landry <[email protected]> ;
[email protected]

Subject: Re: trap changes made for VRF

External
email:

----------

Hi Sam,

Can you submit a patch that documents
how to use the changes in the following two commits:

*
02de400544de ("libsnmp: Set Linux VRF iface on Trap sink
IP addresses")

* 3ca90c2c1260 ("libsnmp/transports/UDP: Add support for
VRF")

Thanks,

Bart.

On 1/6/21 12:39 PM, Joan Landry wrote:

Can someone please provide a link to
the documentation that describes how to get rc =
netsnmp_bindtodevice(t->sock, ep->iface);

to work – apparently the code that
sends traps has been redesigned significantly in that
NETSNMP_DS_LIB_CLIENT_ADDR no longer works as use to.

What is the change in snmpd.conf that
makes this work apparently clientaddr x.x.x.x:port – no
longer works as it used to.

I have not been able to locate any
documentation on these changes or how to set the VRF
interface or how to allow the code to set an ipaddress and
port using NETSNMP_DS_LIB_CLIENT_ADDR

Any info on this would be greatly
appreciated.

Please
see our privacy statement at
https://www.adva.com/en/about-us/legal/privacy-statement
for details of how ADVA processes personal information.

Please see our
privacy statement at
https://www.adva.com/en/about-us/legal/privacy-statement for
details of how ADVA processes personal information.

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.