Re: kern/165190: [ipfw] loopback interface is not marking ipv6 packets
Synopsis: [ipfw] loopback interface is not marking ipv6 packets Responsible-Changed-From-To: freebsd-i386->freebsd-net Responsible-Changed-By: julian Responsible-Changed-When: Wed Feb 15 15:46:19 PST 2012 Responsible-Changed-Why: is a network problem not a 386 problem http://www.freebsd.org/cgi/query-pr.cgi?pr=165190 ___ 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: IGB freezes after about 2 weeks of uptime
And assuming its from the release, please upgrade it to HEAD and try again. Jack On Wed, Feb 15, 2012 at 2:14 PM, Adrian Chadd wrote: > are you running the driver from that release, or the -HEAD driver? > > > adrian > ___ > 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" > ___ 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: IGB freezes after about 2 weeks of uptime
are you running the driver from that release, or the -HEAD driver? adrian ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
IIRC, a bad WEP key will show up as "associated" but no data will be exchanged. Compile up wlanstats from /usr/src/tools/tools/net80211/wlanstats/ and run it - post the output here. Adrian ___ 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: Very bad distribution of packets between multiple listening threads
On Wed, Feb 15, 2012 at 11:17 AM, Attila Nagy wrote: > Hi, > > I'm using FreeBSD 9-STABLE on a four core machine with bce to run > multi-threaded unbound with libev (using kqueue). > Here's the first message (not a long thread so far) about the problem: > http://unbound.net/pipermail/unbound-users/2012-February/002237.html > > To summarize: > whether I run unbound in multi-threaded or multi-process mode, I get very > bad DNS query distribution between threads/processes. > > There is sometimes a 10-fold difference in the queries served (QPS) between > threads (for example thread X gets 300, thread Y gets 3000). > > What could be done to make this distribution more balanced between threads? > And where does this happens exactly? > I don't have a fix for this problem, but I can comment that an ISP I know of switched away from using kqueue with lighttpd to poll because the load was not well distributed. Cheers ___ 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"
IGB freezes after about 2 weeks of uptime
: Hi! After about 2 weeks of uptime I'm getting messages like that: igb0: Watchdog timeout -- resetting igb0: Queue(0) tdh = 16, hw tdt = 20 igb0: TX(0) desc avail = 1020,Next TX to Clean = 16 igb0: link state changed to DOWN igb0: link state changed to UP Reboot helps, for the next ~2 weeks. Kernel is GENERIC. Card is 4 ports Intel FreeBSD srv-4-2.lab.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Thu Jan 19 18:31:23 UTC 2012 r...@srv-4-2.lab.local:/usr/obj/usr/src/sys/GENERIC amd64 Is there a fix for that problem ? ___ 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"
IGB freezes after about 2 weeks of uptime
Hi! After about 2 weeks of uptime I'm getting messages like that: igb0: Watchdog timeout -- resetting igb0: Queue(0) tdh = 16, hw tdt = 20 igb0: TX(0) desc avail = 1020,Next TX to Clean = 16 igb0: link state changed to DOWN igb0: link state changed to UP Reboot helps, for the next ~2 weeks. Kernel is GENERIC. Card is 4 ports Intel FreeBSD srv-4-2.lab.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Thu Jan 19 18:31:23 UTC 2012 r...@srv-4-2.lab.local:/usr/obj/usr/src/sys/GENERIC amd64 Is there a fix for that problem ? ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
Dnia środa, 15 lutego 2012 16:16:10 Arno J. Klaassen pisze: > Hello, > > Maciej Milewski writes: > >Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze: > >> Wep? With a username/password? I've not seen this. > >> Does anyone have any ideas? > >> Adrian > > > >Probably WEP one for all users and username/password as an auth form > >for captive portal(Network Access Control). > > Looks close : this is on a site with very restricted (physical) access : > each day I pass I get a WEP-key and username/password only valid > during the day; the WEP-key (till now) still is the same > > As said, I can get the wlan0 interface up, but no idea how to assign > it an IP-addres > > >I haven't used that so I > >can't say anything more. > > Pity ;-) Thanx anyway. > > Regards, > > Arno Arno, one more thing came to my mind: you don't need to use wpa_supplicant to get WEP support. AFAIK WEP128 is different name for 104-bits key and that might be supported without need of wpa_supplicant. man ifconfig might shed some light. Although wpa_supplicant message states that it connected successfully to the network. Can you try to set the address by hand(taking some earlier info from windows machine)? Additionally you may try to use dhcpcd instead of dhclient(I suspect it's in ports). I remember some strange networks where dhclient had problems but dhcpcd worked fine. Maciej > >> On 14 February 2012 05:51, Arno J. Klaassen > > wrote: > >> > Hello, > >> > could someone provide me wit a hint how to get wpa_supplicant > >> > > >> > to work in the following environment : > >> > - standard : IEEE 802.11 (at least they pretend in the doc) > >> > -mode : "infrastructure" (?) > >> > -WEP: 128bit > >> > - Authent : open > >> > - and then "username/password" upon browser-launch (at least under > >> > Windows) > >> > When I put the following to wpa_suplicant.conf I get "State : > >> > ASSOCIATED -> COMPLETED" : > >> > ssid="their-ID" (unpublished) > >> > scan_ssid=1 > >> > key_mgmt=NONE > >> > wep_key0="part1" > >> > wep_key1="part2" > >> > wep_key2="part3" > >> > However, 'dhclient wlan0' says "No DHCPOFFERS received" > >> > Any help appreciated. > >> > Thanx in advance, regards, > >> > Arno ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
Hello, Maciej Milewski writes: >Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze: > >> Wep? With a username/password? I've not seen this. > >> > >> Does anyone have any ideas? > >> > >> Adrian > >Probably WEP one for all users and username/password as an auth form >for captive portal(Network Access Control). Looks close : this is on a site with very restricted (physical) access : each day I pass I get a WEP-key and username/password only valid during the day; the WEP-key (till now) still is the same As said, I can get the wlan0 interface up, but no idea how to assign it an IP-addres >I haven't used that so I >can't say anything more. Pity ;-) Thanx anyway. Regards, Arno > >Maciek > > >> > >> On 14 February 2012 05:51, Arno J. Klaassen > wrote: > >> > Hello, > >> > > >> > could someone provide me wit a hint how to get wpa_supplicant > >> > to work in the following environment : > >> > > >> > - standard : IEEE 802.11 (at least they pretend in the doc) > >> > -mode : "infrastructure" (?) > >> > -WEP: 128bit > >> > - Authent : open > >> > > >> > - and then "username/password" upon browser-launch (at least under > >> > Windows) > >> > > >> > When I put the following to wpa_suplicant.conf I get "State : > >> > ASSOCIATED -> COMPLETED" : > >> > > >> > ssid="their-ID" (unpublished) > >> > scan_ssid=1 > >> > key_mgmt=NONE > >> > wep_key0="part1" > >> > wep_key1="part2" > >> > wep_key2="part3" > >> > > >> > However, 'dhclient wlan0' says "No DHCPOFFERS received" > >> > > >> > Any help appreciated. > >> > > >> > Thanx in advance, regards, > >> > > >> > Arno > >-- > >Pozdrawiam, > >Maciej Milewski ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
On Wed, Feb 15, 2012 at 04:02:22PM +0100, Arno J. Klaassen wrote: > > Hello, > > "Paul A. Procacci" writes: > > > Is your DHCP daemon setup to listen on the interface where the AP is > > running? > > Dunno... How could eventually be sure Windows got it's IP-addres by DHCP? > Sorry, you hadn't made it very clear if you were attempting to get a lease from a DHCP server running on a FreeBSD machine or not. I assumed you were, and had assumed your configuration may have been wrong. However, given your response, I assume you're using an "off the shelf" AP. There are several things that come to mind as to why you wouldn't get a DHCP lease, like MAC filtering as an example. You'll have to check the logs of the DHCP server to see if your requests are even making it to the daemon. tcpdump will come in handy if you have shell capabilities on your AP. > > For username/password prompt upon browser launch, you'll need to configure > > a reverse proxy to get a cookie upon successful auth to pass through the > > proxy. > > Could you please explain me how to do this? As for the proxy, you'll need to look at squid. I've personally never done what you need, but a buddy of mine has using squid. I can't give you any further details as the configuration/administrator of squid I know nothing about. I do know though that it has the capabilities you seek. ~Paul This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
Hello, "Paul A. Procacci" writes: > Is your DHCP daemon setup to listen on the interface where the AP is > running? Dunno... How could eventually be sure Windows got it's IP-addres by DHCP? > For username/password prompt upon browser launch, you'll need to configure a > reverse proxy to get a cookie upon successful auth to pass through the proxy. Could you please explain me how to do this? Thanx, Arno > ~Paul > > On Tue, Feb 14, 2012 at 09:49:01PM -0800, Adrian Chadd wrote: >> Wep? With a username/password? I've not seen this. >> >> Does anyone have any ideas? >> >> >> Adrian >> >> >> On 14 February 2012 05:51, Arno J. Klaassen wrote: >> > Hello, >> > >> > could someone provide me wit a hint how to get wpa_supplicant >> > to work in the following environment : >> > >> > ?- standard ?: IEEE 802.11 (at least they pretend in the doc) >> > ?- ? ?mode ? : "infrastructure" (?) >> > ?- ? ?WEP ? ?: 128bit >> > ?- Authent ? : open >> > >> > ?- and then "username/password" upon browser-launch (at least under >> > ? Windows) >> > >> > When I put the following to wpa_suplicant.conf I get "State : >> > ASSOCIATED -> COMPLETED" ?: >> > >> > ?ssid="their-ID" ?(unpublished) >> > ?scan_ssid=1 >> > ?key_mgmt=NONE >> > ?wep_key0="part1" >> > ?wep_key1="part2" >> > ?wep_key2="part3" >> > >> > However, 'dhclient wlan0' says "No DHCPOFFERS received" >> > >> > Any help appreciated. >> > >> > Thanx in advance, regards, >> > >> > Arno >> > ___ >> > 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" >> ___ >> 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" > > > > This message may contain confidential or privileged information. If you are > not the intended recipient, please advise us immediately and delete this > message. See http://www.datapipe.com/legal/email_disclaimer/ for further > information on confidentiality and the risks of non-secure electronic > communication. If you cannot access these links, please notify us by reply > message and we will send the contents to you. > -- Arno J. Klaassen SCITO S.A. 8 rue des Haies F-75020 Paris, France http://scito.com ___ 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: kern/162558: [dummynet] [panic] seldom dummynet panics
The following reply was made to PR kern/162558; it has been noted by GNATS. From: Eugene Grosbein To: bug-follo...@freebsd.org Cc: Subject: Re: kern/162558: [dummynet] [panic] seldom dummynet panics Date: Wed, 15 Feb 2012 19:25:43 +0700 Hi! The source of this problem seems to be famous 'dangling pointer' problem: - mbufs with packets from PPPoE users sometimes stall within dummynet queues, - then user disconnects, its ngX interface get destroyed, - then dummynet attempts to dereference its ifp pointer and panic occurs. There is workaround consisting of several tunnables eliminating races: - net.isr.bindthreads=1 in /boot/loader.conf; - net.isr.direct=1 and net.isr.direct_force=1 in /etc/sysctl.conf (default) Plus, use recent 8.2-STABLE as it contains some netgraph fixes for bugs that lead to panics in 8.2-RELEASE and early 8.2-STABLE versions. With these precautions I run my routers rock stable for months. Eugene Grosbein ___ 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"
Very bad distribution of packets between multiple listening threads
Hi, I'm using FreeBSD 9-STABLE on a four core machine with bce to run multi-threaded unbound with libev (using kqueue). Here's the first message (not a long thread so far) about the problem: http://unbound.net/pipermail/unbound-users/2012-February/002237.html To summarize: whether I run unbound in multi-threaded or multi-process mode, I get very bad DNS query distribution between threads/processes. There is sometimes a 10-fold difference in the queries served (QPS) between threads (for example thread X gets 300, thread Y gets 3000). What could be done to make this distribution more balanced between threads? And where does this happens exactly? Thanks, ___ 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: Help : configuring wpa_suplpicant.conf for WEP + login/passwd
Dnia wtorek, 14 lutego 2012 21:49:01 Adrian Chadd pisze: > Wep? With a username/password? I've not seen this. > > Does anyone have any ideas? > > Adrian Probably WEP one for all users and username/password as an auth form for captive portal(Network Access Control). I haven't used that so I can't say anything more. Maciek > > On 14 February 2012 05:51, Arno J. Klaassen wrote: > > Hello, > > > > could someone provide me wit a hint how to get wpa_supplicant > > to work in the following environment : > > > > - standard : IEEE 802.11 (at least they pretend in the doc) > > -mode : "infrastructure" (?) > > -WEP: 128bit > > - Authent : open > > > > - and then "username/password" upon browser-launch (at least under > > Windows) > > > > When I put the following to wpa_suplicant.conf I get "State : > > ASSOCIATED -> COMPLETED" : > > > > ssid="their-ID" (unpublished) > > scan_ssid=1 > > key_mgmt=NONE > > wep_key0="part1" > > wep_key1="part2" > > wep_key2="part3" > > > > However, 'dhclient wlan0' says "No DHCPOFFERS received" > > > > Any help appreciated. > > > > Thanx in advance, regards, > > > > Arno -- Pozdrawiam, Maciej Milewski ___ 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"