Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Thomas Anders
Wes Hardaker wrote: > Certainly we may have just upped the requirements for > minimal perl version, but I don't see an alternative. Agreed. I'd vote to apply to 5.[0123].x (which you may have started to do anyway). +Thomas --- This SF.Net ema

Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Wes Hardaker
> On Mon, 23 May 2005 19:59:28 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> Even better, of course. Thanks for taking the time. While Thomas> File::Temp is part of Perl core nowadays, what about earlier Thomas> Perl versions that lack File::Temp::tempfile by default? Thomas> W

Re: getting rid of strtok: leftover in perl/SNMP/SNMP.xs [patch]

2005-05-23 Thread Wes Hardaker
> On Mon, 23 May 2005 14:52:02 +0200, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> now that strtok should have been replaced by strtok_r in all Thomas> 5.[123].x code, I noticed that there are still some Thomas> occurrences of strtok() in perl/SNMP/SNMP.xs. I've applied this to the

Re: Possible Spam: Re: SNMP query

2005-05-23 Thread John Hardin
Wes Hardaker wrote: On Wed, 18 May 2005 15:03:46 +0100 (BST), shrikanth <[EMAIL PROTECTED]> said: shrikanth> Right now i am in to a project to develop an application shrikanth> titled "Network Topology discovery" using SNMP protocol.As shrikanth> part of the discovery my applicati

Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Thomas Anders
Wes Hardaker wrote: > Proposal: [...] > +use File::Temp qw(tempfile); Even better, of course. Thanks for taking the time. While File::Temp is part of Perl core nowadays, what about earlier Perl versions that lack File::Temp::tempfile by default? What's the minimum Perl version we require anyway?

Re: SNMP query

2005-05-23 Thread Wes Hardaker
> On Wed, 18 May 2005 15:03:46 +0100 (BST), shrikanth <[EMAIL PROTECTED]> > said: shrikanth> Right now i am in to a project to develop an application shrikanth> titled "Network Topology discovery" using SNMP protocol.As shrikanth> part of the discovery my application should discover the s

Re: snmpv3 Decryption error with net-snmp 5.2.1

2005-05-23 Thread Wes Hardaker
> On Mon, 23 May 2005 10:26:58 +0200, Stage Iup - Fabrice & Frédéric > <[EMAIL PROTECTED]> said: Stage> I use net-snmp 5.2.1, i have created a snmpv3 user with : Stage> net-snmp-config --create-snmpv3-user -ro -x mypassword -X DES Stage> -A MD5 myuser It looks like you're missing a -a fl

Re: Ask about Tunnel Mib

2005-05-23 Thread Wes Hardaker
> On Mon, 16 May 2005 19:17:30 -0700 (PDT), ho minh tri <[EMAIL PROTECTED]> > said: ho> I am investigating about Tunnel Mib in snmp daemon. I ho> had 2 problems about OID tunnelIfEncapsMethod and ho> tunnelIfSecurity. ho> About tunnelIfEncapsMethod, I don't know how about UDP ho> encap

Re: Peername in snmp-seesion object

2005-05-23 Thread Wes Hardaker
> On Fri, 20 May 2005 15:27:52 -0700, Rajeswari Natarajan <[EMAIL > PROTECTED]> said: Rajeswari> We use net-snmp 5.0.9 version to develop our snmp Rajeswari> manager.When the trap is received ,looks like peername is Rajeswari> snmp-session object is not getting populated.Has any one Rajes

Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Wes Hardaker
> On Mon, 23 May 2005 13:15:27 -0400, Alex Burger <[EMAIL PROTECTED]> said: Alex> How about using Perl's mkstemp() instead? It is part of File::Temp. Alex> http://perldoc.perl.org/File/Temp.html Proposal: Objections? Index: fixproc =

Re: security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Alex Burger
Hi Thomas. How about using Perl's mkstemp() instead? It is part of File::Temp. http://perldoc.perl.org/File/Temp.html Alex Thomas Anders wrote: -Coders, I've proposed a fix for the fixproc security issue reported as bug 1203376: http://sf.net/tracker/index.php?func=detail&aid=1203376&grou

RE: Peername in snmp-seesion object

