From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 31 14:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F1C41065679 for ; Tue, 31 Mar 2009 14:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 508138FC15 for ; Tue, 31 Mar 2009 14:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2VEA4ii088566 for ; Tue, 31 Mar 2009 14:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2VEA4bT088565; Tue, 31 Mar 2009 14:10:04 GMT (envelope-from gnats) Resent-Date: Tue, 31 Mar 2009 14:10:04 GMT Resent-Message-Id: <200903311410.n2VEA4bT088565@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Palle Girgensohn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11E0E1065670 for ; Tue, 31 Mar 2009 14:06:38 +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 00FED8FC13 for ; Tue, 31 Mar 2009 14:06:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2VE6bPd024135 for ; Tue, 31 Mar 2009 14:06:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2VE6bK2024134; Tue, 31 Mar 2009 14:06:37 GMT (envelope-from nobody) Message-Id: <200903311406.n2VE6bK2024134@www.freebsd.org> Date: Tue, 31 Mar 2009 14:06:37 GMT From: Palle Girgensohn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133241: balance parameter -b does not accept numeric ip address X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 14:10:05 -0000 >Number: 133241 >Category: ports >Synopsis: balance parameter -b does not accept numeric ip address >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 Mar 31 14:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: 7.1 >Organization: Ping Pong AB >Environment: >Description: The script for balance requires setting the inbound address, but the hardcoded -b switch does not accept a numieric ip address, it thinks "this must be ipv6": /usr/local/bin/balance -b 192.168.1.208 8282 other.host.name:80 setsockopt(IPV6_V6ONLY=0): Invalid argument all i want is balance 8282 other.host.name:80 the balance machine has two NIC, I want balance to attach to both. Can't do that with current balance rc-script, since it requires -b and -b cannot accept numeric ipv4 addresses, and I don't have separate names for the two ip addresses on the NIC. >How-To-Repeat: /usr/local/bin/balance -b 192.168.1.208 8282 other.host.name:80 >Fix: fix balance not to expect ipv6? or fix balance rc-script not to absolutely require an inbound address by removing the -b $hostname switch >Release-Note: >Audit-Trail: >Unformatted: