Hello,

I've built net-snmp 5.7.1 for powerpc linux (eldk 5.1).
I've configured it with the following line:


./configure --host=powerpc-linux --build=i686-pc-linux-gnu
--target=ppc-denx-linux --program-prefix= --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include/net-snmp --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --with-endianness=big
--disable-privacy --disable-des --disable-md5 --disable-debugging
--disable-snmpv1 --without-openssl --without-rpm --disable-embedded-perl
--with-perl-modules=no --disable-manuals --disable-scripts --disable-mibs
--disable-mib-loading --disable-applications --disable-deprecated
--enable-mini-agent --with-out-transports="TCP Callback Unix Alias"
--with-default-snmp-version="2c" --enable-shared --with-cflags="-O2
-fsigned-char" --with-ldflags= --with-logfile=/var/log/snmpd.log
--with-persistent-directory=/var/net-snmp
--with-out-mib-modules="examples/ucdDemoPublic snmpv3mibs mibII/vacm
mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars
mibII/vacm_conf" --with-pic --with-mib-modules="shaon_amid"
--with-sys-location="x" --with-sys-contact=a...@a.com

I want it to be as light as possible so I've included my own MIB only.

The problem is, that the agent answers to all requests regardless of the
community string, whether it is right or wrong.
this is my snmpd.conf

#############################################################################################
# snmpd.conf
#############################################################################################

agentaddress udp:161

com2sec wsReadOnlyUser  default         public
com2sec wsReadWriteUser default         private

group   wsReadOnlyGroup  v2c             wsReadOnlyUser
group   wsReadWriteGroup v2c             wsReadWriteUser

view    all         included     .1

access  wsReadOnlyGroup    ""      any       noauth    exact  all
none       none
access  wsReadWriteGroup   ""      any       noauth    exact  all
all        none

trap2sink 10.0.0.1
trap2sink 10.0.0.2

sysDesc xxx
sysLocation xxx
sysContact xxx



Best Regards,
George Rubin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to