net-snmp-5.4.1 tcp wrappers

Brian Kroth <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm running into a problem with the upgrade of net-snmp from 5.4 to 5.4.1-r1 and my
hosts.allow, hosts.deny files.

With <= 5.4 I've used these hosts.* files:

hosts.allow (other sections excluded):

	snmpd : monitoring_hosts_ip

hosts.deny (this is the whole file):

	ALL : ALL EXCEPT localhost

This worked fine until 5.4.1.  With this version I get connection refused
messages unless I set the hosts.* files to one of these two combinations:

1) 
hosts.allow:
	snmpd : monitoring_hosts_ip serving_hosts_ip

hosts.deny:
	ALL : ALL EXCEPT localhost

2) 
hosts.allow:
	snmpd : monitoring_hosts_ip

hosts.deny:
	ALL EXCEPT snmpd : ALL EXCEPT localhost


From hosts_access(5) I see the following:

o      Access  will  be  granted when a (daemon,client) pair matches an entry in
              the /etc/hosts.allow file.

o      Otherwise, access will be denied when a (daemon,client) pair  matches  an
              entry in the /etc/hosts.deny file.

o      Otherwise, access will be granted.


From this, I think that the original example should work as it did before.  Any
thoughts?

Thanks,
Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
smime.p7s (application/x-pkcs7-signature, 2.1 KB) - not displayed
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.