2005-05-23 Thread Rajeswari Natarajan
Title: RE: Peername in snmp-seesion object Hi ,    Can you please let us know ,how to get peer information when receiving trap.We use net-snmp 5.0.19 to build the Snmp manager. Thanks in advance, Rajeswari -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED]] Sent: Sa

security fix for local/fixproc (Bug 1203376)

2005-05-23 Thread Thomas Anders
-Coders, I've proposed a fix for the fixproc security issue reported as bug 1203376: http://sf.net/tracker/index.php?func=detail&aid=1203376&group_id=12694&atid=112694 Hopefully this can be integrated before releasing 5.0.10 and friends. +Thomas -- Thomas Anders (thomas.anders at blue-cable.

RE: "too many textual conventions" MIB error

2005-05-23 Thread Friedman, Boris A (Boris)
Robert, Thanks! We found out that we had an earlier version of the code with 1024. We increased it to 16384 to make sure we do not run out again. I appreciate a quick response. Thanks Boris -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 12:

Re: getting rid of strtok: leftover in perl/SNMP/SNMP.xs [patch]

2005-05-23 Thread Robert Story
On Mon, 23 May 2005 14:52:02 +0200 Thomas wrote: TA> now that strtok should have been replaced by strtok_r in all 5.[123].x TA> code, I noticed that there are still some occurrences of strtok() in TA> perl/SNMP/SNMP.xs. TA> TA> I've updated patch tracker item #1040330 accordingly. Since SF doesn't

getting rid of strtok: leftover in perl/SNMP/SNMP.xs [patch]

2005-05-23 Thread Thomas Anders
-Coders, now that strtok should have been replaced by strtok_r in all 5.[123].x code, I noticed that there are still some occurrences of strtok() in perl/SNMP/SNMP.xs. I've updated patch tracker item #1040330 accordingly. Since SF doesn't allow me to attach the patch there, please find it att

Re: requesting help

2005-05-23 Thread Dave Shield
On Mon, 2005-05-23 at 16:15, 02MCMC43-mca-Yirdaw Gashaw wrote: > I use net_snmp_5.2.1, I have implemented a table using table iterator > method. But the cache is not working properly. I added > > netsnmp_inject_handler(reg, netsnmp_get_cache_handler(CACHE_TIMEOUT, >readDa

Re: newline patch for snmp_debug.c

2005-05-23 Thread Thomas Anders
Robert Story wrote: On Fri, 20 May 2005 15:36:16 +0200 Thomas wrote: TA> here's a little patch (against 5.3) that properly adds "\n" to some of the TA> snmp_log debug output. Otherwise, output is much harder to read. Please TA> apply. Patches should be submitted to the patches database. That w

requesting help

2005-05-23 Thread 02MCMC43-mca-Yirdaw Gashaw
Hi all I use net_snmp_5.2.1, I have implemented a table using table iterator method. But the cache is not working properly. I added netsnmp_inject_handler(reg, netsnmp_get_cache_handler(CACHE_TIMEOUT, readData, storeData, table_oid, table_oid_len)) in "init_myModule" rout

Re: net-snmp 5.0.8 - not able to get trap, my problem?

2005-05-23 Thread Dave Shield
On Sat, 2005-05-21 at 16:33, Robert Story wrote: > A new 'transport' system was introduced in the 5.0 line, and it works a little > differently. Take a look at what snmptrapd.c does to open the trap port, and > mimic that instead. In particular, you probably need to use snmp_session_data.

RE: Adding new row in MIB table using API

2005-05-23 Thread Dave Shield
On Fri, 2005-05-20 at 18:40, James Hardin wrote: > I don't have a specific table in mind. I just wanted to see a > general example using the UCD-SNMP API for: > > - creating a new row in a table using the "entryStatus" variable > in SNMPv1 > - creating a new row in a table using the "rowStatus"

snmpv3 Decryption error with net-snmp 5.2.1

2005-05-23 Thread Stage Iup - Fabrice & Frédéric
Hi all I use net-snmp 5.2.1, i have created a snmpv3 user with : net-snmp-config --create-snmpv3-user -ro -x mypassword -X DES -A MD5 myuser and when I want to send this request at the agent : snmpget -v 3 -u myuser -l authPriv -a MD5 -A mypassword -x DES -X mypassword localhost sysUpTime.