Re: encryption sample

2004-11-04 Thread Coders
On Thu, 4 Nov 2004 17:25:33 +0100 (MET) Sven wrote: SJ> Hmm, i have tried it, and its still possible to access with v2c. What version are you using? SJ> now my snmpd.conf-File has only the following lines: Are you sure that is the only file being read? Try this: snmpd -f -Le -Dread_conf

Re: encryption sample

2004-11-04 Thread Wes Hardaker
> On Thu, 4 Nov 2004 17:01:39 +0100 (MET), "Sven Jonas" <[EMAIL PROTECTED]> said: Sven> Yes, i have looked at the snmpdemoapp.c. In this demo-App the Sven> Security-Level is AUTHNOPRIV. But i would like to use Sven> AUTHPRIV. Which additionally functions do i have to call. Or do Sven> i only

Re: encryption sample

2004-11-04 Thread Sven Jonas
> SJ> My snmpd.conf-File looks like this: > SJ> > SJ> com2sec local localhost public > SJ> group MyRWGroup usmlocal > SJ> view all included .1 80 > SJ> access MyRWGroup "" any priv exact allallnone > SJ> > SJ> I think, this shouldn't allow v2c to access my variable

Re: encryption sample

2004-11-04 Thread Sven Jonas
Yes. com2sec is 'community to security', and communities are v1/v2c. Ok, than i will correct this. > SJ> And do you know, which functions i have to call addittionally to the > SJ> function in snmpdemapp.c to encrypt my setting of variables when i use > the > SJ> snmp-api? > > Have you looked at

Re: encryption sample

2004-11-04 Thread Coders
On Thu, 4 Nov 2004 14:26:54 +0100 (MET) Sven wrote: SJ> thank you for your support, but your solution did not solve the Problem. SJ> My snmpd.conf-File looks like this: SJ> SJ> com2sec local localhost public SJ> group MyRWGroup usmlocal SJ> view all included .1 80 SJ> access MyRWGroup

RE: encryption sample

2004-11-04 Thread Sven Jonas
should work , better is group/view/access modell, so u can disallow > v1/2c. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Sven > Jonas > Sent: Donnerstag, 4. November 2004 12:07 > To: [EMAIL PROTECTED] > Subject: encrypti

encryption sample

2004-11-04 Thread Sven Jonas
Hello, i would like to use snmpv3 with Sec-Level authPriv. Are there any api-Samples available? Because, the snmpdemoapp.c - Sample uses only SNMP_SEC_LEVEL_AUTHNOPRIV. I think, only setting session.securityLevel = SNMP_SEC_LEVEL_AUTHPRIV and calling the function generate_Ku isn't enough for enc