Re: misc/140346: High bandwidth use causes loss of wlan connection

2009-11-08 Thread Weongyo Jeong
The following reply was made to PR misc/140346; it has been noted by GNATS.

From: Weongyo Jeong 
To: Daniel Casner 
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: misc/140346: High bandwidth use causes loss of wlan connection
Date: Sun, 8 Nov 2009 02:46:04 -0800

 On Fri, Nov 06, 2009 at 07:56:14PM +, Daniel Casner wrote:
 > 
 > >Number: 140346
 > >Category:   misc
 > >Synopsis:   High bandwidth use causes loss of wlan connection
 > >Confidential:   no
 > >Severity:   critical
 > >Priority:   high
 > >Responsible:freebsd-bugs
 > >State:  open
 > >Quarter:
 > >Keywords:   
 > >Date-Required:
 > >Class:  sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Nov 06 20:00:04 UTC 2009
 > >Closed-Date:
 > >Last-Modified:
 > >Originator: Daniel Casner
 > >Release:8.0-BETA3
 > >Organization:
 > Anybots Inc.
 > >Environment:
 > 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 08:58:35 PDT 2009 
 > r...@plutonium:/usr/obj/usr/src.RELENG_8/sys/GENERIC  i386
 > >Description:
 > I am using a rum wireless card (Asus WL-167g) wireless card and creating a 
 > wlan virtual device from it to connect to a wireless network. This same card 
 > worked flawlessly under FreeBSD 7.
 > 
 > The interface associates with wireless networks just fine, however, any time 
 > I try to push a large amount of data over the interface, such as writing a 
 > 100Mb file over NFS, the connection will die and not be restored.
 > 
 > Setting "wlandebug state+scan" it appears that the wlan device is performing 
 > background scans and re-associating correctly, however, the operating system 
 > does not resume sending packets over the interface. I can not ping from the 
 > wireless device or ping it from the out side after the connection dies.
 > >How-To-Repeat:
 > Set up a wireless connection, here is an example from my rc.conf
 > 
 > wlans_rum0="wlan0"
 > ifconfig_wlan0="ssid Anybots 10.10.10.27 netmask 255.255.255.0"
 > defaultrouter="10.10.10.20"
 > 
 > Mount an NFS partition, write a large file over NFS.
 > 
 > The connection is usually lost fairly quickly.
 > 
 > 
 > Running:
 > 
 > ifconfig wlan0 down
 > ifconfig wlan0 up scan
 > 
 > Usually restores the connection, however, continuing to try and push a large 
 > amount of bandwidth will cause it to die again.
 
 It looks it's a known issue and fixed at r198098.  Could you please test
 with it?
 
 regards,
 Weongyo Jeong
 
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: IPSec, nat on enc device

2009-11-08 Thread Eric Masson
Eric Masson  writes:

Hi Bjoern,

> Ok, I've never used ipfw so shot in the dark.
>
> If I had to nat 192.168.85.0/24 to 10.0.0.1 to access 192.168.201.0/24,
> I would have to setup the following :
>
> ipfw add divert natd all from 192.168.85.0/24 to 192.168.201.0/24 in
> natd -alias_address 10.0.0.1
> setkey -c << EOD
> spdadd 10.0.0.1/32 192.168.201.0/24 any -P out ipsec
>   esp/tunnel/mygw-theirgw/require ;
> spdadd 192.168.201.0/24 10.0.0.1/32 any -P in ipsec
>   esp/tunnel/theirgw-mygw/require ;
> EOD
>
> Does it seem reasonable or do I miss something ?

Seems I miss something, as tests don't work at all.

Could you elaborate on incoming nat & ipsec please ?

Regards

-- 
 J'ai reçu un mail parlant d'un petit garçon malade. Je l'ai transféré à
 tous ceux que je connaissais. On me dit que c'est un attrape couillons.
 Est-ce vrai? Suis-je vraiment aussi con que le prétend ma femme?
 -+-C in GNU - Le plus dur dans le mariage, c'est d'en sortir vivant -+-
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"