473,663 Members | 2,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SNMPV3

Do you have any experience with Python in SNMPv3 area?
I just realized that pySNMP we are using supports only v1 and v2c,
development version probably supports SNMPv3 but I am unable to find any
v3-specific documentation, could you help me?
Is there any other solution than pySNMP?
Dec 6 '05 #1
2 3812
py
the most recent version of PySNMP (like 4.1.x) has SNMP v3 support.
(not sure if its 100% or not...check with developer).

Anyhow I think the documentation explains how to use PySNMP
(http://pysnmp.sourceforge.net/docs/4.1.x/index.html) ....i think the
"interface" is common amongst the different SNMP versions that are
supported by PySNMP. So i think if you use the
CommandGenerato r.nextCmd method...its the same format for snmp v2 and
v3, etc.

It took me a little bit to grasp the API but once I did it works well
(although I am not using SNMP v3)

Dec 6 '05 #2

"Jacek Pop³awski" <jp***@interia. pl> wrote in message
news:dn******** **@atlantis.new s.tpi.pl...
Do you have any experience with Python in SNMPv3 area?
SNMP suck per design and SNMPv3 suck even more by adding complexity to that
design IMO.

SNMPv2 sort of works well within the limits of the design of SNMP, so that
is what I would use.

The main difference between SNMPv2 and SNMPv3 is that v3 comes with a
self-contained security system with it's own rules/tools &
yet-another-set-of-credencials-to-control. If you do not need the security,
SNMPv2 will work fine, and you don't need it because you will not change
anything via SNMP anyway.
I just realized that pySNMP we are using supports only v1 and v2c,
development version probably supports SNMPv3 but I am unable to find any
v3-specific documentation, could you help me?
Not really - I have deployed SNMPv3 in a demo network and gotten a
management system based on SNMPv2 & SNMPv3 to work. This was a long lesson
in how things that are broken by design will remain broken forever.

So, I would not worry about it; informs, polling and probing can be done
adequately with SNMPv2. Most tools do not bother with SNMPv3 either.

Changing configurations by "setting" parameters cannot be made reliable with
SNMP so there is no need for SNMPv3's security features (which are
complicated in themselves and a real pain to manage, probably impossibly so
for more than a few access levels on very few nodes).

SNMPv3 Informs are the worst part: They must be authenticated, which means
that the Username and engineID the trap is sent from must be registered with
the Informsink or the Inform cannot be received. I.O.W: A SMURF attack on
the configuration of the management station (and the manager, who has to
collect/create engineID's manually).

Is there any other solution than pySNMP?


Well, netconf is working it's way through IETF:
http://www.ietf.org/html.charters/netconf-charter.html ;-) Netconf on top of
XML-RPC would be very Pythonic.

It looks like they got most things right this time - especially the parts
about netconf NOT being self-contained so one can build on already-deployed
and debugged protocols and standards!!
Dec 7 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3423
by: Jeremy Sanders | last post by:
Hi - I'd like to write a program which basically does a few snmpgets. I haven't been able to find a python package which gives you a nice high-level and simple way of doing this (like PHP has). Everything appears to be extremely low level. All I need is SNMPv1. Does anyone know of a simple python package for doing this? I'd rather have something written in pure python, so that it is easily cross-platform.
10
10190
by: Bennett F. Dill | last post by:
Hi I'd like help writing a c# console app that can send an SNMP trap. I've seen some documents on writng an SNMP server, but I don't want to receive traps, I only want to send them. Thanks Ben
2
6438
by: acrux14 | last post by:
Hi, I need to poll SNMP variables from Cisco routers using SNMPv3 (security reasons). I'm trying to use the little-documented SNMPv3 functions (see http://us3.php.net/manual/en/ref.snmp.php, where argument lists seem to be truncated, and http://zugeschaut-und-mitgebaut.de/php/function.snmp3_get.html).
1
2583
by: Schroeder, AJ | last post by:
Hello group, I performed binary installs of Net-SNMP and PHP 4.4.4 on my Windows XP laptop so that I can do some offline development/testing away from my Linux server. Anyway, I attempted to do some SNMPv3 gets/sets and I am greeted with "Encryption support not enabled" whenever I try and do any SNMPv3 call. I thought it was Net-SNMP, so I did some googling and found that you need to compile Net-SNMP from scrtach with OpenSSL support...
1
2332
by: chinnakanna | last post by:
hi all, can anyone help me, when i am connecting agent (OS vxworks) and trying to get values from agent it is giving as Unknown user (through MGSOFT mib browser and SNMPc Manager for SNMPv3). Can anyone suggest me? Why i am gettig this problem.
0
8436
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8548
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5657
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.