How to block GET requests read some OIDs

700 grm <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAGKtXp1TCP-K8JS3HG9-OhL5QVs0Ed7eKmW03oo99rrGxtdDpQ@mail.gmail.com>
Hi,

Below is my snmpd.conf, which works perfectly, what I am trying to do is to
block SNMP GETs to read some OIDs on the server, for example:
allow GET everything except OIDs Starting with:  .1.3.6.1.2.1.4.20.1.4.10.


com2sec notConfigUser  default  public
group   notConfigGroup v2c      notConfigUser
view    allview       included   .1
access  notConfigGroup ""      any       noauth    exact  allview none none

createUser myUser MD5 dsfdsdfddfdfsdfdas DES   ynUBZVceSeujkcxxjm
  fgsdfgfdsgfdsgfsdgdfs
rouser myUser noauth
agentSecName myUser
iquerySecName myUser

defaultMonitors yes
linkUpDownNotifications yes



I appreciate any help

700grm

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