From nobody@FreeBSD.org  Wed Jun 16 18:19:39 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9EB94106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2010 18:19:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8595B8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2010 18:19:39 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5GIJcNN035577
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jun 2010 18:19:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o5GIJcUc035576;
	Wed, 16 Jun 2010 18:19:38 GMT
	(envelope-from nobody)
Message-Id: <201006161819.o5GIJcUc035576@www.freebsd.org>
Date: Wed, 16 Jun 2010 18:19:38 GMT
From: Frank Bartels <freebsd@knarf.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xymon client does not report full data for ipv6 connections
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147915
>Category:       ports
>Synopsis:       net-mgmt/xymon-client: xymon client does not report full data for ipv6 connections
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 18:20:01 UTC 2010
>Closed-Date:    Fri Jul 09 09:51:34 CEST 2010
>Last-Modified:  Fri Jul 09 09:51:34 CEST 2010
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jun 17 02:33:22 UTC 2010 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147915 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/147915: commit references a PR
Date: Fri,  9 Jul 2010 07:42:02 +0000 (UTC)

 dinoex      2010-07-09 07:41:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/xymon-client Makefile 
   Added files:
     net-mgmt/xymon-client/files patch-hobbitclient-freebsd.sh 
   Log:
   - fix display of IPv6 ports
   PR:             147915
   Submitted by:   Frank Bartels
   Feature safe:   yes
   
   Revision  Changes    Path
   1.11      +1 -0      ports/net-mgmt/xymon-client/Makefile
   1.1       +11 -0     ports/net-mgmt/xymon-client/files/patch-hobbitclient-freebsd.sh (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Fri Jul 9 09:51:19 CEST 2010 
State-Changed-Why:  
committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147915 
>Unformatted:
