Handling snmp v3 user authentication manually to implement rate-limiting?

2025-03-10 Thread Janne Paalijarvi
Hello, Background: I have a C/C++ .so agent module for snmpd. It works correctly. However, now I am thinking about making it more resistant to brute-forcing. Lets say I want to block the user if they make 5 failed requests in a row (a naive example). I was thinking about capturing the request du

Re: SNMP v3 user authentication password with pattern problem

2020-07-13 Thread Bernd Eilers
HelloTadas Ivanovas, Yes there is a pattern repetition involved here - but it is not a problem - you just have to think carefully what you choose. This just works exactly as it was designed in the SNMP Specifications, you can find the details about that here: https://tools.ietf.org/html/rf

SNMP v3 user authentication password with pattern problem

2020-07-13 Thread Tadas Ivanovas
Hello, I'm using net-snmp 5.8 with version 3 support. I've noticed that agents can authenticate messages with passwords by pattern only. What I mean is, for example, if I create the user with password "" (12 a's), that agent authenticates with password "" (8 a's). I've tried

Re: Net-SNMP v3 User Administration from custom app

2012-08-23 Thread Wes Hardaker
"Bob O'Neil" writes: > This application also implements an SNMP subagent, so has access to > the running agent through the network connection between them. Well, sort of. SNMP subagents are really there for the master to query the subagent through. There is very little the subagent can ask the

Net-SNMP v3 User Administration from custom app

2012-08-17 Thread Bob O'Neil
I have an application that provides a thin client that will need to allow for manipulating SNMP v3 users for an Net-SNMP agent. This would require listing existing users, deleting existing USM, and modifying user security attributes. This application also implements an SNMP subagent, so has acc

SNMP V3 User not found

2009-12-07 Thread Ali Jawad
Hi All I have a x86 Lenny servers and amd64 Etch servers. I am setting up SNMP V3 on those servers I did run the following command on all servers: /etc/init.d/snmpd stop;net-snmp-config --create-snmpv3-user -ro -a MD5 -A XYZ ZXY;/etc/init.d/snmpd restart Then I run the following test: snmpget

Re: SNMP v3 user password special char support

2008-12-01 Thread Wes Hardaker
> On Mon, 17 Nov 2008 16:29:51 -0800, "Connie Chan" <[EMAIL PROTECTED]> > said: CC> Does anybody have a list on the special char set that netsnmp doesn't CC> support as password? CC> Like can I enter \,/,",?,*,<,>, as password? Yes but you'll need to quote it carefully within the snmpd.

SNMP v3 user password special char support

2008-11-17 Thread Connie Chan
Hi, Does anybody have a list on the special char set that netsnmp doesn't support as password? Like can I enter \,/,",?,*,<,>, as password? Thanks Connie - This SF.Net email is sponsored by the Moblin Your Move Developer

RE: SNMP v3 user

2007-08-30 Thread Adam Bell
/var/snmp.conf for a hashed user entry - wipe it out if you need to. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Ayers Sent: Wednesday, August 29, 2007 3:52 PM To: Mateus Interciso Cc: net-snmp-users@lists.sourceforge.net Subject: RE: SNMP v3

RE: SNMP v3 user

2007-08-29 Thread Mike Ayers
> From: Mateus Interciso [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 29, 2007 11:38 AM > I don't think I have the user, since this is the first time I tryed, > and it gives me the same error with any user I select (even random > leters) I cannot reproduce your problem, so I'm ou

Re: SNMP v3 user

2007-08-29 Thread Mateus Interciso
I don't think I have the user, since this is the first time I tryed, and it gives me the same error with any user I select (even random leters) On 8/29/07, Mike Ayers <[EMAIL PROTECTED]> wrote: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Mateus Interciso > > Sent: We

RE: SNMP v3 user

2007-08-29 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mateus Interciso > Sent: Wednesday, August 29, 2007 7:43 AM > Error in packet. > Reason: inconsistentValue (The set value is illegal or unsupported in > some way) > Failed object: > SNMP-USER-BASED-SM-MIB::usmUserStatus."

SNMP v3 user

2007-08-29 Thread Mateus Interciso
Hello, I'm trying to create a valid rwuser, using V3 of course. I've read the manual on snmpd.conf, and it says I can use a tool named snmpusm, on that manual, it has an example, which I'm trying to make, but I always get an error. The example says to have this lines on the snmpd.conf file rwus

Re: SNMP v3 user chg pwd

2006-03-24 Thread Thomas Anders
[EMAIL PROTECTED] wrote: The entry of createUser initial MD5 setup_passphrase DES present in /usr/local/share/snmp/snmp.conf is equivalent to entry in /var/net-snmp/snmpd.conf ? The entry in /var/net-snmp/ would be encrypted when the snmpd starts running and the password is not visible for an

RE: SNMP v3 user chg pwd

2006-03-23 Thread kanakamahesh.anasuri
Title: RE: SNMP v3 user chg pwd Hello Wes, I have small clarification for the same query. The entry of createUser initial MD5 setup_passphrase DES present in /usr/local/share/snmp/snmp.conf is equivalent to entry in /var/net-snmp/snmpd.conf ? The entry in /var/net-snmp/ would be encrypted

Re: SNMP v3 user chg pwd

2006-03-23 Thread Wes Hardaker
>>>>> On Wed, 15 Mar 2006 18:00:00 -0800, "Connie Chan" <[EMAIL PROTECTED]> >>>>> said: Connie> I can create snmp v3 user by editing snmp.conf Connie> rwuser initial Connie> createUser initial MD5 setup_passphrase DES It turns out that

SNMP v3 user chg pwd

2006-03-15 Thread Connie Chan
Hi, I can create snmp v3 user by editing snmp.conf   rwuser initial createUser initial MD5 setup_passphrase DES   I tried to use snmpusm to change the password of initial and I got the following error msg   #>snmpusm -v3 -u initial  -l authNoPriv -a MD5 -A setup_passphrase  -x DES

Re: SNMP v3 user creation

2005-12-08 Thread Dave Shield
On Wed, 2005-12-07 at 14:07 -0800, Connie Chan wrote: > I would like to create snmp v3 user to access the SNMP stack. > > I tried to use snmpusm to create the user and got the following error: >snmpusm -v 2c -c private snmp-server create USER rwusr No - that won't work.

SNMP v3 user creation

2005-12-08 Thread Connie Chan
Hi all,   I'm new to the net-snmp   I would like to create snmp v3 user to access the SNMP stack.   I tried to use snmpusm to create the user and got the following error: net-snmp-5.2.1.2>apps/snmpusm -v 2c -c private snmp-server create USER rwusrError in packet.Reason: noCreati