Re: ftplib connection fails with multiple nics

2009-10-19 Thread Shantanu Joshi
Sean DiZazzo writes: > On Oct 16, 4:51 pm, Sean DiZazzo wrote: >> Hi all, >> >> I'm trying to connect to an ftp site from a windows machine with two >> nics going to two different networks, but I keep getting the below >> exception: >> >> Traceback (most recent call last): >>   File "ftp.pyo", l

Re: udp package header

2009-03-23 Thread Shantanu Joshi
mete writes: > Hi all, > I got a problem. İ want to send udp package and get this package (server and > clinet ). it's easy to python but i want to look the udp header how can i > do ? Check out Scapy (http://www.secdev.org/projects/scapy/). -- http://mail.python.org/mailman/listinfo/python-li

Re: Translating pysnmp oids to human readable strings

2009-03-09 Thread Shantanu Joshi
SpamMePlease PleasePlease writes: > On Fri, Mar 6, 2009 at 2:14 PM, Shantanu Joshi wrote: >> >> SpamMePlease PleasePlease writes: >> > .. snip > > The thing is that I have copied the file (as you may see, I did 'ls > -lA' on it. If the file wasnt the

Re: Translating pysnmp oids to human readable strings

2009-03-06 Thread Shantanu Joshi
SpamMePlease PleasePlease writes: > > I actually tried to load the new file with following code: > > print builder.MibBuilder().getMibPath() > mibBuilder = builder.MibBuilder().loadModules('jnx-bgpmib2') > > but I am experiencing the error: > > rivendell # python snmp.py > ('/usr/lib/python2.4/s

Re: Translating pysnmp oids to human readable strings

2009-03-06 Thread Shantanu Joshi
SpamMePlease PleasePlease writes: > On Fri, Mar 6, 2009 at 6:56 AM, Shantanu Joshi wrote: >> You need to parse the MIB file to get the human-readable names >> corresponding to the OIDs. The pysnmp library already provides this >> functionality. I haven't used this fe

Re: Translating pysnmp oids to human readable strings

2009-03-05 Thread Shantanu Joshi
You need to parse the MIB file to get the human-readable names corresponding to the OIDs. The pysnmp library already provides this functionality. I haven't used this feature myself (I mainly use pysnmp to automate SNMP walk requests, like the one in your code), but the documentation at found the be