From owner-freebsd-current@FreeBSD.ORG Fri Sep 21 07:48:56 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A48AB16A418 for ; Fri, 21 Sep 2007 07:48:56 +0000 (UTC) (envelope-from angelo@hongens.nl) Received: from krypton.hongens.local (cl-794.ams-05.nl.sixxs.net [IPv6:2001:610:600:319::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5EDF413C467 for ; Fri, 21 Sep 2007 07:48:56 +0000 (UTC) (envelope-from angelo@hongens.nl) Received: from localhost (localhost.hongens.local [127.0.0.1]) by krypton.hongens.local (Postfix) with ESMTP id 8B235BA50 for ; Fri, 21 Sep 2007 09:48:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at hongens.nl Received: from krypton.hongens.local ([127.0.0.1]) by localhost (krypton.hongens.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORMz8oqNNgjT for ; Fri, 21 Sep 2007 09:48:49 +0200 (CEST) Received: from ws05 (atwork-66.r-212.178.110.atwork.nl [212.178.110.66]) by krypton.hongens.local (Postfix) with ESMTP id 33806BA8D for ; Fri, 21 Sep 2007 09:48:49 +0200 (CEST) From: =?iso-8859-1?Q?Angel_H=F6ngens?= To: Date: Fri, 21 Sep 2007 09:48:45 +0200 Message-ID: <000b01c7fc23$d6ee60f0$84cb22d0$@nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acf8I9aitcdEv/RvTy6AGKNtRsdPqw== Content-Language: en-us Subject: iscsi port in /etc/services? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2007 07:48:56 -0000 Hey guys, my first post here, so don't shoot me. (Don't know if this is = the right place to come with the question) I'm running RELENG_6 (built yesterday)m and after installing the iscsi-target from ports, I found that I could not get it started.. I = got the error "***ERROR*** getaddrinfo: servname not supported for = ai_socktype", which after googling for half an hour turns out to be a cryptic message meaning a service is not found in /etc/services. After getting a later version of /etc/services, the iscsi-target would start, but I was not able to connect using an initiator on another = machine. I then found out these ports in /etc/services: (apparently since rev = 1.112) iscsi 860/tcp iscsi 860/udp While my initiator expected to see port 3260. After some more googling, = I found out port 860 is a port to be used ONLY when in need of a system = TCP port number (?) but by default, port 3260 must be used: RFC3720 says: The well-known user TCP port number for iSCSI connections assigned by IANA is 3260 and this is the default iSCSI port. Implementations needing a system TCP port number may use port 860, the port assigned by IANA as the iSCSI system port; however in order to use port 860, it MUST be explicitly specified - implementations MUST NOT default to use of port 860, as 3260 is the only allowed default. Is this in error in /etc/services, or an error in my logic? Kind regards, Angelo H=F6ngens The Netherlands.