Date: Tue, 13 Apr 2004 08:16:15 -0400 (EDT) From: Ken Stailey <kstailey@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kuriyama@FreeBSD.org Subject: ports/65487: net-snmp no longer sets tcp.tcpCurrEstab.0 Message-ID: <200404131216.i3DCGFfb044409@hermes.trickster.gods> Resent-Message-ID: <200404131220.i3DCKIvQ026552@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65487 >Category: ports >Synopsis: net-snmp no longer sets tcp.tcpCurrEstab.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 13 05:20:18 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Ken Stailey >Release: FreeBSD 4.9-STABLE i386 >Organization: self >Environment: System: FreeBSD hermes.trickster.gods 4.9-STABLE FreeBSD 4.9-STABLE #54: Thu Mar 25 10:46:59 EST 2004 kstailey@hermes.trickster.gods:/usr/obj/usr/src/sys/HERMES i386 >Description: The mib element tcp.tcpCurrEstab.0 was not working, then it got fixed but it's broken again. >How-To-Repeat: http://www.freshports.org/phorum/read.php?f=2&i=157&t=157 >Fix: I think the Makefile needs to set --with-modules=mibII/tcpTable so that in ports/net-mgmt/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/mibII/tcp.c USING_MIBII_TCPTABLE_MODULE will be set and the code case TCPCURRESTAB: #ifdef USING_MIBII_TCPTABLE_MODULE ret_value = TCP_Count_Connections(); #else ret_value = 0; #endif will be a call to TCP_Count_Connections() which will fill the mib element tcp.tcpCurrEstab.0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404131216.i3DCGFfb044409>