ports/147915: xymon client does not report full data for ipv6 connections
Frank Bartels
freebsd at knarf.de
Wed Jun 16 18:20:01 UTC 2010
>Number: 147915
>Category: ports
>Synopsis: xymon client does not report full data for ipv6 connections
>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: Wed Jun 16 18:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frank Bartels
>Release: 8.0-RELEASE
>Organization:
CameloT e.K.
>Environment:
FreeBSD angus 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Thu May 6 17:46:05 CEST 2010 knarf at angus:/usr/obj/usr/src/sys/ANGUS amd64
>Description:
hobbitclient (net-mgmt/xymon-client) uses netstat -an -finet6 for getting a list of the ipv6 connections. Without -W netstat just cuts the IPv6 address to 16 chars, you do not even see if it was shortened or not.
I think it would be much better to fix netstat itself.
>How-To-Repeat:
>Fix:
patch-hobbitclient-freebsd
--- client/hobbitclient-freebsd.sh 2010-06-16 20:04:30.524760849 +0200
+++ client/hobbitclient-freebsd.sh.orig 2006-07-05 07:52:22.000000000 +0200
@@ -41,7 +41,7 @@
echo "[netstat]"
netstat -s
echo "[ports]"
-(netstat -Wna -f inet; netstat -Wna -f inet6) | grep "^tcp"
+(netstat -na -f inet; netstat -na -f inet6) | grep "^tcp"
echo "[ps]"
# Dont use "args". "command" works also in FreeBSD 4.x.
ps -ax -ww -o pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,command
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list