[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-patches
Subject: [Net-snmp-patches] [ net-snmp-Patches-1161832 ] fix tcp/udpTable for NetBSD
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2006-04-18 17:43:57
Message-ID: E1FVuF3-0001Ry-Uf () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]
Patches item #1161832, was opened at 2005-03-11 21:11
Message generated for change (Comment added) made by hardaker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1161832&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
> Status: Pending
Resolution: None
Priority: 5
Submitted By: Ryo Tsuruta (ryo-sourceforge)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix tcp/udpTable for NetBSD
Initial Comment:
snmpd cannot load tcp/udp table correctly.
host 192.168.0.1 listens the port 22,23,199,2601,2602
% snmpwalk -v2c -c public 192.168.0.1 TCP-
MIB::tcpConnState
TCP-MIB::tcpConnState.0.0.0.0.23.0.0.0.0.0 =
INTEGER: listen(2)
%
After applied the patch.
% snmpwalk -v2c -c public 192.168.0.1 TCP-
MIB::tcpConnState
TCP-MIB::tcpConnState.0.0.0.0.22.0.0.0.0.0 =
INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.23.0.0.0.0.0 =
INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.199.0.0.0.0.0 =
INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.2601.0.0.0.0.0 =
INTEGER: listen(2)
TCP-MIB::tcpConnState.0.0.0.0.2602.0.0.0.0.0 =
INTEGER: listen(2)
%
I created the patch based on "inet.c" included in netstat
sources.
----------------------------------------------------------------------
> Comment By: Wes Hardaker (hardaker)
Date: 2006-04-18 10:43
Message:
Logged In: YES
user_id=76242
I'd really like to apply this patch, but it certainly makes
the code more OS dependent and thus can't be done safely.
See the use of special #defines in the OS specific
include/net-snmp/system/*.h files for how we're dealing with
different structure names on different systems. This patch
actually removes some support for such OS-independent coding
and this will likely break other BSD systems and quite
possibly other NetBSD versions as well.
----------------------------------------------------------------------
Comment By: Thomas Anders (tanders)
Date: 2005-10-06 03:14
Message:
Logged In: YES
user_id=848638
Reopening as it's quite likely this problem still affects
current code. See this bug report on -coders:
http://groups.google.com/group/mailing.unix.net-snmp-coders/browse_thread/thread/e198da353f3709b2/4fdfd28dd38e2bd3
----------------------------------------------------------------------
Comment By: Thomas Anders (tanders)
Date: 2005-10-06 03:01
Message:
Logged In: YES
user_id=848638
Still waiting for a retest with a later release, now
preferrably 5.2.2.pre3. Setting item to "Pending".
----------------------------------------------------------------------
Comment By: Thomas Anders (tanders)
Date: 2005-08-29 15:51
Message:
Logged In: YES
user_id=848638
Can you verify your problem/patch with 5.1.3.1 and/or
5.2.1.2, please?
----------------------------------------------------------------------
Comment By: Thomas Anders (tanders)
Date: 2005-08-18 16:16
Message:
Logged In: YES
user_id=848638
Moving to patches.
----------------------------------------------------------------------
Comment By: Thomas Anders (tanders)
Date: 2005-06-29 04:31
Message:
Logged In: YES
user_id=848638
5.1.1 is quite old. Can you try 5.1.3.pre1?
----------------------------------------------------------------------
Comment By: Ryo Tsuruta (ryo-sourceforge)
Date: 2005-03-11 21:29
Message:
Logged In: YES
user_id=1237617
Environment:
net-snmp ver.5.1.1
NetBSD/sh 1.6.1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1161832&group_id=12694
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-patches mailing list
Net-snmp-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic