From owner-freebsd-current Mon Nov 24 22:16:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA15558 for current-outgoing; Mon, 24 Nov 1997 22:16:28 -0800 (PST) (envelope-from owner-freebsd-current) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA15553 for ; Mon, 24 Nov 1997 22:16:25 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.5) with ESMTP id WAA03051 for ; Mon, 24 Nov 1997 22:16:17 -0800 (PST) Message-Id: <199711250616.WAA03051@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: current@freefall.FreeBSD.org Subject: tcp/ip buglet ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Nov 1997 22:16:16 -0800 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk background: I am trying to get the linux version of quake2 demo going on freebsd. Quake2 listens for incoming connections on udp port *.27910 and *.27901 When it tries to connect to itself with a sendto to 127.0.0.1 port 27910 the system returns can not assign address: EADDRNOTAVAIL 49 /* Can't assign requested address */ This is a partial dump of a linux strace: 143 bind(5, {sin_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 143 getsockname(5, {sin_family=AF_INET, sin_port=htons(1037), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 143 close(5) = 0 143 write(1, "IP address 204.188.121.20:1037\n"..., 31) = 31 143 write(1, "UDP Initialized\n", 16) = 16 143 bind(7, {sin_family=AF_INET, sin_port=htons(27901), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 143 bind(8, {sin_family=AF_INET, sin_port=htons(27910), sin_addr=inet_addr("0.0.0.0")}, 16) = 0 143 sendto(7, "\377\377\377\377connect \"\\spec"..., 57, 0, {sin_family=AF_INET, sin_port=htons(27910), sin_addr=inet_addr("127.0.0.1")}, 16) = 57 On FreeBSD the sendto returns error 49 --- can't assign address. netstat reports that the server is listening on *.27910 Any clues?? If managed to get over this problem so far it seems that quake2 will run on FreeBSD. Tnks, Amancio