LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-06-2015, 01:57 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 128

Rep: Reputation: 6
Question Make net-snmp to walk only for 2 subtrees


Hello,

I need a setup net-snmp to allow for user "myuser" walking only for 2 MIBs subtree.

In snmpd.conf I put the follwong line:

Code:
rwuser  myuser auth .1.3.6.1.2.1.10  .1.3.6.1.2.1.15
But it looks like this line is wrong. Is any way to say snmpd allow to user see only two OIDs?
 
Old 11-06-2015, 03:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
1)First of all, only SNMPv3 support this kind of authentication.
2)Do you try follow format
rwuser myuser auth .1.3.6.1.2.1.10
rwuser myuser auth .1.3.6.1.2.1.15
 
Old 11-09-2015, 02:09 AM   #3
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 128

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by nini09 View Post
1)
2)Do you try follow format
rwuser myuser auth .1.3.6.1.2.1.10
rwuser myuser auth .1.3.6.1.2.1.15
Yes, the actual only the latest one
 
Old 11-09-2015, 03:09 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,861

Rep: Reputation: 162Reputation: 162
Then, you can use VACM configuration to make complicated included and excluded list.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NET-SNMP make fails dharm_sk Linux - Software 10 11-18-2015 09:06 PM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 07:34 PM
snmp cant walk...??!! didar.sust Linux - Software 2 09-14-2008 04:14 AM
snmp(walk) port range gummimann Linux - Networking 3 01-16-2004 07:01 AM
snmp(walk) port range gummimann Linux - Security 1 01-15-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration