Re: Support for SNMP source trap address

2019-09-30 Thread Bill Fenner
You should be able to cherry-pick git commit 06a02b7c708c1ea2bf67e59c333001e8ce128dff . Or if you are using -s (not clientaddr), you may be able to specify ":0" at the end of the address. If ":0" does not work you can pick a port number, ":38471", but then of course you lose the ability of the sy

Re: Support for SNMP source trap address

2019-09-29 Thread Nitin Samuel
Thanks again Bill... But what do you suggest as a workaround until 5.8.1 is out ? Is there a patch that I can take as a fix ? Regards, Nitin On Sun, Sep 29, 2019 at 8:58 PM Bill Fenner wrote: > On Fri, Sep 27, 2019 at 2:28 PM Nitin Samuel wrote: > >> Thanks Bill, >> Yet another query.

Re: Support for SNMP source trap address

2019-09-29 Thread Bill Fenner
On Fri, Sep 27, 2019 at 2:28 PM Nitin Samuel wrote: > Thanks Bill, > Yet another query...sorry to bother you again. > Why am I seeing traps from port 161 on 5.8 version, whereas 5.7.3 > traps are from ephemeral ports ? > This is a bug in 5.8. It will be fixed in 5.8.1. Bill _

Re: Support for SNMP source trap address

2019-09-27 Thread Nitin Samuel
Thanks Bill, Yet another query...sorry to bother you again. Why am I seeing traps from port 161 on 5.8 version, whereas 5.7.3 traps are from ephemeral ports ? 13:20:20.565905 IP 192.168.0.206.161 > 192.168.0.60.162: V2Trap(131) .1.3.6.1.2.1.1.3.0=10278 .1.3.6.1.6.3.1.1.4.1.0=.1.

Re: Support for SNMP source trap address

2019-09-27 Thread Bill Fenner
Yes, the clientaddr is used if a given entry does not have an -s option. Bill On Fri, Sep 27, 2019 at 2:40 AM Nitin Samuel wrote: > Hi Bill, > Would you know if the ' [snmp] clientaddr ' token will continue > to be honored in 5.8, though some trapsess/trap2sink entries could also >

Re: Support for SNMP source trap address

2019-09-26 Thread Nitin Samuel
Hi Bill, Would you know if the ' [snmp] clientaddr ' token will continue to be honored in 5.8, though some trapsess/trap2sink entries could also have a ' -s <>' option ? Thanks, NitinVS On Sun, Sep 8, 2019 at 10:45 PM Nitin Samuel wrote: > Thanks Bill. > > So in 5.8, if I have [snmp]

Re: Support for SNMP source trap address

2019-09-11 Thread Bill Fenner
-s on trapsess lines will override clientaddr. Bill On Sun, Sep 8, 2019 at 1:15 PM Nitin Samuel wrote: > Thanks Bill. > > So in 5.8, if I have [snmp] clientaddr <> at the top, followed later by > a few trapsess hosts but one of which has the new '-s <>' option, will > clientaddr token be

Re: Support for SNMP source trap address

2019-09-11 Thread Bill Fenner
enaddr in snmp.conf .but it is > not working with snmpd.conf > > Does any extra changes required ? > > > Thanks, > Chandra. > Get Outlook for Android <https://aka.ms/ghei36> > > > > From: Bill Fenner > Sent: Sunday, 8 September, 16:20 > Subje

Re: Support for SNMP source trap address

2019-09-08 Thread Nitin Samuel
Thanks Bill. So in 5.8, if I have [snmp] clientaddr <> at the top, followed later by a few trapsess hosts but one of which has the new '-s <>' option, will clientaddr token be honored for this trap host ? On Sun, Sep 8, 2019 at 4:21 PM Bill Fenner wrote: > On Fri, Sep 6, 2019 at 4:56 PM Chi

Re: Support for SNMP source trap address

2019-09-08 Thread Bill Fenner
On Fri, Sep 6, 2019 at 4:56 PM Chinnapareddygari, Chandrasekharreddy < chandrasekharreddy.chinnapareddyg...@hpe.com> wrote: > I am using net-snmp 5.7.2 in my project..I want to use SNMP trap source > as user configured IP address. > How can I achieve this ? > In 5.7.2 you can use the “clientaddr