host.deny

"Mayuresh Janorkar" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
  
Thanks for that information.

I have /etc/host.allow file on the same system as the SNMP Agent.
So I will write a new MIB and will add object ids as per the requirements. I will also write code to implement this MIB.


But now the problem is :

I added

ALL:ALL

in /etc/host.deny file (using KWrite or vi-editor) present on agent's system and commented remaining lines in the file.
So now it must block localhost from accessing any OIDs. The snmpget command should time-out.
But I can still do snmpget on the agent's machine, it is giving expected results and there is absolutely no error for accesing any existing OIDs.
Why is this happening?

The Linux that I am using is OpenSuse 10.2 (32-bit).

I tried restarting firewall from Yast but the problem persists.

-Mayuresh

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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.