From owner-freebsd-current@FreeBSD.ORG Sun Mar 5 19:53:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C1A216A422 for ; Sun, 5 Mar 2006 19:53:26 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from dbmail-mx1.orcon.net.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id B42D043D46 for ; Sun, 5 Mar 2006 19:53:22 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received-SPF: none Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by dbmail-mx1.orcon.net.nz (8.13.2/8.13.2/Debian-1) with SMTP id k25JrcbD018721; Mon, 6 Mar 2006 08:53:39 +1300 Received: by heff.fud.org.nz (Postfix, from userid 1001) id E6A6C1CCC1; Mon, 6 Mar 2006 08:53:08 +1300 (NZDT) Date: Mon, 6 Mar 2006 08:53:08 +1300 From: Andrew Thompson To: Sam Leffler Message-ID: <20060305195308.GB40614@heff.fud.org.nz> Mail-Followup-To: Andrew Thompson , Sam Leffler , Dominique Goncalves , Jacco Braat , freebsd-current@freebsd.org, "Denis Perisa [DARKMAN]" References: <20060305120018.EEC9B16A424@hub.freebsd.org> <440B0620.8080309@vip.hr> <1141574344.1146.18.camel@godzilla.jubba.nl> <7daacbbe0603051015q50eb0ab9y37eac0beaff45792@mail.gmail.com> <440B3CB5.80901@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <440B3CB5.80901@errno.com> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on dbmail-mx1.orcon.net.nz X-Virus-Status: Clean Cc: Jacco Braat , freebsd-current@freebsd.org, "Denis Perisa \[DARKMAN\]" , Dominique Goncalves Subject: Re: hostap mode and wpa-psk with ral(4) problem 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: Sun, 05 Mar 2006 19:53:26 -0000 On Sun, Mar 05, 2006 at 11:32:05AM -0800, Sam Leffler wrote: > Dominique Goncalves wrote: > >On 3/5/06, Jacco Braat wrote: > >>more people have problem with ral driver in hostap mode. the maintainer > >>knows about it and promised to look into it before 6.1 release > >>http://damien.bergamini.free.fr/ral/forum/read.php?f=1&i=225&t=163#reply_225 > >> > >>authentication is succesfull, but there is a problem with arp and dhcp. > >> > >>in sys/net80211/ieee80211_input.c (ieee80211_deliver_data) there is some > >>code to bridge incomming packets to other connected stations. It looks > >>like the driver does not handle these packets correctly. > >> > >>ifconfig wifi0 -apbridge > >> > >>disables this feature, then you should be able to connect normally > > > >Thanks! with apbridge disabled I can now connect my PSP. > > > >What is the impact of disabling this feature ? > > It may disable communication between clients associated to the same ap. > With -apbridge you need to explicitly handle this with forwarding > rules (unless if_bridge has gotten smart enough to forward rx'd packets > from an interface back to the same interface). Nope. So essentially you want it to skip the check if the incoming interface is the same as the destination and have it forward anyway. It wouldnt be too hard to make this an option. It would obviously be suicide on a wired Ethernet network, if there was some way to test the rx interface (wifi) to see if this is needed it would make it easier and safer. Andrew