Daniel Stewart
2008-04-02 14:16:53 UTC
I have opted to go for Ubuntu in order to try to get this working.
I am at the same stage as before though, i can snmpwalk the firewall using version 1 but with version 3 i still get -
"snmpwalk: No securityName specified"
This is dispite me following the snmpconf command line tutorial and going through the "http://net-snmp.sourceforge.net/docs/README.snmpv3.html" readme.
Something has gone wrong somewhere.
My snmpd.conf file within /usr/local/share/snmp contains the following: (Spam warning)
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
##########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rwuser fred auth
# rouser: a SNMPv3 read-only user
# arguments: user [noauth|auth|priv] [restriction_oid]
rouser sally auth
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]
rocommunity public
# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
# arguments: community [default|hostname|network/bits] [oid]
rwcommunity private 127.0.0.1
###########################################################################
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.
# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string
syslocation home
# syscontact: The contact information for the administrator
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysContact.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: contact_string
syscontact 1337
###########################################################################
# SECTION: Trap Destinations
#
# Here we define who the agent will send traps to.
# informsink: A SNMPv2c inform (acknowledged trap) receiver
# arguments: host [community] [portnum]
informsink PIX
# trapcommunity: Default trap sink community to use
# arguments: community-string
trapcommunity .1.3.6.1.4.1.8072
# authtrapenable: Should we send traps when authentication failures occur
# arguments: 1 | 2 (1 = yes, 2 = no)
authtrapenable 1
###########################################################################
Any help on this problem is appreciated - Was up all night trying to send an SNMPv3 packet.
Thanks in advance.
Daniel
________________________________
0000
Win 100s of Virgin Experience days with BigSnapSearch.com
http://www.bigsnapsearch.com
I am at the same stage as before though, i can snmpwalk the firewall using version 1 but with version 3 i still get -
"snmpwalk: No securityName specified"
This is dispite me following the snmpconf command line tutorial and going through the "http://net-snmp.sourceforge.net/docs/README.snmpv3.html" readme.
Something has gone wrong somewhere.
My snmpd.conf file within /usr/local/share/snmp contains the following: (Spam warning)
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
##########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rwuser: a SNMPv3 read-write user
# arguments: user [noauth|auth|priv] [restriction_oid]
rwuser fred auth
# rouser: a SNMPv3 read-only user
# arguments: user [noauth|auth|priv] [restriction_oid]
rouser sally auth
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]
rocommunity public
# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
# arguments: community [default|hostname|network/bits] [oid]
rwcommunity private 127.0.0.1
###########################################################################
# SECTION: System Information Setup
#
# This section defines some of the information reported in
# the "system" mib group in the mibII tree.
# syslocation: The [typically physical] location of the system.
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysLocation.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: location_string
syslocation home
# syscontact: The contact information for the administrator
# Note that setting this value here means that when trying to
# perform an snmp SET operation to the sysContact.0 variable will make
# the agent return the "notWritable" error code. IE, including
# this token in the snmpd.conf file will disable write access to
# the variable.
# arguments: contact_string
syscontact 1337
###########################################################################
# SECTION: Trap Destinations
#
# Here we define who the agent will send traps to.
# informsink: A SNMPv2c inform (acknowledged trap) receiver
# arguments: host [community] [portnum]
informsink PIX
# trapcommunity: Default trap sink community to use
# arguments: community-string
trapcommunity .1.3.6.1.4.1.8072
# authtrapenable: Should we send traps when authentication failures occur
# arguments: 1 | 2 (1 = yes, 2 = no)
authtrapenable 1
###########################################################################
Any help on this problem is appreciated - Was up all night trying to send an SNMPv3 packet.
Thanks in advance.
Daniel
________________________________
0000
*First time user question*
I currently have net-snmp-5.4.1-3.win32.exe installed and i am trying to send an SNMP version 3 packet to a firewall for test purposes - by using the snmpwalk command.
snmpwalk version 1 walks work fine - (snmpwalk -c public -v 1 192.168.3.1) and it returns an array of data.
However I am trying to use snmpv3 - when i do "snmpwalk -c public -v 3 192.168.3.1" It returns "snmpwalk: No securityName specified".
I tried putting;
createUser netadmin MD5 "netadminpassword" DES
rouser netadmin
Into the snmp.conf file (C:/usr/etc/snmp/snmp.conf file) but the command line just returns "Unknown Token: CreateUser, Unknown Token:rouser ". I have no snmpd.conf file that i can find and following the initial user setup tutorials i cant seem to begin to get this working.
________________________________
_________________________________________________________________I currently have net-snmp-5.4.1-3.win32.exe installed and i am trying to send an SNMP version 3 packet to a firewall for test purposes - by using the snmpwalk command.
snmpwalk version 1 walks work fine - (snmpwalk -c public -v 1 192.168.3.1) and it returns an array of data.
However I am trying to use snmpv3 - when i do "snmpwalk -c public -v 3 192.168.3.1" It returns "snmpwalk: No securityName specified".
I tried putting;
createUser netadmin MD5 "netadminpassword" DES
rouser netadmin
Into the snmp.conf file (C:/usr/etc/snmp/snmp.conf file) but the command line just returns "Unknown Token: CreateUser, Unknown Token:rouser ". I have no snmpd.conf file that i can find and following the initial user setup tutorials i cant seem to begin to get this working.
________________________________
Win 100s of Virgin Experience days with BigSnapSearch.com
http://www.bigsnapsearch.com