On 12/22/2010 03:42 AM, Bill Fenner wrote:
On Wed, Dec 15, 2010 at 4:28 AM, Jan Safranek<jsafr...@redhat.com> wrote:On 12/13/2010 11:21 PM, Robert Story wrote:On Mon, 13 Dec 2010 11:16:54 -0500 Bill wrote: BF> I'm not sure what to suggest as a solution. For those who use BF> net-snmp as the agent on a router, where asymmetric routing like this BF> is very common, this black hole for the responses is a real problem. IMHO, support for asymmetric routing is more important that supporting broadcast queries.Well, I'd like to have working both, I have many customers who require responses to broadcast packets and other really weird stuff.Do you have a tool to generate these broadcasts and other really weird stuff? (In case you weren't aware, the net-snmp command line tools can not send broadcasts.) If so, would you please consider trying my suggested solution, which I believe works properly both for my scenario and yours?
Using attached tool, I've (finally) tested that your patch seems to work as expected and 1) snmpd sends responses to unicast requests on the same interface where the request was received. 2) snmpd responds to broadcast requests and it seems it also uses the right interface, i.e. having a machine with two intefaces facing the same network, broadcast arrives to both of them and both send also a response). Dunno what it can be good for, but it should not do any harm.
Thanks a lot for your patch! Jan
snmpget.pl
Description: Perl program
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders