Freenode?

2021-05-27 Thread Steve Friedl
strong opinion one way or another. Steve --- Steve Friedl // Software & Network Security Consultant // 714-345-4571 st...@unixwiz.net // Southern California USA // I speak for me only ___ Net-snmp-coders mailing list Net-snmp-coder

RE: Summary of meeting between NET-SNMP devs and ICEI

2018-04-25 Thread Steve Friedl
Wow, these are names from the past; I find it hard to believe there is any legitimate need to support these going forward. Steve - who's ported to almost all of those platforms -Original Message- From: Eric S. Raymond [mailto:e...@thyrsus.com] Sent: Wednesday, April 25, 2018 8:25 PM To:

RE: C99 (was: Re: Fix patch for SF bug 2833)

2018-03-22 Thread Steve Friedl
net-snmp is expected to build on Windows, which gpsd does not; it's not clear how much this impacts compiler choice. -Original Message- From: Eric S. Raymond [mailto:e...@thyrsus.com] Sent: Thursday, March 22, 2018 10:32 AM To: Bill Fenner Cc: Net-SNMP Coders Subject: C99 (was: Re: Fix

RE: Access the SNMP Counters without increasing them

2013-05-03 Thread Steve Friedl
You probably can’t; these stats are maintained within the SNMP agent in a static array (defined in snmplib/snmp_api.c, and there’s no programmatic access to it other than through the agent interface that’s going to increment the counters. From: Gustav Evertsson [mailto:m...@guzzzt.com] Sent

RE: tcpdump for snmp packets

2011-10-17 Thread Steve Friedl
What does "not work" mean? From: Ravi Kumar [mailto:mynets...@gmail.com] Sent: Monday, October 17, 2011 5:07 AM To: net-snmp-coders Subject: tcpdump for snmp packets Hi All, Can any one tell me how can i filter snmp packets using tcpdump ? Following command does not work from me. tcpdump

RE: RFV: Disk calculation overflow

2011-09-22 Thread Steve Friedl
er 22, 2011 2:39 PM To: Niels Baggesen; Steve Friedl Cc: Net-SNMP coders Subject: Re: RFV: Disk calculation overflow On 22 September 2011 22:21, Steve Friedl wrote: > No, the variable it's dividing is long long - the missing dot was an > error in posting the patch (though I did all the

RE: RFV: Disk calculation overflow

2011-09-22 Thread Steve Friedl
No, the variable it's dividing is long long - the missing dot was an error in posting the patch (though I did all the testing with the right way). Changing it from 100 to 100.0 would be a great plan. Steve -Original Message- From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Sent: Th

RE: RFV: Disk calculation overflow

2011-09-14 Thread Steve Friedl
> [is waiting for a patch] Submitted; #3409692 Steve -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Wednesday, September 14, 2011 4:23 PM To: Steve Friedl Cc: 'Bart Van Assche'; 'Dave Shield'; 'Net-SNMP coders' S

Re: IPv6

2011-09-12 Thread Steve Friedl
On Mon, Sep 12, 2011 at 03:42:38PM +0200, Martin Knappe wrote: > I have a very general question for a start. It seems to me that IPv6 > connectivity is not currently supported by net-snmp, is that correct? > I was not able to: > > 1) set up the snmp-agent to listen on v6-addresses and respond to r

RE: RFV: Disk calculation overflow

2011-09-02 Thread Steve Friedl
Hello all, Isn't the better approach just to use floating point, which handles all the scaling and stuff automatically, as well as making rounding really simple? The fact that it's taken us a couple of at-bats to find the right solution that avoids integer under/overflow and divide by zero sugg

RE: Which error code to choose?

2011-06-06 Thread Steve Friedl
Robert Story wrote: > sorry for the delay, I took a little vacation. Hmmm, I don't remember +3 votes for any vacation - did I miss something? :-) -- Simplify data backup and recovery for your virtual environment with vR

RE: unable to run snmpd as non-root user

2011-03-28 Thread Steve Friedl
s the path? What if you "sudo bash" and then run it directly that way? -Original Message- From: Ravi Kumar [mailto:mynets...@gmail.com] Sent: Monday, March 28, 2011 10:37 AM To: Steve Friedl Cc: net-snmp-coders Subject: Re: unable to run snmpd as non-root user snmpd quits. as soon

RE: unable to run snmpd as non-root user

2011-03-28 Thread Steve Friedl
What does "unable" mean? What happens when you try? -Original Message- From: Ravi Kumar [mailto:mynets...@gmail.com] Sent: Monday, March 28, 2011 9:22 AM To: net-snmp-coders Subject: unable to run snmpd as non-root user Hi, Could any one tell me why the snmpd does not run with sudo as g

Re: unable to cross compile "Internal Crypto Support"

2011-02-10 Thread Steve Friedl
On Thu, Feb 10, 2011 at 11:12:45AM -0800, Wes Hardaker wrote: > > On Thu, 10 Feb 2011 17:23:41 +, Dave Shield > > said: > > DS> Ctrl-\ > DS> gives the same output as using Ctrl-C to kill the agent. > DS> (using read_config as a convenient way of tracking > DS> shutdown processing)

Re: unable to cross compile "Internal Crypto Support"

2011-02-10 Thread Steve Friedl
On Thu, Feb 10, 2011 at 09:12:11AM -0800, Wes Hardaker wrote: > > On Thu, 10 Feb 2011 16:56:39 +, Dave Shield > > said: > > DS> Wes - is it worth trying to catch SIGQUIT, > DS> and handling this in a similar way to SIGINT. > > I don't think you can do that. It's certainly possible

Re: couldn't find ifIndex

2010-11-29 Thread Steve Friedl
On Mon, Nov 29, 2010 at 09:10:53PM -0800, Andrus, Brian Contractor wrote: > Hello all, > > Not a coder or anything, but I have had an issue and noticed others have as > well. I hunted down and watched for patterns for myself. > > Here is a scenario that seems to be consistent in my environment

Re: SNMP in Quagga

2010-11-23 Thread Steve Friedl
part you must have, and you might change your mind on the packaging part later. Good luck. Steve > 2010/11/23 Steve Friedl > > > On Tue, Nov 23, 2010 at 03:18:03PM +0100, Quagga Snmp wrote: > > > But, with SMUX I need a intermediary, or not? > > > > I guess so, de

Re: SNMP in Quagga

2010-11-23 Thread Steve Friedl
uot; in PC(1) from > PC(2). > > Thanks. > > 2010/11/23 Steve Friedl > > > On Tue, Nov 23, 2010 at 02:48:13PM +0100, Quagga Snmp wrote: > > > Quagga itself does not support SNMP agent (server daemon) functionality > > but > > > is able to connect t

Re: SNMP in Quagga

2010-11-23 Thread Steve Friedl
On Tue, Nov 23, 2010 at 02:48:13PM +0100, Quagga Snmp wrote: > Quagga itself does not support SNMP agent (server daemon) functionality but > is able to connect to a SNMP agent using the SMUX protocol. > > I want that quagga support SNMP agent (daemon snmpd) without installing > other software, I m

Re: Strange behavior with SNMP walk.

2010-09-04 Thread Steve Friedl
On Wed, Sep 01, 2010 at 07:25:21PM +, Yehiel Samson wrote: > There is a strange behavior with the SNMP walker, if I perform the following > command: > > snmpwalk -One -v2c -c public "IP" 1.3.6.1.4.1.4491.2.1.20.1.23 > > I receive this answer: > > .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536

Re: Documentation

2010-08-13 Thread Steve Friedl
On Fri, Aug 13, 2010 at 04:52:19PM +0200, rene.meu...@ing.be wrote: > > I have downloaded net-snmp for Solaris. I would like to find a > documentation, programming guide and/or reference guide, about the c api. > I'm mainly interested in the way to process incoming snmpv1, snmpv2 and > snmpv3

Re: difference between snmpwalk and snmpbulk

2010-07-30 Thread Steve Friedl
On Fri, Jul 30, 2010 at 07:30:54PM +0530, shardul kumar wrote: > Hi All, > > Could any one please let me know why do we need snmpbulk while > snmpwalk(using GETNEXT) > is already available for bulk data transfer. I mean to say if I am able to > retrieve all the rows of a > table using GETNEXT then

Re: truncating integer value > 32 bits

2010-06-28 Thread Steve Friedl
On Mon, Jun 28, 2010 at 09:01:29PM +0530, Prakash wrote: > How to handle u_int64_t type variables. > > u_int64_t value = 39952034381; > > when I tried to set the value, I am getting the following message. > > truncating integer value > 32 bits The integral constant 39952034381 is too large to f

Re: To fork Net-SNMP over the comments issue? (was: Re: Is it policy to strip comments from the source code that we commit?)

2010-05-23 Thread Steve Friedl
On Mon, May 24, 2010 at 07:11:02AM +0300, Omer Zak wrote: > 2. Is anyone else in favor of forking the Net-SNMP project over the > comments issue? Forking a major project over *comments*? -- Stephen J Friedl | Security Consultant | UNIX Wizard | 714 694-0494 st...@unixwiz.net | Orange County,

Re: Software License

2010-05-05 Thread Steve Friedl
On Wed, May 05, 2010 at 09:34:22AM -0400, Michael A Wagner wrote: > Are there any license terms associated with this software? > > If so, please tell me where to find them or send me a copy of the license > agreement. There's a "License" link on the home page of the project - did you look?

Re: Bugs discovered by a research group at CWRU

2009-08-31 Thread Steve Friedl
On Mon, Aug 31, 2009 at 03:59:17PM -0400, Gang Shu wrote: > Hi Dave, > Thanks a lot for your kind reply. However, I am still confused about the > function 'shutdown_notification_log()', since there is no explicitly > resource release statement in it. > Could you please give me more details? Thanks!

Re: Windows - MSVC 2008, 64-bit and Platform SDK

2009-04-27 Thread Steve Friedl
On Mon, Apr 27, 2009 at 10:51:45AM -0700, Wes Hardaker wrote: > > On Sun, 26 Apr 2009 21:11:09 -0400, Alex Burger > > said: > > I'm going to defer all judgment to those more familiar with windows > development than I. Thus take these comments as minor: > > AB> 4) I don't think we need

Re: Is it possible to retrieve one ROW of a table only?

2008-09-03 Thread Steve Friedl
On Wed, Sep 03, 2008 at 12:01:18PM -0700, Need Help wrote: > I can not figure out which SNMP command will allow me to query one complete > row of data from a table only. > > For example, assume my table has 10 rows in it with 20 columns for each > row..  How can I query row #7 to get all 20 colu

Re: addding new fd in select() for recieving request

2008-06-09 Thread Steve Friedl
On Mon, Jun 09, 2008 at 11:53:23AM +0530, [EMAIL PROTECTED] wrote: > I am thinking of doing it in following manner. > Please comment on the following if it is wrong It's been a while since I have done this, but I think that the count of FDs is not being set properly. ** NOTE INLINE > main() > { >

Re: How to integrate NetSNMP into a working Linux environment?

2007-06-07 Thread Steve Friedl
On Thu, Jun 07, 2007 at 12:32:00PM -0700, Need Help wrote: > Ok, my company would like me to start discussing how to incorporate NetSNMP > into the company's build environment. I explained the following stuff: Your company should probably retain a consultant experienced in these matters, becaus

Re: Is this a bug? Strange walk behavior

2007-05-23 Thread Steve Friedl
On Wed, May 23, 2007 at 09:09:17AM +0100, Dave Shield wrote: > On 23/05/07, Steve Friedl <[EMAIL PROTECTED]> wrote: > >Let's start by walking the leading part: > > > >$ snmpbulkwalk localhost bgp4PathAttrASPathSegment.64.160 &

Is this a bug? Strange walk behavior

2007-05-22 Thread Steve Friedl
Hello all, I'm sure this is not a bug in net-snmp per se, but perhaps it's a bug in an application with an SMUX add-in. My only goal here is to find out if this is actually a bug or not (I think it is). If so, I'll dig inside the application to address it. The BGP4 MIB provides for, among other t

Re: Problems building 5.4 on Linux

2007-03-27 Thread Steve Friedl
On Tue, Mar 27, 2007 at 04:13:26PM +0200, Eirik Nordbr wrote: > The library libelf seems to be installed: > > $ ls -l /usr/lib/libelf* > -rwxr-xr-x 1 root root 65492 Aug 13 2006 /usr/lib/libelf-0.97.1.so > lrwxrwxrwx 1 root root16 Feb 21 09:13 /usr/lib/libelf.so.1 -> > libelf-0.97.1.so Tha

Re: Net-snmp insatllation in Cygwin----kindly help

2007-03-24 Thread Steve Friedl
On Sat, Mar 24, 2007 at 11:51:45PM +0530, DEEPIKA REDDY wrote: > I have to code a C program that uses net-snmp libraries. I have to do this > in Windows platform. But I understand that net-snmp programs needs gcc > compiler that comes with linux environment. And this can be achieved in > windows by

Re: scope reductions

2007-03-04 Thread Steve Friedl
On Sun, Mar 04, 2007 at 06:07:08PM +0100, Magnus Fromreide wrote: > On sön, 2007-03-04 at 13:55 +0100, Thomas Anders wrote: > > Magnus Fromreide wrote: > > > Are patches like the attached ones of interest for the project or should > > > I just ignore such things when I see them? > > > > Cleanup is

Re: net-snmp-5.4 bug report

2007-02-25 Thread Steve Friedl
On Sun, Feb 25, 2007 at 11:36:34PM +0800, Moore Michael wrote: > Hi there > > I use net-snmp-5.4, and there's a NULL pointer operator in > snmplib/snmp_api.c > > void * > snmp_sess_pointer(netsnmp_session * session) > { >struct session_list *slp; > >snmp_res_lock(MT_LIBRA

Re: CVS MAIN+5.4.x broken

2007-02-22 Thread Steve Friedl
On Thu, Feb 22, 2007 at 11:37:23AM -0800, Wes Hardaker wrote: > > AR. Can I pay $1Mil to all our customers to let us reimplement > configure in perl instead of a billion incompatible minor shell > scripting languages. > I'd like to be the first to sign up for that $1M beta test ;-) Steve

Re: Mixing sync and async calls?

2007-02-14 Thread Steve Friedl
On Wed, Feb 14, 2007 at 01:17:05PM -0800, [EMAIL PROTECTED] wrote: > I'm writing a program that, in essence, polls a number of devices > simultaneously. They're slow to respond individually, and I have a lot to > go through - doing them sequentially would take forever. I set up a > callback fu

Re: question on timeticks and long into char stuffing

2007-01-16 Thread Steve Friedl
On Wed, Jan 17, 2007 at 12:01:19AM +0100, Alef Veld wrote: > Thanks Wes. > I figured out the 1 part. I'm not sure what you mean exactly by > number 2 though. Do you mean > that the long is defined 32bits on my machine ? If so, are you > implying i need an even bigger number to host the long * ?

Re: SNMP Agent over HP printer

2006-12-20 Thread Steve Friedl
On Tue, Dec 19, 2006 at 10:38:39PM -0800, K.M. wrote: > The Host Resources MIB [RFC1514] provides two status objects that can be used > to describe the status of a printer: hrDeviceStatus and hrPrinterStatus. > What you need is to implement this MIB in the printer. My question is How > to impl

Re: rfv: MSVC Workspace build fixes

2006-11-23 Thread Steve Friedl
On Sat, Nov 18, 2006 at 03:01:42PM -0500, Alex Burger wrote: > *This patch only affects building with the MSVC Workspace*. I haven't tried it myself - I do all my Windows builds on the command line (menus are for wimps) - but have looked at all of this and find that it does just what he says it do

Re: Adjustment of snmpset.c

2006-11-18 Thread Steve Friedl
On Sat, Nov 18, 2006 at 06:12:17PM +0100, =?ISO-8859-2?q?Roman =A9ustek?= wrote: > do anybody know source code of snmpset? > > http://www.opensource.apple.com/darwinsource/10.2/net_snmp-7/net-snmp/apps/snmpset.c > > I need to adjust it in the way that the main function would copy the > parameter

Re: synchronous versus asynchronous

2006-11-14 Thread Steve Friedl
On Tue, Nov 14, 2006 at 09:11:48PM +0100, Alef Veld wrote: > So basically if i understand correctly async is using select with > nonblocking sockets and a large set of file descriptors? I assume you > use that since you stated that net-snmp is not thread-safe. And in > addition you just send

Re: synchronous versus asynchronous

2006-11-14 Thread Steve Friedl
On Tue, Nov 14, 2006 at 07:10:38PM +0100, Alef Veld wrote: > If i wanted to discover a large amount of hosts, which method would > be better. How does asynchronous work? Does it just send a bunch of > udp packets in a threaded fashion? > > Another thing; as i start my foray in this snmp world

Re: rfv: fix more lib dependencies

2006-10-31 Thread Steve Friedl
On Tue, Oct 31, 2006 at 05:34:51PM +0100, Jochen Friedrich wrote: > Definitely a +1 from me. In Debian, we used a special version of libtool to > get rid of > unneeded dependencies as they really are a nightmare for distributions. > > See http://lists.debian.org/debian-devel-announce/2005/11/msg0

Re: RFV: Enable & fix library DLL support for Windows

2006-10-26 Thread Steve Friedl
On Thu, Oct 26, 2006 at 08:11:42AM -0400, Alex Burger wrote: > I would like to enable DLL support for the applications including snmpd > and snmptrapd. We currently only support using the library DLL when > building the Perl module. > > After some research and testing, it appears that the appli

Re: pass-through persist and daemon re-configuration with HUP signal

2006-10-25 Thread Steve Friedl
On Wed, Oct 25, 2006 at 11:27:19AM -0400, Robert Story wrote: > You should be getting a SIGPIPE when you select on stdin, since it has been > closed. No: SIGPIPE is generated when *writing* to a pipe with no readers on the other end. *Reading* (or selecting) from a closed pipe just gets a normal E

Best practices for private OID management?

2006-10-13 Thread Steve Friedl
Hello all, I have my own spanking fresh Enterprise OID number on the way from IANA, and I have a pretty good idea that I need to pay attention when building my OID trees lest I make hard-to-fix mistakes down the road. It's not here yet, but for discussion let's say that it's: iso.org.dod

Re: why do we install all system headers?

2006-08-16 Thread Steve Friedl
On Thu, Aug 17, 2006 at 01:32:36AM +0200, Thomas Anders wrote: > is there a good reason why "make install" currently installs all of > include/net-snmp/system/*.h and not just the one(s) for the system in > question? > Even cross-compiling only has a *single* target system, so why? Is it only to >

Re: net-snmp error using MS VC++

2006-03-13 Thread Steve Friedl
On Mon, Mar 13, 2006 at 03:04:03PM -, Ian Dineen wrote: > hi all, i'm getting the following errors when compiling sample code in > Microsoft Visual Studio 6 C++, ive compiled the net-snmp libraries, and i am > able to use the supplied executables (eg. snmpget.exe) from the command line > wit

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-28 Thread Steve Friedl
On Tue, Jun 28, 2005 at 05:43:19PM +0200, Thomas Anders wrote: > Steve Friedl wrote: > >On Fri, Jun 24, 2005 at 04:06:18PM +0200, Thomas Anders wrote: > >>Agreed. Steve, are you willing to incorporate this into your upcoming > >>patch? > > > >Sure.

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-24 Thread Steve Friedl
On Fri, Jun 24, 2005 at 04:06:18PM +0200, Thomas Anders wrote: > >TA> misleading. > > > >Right, but we could easily define a new one, with the same value, and use > >that > >one in all the code (leaving the old one in the header for backwards > >compatability). > > Agreed. Steve, are you willing

Re: NETSNMP_DS_LIB_DONT_PERSIST_STATE?

2005-06-23 Thread Steve Friedl
On Thu, Jun 23, 2005 at 04:08:46PM +0200, Thomas Anders wrote: > -Coders, > > what *exact* impact is > > netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, > NETSNMP_DS_LIB_DONT_PERSIST_STATE, 1); > > supposed to have? The comment in snmplib/default_store.c indicates > "do

"present but cannot be compiled"

2005-06-14 Thread Steve Friedl
Hello listmates, While building NET-SNMP 5.2.1 on FreeBSD 4.10 with gcc 2.95.4, I'm getting a coupla dozen of these: checking netinet/tcpip.h usability... no checking netinet/tcpip.h presence... yes configure: WARNING: netinet/tcpip.h: present but cannot be compiled configure: WARNING: netinet/tc

Re: proposal: snmplib/string_utils.c

2004-10-05 Thread Steve Friedl
On Tue, Oct 05, 2004 at 07:09:55PM -0400, Robert Story wrote: > I'm looking at applying the strtok_r patch for 5.2, which will include a > strtok_r implementation for platforms where it is missing. I started to look > for a place to put that implementation, and I notices that there are several > ot

Re: winservice _snprintf changes

2004-09-29 Thread Steve Friedl
On Wed, Sep 29, 2004 at 08:30:42PM -0400, [EMAIL PROTECTED] wrote: > snprintf(OBJECT, sizeof(OBJECT-1), ... No, snprintf(OBJECT, sizeof OBJECT, ...) works fine: the count includes the NUL byte. Steve --- Stephen J Friedl | Security Consultant | UNIX Wizard | +1 714 544-6561 www.

patch 991664 breaks SCO Unixware

2004-08-16 Thread Steve Friedl
Hello listmates, Patch #991664 (installheaders fix and lazy evaluation) http://sourceforge.net/tracker/index.php?func=detail&aid=991664&group_id=12694&atid=312694 breaks SCO Unixware and any other systems where the "test" command does not support the "-nt" (newer than) operator. This was added t

question on acconfig.h

2004-08-15 Thread Steve Friedl
Hello listmates, While working on yet another ./configure patch for SCO Unixware, I have been digging into the acconfig.h thing: my good friend Google suggests that this entire concept is obsolete, and if this is the case, is there anything to be said for moving away from it? Why do we have both

new portability patch

2004-08-09 Thread Steve Friedl
Hello listmates, I've just submitted a patch to deal with a portability issue, but I know that anything involving configure is prone to unintended consequences. I wanted to discuss it a bit here. http://sourceforge.net/tracker/index.php?func=detail&aid=1006298&group_id=12694&atid=312694 The shor

Re: return 0 vs continue (was:Re: .. FreeBSD/AMD64 or other 64-bit platforms)

2004-06-24 Thread Steve Friedl
On Thu, Jun 24, 2004 at 11:22:01AM -0400, [EMAIL PROTECTED] wrote: > Steve Friedl wrote: > > >On Thu, Jun 24, 2004 at 10:57:59AM -0400, [EMAIL PROTECTED] wrote: > > > >> 3. The agent/mibgroup/mibII/ip.c, function int ip_handler, line 892 > >>return NULL is

Re: anybody using net-snmp on FreeBSD/AMD64 ( or other 64bit platforms??)

2004-06-24 Thread Steve Friedl
On Thu, Jun 24, 2004 at 10:57:59AM -0400, [EMAIL PROTECTED] wrote: > 3. The agent/mibgroup/mibII/ip.c, function int ip_handler, line 892 > return NULL is bad, as you've noticed. > the value (int) NULL is assumed to be 0, [not universally true!] When one wants a portable value for NULL, on