From owner-freebsd-net@freebsd.org Sun Sep 11 05:32:47 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F089BD64FC for ; Sun, 11 Sep 2016 05:32:47 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F065191 for ; Sun, 11 Sep 2016 05:32:47 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: by mail-oi0-x230.google.com with SMTP id y2so237879240oie.0 for ; Sat, 10 Sep 2016 22:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:from:date:message-id:subject:to; bh=ATQrZ+e5Kp2St86p1mxyPaZOwHCQPGEeXFiveUfe8u0=; b=Swm1l3DZo32Bz2mqMuuG1y98zqAmHmP+RdXR0FIwtLV+6u7SLmVBIsAjmByg2s0NCG H37YY4gX98CONFjKrygYL39pjx8pgigf8AZGfYMr/C4X2/YPSv6ydTyFjns72ukhv+hh 6MH1zY2A9V+BrYbyCvOt2mnbmcgfHnlcJbjvc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ATQrZ+e5Kp2St86p1mxyPaZOwHCQPGEeXFiveUfe8u0=; b=gRy6s99QrWIG4rN5RMqXwDKZNgfbH1TOVrKxzHte6Vo/d5CHJMHFWn3OnObGS3y82m DY1mdQVQnQY/EpetkFO9Wc5RVh1ta3Mj8HgLPwuBKeoIbEZP79j5V3IU723gATn/4e9Z 9Yvu116nHiXdHKEIlXOgxnfMmBbml3/XdfuRwW7S0mGiYsRWqMN5sbLMJNetPE7x25cW Y6AH2U76QcYOGtF+7m4Q43b1LzAkQZosnXW62GgVVCyd7QTTOx61Pk5MBL+ofUWBIIq+ n0EQIxoFde1q8Rkc8wax/ct7v2Z4xh3HGIDhnuh+eK9j5eDGi2tmhouOm4TmreV2P/jt RFkw== X-Gm-Message-State: AE9vXwM/Lc2qKg6sOVYKR8bp6OHV7v3WWlgMuHQCqeWF1+9B74x3doQAXMGGMmBBFHlmtiLhpljK9Ca6Lt6kVA== X-Received: by 10.157.15.242 with SMTP id m47mr16234246otd.191.1473571965478; Sat, 10 Sep 2016 22:32:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.43.205 with HTTP; Sat, 10 Sep 2016 22:32:44 -0700 (PDT) From: Ze Claudio Pastore Date: Sun, 11 Sep 2016 02:32:44 -0300 Message-ID: Subject: Regression WPA? 10.2 -> 10.3 stopped working To: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 05:32:47 -0000 Hello, I had a fully working wifi with WPA on 10.2, after upgrading to 10.3 (via freebsd-update) it stopped working with no further change. # uname -rsvK FreeBSD 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 1003000 Here is my wpa_supplicant.conf: network={ ssid="HomerMarge" psk=67fbe20403934403770ed44c375de7025d4d68e58370c340c0136503a2c7a368 priority=2 } network={ ssid="homewifi_13C" psk=e9a38d0ef14431b3159be2256dfff80c5ec2cf3cbe634abf89c62fdcb796f410 priority=3 } Here is a wpa_supplicant session with debug: # wpa_supplicant -dd -iwlan1 -c/etc/wpa_supplicant.conf wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan1' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=10): 48 6f 6d 65 72 4d 61 72 67 65 HomerMarge PSK - hexdump(len=32): [REMOVED] priority=2 (0x2) Line: 8 - start of a new network block ssid - hexdump_ascii(len=12): 68 6f 6d 65 77 69 66 69 5f 31 33 43 homewifi_13C PSK - hexdump(len=32): [REMOVED] priority=3 (0x3) Priority group 3 id=1 ssid='homewifi_13C' Priority group 2 id=0 ssid='HomerMarge' wpa_driver_bsd_capa: drivercaps=0x2181c001,cryptocaps=0x00000000 wlan1: Own MAC address: ff:ff:30:04:00:00 bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: RSN: flushing PMKID list in the driver wlan1: Setting scan request: 0 sec 100000 usec WPS: Set UUID for interface wlan1 WPS: UUID based on MAC address - hexdump(len=16): cc cb a6 4f 4f c1 50 10 9b cd 55 3a 83 a7 1d 2b EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized wlan1: Added interface wlan1 wlan1: State: DISCONNECTED -> DISCONNECTED wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized wlan1: Event SCAN_RESULTS (3) received Received 2528 bytes of scan results (8 BSSes) wlan1: BSS: Start scan result update 1 wlan1: BSS: Add new id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' wlan1: BSS: Add new id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' wlan1: BSS: Add new id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' wlan1: BSS: Add new id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' wlan1: BSS: Add new id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' wlan1: BSS: Add new id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' wlan1: BSS: Add new id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' wlan1: BSS: Add new id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' BSS: last_scan_res_used=8/32 last_scan_full=0 wlan1: New scan results available WPS: AP d4:ca:6d:c2:7a:e0 type 0 added WPS: AP 70:54:d2:b4:cf:39 type 0 added WPS: AP 4c:d0:8a:ed:d1:42 type 0 added WPS: AP 3c:1e:04:57:15:6a type 0 added WPS: AP 4c:d0:8a:a4:60:e6 type 0 added WPS: AP f8:e9:03:9c:74:a1 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-68 wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-70 wlan1: skip - SSID mismatch wlan1: 3: 70:54:d2:b4:cf:39 ssid='WNET' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-70 wps wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-73 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 0 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 2 --> request scan in 500 ms wlan1: Setting scan request: 0 sec 500000 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 1700 bytes of scan results (5 BSSes) wlan1: BSS: Start scan result update 2 wlan1: BSS: Add new id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' wlan1: BSS: Add new id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' wlan1: BSS: Add new id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' BSS: last_scan_res_used=5/32 last_scan_full=0 wlan1: New scan results available WPS: AP 90:0d:cb:05:9c:60 type 0 added WPS: AP 90:1a:ca:a3:f9:20 type 0 added WPS: AP e0:91:f5:c9:9a:59 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: No APs found - clear blacklist and try again Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 1 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 2148 bytes of scan results (7 BSSes) wlan1: BSS: Start scan result update 3 wlan1: BSS: Add new id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' wlan1: BSS: Remove id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' due to no match in scan wlan1: BSS: Remove id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' due to no match in scan BSS: last_scan_res_used=7/32 last_scan_full=0 wlan1: New scan results available WPS: AP 98:97:d1:23:c4:90 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[9] 98:97:d1:23:c4:90 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 2: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-69 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 3: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-71 wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:a4:60:e6 ssid='IvanR' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: 5: 98:97:d1:23:c4:90 ssid='WIFI-C490' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: 6: 3c:1e:04:57:15:6a ssid='GVT-156A' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: selected based on RSN IE wlan1: selected BSS d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wlan1: Request association: reassociate: 1 selected: d4:ca:6d:c2:7a:e0 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with d4:ca:6d:c2:7a:e0 (SSID='HomerMarge' freq=2427 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID d4:ca:6d:c2:7a:e0 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: WPA: using GTK CCMP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID d4:ca:6d:c2:7a:e0 freq=2427 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'HomerMarge' wpa ie len 22 pairwise 3 group 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan1: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with d4:ca:6d:c2:7a:e0 timed out. Added BSSID d4:ca:6d:c2:7a:e0 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=d4:ca:6d:c2:7a:e0 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=d4:ca:6d:c2:7a:e0 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID d4:ca:6d:c2:7a:e0 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 ^Cwlan1: Removing interface wlan1 wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: No keys have been configured - skip key clearing Removed BSSID d4:ca:6d:c2:7a:e0 from blacklist (clear) Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: BSS: Remove id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' due to wpa_bss_flush wlan1: BSS: Remove id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' due to wpa_bss_flush wlan1: BSS: Remove id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' due to wpa_bss_flush wlan1: BSS: Remove id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' due to wpa_bss_flush wlan1: BSS: Remove id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' due to wpa_bss_flush wlan1: BSS: Remove id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' due to wpa_bss_flush wlan1: BSS: Remove id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' due to wpa_bss_flush wlan1: BSS: Remove id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' due to wpa_bss_flush wlan1: BSS: Remove id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' due to wpa_bss_flush wlan1: BSS: Remove id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' due to wpa_bss_flush wlan1: Cancelling scan request wlan1: Cancelling authentication timeout wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wpa_driver_bsd_set_wpa_internal: wpa=2 privacy=1 wlan1: CTRL-EVENT-TERMINATING It will loop forever but never auth if I dont ^C # wpa_supplicant -dd -iwlan1 -c/etc/wpa_supplicant.conf wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan1' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=10): 48 6f 6d 65 72 4d 61 72 67 65 HomerMarge PSK - hexdump(len=32): [REMOVED] priority=2 (0x2) Line: 8 - start of a new network block ssid - hexdump_ascii(len=12): 68 6f 6d 65 77 69 66 69 5f 31 33 43 homewifi_13C PSK - hexdump(len=32): [REMOVED] priority=3 (0x3) Priority group 3 id=1 ssid='homewifi_13C' Priority group 2 id=0 ssid='HomerMarge' wpa_driver_bsd_capa: drivercaps=0x2181c001,cryptocaps=0x00000000 wlan1: Own MAC address: ff:ff:30:04:00:00 bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: RSN: flushing PMKID list in the driver wlan1: Setting scan request: 0 sec 100000 usec WPS: Set UUID for interface wlan1 WPS: UUID based on MAC address - hexdump(len=16): cc cb a6 4f 4f c1 50 10 9b cd 55 3a 83 a7 1d 2b EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized wlan1: Added interface wlan1 wlan1: State: DISCONNECTED -> DISCONNECTED wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized wlan1: Event SCAN_RESULTS (3) received Received 2528 bytes of scan results (8 BSSes) wlan1: BSS: Start scan result update 1 wlan1: BSS: Add new id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' wlan1: BSS: Add new id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' wlan1: BSS: Add new id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' wlan1: BSS: Add new id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' wlan1: BSS: Add new id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' wlan1: BSS: Add new id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' wlan1: BSS: Add new id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' wlan1: BSS: Add new id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' BSS: last_scan_res_used=8/32 last_scan_full=0 wlan1: New scan results available WPS: AP d4:ca:6d:c2:7a:e0 type 0 added WPS: AP 70:54:d2:b4:cf:39 type 0 added WPS: AP 4c:d0:8a:ed:d1:42 type 0 added WPS: AP 3c:1e:04:57:15:6a type 0 added WPS: AP 4c:d0:8a:a4:60:e6 type 0 added WPS: AP f8:e9:03:9c:74:a1 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-68 wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-70 wlan1: skip - SSID mismatch wlan1: 3: 70:54:d2:b4:cf:39 ssid='WNET' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-70 wps wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-73 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 0 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 2 --> request scan in 500 ms wlan1: Setting scan request: 0 sec 500000 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 1700 bytes of scan results (5 BSSes) wlan1: BSS: Start scan result update 2 wlan1: BSS: Add new id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' wlan1: BSS: Add new id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' wlan1: BSS: Add new id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' BSS: last_scan_res_used=5/32 last_scan_full=0 wlan1: New scan results available WPS: AP 90:0d:cb:05:9c:60 type 0 added WPS: AP 90:1a:ca:a3:f9:20 type 0 added WPS: AP e0:91:f5:c9:9a:59 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: No APs found - clear blacklist and try again Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 1 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 2148 bytes of scan results (7 BSSes) wlan1: BSS: Start scan result update 3 wlan1: BSS: Add new id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' wlan1: BSS: Remove id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' due to no match in scan wlan1: BSS: Remove id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' due to no match in scan BSS: last_scan_res_used=7/32 last_scan_full=0 wlan1: New scan results available WPS: AP 98:97:d1:23:c4:90 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[9] 98:97:d1:23:c4:90 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 2: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-69 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 3: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-71 wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:a4:60:e6 ssid='IvanR' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: 5: 98:97:d1:23:c4:90 ssid='WIFI-C490' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: 6: 3c:1e:04:57:15:6a ssid='GVT-156A' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: selected based on RSN IE wlan1: selected BSS d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wlan1: Request association: reassociate: 1 selected: d4:ca:6d:c2:7a:e0 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with d4:ca:6d:c2:7a:e0 (SSID='HomerMarge' freq=2427 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID d4:ca:6d:c2:7a:e0 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: WPA: using GTK CCMP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID d4:ca:6d:c2:7a:e0 freq=2427 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'HomerMarge' wpa ie len 22 pairwise 3 group 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan1: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with d4:ca:6d:c2:7a:e0 timed out. Added BSSID d4:ca:6d:c2:7a:e0 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=d4:ca:6d:c2:7a:e0 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=d4:ca:6d:c2:7a:e0 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID d4:ca:6d:c2:7a:e0 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 ^Cwlan1: Removing interface wlan1 wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: No keys have been configured - skip key clearing Removed BSSID d4:ca:6d:c2:7a:e0 from blacklist (clear) Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: BSS: Remove id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' due to wpa_bss_flush wlan1: BSS: Remove id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' due to wpa_bss_flush wlan1: BSS: Remove id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' due to wpa_bss_flush wlan1: BSS: Remove id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' due to wpa_bss_flush wlan1: BSS: Remove id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' due to wpa_bss_flush wlan1: BSS: Remove id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' due to wpa_bss_flush wlan1: BSS: Remove id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' due to wpa_bss_flush wlan1: BSS: Remove id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' due to wpa_bss_flush wlan1: BSS: Remove id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' due to wpa_bss_flush wlan1: BSS: Remove id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' due to wpa_bss_flush wlan1: Cancelling scan request wlan1: Cancelling authentication timeout wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wpa_driver_bsd_set_wpa_internal: wpa=2 privacy=1 wlan1: CTRL-EVENT-TERMINATING # wpa_supplicant -dd -iwlan1 -c/etc/wpa_supplicant.conf wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan1' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=10): 48 6f 6d 65 72 4d 61 72 67 65 HomerMarge PSK - hexdump(len=32): [REMOVED] priority=2 (0x2) Line: 8 - start of a new network block ssid - hexdump_ascii(len=12): 68 6f 6d 65 77 69 66 69 5f 31 33 43 homewifi_13C PSK - hexdump(len=32): [REMOVED] priority=3 (0x3) Priority group 3 id=1 ssid='homewifi_13C' Priority group 2 id=0 ssid='HomerMarge' wpa_driver_bsd_capa: drivercaps=0x2181c001,cryptocaps=0x00000000 wlan1: Own MAC address: ff:ff:30:04:00:00 bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: RSN: flushing PMKID list in the driver wlan1: Setting scan request: 0 sec 100000 usec WPS: Set UUID for interface wlan1 WPS: UUID based on MAC address - hexdump(len=16): cc cb a6 4f 4f c1 50 10 9b cd 55 3a 83 a7 1d 2b EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized wlan1: Added interface wlan1 wlan1: State: DISCONNECTED -> DISCONNECTED wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized wlan1: Event SCAN_RESULTS (3) received Received 2528 bytes of scan results (8 BSSes) wlan1: BSS: Start scan result update 1 wlan1: BSS: Add new id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' wlan1: BSS: Add new id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' wlan1: BSS: Add new id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' wlan1: BSS: Add new id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' wlan1: BSS: Add new id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' wlan1: BSS: Add new id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' wlan1: BSS: Add new id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' wlan1: BSS: Add new id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' BSS: last_scan_res_used=8/32 last_scan_full=0 wlan1: New scan results available WPS: AP d4:ca:6d:c2:7a:e0 type 0 added WPS: AP 70:54:d2:b4:cf:39 type 0 added WPS: AP 4c:d0:8a:ed:d1:42 type 0 added WPS: AP 3c:1e:04:57:15:6a type 0 added WPS: AP 4c:d0:8a:a4:60:e6 type 0 added WPS: AP f8:e9:03:9c:74:a1 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-68 wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-70 wlan1: skip - SSID mismatch wlan1: 3: 70:54:d2:b4:cf:39 ssid='WNET' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-70 wps wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-73 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 0 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 2 --> request scan in 500 ms wlan1: Setting scan request: 0 sec 500000 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 1700 bytes of scan results (5 BSSes) wlan1: BSS: Start scan result update 2 wlan1: BSS: Add new id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' wlan1: BSS: Add new id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' wlan1: BSS: Add new id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' BSS: last_scan_res_used=5/32 last_scan_full=0 wlan1: New scan results available WPS: AP 90:0d:cb:05:9c:60 type 0 added WPS: AP 90:1a:ca:a3:f9:20 type 0 added WPS: AP e0:91:f5:c9:9a:59 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 1: 90:0d:cb:05:9c:60 ssid='NETVIRTUA1002' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-60 wps wlan1: skip - SSID mismatch wlan1: 2: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 3: 90:1a:ca:a3:f9:20 ssid='ARRIS-F922' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 wps wlan1: skip - SSID mismatch wlan1: 4: e0:91:f5:c9:9a:59 ssid='Acta Arquitetura' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: No APs found - clear blacklist and try again Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: Selecting BSS from priority group 3 wlan1: 0: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-48 wps wlan1: selected based on RSN IE wlan1: selected BSS 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wlan1: Request association: reassociate: 1 selected: 4c:d0:8a:ed:d1:42 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with 4c:d0:8a:ed:d1:42 (SSID='homewifi_13C' freq=2462 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 4c:d0:8a:ed:d1:42 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 8c 00 wlan1: WPA: using GTK TKIP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID 4c:d0:8a:ed:d1:42 freq=2462 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'homewifi_13C' wpa ie len 22 pairwise 3 group 2 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op=21, val=0, arg_len=42]: No such file or directory wlan1: Association request to the driver failed wlan1: Setting authentication timeout: 5 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with 4c:d0:8a:ed:d1:42 timed out. Added BSSID 4c:d0:8a:ed:d1:42 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=4c:d0:8a:ed:d1:42 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=4c:d0:8a:ed:d1:42 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID 4c:d0:8a:ed:d1:42 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wlan1: Event SCAN_RESULTS (3) received Received 2148 bytes of scan results (7 BSSes) wlan1: BSS: Start scan result update 3 wlan1: BSS: Add new id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' wlan1: BSS: Remove id 3 BSSID 70:54:d2:b4:cf:39 SSID 'WNET' due to no match in scan wlan1: BSS: Remove id 7 BSSID f8:e9:03:9c:74:a1 SSID 'The Force Awakens' due to no match in scan BSS: last_scan_res_used=7/32 last_scan_full=0 wlan1: New scan results available WPS: AP 98:97:d1:23:c4:90 type 0 added WPS: AP[0] d4:ca:6d:c2:7a:e0 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[1] 70:54:d2:b4:cf:39 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[2] 4c:d0:8a:ed:d1:42 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 WPS: AP[3] 3c:1e:04:57:15:6a type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[4] 4c:d0:8a:a4:60:e6 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[5] f8:e9:03:9c:74:a1 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[6] 90:0d:cb:05:9c:60 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[7] 90:1a:ca:a3:f9:20 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[8] e0:91:f5:c9:9a:59 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 WPS: AP[9] 98:97:d1:23:c4:90 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wlan1: Selecting BSS from priority group 3 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: skip - SSID mismatch wlan1: 1: 80:ea:96:eb:da:2a ssid='marcao airport' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-64 wlan1: skip - SSID mismatch wlan1: 2: 4c:d0:8a:ed:d1:42 ssid='homewifi_13C' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-69 wps wlan1: skip - blacklisted (count=2 limit=1) wlan1: 3: bc:ee:7b:33:0d:f8 ssid='Tomato24' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-71 wlan1: skip - SSID mismatch wlan1: 4: 4c:d0:8a:a4:60:e6 ssid='IvanR' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: 5: 98:97:d1:23:c4:90 ssid='WIFI-C490' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-76 wps wlan1: skip - SSID mismatch wlan1: 6: 3c:1e:04:57:15:6a ssid='GVT-156A' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-76 wps wlan1: skip - SSID mismatch wlan1: Selecting BSS from priority group 2 wlan1: 0: d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wpa_ie_len=22 rsn_ie_len=20 caps=0x31 level=-51 wps wlan1: selected based on RSN IE wlan1: selected BSS d4:ca:6d:c2:7a:e0 ssid='HomerMarge' wlan1: Request association: reassociate: 1 selected: d4:ca:6d:c2:7a:e0 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan1: Trying to associate with d4:ca:6d:c2:7a:e0 (SSID='HomerMarge' freq=2427 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan1: Cancelling scan request wlan1: WPA: clearing own WPA/RSN IE wlan1: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID d4:ca:6d:c2:7a:e0 RSN: No PMKSA cache entry found wlan1: RSN: using IEEE 802.11i/D9.0 wlan1: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: WPA: using GTK CCMP wlan1: WPA: using PTK CCMP wlan1: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> ASSOCIATING Limit connection to BSSID d4:ca:6d:c2:7a:e0 freq=2427 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'HomerMarge' wpa ie len 22 pairwise 3 group 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan1: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan1: Authentication with d4:ca:6d:c2:7a:e0 timed out. Added BSSID d4:ca:6d:c2:7a:e0 into blacklist wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=d4:ca:6d:c2:7a:e0 reason=3 state=ASSOCIATING wlan1: Event DEAUTH (12) received wlan1: Deauthentication notification wlan1: * reason 3 (locally generated) Deauthentication frame IE(s) - hexdump(len=0): [NULL] wlan1: CTRL-EVENT-DISCONNECTED bssid=d4:ca:6d:c2:7a:e0 reason=3 locally_generated=1 wlan1: Auto connect enabled: try to reconnect (wps=0 wpa_state=5) wlan1: Setting scan request: 0 sec 100000 usec BSSID d4:ca:6d:c2:7a:e0 blacklist count incremented to 2 wlan1: Blacklist count 4 --> request scan in 5000 ms wlan1: Setting scan request: 5 sec 0 usec wlan1: Disconnect event - remove keys bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 bsd_set_key: alg=0 addr=0x801c104c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: addr=00:00:00:00:00:00 ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Can't assign requested address wlan1: State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wlan1: No keys have been configured - skip key clearing wlan1: State: DISCONNECTED -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wlan1: Setting scan request: 1 sec 0 usec wlan1: State: DISCONNECTED -> SCANNING wlan1: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 ^Cwlan1: Removing interface wlan1 wlan1: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=SCANNING wlan1: No keys have been configured - skip key clearing wlan1: State: SCANNING -> DISCONNECTED EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized wpa_driver_bsd_set_countermeasures: enabled=0 wlan1: No keys have been configured - skip key clearing Removed BSSID d4:ca:6d:c2:7a:e0 from blacklist (clear) Removed BSSID 4c:d0:8a:ed:d1:42 from blacklist (clear) wlan1: BSS: Remove id 8 BSSID 90:0d:cb:05:9c:60 SSID 'NETVIRTUA1002' due to wpa_bss_flush wlan1: BSS: Remove id 9 BSSID 90:1a:ca:a3:f9:20 SSID 'ARRIS-F922' due to wpa_bss_flush wlan1: BSS: Remove id 10 BSSID e0:91:f5:c9:9a:59 SSID 'Acta Arquitetura' due to wpa_bss_flush wlan1: BSS: Remove id 0 BSSID d4:ca:6d:c2:7a:e0 SSID 'HomerMarge' due to wpa_bss_flush wlan1: BSS: Remove id 2 BSSID 80:ea:96:eb:da:2a SSID 'marcao airport' due to wpa_bss_flush wlan1: BSS: Remove id 4 BSSID 4c:d0:8a:ed:d1:42 SSID 'homewifi_13C' due to wpa_bss_flush wlan1: BSS: Remove id 1 BSSID bc:ee:7b:33:0d:f8 SSID 'Tomato24' due to wpa_bss_flush wlan1: BSS: Remove id 6 BSSID 4c:d0:8a:a4:60:e6 SSID 'IvanR' due to wpa_bss_flush wlan1: BSS: Remove id 11 BSSID 98:97:d1:23:c4:90 SSID 'WIFI-C490' due to wpa_bss_flush wlan1: BSS: Remove id 5 BSSID 3c:1e:04:57:15:6a SSID 'GVT-156A' due to wpa_bss_flush wlan1: Cancelling scan request wlan1: Cancelling authentication timeout wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wpa_driver_bsd_set_wpa_internal: wpa=2 privacy=1 wlan1: CTRL-EVENT-TERMINATING I tried with both urtwn(4) and run(4) drivers, two different USB dongles, and also an atheros one: urtwn0: on usbus1 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R ugen3.4: at usbus3 ugen3.4: at usbus3 (disconnected) ugen3.4: at usbus3 uath0: on usbus3 ugen1.4: at usbus1 (disconnected) ugen1.4: at usbus1 run0: <1.0> on usbus1 run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 00:0e:ab:12:35:f6 wlan2: Ethernet address: 00:0e:ab:12:35:f6 run0: firmware RT3071 ver. 0.33 loaded run0: firmware RT3071 ver. 0.33 loaded run0: firmware RT3071 ver. 0.33 loaded error: [drm:pid5295:gen6_sanitize_pm] *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 00070000, was 18000000 run0: firmware RT3071 ver. 0.33 loaded ugen3.4: at usbus3 ugen3.4: at usbus3 (disconnected) ugen3.4: at usbus3 uath0: on usbus3 wlan3: Ethernet address: 00:1d:0f:a5:bb:f5 So, its probably unrelated to urtwn or a specific driver, probably something more WPA "wide"? Now I need a cable to reach www.freebsd.org: route to: 2001:1900:2254:206a::50:0 destination: :: mask: :: gateway: fe80::4ed0:8aff:feed:d140%ue0 fib: 0 interface: ue0 flags: recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 This is sad, may someone help me get unwired again? ;) Thank you. Oh, the onboard wifi is a Broadcom, unsupported on FreeBSD (AFAIK), but I tried some ndis usage: ndis0@pci0:2:0:0: class=0x028000 card=0x00e9106b chip=0x435314e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM43224 802.11a/b/g/n' class = network I can confirm ndis0 works without WPA or WEP but it won work with wpa_supplicant too. However, different from the other devices, I can not confirm if it ever worked (never bothered trying, before today, just used a cheap dongle) # ifconfig wlan4 create wlandev ndis0 up # wpa_supplicant -dd -iwlan4 -c/etc/wpa_supplicant.conf wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan4' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 1 - start of a new network block ssid - hexdump_ascii(len=10): 48 6f 6d 65 72 4d 61 72 67 65 HomerMarge PSK - hexdump(len=32): [REMOVED] priority=2 (0x2) Line: 8 - start of a new network block ssid - hexdump_ascii(len=12): 68 6f 6d 65 77 69 66 69 5f 31 33 43 homewifi_13C PSK - hexdump(len=32): [REMOVED] priority=3 (0x3) Priority group 3 id=1 ssid='homewifi_13C' Priority group 2 id=0 ssid='HomerMarge' wpa_driver_bsd_capa: drivercaps=0x01802303,cryptocaps=0x0000000b wlan4: Own MAC address: 68:a8:6d:03:a3:fe bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wlan4: RSN: flushing PMKID list in the driver wlan4: Setting scan request: 0 sec 100000 usec WPS: Set UUID for interface wlan4 WPS: UUID based on MAC address - hexdump(len=16): ff a6 3a ae 7d 06 57 de bc 8b d0 b0 68 56 25 1c EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized wlan4: Added interface wlan4 wlan4: State: DISCONNECTED -> DISCONNECTED wlan4: State: DISCONNECTED -> SCANNING wlan4: Starting AP scan for wildcard SSID wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized It stucks forever, not looping (different from the native drivers). Once again, thank you. From owner-freebsd-net@freebsd.org Sun Sep 11 06:12:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BF3EBD6B17 for ; Sun, 11 Sep 2016 06:12:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EDEB6C8 for ; Sun, 11 Sep 2016 06:12:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8B6C637057271 for ; Sun, 11 Sep 2016 06:12:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Date: Sun, 11 Sep 2016 06:12:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 06:12:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 11 12:24:34 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F9D1A9DC19 for ; Sun, 11 Sep 2016 12:24:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F4D985D for ; Sun, 11 Sep 2016 12:24:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BCOYpY023105 for ; Sun, 11 Sep 2016 12:24:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212229] IP IDs generation behavior issue Date: Sun, 11 Sep 2016 12:24:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 12:24:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212229 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #3 from Jose Luis Duran --- If net.inet.ip.rfc6864 is disabled, 10.3 behavior is observed: https://reviews.freebsd.org/D2177 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 11 14:14:26 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72F08BD6822 for ; Sun, 11 Sep 2016 14:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62709A52 for ; Sun, 11 Sep 2016 14:14:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BEEPYb028517 for ; Sun, 11 Sep 2016 14:14:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Date: Sun, 11 Sep 2016 14:14:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 14:14:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 121 | |05 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 11 14:15:32 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69D4CBD690D for ; Sun, 11 Sep 2016 14:15:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59990CA0 for ; Sun, 11 Sep 2016 14:15:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BEFV84030530 for ; Sun, 11 Sep 2016 14:15:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Date: Sun, 11 Sep 2016 14:15:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 14:15:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 120 | |77 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sun Sep 11 21:00:56 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81D21BD750D for ; Sun, 11 Sep 2016 21:00:56 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5AE2FB for ; Sun, 11 Sep 2016 21:00:56 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8BL01rV038997 for ; Sun, 11 Sep 2016 21:00:55 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201609112100.u8BL01rV038997@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention Date: Sun, 11 Sep 2016 21:00:55 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2016 21:00:56 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 203422 | mpd/ppoe not working with re(4) with revision 285 In Progress | 206581 | bxe_ioctl_nvram handler is faulty New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic Open | 148807 | [panic] "panic: sbdrop" and "panic: sbsndptr: soc Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 211031 | [panic] in ng_uncallout when argument is NULL Open | 211962 | bxe driver queue soft hangs and flooding tx_soft_ Open | 212018 | Enable IPSEC_NAT_T in GENERIC kernel configuratio 14 problems total for which you should take action. From owner-freebsd-net@freebsd.org Mon Sep 12 02:56:49 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6C41BD7420 for ; Mon, 12 Sep 2016 02:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96A4577C for ; Mon, 12 Sep 2016 02:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8C2unpj039321 for ; Mon, 12 Sep 2016 02:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212331] pfil processing order Date: Mon, 12 Sep 2016 02:56:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julian@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 02:56:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212331 Julian Elischer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian@FreeBSD.org --- Comment #7 from Julian Elischer --- Since I don't exactly understand pf, havgn never used it in production, I=20 don't really understand what you are trying to do but it would surprise me = if there was no way to do it just in ipfw. The only pf feature it definately doesn't have that I know of is the fingerprinting. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 12 05:54:54 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A3F4BD7223 for ; Mon, 12 Sep 2016 05:54:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 59C846E7 for ; Mon, 12 Sep 2016 05:54:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8C5srqH058742 for ; Mon, 12 Sep 2016 05:54:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Mon, 12 Sep 2016 05:54:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mj@bsdops.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 05:54:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #2 from Micha=C5=82 J=C4=99drzejczak --- (In reply to Alexey from comment #1) Have you configured this card in rc.conf ?=20 If no please check that with configured card ( ip, netmask for this interfa= ce in rc.conf ). I saw this same problem but on unconfigured interface. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 12 09:59:06 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79463BD67C9 for ; Mon, 12 Sep 2016 09:59:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 693DF762 for ; Mon, 12 Sep 2016 09:59:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8C9x6Qo058542 for ; Mon, 12 Sep 2016 09:59:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212331] pfil processing order Date: Mon, 12 Sep 2016 09:59:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: srijan.nandi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 09:59:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212331 --- Comment #8 from srijannandi --- ipfw is doing it's job perfectly well. It's just that I use ipfw for bandwi= dth shaping and also have captive portal running on ipfw. Rest all firewall'ing= and nat'ting features are used in pf. So, I have ipfw processing packets destined to port 80. As soon as it recei= ves a packet for destination port 80, it throws the user a captive portal login page. The user than logs in using his/her username and password. After which the packet is marked as authenticated and passed on to pf for further processing. pf then allows or denies the traffic as per the rule configured. This works fine, without issues. As soon as I enable a route-to rule in pf to pass this traffic via a specif= ic gateway, then when a packet is received by FreeBSD for destination port 80, ipfw no longer comes into picture and pf shorts this packet and start processing it. Therefore, in this scenario, I no longer get the captive por= tal page. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 12 15:02:28 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1235CBD8FA0 for ; Mon, 12 Sep 2016 15:02:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01B16B3A for ; Mon, 12 Sep 2016 15:02:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8CF2QDN091070 for ; Mon, 12 Sep 2016 15:02:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Mon, 12 Sep 2016 15:02:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: aserp3@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 15:02:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 --- Comment #3 from Alexey --- Yes, this card has been configured in the rc.conf --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Sep 12 16:11:21 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AAA7BD73D7 for ; Mon, 12 Sep 2016 16:11:21 +0000 (UTC) (envelope-from emeric.poupon@stormshield.eu) Received: from work.stormshield.eu (gwlille.netasq.com [91.212.116.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB9A3AD5 for ; Mon, 12 Sep 2016 16:11:20 +0000 (UTC) (envelope-from emeric.poupon@stormshield.eu) Received: from work.stormshield.eu (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTPS id 5C55837609DB for ; Mon, 12 Sep 2016 18:09:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 4E3823760B10 for ; Mon, 12 Sep 2016 18:09:03 +0200 (CEST) Received: from work.stormshield.eu ([127.0.0.1]) by localhost (work.stormshield.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gFIdc4csJ4i3 for ; Mon, 12 Sep 2016 18:09:03 +0200 (CEST) Received: from work.stormshield.eu (localhost [127.0.0.1]) by work.stormshield.eu (Postfix) with ESMTP id 3BF0E37609DB for ; Mon, 12 Sep 2016 18:09:03 +0200 (CEST) Date: Mon, 12 Sep 2016 18:09:02 +0200 (CEST) From: Emeric POUPON To: freebsd-net@FreeBSD.org Message-ID: <1628370702.4125956.1473696542873.JavaMail.zimbra@stormshield.eu> Subject: Vlan offloaded checksums MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Thread-Topic: Vlan offloaded checksums Thread-Index: nIeEhzgJc4kRuEaIFI21+2qx32A8Ow== X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 16:11:21 -0000 Hello, I have a network driver that supports hardware checksums. Thanks to offset parameters, it also supports VLAN checksums. However, it does not handle hardware tagging (not sure the underlying network adapter can actually do it) Unfortunately, the VLAN hardware checksums seem to be done only if IFCAP_VLAN_HWTAGGING is set [1] I do not understand this assertion: if I force the propagation of the hardware checksuming only based on the IFCAP_VLAN_HWCSUM, it works fine with my driver. What do you think? Emeric [1]: In ./net/if_vlan.c, function vlan_capabilities : /* * If the parent interface can do checksum offloading * on VLANs, then propagate its hardware-assisted * checksumming flags. Also assert that checksum * offloading requires hardware VLAN tagging. */ if (p->if_capabilities & IFCAP_VLAN_HWCSUM) ifp->if_capabilities = p->if_capabilities & IFCAP_HWCSUM; if (p->if_capenable & IFCAP_VLAN_HWCSUM && p->if_capenable & IFCAP_VLAN_HWTAGGING) { ifp->if_capenable = p->if_capenable & IFCAP_HWCSUM; ifp->if_hwassist = p->if_hwassist & (CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_SCTP); } else { ifp->if_capenable = 0; ifp->if_hwassist = 0; } From owner-freebsd-net@freebsd.org Tue Sep 13 01:50:03 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9C8FBD8027 for ; Tue, 13 Sep 2016 01:50:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A93E6B9D for ; Tue, 13 Sep 2016 01:50:03 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by mail-pa0-x22a.google.com with SMTP id wk8so2367004pab.1 for ; Mon, 12 Sep 2016 18:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xtck9inBVVBLNE9aInI4rieavG98SzREawqbex8HCLs=; b=yM+yeYHQG+85I2pSpg/H1Qj1B+pfs8XI5H3X7kcIXfp/KyfRF4FUsIL0jYMK23yfwe BY1Mhl47SykS9mo6Fs0xPhW+u7L1mB/3gfC8WaGpsA3dVrZyS/Cgegl/UrmXzcs255mJ t8z2YqUY5KuM2ZoHO0whc6v5rAxX1Rvm7Jx917o+/CmauNg2LrZH5hYDFODpB6KpDefP ldLPFkfkOJXPGr5BVmGXF/w+tsxWSKwYz6EobqQI/olxFVfwJeXXW7Y+aGhcKKIJqoyu YfOChW61P59CMkr9d/EQRVquAxZTGJiT89WBnyGKyWscqz4L9F9Ilx3jjofZ+Ho1GzCU aONA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=xtck9inBVVBLNE9aInI4rieavG98SzREawqbex8HCLs=; b=IVML4wY5DFNwNGyi0FgwvNtm6AswCOzZjz6teBirvPswcmf9mKe3QYilwQKnxhlD7f op+ymTIPsjFofu8LN+GnfoQwjZMx2AnxOOPEEbxSI5pxop/sz9wAICLNGYRgLXcDx3GM JcIiG8eTm5cUJr9yz+9ic8vsfFWpi/hDk4I3+c+/6T4T3qS5uSAZTA5xDQV702tiuVCM L5hlE4kOoaKurDc5SK3qQpDaPG5gZUUOdqYC/qxihPrEf1BumJc25fPIgoY8rCRBGRyu VpLw6IhkQGp+plvQFV1ojhCI/5VLjeqzuvFaICljc9PFtCcJFsb797NmRbAvE45a6JWB sNMw== X-Gm-Message-State: AE9vXwOfQjyJee2hLeURHgVnmeIL1YHcgM5GD6qpcFVPdgUNRjEZ9wuiKOOuiqNDayqAjQ== X-Received: by 10.66.160.200 with SMTP id xm8mr40060928pab.12.1473731403069; Mon, 12 Sep 2016 18:50:03 -0700 (PDT) Received: from localhost ([106.247.248.2]) by smtp.gmail.com with ESMTPSA id b64sm27159503pfa.82.2016.09.12.18.50.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Sep 2016 18:50:02 -0700 (PDT) From: YongHyeon PYUN X-Google-Original-From: "YongHyeon PYUN" Received: by localhost (sSMTP sendmail emulation); Tue, 13 Sep 2016 10:49:56 +0900 Date: Tue, 13 Sep 2016 10:49:56 +0900 To: Emeric POUPON Cc: freebsd-net@FreeBSD.org Subject: Re: Vlan offloaded checksums Message-ID: <20160913014956.GA1199@michelle.fasterthan.co.kr> Reply-To: pyunyh@gmail.com References: <1628370702.4125956.1473696542873.JavaMail.zimbra@stormshield.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1628370702.4125956.1473696542873.JavaMail.zimbra@stormshield.eu> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 01:50:03 -0000 On Mon, Sep 12, 2016 at 06:09:02PM +0200, Emeric POUPON wrote: > Hello, > > I have a network driver that supports hardware checksums. > Thanks to offset parameters, it also supports VLAN checksums. > However, it does not handle hardware tagging (not sure the underlying network adapter can actually do it) > > Unfortunately, the VLAN hardware checksums seem to be done only if IFCAP_VLAN_HWTAGGING is set [1] > I do not understand this assertion: if I force the propagation of the hardware checksuming only based on the IFCAP_VLAN_HWCSUM, it works fine with my driver. > > What do you think? > As you said some NICs do not rely on VLAN H/W tagging to make VLAN checksum offloading work. But current vlan(4) assumes VLAN H/W tagging is prerequisite condition to support VLAN checksum offloading. The same is true for TSO support over VLAN. I don't know what NIC you're referring to but it's rare to see controllers that don't support VLAN H/W tagging on PC/Servers. But it might be common NIC feature found on SoCs. If H/W requires offset parameters for checksum offloading you may already have to parse mbufs in the driver to extract that information and it would add additional overheads. If you really want to enable VLAN H/W checksum offloading in your driver you may be able to add VLAN tag handling in the parser and announce VLAN H/W tagging capability to network stack. You may not notice performance differences with VLAN H/W checksum offloading though. From owner-freebsd-net@freebsd.org Tue Sep 13 03:15:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AD64BD8739 for ; Tue, 13 Sep 2016 03:15:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB400380 for ; Tue, 13 Sep 2016 03:15:43 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-oi0-x235.google.com with SMTP id q188so240369060oia.3 for ; Mon, 12 Sep 2016 20:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JOkoXi8K3pe7m/lVyD+eFLLcn2QTh0IHXin0Z7g4Y1o=; b=xm1nJTA+t1M/A84jXN1aav58wCgCXxQBxxSr6+JVdhZKfrcbTXvdxR8F6TAfIQsnGx 38sXIGGLFuoVkgwwSphe8KB+YsaIAaEs/lYYsuHQI42FV7p2zqyx8r45lE9VBRiuAq6Z qhiQq8cdTXekwrhV6PLTX9oFvepxAhFPIzaMffmuuAh+OvhXaYCx2jNYgG+8msO54/L5 m9mzMrWO6eB2Q1DaMmXO3k+hU8QbASA8IsRXYpS0Lboojkq9j7leX/6KXAV3B9FZWHE5 P4QsWy5F8zDDWrOYJOQ6y6Fjx9D7e++4IjpPKX2ZFaAh/TnEiTNBxEB7AFN/piO/YXYC qzOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JOkoXi8K3pe7m/lVyD+eFLLcn2QTh0IHXin0Z7g4Y1o=; b=I+bf0zmD+NsugLPK2RWjDSXfVmOfuGhXVDO7DH+yzf6Wgn1VCI5iUCSnIRJe2HpB/t jgI/isPgxK/nZJ90v2YY5c11aVZkIKTpSNwbKJq0gW0NN5kLNKJiLztb/cKew9b4v+g9 LOvq0jS/ROB5lkzqSodVjQsHWNQ75Li5n6zkAQIO8/UydXlWw+Apmohymxz1Jo45LS+W BShsvebYwvbQh/1ach+3+pHxCkRboRC+xxUTX3yPy9k/UUPdYk/HuoLgWSaxQDHsCyeJ BQBGzsygRh2n+SsTcSY/YkThdu61RpTwFJ0N4QezmXM1R0/59C3ysfN4f74nEMUk5Grp ZxrA== X-Gm-Message-State: AE9vXwPoQnASaLmh4WJ2yMsQg6BzEm2jbnHQ2Wg8mKCIUQQc6spP6S5EsryMKpYRjluNqBRwF7GGlTd5bPFSJw== X-Received: by 10.202.87.76 with SMTP id l73mr3712874oib.84.1473736543163; Mon, 12 Sep 2016 20:15:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Mon, 12 Sep 2016 20:15:42 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Mon, 12 Sep 2016 20:15:42 -0700 Message-ID: Subject: Re: Regression WPA? 10.2 -> 10.3 stopped working To: Ze Claudio Pastore Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 03:15:44 -0000 Hi! have you tried say, 10.3 kernel with 10.2 userland? does it still work? -adrian From owner-freebsd-net@freebsd.org Tue Sep 13 15:12:09 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED77FBD9FF8 for ; Tue, 13 Sep 2016 15:12:09 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD50C9A4 for ; Tue, 13 Sep 2016 15:12:09 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: by mail-it0-x22e.google.com with SMTP id n143so41967369ita.1 for ; Tue, 13 Sep 2016 08:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=J25cV/8ygB9GPLvRKHmwTOpg7MigDpSICQSVkR972EU=; b=B9UNYz5MYy63TYwwDUSUV8aFA3vmFuLXq3SjUvQ5e+lX4E0xBwU9gMybZ6ryB+Ckkd 6UNIG7L38O0YZjQ12wl2V0zIcOEQILuOQChPYg4VExIC7Vbdu3vkVm/cgC/7SBQlOEXG BpKWR1MfjFYR2MvcPf4r9D4v3IAoAvCZaOVcI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=J25cV/8ygB9GPLvRKHmwTOpg7MigDpSICQSVkR972EU=; b=fQzJvVdazii25VQ9T3RCgbWJoRN9xf0VgwJ8jdVDHV/Xwz+goqVh5Zbn1DDXEm7jY5 birqQ+o3aCq/c2kowXf7v8QXotvU465nYFaCJN6eLRxDYpCxCQ37BBNfv/sQ+dHk/3rw lTROTafuaDVW5dtlV4abUsqI9aNor5M1YG27fXUyb7Z6UztD6LXXbNRjHJwsNpXO/w9n NjXno7KugyFTzfxc5c5GkXAm0x3Q0CYL2XrnnNb8b0DYd1xpd8ZQPFbHzBQemBsQ/2KY heBKNk/HAhzQ8VUA3RElydzvD/4gTNG+3WYeGHIFSRTEtte1iBi5cxtcZklmrLO3EemG WxAw== X-Gm-Message-State: AE9vXwOG12nsfyK4G2UukZOjbDOvFxcu91wEZalXISYlznY6RC/h2bKCIEnuvtMKAym6cgYQOd0t0erg/bJ/Bw== X-Received: by 10.107.153.129 with SMTP id b123mr2281270ioe.160.1473779528692; Tue, 13 Sep 2016 08:12:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.43.205 with HTTP; Tue, 13 Sep 2016 08:12:08 -0700 (PDT) In-Reply-To: References: From: Ze Claudio Pastore Date: Tue, 13 Sep 2016 12:12:08 -0300 Message-ID: Subject: Re: Regression WPA? 10.2 -> 10.3 stopped working To: Adrian Chadd Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 15:12:10 -0000 No, I have'nt, is it possible w/ freebsd-update? Can I revert just the userland? 2016-09-13 0:15 GMT-03:00 Adrian Chadd : > Hi! > > have you tried say, 10.3 kernel with 10.2 userland? does it still work? > > > > -adrian > From owner-freebsd-net@freebsd.org Tue Sep 13 15:14:12 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99A5DBD9095 for ; Tue, 13 Sep 2016 15:14:12 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63B3AAF7 for ; Tue, 13 Sep 2016 15:14:12 +0000 (UTC) (envelope-from zclaudio@bsd.com.br) Received: by mail-it0-x229.google.com with SMTP id x192so10159883itb.0 for ; Tue, 13 Sep 2016 08:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zklS90MWhKW6MbbViA+6TyWGNT+Hlodi7i7q25apYKw=; b=YHgXb/2X28SQOESlTM4a7MaoiHFpf3MzgmdrDd/P85p32Jae99IP6hr6y0/N+GzymY lOuF8KrjCc4GDid2mJwe3eiFXZGLF/kJfkG0BxvDdsrREPD6iJYUxt/y87vDrqArkZ2N kN3c+V65aOfD0X49/rUYt9+KjSJ5OfLCCTjT4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zklS90MWhKW6MbbViA+6TyWGNT+Hlodi7i7q25apYKw=; b=XFkgjKls/7yOY8JCsvHT7A1HARqPRm/wDdgfjBy+KlOdvQdHuJz7hJewf/i8J8V9vM M11DbNfPYIzo9lMazFTph8kGj11vXWN79eqnB96tTUybVj4hD3LrmbSdsGbL799k9uAu ZjSVWdfR68FTFZ4+1bVo/CuGUhcIw1hceTAg/ZGbvrTQjcBslizavL5F/MhoWmPJE3BW yiVhU6LpcCKREZcD4Ilb+9UYIDYl7NLYIg2lYKLhzpIpbi2Y6asWjMIGb5G3GureBHf8 xpq1BB4KYqsTCOR1iLpVnTD8Nt3/nXfaqo3RDs2fyjmUN1xw3GdJObJWG0DzTS+2A/pC yTxw== X-Gm-Message-State: AE9vXwN6OPRl7FnS8OXXg4tY+IJ1mj2WXTLZMgsuzVgDz6JG8M0I/gqbJ4wEAx3/YNKw4gXw6j4H0zf6DrydWA== X-Received: by 10.107.136.27 with SMTP id k27mr2297482iod.94.1473779651848; Tue, 13 Sep 2016 08:14:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.43.205 with HTTP; Tue, 13 Sep 2016 08:14:11 -0700 (PDT) In-Reply-To: References: From: Ze Claudio Pastore Date: Tue, 13 Sep 2016 12:14:11 -0300 Message-ID: Subject: Re: Regression WPA? 10.2 -> 10.3 stopped working To: Adrian Chadd Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 15:14:12 -0000 I will boot from a live stick by the evening and try the same dongles just to isolate if a plain new 10.3 is also broken or if it's just a matter of an unhappy upgrade and report back, thanks for caring :) 2016-09-13 12:12 GMT-03:00 Ze Claudio Pastore : > No, I have'nt, is it possible w/ freebsd-update? Can I revert just the > userland? > > > > 2016-09-13 0:15 GMT-03:00 Adrian Chadd : > >> Hi! >> >> have you tried say, 10.3 kernel with 10.2 userland? does it still work? >> >> >> >> -adrian >> > > From owner-freebsd-net@freebsd.org Tue Sep 13 16:21:52 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DA53BD97ED for ; Tue, 13 Sep 2016 16:21:52 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 00F06E34 for ; Tue, 13 Sep 2016 16:21:51 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id AAF2225D3899; Tue, 13 Sep 2016 16:21:40 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id D5F1ED1F822; Tue, 13 Sep 2016 16:21:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id KCmSgJ8n28A9; Tue, 13 Sep 2016 16:21:38 +0000 (UTC) Received: from [10.248.201.117] (fresh-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4920:2ef0:eeff:fe03:ee34]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 2FC41D1F7E2; Tue, 13 Sep 2016 16:21:38 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Hannes Mehnert" Cc: "FreeBSD Net" Subject: Re: dupliceated icmp echo request Date: Tue, 13 Sep 2016 16:21:36 +0000 Message-ID: <8F50E1D1-B17A-4C4C-84E9-60693E637583@lists.zabbadoz.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (2.0BETAr6054) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 16:21:52 -0000 On 13 Sep 2016, at 15:39, Hannes Mehnert wrote: > hello, > > (sorry in case this is the wrong mailing list) freebsd-net might be better; which I put on CC:. > while doing some network testing, I discovered that my FreeBSD > (r304285, > but likely earlier + released ones as well) sends out two > (bytewise-)identical ICMP echo requests shortly after each other when > I > ping the broadcast (IPv4) address on an interface [tested with: > tap,em,iwm]. > > This behaviour does not meet my expectations - is there any specific > reason for this behaviour; it behaves well (sending out a single ICMP > echo request) if I ping a unicast host. Asking for a command line seems strange; but given I am replying, is there any delay between the two packets? If you ktrace ping, do you see multiple send calls for the same data? /bz From owner-freebsd-net@freebsd.org Tue Sep 13 16:44:59 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E70E6BD9F50 for ; Tue, 13 Sep 2016 16:44:59 +0000 (UTC) (envelope-from hannes@mehnert.org) Received: from mail.mehnert.org (mail.mehnert.org [213.73.89.200]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF05D1241 for ; Tue, 13 Sep 2016 16:44:59 +0000 (UTC) (envelope-from hannes@mehnert.org) Received: from [128.232.110.111] (c111.al.cl.cam.ac.uk [128.232.110.111]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "hannes@mehnert.org", Issuer "mehnert root CA" (not verified)) by mail.mehnert.org (Postfix) with ESMTPS id 3356C3C6D; Tue, 13 Sep 2016 18:44:57 +0200 (CEST) Subject: Re: dupliceated icmp echo request To: "Bjoern A. Zeeb" References: <8F50E1D1-B17A-4C4C-84E9-60693E637583@lists.zabbadoz.net> Cc: FreeBSD Net From: Hannes Mehnert Message-ID: Date: Tue, 13 Sep 2016 17:44:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <8F50E1D1-B17A-4C4C-84E9-60693E637583@lists.zabbadoz.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 16:45:00 -0000 On 13/09/2016 17:21, Bjoern A. Zeeb wrote: > On 13 Sep 2016, at 15:39, Hannes Mehnert wrote: >> while doing some network testing, I discovered that my FreeBSD (r304285, >> but likely earlier + released ones as well) sends out two >> (bytewise-)identical ICMP echo requests shortly after each other when I >> ping the broadcast (IPv4) address on an interface [tested with: >> tap,em,iwm]. >> >> This behaviour does not meet my expectations - is there any specific >> reason for this behaviour; it behaves well (sending out a single ICMP >> echo request) if I ping a unicast host. > > Asking for a command line seems strange; but given I am replying, is > there any delay between the two packets? When observing using another physical host on the same network, I can only see a single ICMP echo request. running `tcpdump -i em0 icmp` (on the host doing a `ping 128.232.110.255`): 17:34:52.588149 IP 128.232.110.111 > 128.232.110.255: ICMP echo request, id 21589, seq 0, length 64 17:34:52.588167 IP 128.232.110.111 > 128.232.110.255: ICMP echo request, id 21589, seq 0, length 64 17:34:52.588676 IP 128.232.110.97 > 128.232.110.111: ICMP echo reply, id 21589, seq 0, length 64 17:34:52.589183 IP 128.232.110.4 > 128.232.110.111: ICMP echo reply, id 21589, seq 0, length 64 17:34:52.592620 IP 128.232.110.2 > 128.232.110.111: ICMP echo reply, id 21589, seq 0, length 64 kdump of the ping process: 21844 ping GIO fd 1 wrote 54 bytes "PING 128.232.110.255 (128.232.110.255): 56 data bytes " 21844 ping RET write 54/0x36 21844 ping CALL sigaction(SIGINT,0x7fffffffea00,0) 21844 ping RET sigaction 0 21844 ping CALL sigaction(SIG29,0x7fffffffea00,0) 21844 ping RET sigaction 0 21844 ping CALL sendto(0x3,0x6085b4,0x40,0,0,0) 21844 ping GIO fd 3 wrote 64 bytes 0x0000 0800 3cb8 5455 0000 57d8 2aac 0008 f962 0809 0a0b 0c0d 0e0f |..<.TU..W.*....b........| 0x0018 1011 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 |................ !"#$%&'| 0x0030 2829 2a2b 2c2d 2e2f 3031 3233 3435 3637 |()*+,-./01234567| 21844 ping RET sendto 64/0x40 21844 ping CALL select(0x5,0x7ffffffee6b0,0,0,0x7ffffffee730) 21844 ping RET select 1 21844 ping CALL recvmsg(0x4,0x7fffffffea20,0) 21844 ping GIO fd 4 read 84 bytes 0x0000 4500 0054 f6f1 0000 4001 a478 80e8 6e6f 80e8 6eff 0800 3cb8 |E..T....@..x..no..n...<.| 0x0018 5455 0000 57d8 2aac 0008 f962 0809 0a0b 0c0d 0e0f 1011 1213 |TU..W.*....b............| 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b |............ !"#$%&'()*+| 0x0048 2c2d 2e2f 3031 3233 3435 3637 |,-./01234567| 21844 ping STRU struct sockaddr { AF_INET, 128.232.110.111:0 } 21844 ping RET recvmsg 84/0x54 21844 ping CALL select(0x5,0x7ffffffee6b0,0,0,0x7ffffffee730) 21844 ping RET select 1 21844 ping CALL recvmsg(0x4,0x7fffffffea20,0) 21844 ping GIO fd 4 read 84 bytes 0x0000 4500 0054 655b 0000 4001 36ad 80e8 6e61 80e8 6e6f 0000 44b8 |E..Te[..@.6...na..no..D.| 0x0018 5455 0000 57d8 2aac 0008 f962 0809 0a0b 0c0d 0e0f 1011 1213 |TU..W.*....b............| 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b |............ !"#$%&'()*+| 0x0048 2c2d 2e2f 3031 3233 3435 3637 |,-./01234567| 21844 ping STRU struct sockaddr { AF_INET, 128.232.110.97:0 } 21844 ping RET recvmsg 84/0x54 21844 ping CALL write(0x1,0x801a39000,0x3e) 21844 ping GIO fd 1 wrote 62 bytes "64 bytes from 128.232.110.97: icmp_seq=0 ttl=64 time=0.555 ms " 21844 ping RET write 62/0x3e 21844 ping CALL select(0x5,0x7ffffffee6b0,0,0,0x7ffffffee730) 21844 ping RET select 1 21844 ping CALL recvmsg(0x4,0x7fffffffea20,0) 21844 ping GIO fd 4 read 84 bytes 0x0000 4500 0054 f6f1 0000 ff01 e672 80e8 6e04 80e8 6e6f 0000 44b8 |E..T.......r..n...no..D.| 0x0018 5455 0000 57d8 2aac 0008 f962 0809 0a0b 0c0d 0e0f 1011 1213 |TU..W.*....b............| 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b |............ !"#$%&'()*+| 0x0048 2c2d 2e2f 3031 3233 3435 3637 |,-./01234567| 21844 ping STRU struct sockaddr { AF_INET, 128.232.110.4:0 } 21844 ping RET recvmsg 84/0x54 21844 ping CALL write(0x1,0x801a39000,0x45) 21844 ping GIO fd 1 wrote 69 bytes "64 bytes from 128.232.110.4: icmp_seq=0 ttl=255 time=1.059 ms (DUP!) " 21844 ping RET write 69/0x45 21844 ping CALL select(0x5,0x7ffffffee6b0,0,0,0x7ffffffee730) 21844 ping RET select 1 21844 ping CALL recvmsg(0x4,0x7fffffffea20,0) 21844 ping GIO fd 4 read 84 bytes 0x0000 4500 0054 f6f1 0000 ff01 e674 80e8 6e02 80e8 6e6f 0000 44b8 |E..T.......t..n...no..D.| 0x0018 5455 0000 57d8 2aac 0008 f962 0809 0a0b 0c0d 0e0f 1011 1213 |TU..W.*....b............| 0x0030 1415 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425 2627 2829 2a2b |............ !"#$%&'()*+| 0x0048 2c2d 2e2f 3031 3233 3435 3637 |,-./01234567| 21844 ping STRU struct sockaddr { AF_INET, 128.232.110.2:0 } 21844 ping RET recvmsg 84/0x54 21844 ping CALL write(0x1,0x801a39000,0x45) 21844 ping GIO fd 1 wrote 69 bytes "64 bytes from 128.232.110.2: icmp_seq=0 ttl=255 time=4.497 ms (DUP!) " 21844 ping RET write 69/0x45 21844 ping CALL select(0x5,0x7ffffffee6b0,0,0,0x7ffffffee730) 21844 ping RET select -1 errno 4 Interrupted system call hannes From owner-freebsd-net@freebsd.org Tue Sep 13 23:00:44 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67AD1BD9C46 for ; Tue, 13 Sep 2016 23:00:44 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail2tor.com (mail2tor.com [188.126.79.59]) by mx1.freebsd.org (Postfix) with ESMTP id 328F6871 for ; Tue, 13 Sep 2016 23:00:43 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail.mail2tor.com (localhost [127.0.0.1]) by mail2tor.com (Postfix) with ESMTP id 34868C2074E for ; Tue, 13 Sep 2016 22:40:59 +0000 (UTC) Message-ID: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> Date: Tue, 13 Sep 2016 22:41:07 -0000 Subject: =ping: sendto: Can't assign requested address= in fib spaces From: zjef@mail2tor.com To: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 23:00:44 -0000 Hi, in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 in non-default fib spaces. PF is disabled. For example, UDP: setfib -2 host -vvv www.cisco.com 8.8.8.8 Trying "www.cisco.com" ;; connection timed out; no servers could be reached setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 Using domain server: Name: 2001:4860:4860::8888 Address: 2001:4860:4860::8888#53 Aliases: www.cisco.com is an alias for www.cisco.com.akadns.net. .... ICMP: setfib -2 ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ... setfib -2 ping6 www.cisco.com PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> 2a02:26f0:12:197::90 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms ... Also TCP in IPv4 is not affected: setfib -2 curl -o /tmp/index.html http://www.cisco.com % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 --:--:-- 68259 In FreeBSD 11 the networking worked smoothly in fib spaces. Is it known problem? Thanks Jim From owner-freebsd-net@freebsd.org Tue Sep 13 23:06:43 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB5E4BD9F41 for ; Tue, 13 Sep 2016 23:06:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1F1FC72 for ; Tue, 13 Sep 2016 23:06:43 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x236.google.com with SMTP id y2so482408oie.0 for ; Tue, 13 Sep 2016 16:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=rKwhMF53ckCcXe827+JXRBtEpa/gxPNeqLJwmHahs38=; b=b97DcVrLJ4LUxBwHEUOE9EqqP+LWgsaQqdm+hYCCiYg+GYnCixkiZQKtjyxZAvznmr C9xgNjFDAEBGVSF8cWxpEuMaftVpIARfar5LQ8pazFABcb9cWytUGI9obiamIzrs+sIC IX/2de6raInCErViAX8p7vJ2tTmiFkKyhXZzGv/82BdjbVTX+23OmW2DJQjDAnXC6jfS S7b77QG09EHkJLqbdvwHXjnERPCl7XHtaGVMxnId5QTjJ2sMRT9FRmvtcLjU94TsclB1 DIlnpsbK+zIRSoEhiaPNVCrW1WFg6iX2ZqDZHJILJphn63MkIodp6SzMSopUCQSrxkQj yv/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=rKwhMF53ckCcXe827+JXRBtEpa/gxPNeqLJwmHahs38=; b=jh0VSAjz6GGDnSG1EGop+HkVhY0BmBc+ruXHeWYg5ribj5KrJ7YVkDD+boK88sF6HU ZxaDXkG7/tjcrJkQlSynQVDTgB3q0mf4VRIsHt0AHLUh6av6Ie9Aj6koKh2bBSDflBhz fJH4uYOzshKyY4iSwyKPBQRlZ2XtvRSOlexuLFeD2sapRipMbNtbUJnzwrTrOUsaMP54 KqU+bfL13HnddJenASIXfvUXQIsjdoDDhWglo6bW0PQ6ieVA2Gzi8Sy9dh+0cGlIj5Ep AF5Xaa2ls8U5M6XgYQAUE/Zwwg7nD27FbPgjgN7Yg5t2GAUCBWlEF1WkEBJ7eatLJT5T DQQg== X-Gm-Message-State: AE9vXwMNLuSn3+SsORsfhfa9XTy0CGGRaRmCm7S+18dqBIx7QmNXEZpHts8jcTMsFbRc2cSs1w/ouc+awALpOA== X-Received: by 10.202.192.215 with SMTP id q206mr8390255oif.82.1473808003001; Tue, 13 Sep 2016 16:06:43 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.202.71.11 with HTTP; Tue, 13 Sep 2016 16:06:42 -0700 (PDT) In-Reply-To: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> From: Alan Somers Date: Tue, 13 Sep 2016 17:06:42 -0600 X-Google-Sender-Auth: k3AUePyUTbnH80lD9CQ_yQs0EyQ Message-ID: Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces To: zjef@mail2tor.com Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 23:06:44 -0000 On Tue, Sep 13, 2016 at 4:41 PM, wrote: > Hi, > > in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 in > non-default fib spaces. PF is disabled. For example, > > UDP: > > setfib -2 host -vvv www.cisco.com 8.8.8.8 > Trying "www.cisco.com" > ;; connection timed out; no servers could be reached > > setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 > Using domain server: > Name: 2001:4860:4860::8888 > Address: 2001:4860:4860::8888#53 > Aliases: > > www.cisco.com is an alias for www.cisco.com.akadns.net. > .... > > > ICMP: > > setfib -2 ping 8.8.8.8 > PING 8.8.8.8 (8.8.8.8): 56 data bytes > ping: sendto: Can't assign requested address > ping: sendto: Can't assign requested address > ... > > > setfib -2 ping6 www.cisco.com > PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> > 2a02:26f0:12:197::90 > 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms > ... > > > Also TCP in IPv4 is not affected: > > setfib -2 curl -o /tmp/index.html http://www.cisco.com > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left Speed > 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 --:--:-- > 68259 > > > In FreeBSD 11 the networking worked smoothly in fib spaces. > > Is it known problem? > > Thanks > > Jim > What is the output of "setfib 2 netstat -rn"? From owner-freebsd-net@freebsd.org Tue Sep 13 23:21:27 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4ECCBD9407 for ; Tue, 13 Sep 2016 23:21:27 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail2tor.com (mail2tor.com [188.126.79.59]) by mx1.freebsd.org (Postfix) with ESMTP id 6EF98632; Tue, 13 Sep 2016 23:21:27 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail.mail2tor.com (localhost [127.0.0.1]) by mail2tor.com (Postfix) with ESMTP id 3FC11C2093D; Tue, 13 Sep 2016 23:21:16 +0000 (UTC) Message-ID: In-Reply-To: References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> Date: Tue, 13 Sep 2016 23:21:21 -0000 Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces From: zjef@mail2tor.com To: "Alan Somers" Cc: zjef@mail2tor.com, "FreeBSD Net" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 23:21:27 -0000 Here is the nestat -rn output: setfib -2 netstat -rn Routing tables (fib: 2) Internet: Destination Gateway Flags Netif Expire default 10.128.0.1 UGS tun2 10.8.0.2 link#5 UH tun1 10.9.0.2 link#4 UH tun0 10.128.0.1 link#6 UH tun2 127.0.0.1 link#2 UH lo0 192.168.188.0/24 link#1 U dwc0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 default 2001:678:f0:1020::1 UGS tun2 ::1 link#2 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2001:678:f0:1020::/64 link#6 U tun2 2001:a61:51:f501::/64 link#1 U dwc0 fd6c:9bdf:37b4:5ef8::/64 link#4 U tun0 fd6c:9bdf:97b6:7ef7::/64 link#5 U tun1 fe80::/10 ::1 UGRS lo0 fe80::%dwc0/64 link#1 U dwc0 fe80::%lo0/64 link#2 U lo0 fe80::%tun0/64 link#4 U tun0 fe80::%tun1/64 link#5 U tun1 fe80::%tun2/64 link#6 U tun2 ff02::/16 ::1 UGRS lo0 > On Tue, Sep 13, 2016 at 4:41 PM, wrote: >> Hi, >> >> in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 >> in >> non-default fib spaces. PF is disabled. For example, >> >> UDP: >> >> setfib -2 host -vvv www.cisco.com 8.8.8.8 >> Trying "www.cisco.com" >> ;; connection timed out; no servers could be reached >> >> setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 >> Using domain server: >> Name: 2001:4860:4860::8888 >> Address: 2001:4860:4860::8888#53 >> Aliases: >> >> www.cisco.com is an alias for www.cisco.com.akadns.net. >> .... >> >> >> ICMP: >> >> setfib -2 ping 8.8.8.8 >> PING 8.8.8.8 (8.8.8.8): 56 data bytes >> ping: sendto: Can't assign requested address >> ping: sendto: Can't assign requested address >> ... >> >> >> setfib -2 ping6 www.cisco.com >> PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> >> 2a02:26f0:12:197::90 >> 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms >> ... >> >> >> Also TCP in IPv4 is not affected: >> >> setfib -2 curl -o /tmp/index.html http://www.cisco.com >> % Total % Received % Xferd Average Speed Time Time Time >> Current >> Dload Upload Total Spent Left >> Speed >> 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 --:--:-- >> 68259 >> >> >> In FreeBSD 11 the networking worked smoothly in fib spaces. >> >> Is it known problem? >> >> Thanks >> >> Jim >> > > What is the output of "setfib 2 netstat -rn"? > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Wed Sep 14 14:35:25 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78F29BDAC57 for ; Wed, 14 Sep 2016 14:35:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 680CF12B1 for ; Wed, 14 Sep 2016 14:35:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8EEZPIV079947 for ; Wed, 14 Sep 2016 14:35:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Wed, 14 Sep 2016 14:35:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 14:35:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |IntelNetworking --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Sep 14 14:55:19 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38D92BDA2C3 for ; Wed, 14 Sep 2016 14:55:19 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2C6A1FC9 for ; Wed, 14 Sep 2016 14:55:18 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id 2so1581474oif.2 for ; Wed, 14 Sep 2016 07:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=LAlp6upc6XxOIegGJqT+TPGPD3+26hLpR+3fKmTcQfM=; b=XPfxE6ox0xCr3GoJG67g4fATpiWewtvmTVVGGnz9pCBHKU4gp5BD6PeEErObrQCi4x kzqd1/5mahERWNVe42aT6KJxGRYtqgCsdG3SPjax++3LCM/HjyUAbCy1oTSVp+I4qBVu VpWxnUNUi6QIix9bQy9CRR0S/LrKsSdfyxsl7NXqNZ47pfJ6/bHJgCS6T1qcTP7sJcXc 4vqojD88h5DesNO/M7b4+ArqbjwbiXqYdJ8KjtwovIOO/Wa6mBh6SHU2wNNJP7DfUTYI dveFt/K8KhopZ8gicSJlp3Jlf6Wa/rljw8Z4G/9pBzLOjc/R38rtc6Bnb7YA8GAKgT+S oXMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=LAlp6upc6XxOIegGJqT+TPGPD3+26hLpR+3fKmTcQfM=; b=Dsv1Gnj61l2/zh81dCkOiiLNqe+osgT3X9bOUfv0o9hqlxdEBr4qxSQBO/BEMaR9S6 GhIjrH0oHCrqbJiA3+Nm8lLUmO1PTohtYO9LsOP3//4k9QcKJENWh8w8cM4kkatne0VK 8TIsTmtjWJeI8MkEBULG+xCqa7W9mOJB9q4o5LL4mfxJ2n2h+eX68RFRxlikvZmZs8Mg i82QjzQNkuIVZ650zNoFMXCjkGKh2DYhz9gzLTMTaebgBxDT7UhGsNX+DfZDipD1DtI4 0vzasG5w+zzEzKWNk9g1INl/tmfbdfWtScYXARaS3GtPJafh6hSb6Mwdzql0Xog1yZWs /RoA== X-Gm-Message-State: AE9vXwNbvdb1U+MblCh7947gGJ5VWCKvXtob6D08B7n+trobgvnVcxPDc9nUznKzb0xlDQp3e/P9KTkNW6zBeg== X-Received: by 10.202.80.15 with SMTP id e15mr2704812oib.75.1473864918311; Wed, 14 Sep 2016 07:55:18 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.202.71.11 with HTTP; Wed, 14 Sep 2016 07:55:17 -0700 (PDT) In-Reply-To: References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> From: Alan Somers Date: Wed, 14 Sep 2016 08:55:17 -0600 X-Google-Sender-Auth: LLfMJvybOfbAjaM2-0Z4sN2kaQk Message-ID: Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces To: zjef@mail2tor.com Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 14:55:19 -0000 That "Can't assign requested address" suggests that the problem might have nothing to do with fibs. Can you show us your "ifconfig" output? It would also help to know what local address ping is trying to assign. You can figure that out by doing "setfib 2 ktrace ping 8.8.8.8; kdump" and searching for "bind". Once you know that, you can try playing with ping's "-S" option to set different local addresses. -Alan On Tue, Sep 13, 2016 at 5:21 PM, wrote: > Here is the nestat -rn output: > > > > setfib -2 netstat -rn > Routing tables (fib: 2) > > Internet: > Destination Gateway Flags Netif Expire > default 10.128.0.1 UGS tun2 > 10.8.0.2 link#5 UH tun1 > 10.9.0.2 link#4 UH tun0 > 10.128.0.1 link#6 UH tun2 > 127.0.0.1 link#2 UH lo0 > 192.168.188.0/24 link#1 U dwc0 > > Internet6: > Destination Gateway Flags > Netif Expire > ::/96 ::1 UGRS > lo0 > default 2001:678:f0:1020::1 UGS > tun2 > ::1 link#2 UH > lo0 > ::ffff:0.0.0.0/96 ::1 UGRS > lo0 > 2001:678:f0:1020::/64 link#6 U > tun2 > 2001:a61:51:f501::/64 link#1 U > dwc0 > fd6c:9bdf:37b4:5ef8::/64 link#4 U > tun0 > fd6c:9bdf:97b6:7ef7::/64 link#5 U > tun1 > fe80::/10 ::1 UGRS > lo0 > fe80::%dwc0/64 link#1 U > dwc0 > fe80::%lo0/64 link#2 U > lo0 > fe80::%tun0/64 link#4 U > tun0 > fe80::%tun1/64 link#5 U > tun1 > fe80::%tun2/64 link#6 U > tun2 > ff02::/16 ::1 UGRS > lo0 > > > >> On Tue, Sep 13, 2016 at 4:41 PM, wrote: >>> Hi, >>> >>> in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 >>> in >>> non-default fib spaces. PF is disabled. For example, >>> >>> UDP: >>> >>> setfib -2 host -vvv www.cisco.com 8.8.8.8 >>> Trying "www.cisco.com" >>> ;; connection timed out; no servers could be reached >>> >>> setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 >>> Using domain server: >>> Name: 2001:4860:4860::8888 >>> Address: 2001:4860:4860::8888#53 >>> Aliases: >>> >>> www.cisco.com is an alias for www.cisco.com.akadns.net. >>> .... >>> >>> >>> ICMP: >>> >>> setfib -2 ping 8.8.8.8 >>> PING 8.8.8.8 (8.8.8.8): 56 data bytes >>> ping: sendto: Can't assign requested address >>> ping: sendto: Can't assign requested address >>> ... >>> >>> >>> setfib -2 ping6 www.cisco.com >>> PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> >>> 2a02:26f0:12:197::90 >>> 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms >>> ... >>> >>> >>> Also TCP in IPv4 is not affected: >>> >>> setfib -2 curl -o /tmp/index.html http://www.cisco.com >>> % Total % Received % Xferd Average Speed Time Time Time >>> Current >>> Dload Upload Total Spent Left >>> Speed >>> 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 --:--:-- >>> 68259 >>> >>> >>> In FreeBSD 11 the networking worked smoothly in fib spaces. >>> >>> Is it known problem? >>> >>> Thanks >>> >>> Jim >>> >> >> What is the output of "setfib 2 netstat -rn"? >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > From owner-freebsd-net@freebsd.org Wed Sep 14 19:59:24 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A2D9BDA2CC for ; Wed, 14 Sep 2016 19:59:24 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail2tor.com (mail2tor.com [188.126.79.59]) by mx1.freebsd.org (Postfix) with ESMTP id 21BA31B68; Wed, 14 Sep 2016 19:59:24 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail.mail2tor.com (localhost [127.0.0.1]) by mail2tor.com (Postfix) with ESMTP id 97368C208EA; Wed, 14 Sep 2016 19:59:12 +0000 (UTC) Message-ID: In-Reply-To: References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> Date: Wed, 14 Sep 2016 19:59:19 -0000 Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces From: zjef@mail2tor.com To: "Alan Somers" Cc: zjef@mail2tor.com, "FreeBSD Net" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 19:59:24 -0000 Hello Alan, thank you for guidelines. Here are some outputs from box: uname -a FreeBSD bp 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r305382: Tue Sep 6 03:03:40 CEST 2016 root@fb12-bpim1:/freebsd/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/MYKERNEL arm ifconfig -a dwc0: flags=8843 metric 0 mtu 1500 options=80008 ether 02:47:03:c1:b1:95 inet 192.168.188.254 netmask 0xffffff00 broadcast 192.168.188.255 inet6 fe80::47:3ff:fec1:b195%dwc0 prefixlen 64 scopeid 0x1 inet6 2001:a61:2:2701:47:3ff:fec1:b195 prefixlen 64 autoconf media: Ethernet autoselect (1000baseT ) status: active nd6 options=23 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.2 netmask 0xffffffff groups: lo nd6 options=21 pflog0: flags=141 metric 0 mtu 33184 groups: pflog tun0: flags=8051 metric 0 mtu 1500 options=80000 inet6 fe80::5cfd:b867:e963:74c7%tun0 prefixlen 64 scopeid 0x4 inet6 fd6c:9bdf:37b4:5ef8::1 prefixlen 64 inet 10.9.0.1 --> 10.9.0.2 netmask 0xffffffff groups: tun nd6 options=21 Opened by PID 88745 tun1: flags=8051 metric 0 mtu 1500 options=80000 inet6 fe80::5cfd:b867:e963:74c7%tun1 prefixlen 64 scopeid 0x5 inet6 fd6c:9bdf:97b6:7ef7::1 prefixlen 64 inet 10.8.0.1 --> 10.8.0.2 netmask 0xffffffff groups: tun nd6 options=21 Opened by PID 19613 tun2: flags=8051 metric 0 mtu 1500 options=80000 inet6 fe80::5cfd:b867:e963:74c7%tun2 prefixlen 64 scopeid 0x6 inet6 2001:678:f0:1040:3df1:1db0:377:e28f prefixlen 64 inet 10.128.0.7 --> 10.128.0.1 netmask 0xffff0000 groups: tun nd6 options=21 Opened by PID 4911 $ sudo pfctl -si Status: Disabled for 0 days 00:00:43 Debug: Urgent State Table Total Rate current entries 3 ... # netstat -rn [7/411] Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.188.1 UGS dwc0 10.8.0.0/24 10.8.0.2 UGS tun1 10.8.0.1 link#5 UHS lo0 10.8.0.2 link#5 UH tun1 10.9.0.0/24 10.9.0.2 UGS tun0 10.9.0.1 link#4 UHS lo0 10.9.0.2 link#4 UH tun0 10.128.0.0/16 10.128.0.24 UGS lo0 10.128.0.1 link#6 UH tun2 10.128.0.7 link#6 UHS lo0 127.0.0.1 link#2 UH lo0 127.0.0.2 link#2 UH lo0 192.168.177.0/24 192.168.188.2 UGS dwc0 192.168.188.0/24 link#1 U dwc0 192.168.188.254 link#1 UHS lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 default fe80::c225:6ff:febb:4afc%dwc0 UG dwc0 ::1 link#2 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2001:678:f0:1040::/64 link#6 U tun2 2001:678:f0:1040:3df1:1db0:377:e28f link#6 UHS lo0 2001:a61:2:2701::/64 link#1 U dwc0 2001:a61:2:2701:47:3ff:fec1:b195 link#1 UHS lo0 fd6c:9bdf:37b4:5ef8::/64 link#4 U tun0 fd6c:9bdf:37b4:5ef8::1 link#4 UHS lo0 fd6c:9bdf:97b6:7ef7::/64 link#5 U tun1 fd6c:9bdf:97b6:7ef7::1 link#5 UHS lo0 fe80::/10 ::1 UGRS lo0 fe80::%dwc0/64 link#1 U dwc0 fe80::47:3ff:fec1:b195%dwc0 link#1 UHS lo0 fe80::%lo0/64 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 fe80::%tun0/64 link#4 U tun0 fe80::5cfd:b867:e963:74c7%tun0 link#4 UHS lo0 fe80::5cfd:b867:e963:74c7%tun1 link#5 UHS lo0 fe80::%tun2/64 link#6 U tun2 fe80::5cfd:b867:e963:74c7%tun2 link#6 UHS lo0 ff02::/16 ::1 UGRS lo0 # setfib 2 netstat -rn Routing tables (fib: 2) Internet: Destination Gateway Flags Netif Expire default 10.128.0.1 UGS tun2 10.8.0.2 link#5 UH tun1 10.9.0.2 link#4 UH tun0 10.128.0.1 link#6 UH tun2 127.0.0.1 link#2 UH lo0 127.0.0.2 link#2 UH lo0 192.168.188.0/24 link#1 U dwc0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 default 2001:678:f0:1040::1 UGS tun2 ::1 link#2 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2001:678:f0:1040::/64 link#6 U tun2 2001:a61:2:2701::/64 link#1 U dwc0 fd6c:9bdf:37b4:5ef8::/64 link#4 U tun0 fd6c:9bdf:97b6:7ef7::/64 link#5 U tun1 fe80::/10 ::1 UGRS lo0 fe80::%dwc0/64 link#1 U dwc0 fe80::%lo0/64 link#2 U lo0 fe80::%tun0/64 link#4 U tun0 fe80::%tun2/64 link#6 U tun2 ff02::/16 ::1 UGRS lo0 In ktrace/kdump output I can't see bind call. ( http://pastebin.com/raw/Nua7AgMj ) Here is excerpt from ktrace with relevant messages: # setfib 2 ktrace ping 8.8.8.8 ... 90046 ping CALL socket(PF_INET,SOCK_RAW,IPPROTO_ICMP) 90046 ping RET socket 3 90046 ping CALL socket(PF_INET,SOCK_RAW,IPPROTO_ICMP) 90046 ping RET socket 4 90046 ping CALL getuid 90046 ping RET getuid 0 90046 ping CALL setuid(0) 90046 ping RET setuid 0 90046 ping CALL getuid 90046 ping RET getuid 0 90046 ping CALL socketpair(PF_LOCAL,SOCK_NONBLOCK|SOCK_STREAM,0,0xbfbee7d8) 90046 ping RET socketpair 0 90046 ping CALL connect(0x3,0x27b10,0x10) 90046 ping STRU struct sockaddr { AF_INET, 8.8.8.8:0 } 90046 ping RET connect 0 ... 90046 ping CALL sendto(0x3,0x17af8,0x40,0,0,0) 90046 ping RET sendto -1 errno 49 Can't assign requested address Also there is no bind call in ktrace output of "host" command: ( http://pastebin.com/raw/s92YjcVK ) # setfib 2 ktrace host www.cisco.com 8.8.8.8 99478 host CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP) 99478 host RET socket 3 99478 host CALL sendto(0x3,0x20829000,0x1f,0,0x2082b000,0x10) 99478 host STRU struct sockaddr { AF_INET, 8.8.8.8:53 } 99478 host RET sendto -1 errno 49 Can't assign requested address 99478 host CALL close(0x3) 99478 host RET close 0 99478 host CALL socket(PF_INET,SOCK_DGRAM,IPPROTO_UDP) 99478 host RET socket 3 99478 host CALL sendto(0x3,0x20829000,0x1f,0,0x2082b000,0x10) 99478 host STRU struct sockaddr { AF_INET, 8.8.8.8:53 } 99478 host RET sendto -1 errno 49 Can't assign requested address 99478 host CALL close(0x3) 99478 host RET close 0 99478 host CALL fstat(0x1,0xbfbfea70) 99478 host STRU struct stat {dev=1895890688, ino=100, mode=020620, nlink=1, uid=553, gid=4, rdev=100, atime=1473879488, mtime=1473879488, ctime=1473879488, birthtime=-1, size=0, blksize=4096, blocks=0, flags=0x0 } 99478 host RET fstat 0 99478 host CALL ioctl(0x1,TIOCGETA,0xbfbfea3c) 99478 host RET ioctl 0 99478 host CALL write(0x1,0x2082c000,0x35) 99478 host GIO fd 1 wrote 53 bytes ";; connection timed out; no servers could be reached " All possible source addresses fail in ping the same way as ping without src: setfib -2 ktrace ping -S 10.9.0.1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 10.9.0.1: 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address setfib -2 ktrace ping -S 10.8.0.1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 10.8.0.1: 56 data bytes ping: sendto: Can't assign requested address ^C --- 8.8.8.8 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss setfib -2 ktrace ping -S 192.168.188.254 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 192.168.188.254: 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address setfib -2 ktrace ping -S 10.128.0.7 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 10.128.0.7: 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address setfib -2 ping -S 127.0.0.1 8.8.8.8 PING 8.8.8.8 (8.8.8.8) from 127.0.0.1: 56 data bytes ping: sendto: Can't assign requested address ping: sendto: Can't assign requested address ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss Thanks > That "Can't assign requested address" suggests that the problem might > have nothing to do with fibs. Can you show us your "ifconfig" output? > It would also help to know what local address ping is trying to > assign. You can figure that out by doing "setfib 2 ktrace ping > 8.8.8.8; kdump" and searching for "bind". Once you know that, you can > try playing with ping's "-S" option to set different local addresses. > > -Alan > > On Tue, Sep 13, 2016 at 5:21 PM, wrote: >> Here is the nestat -rn output: >> >> >> >> setfib -2 netstat -rn >> Routing tables (fib: 2) >> >> Internet: >> Destination Gateway Flags Netif Expire >> default 10.128.0.1 UGS tun2 >> 10.8.0.2 link#5 UH tun1 >> 10.9.0.2 link#4 UH tun0 >> 10.128.0.1 link#6 UH tun2 >> 127.0.0.1 link#2 UH lo0 >> 192.168.188.0/24 link#1 U dwc0 >> >> Internet6: >> Destination Gateway Flags >> Netif Expire >> ::/96 ::1 UGRS >> lo0 >> default 2001:678:f0:1020::1 UGS >> tun2 >> ::1 link#2 UH >> lo0 >> ::ffff:0.0.0.0/96 ::1 UGRS >> lo0 >> 2001:678:f0:1020::/64 link#6 U >> tun2 >> 2001:a61:51:f501::/64 link#1 U >> dwc0 >> fd6c:9bdf:37b4:5ef8::/64 link#4 U >> tun0 >> fd6c:9bdf:97b6:7ef7::/64 link#5 U >> tun1 >> fe80::/10 ::1 UGRS >> lo0 >> fe80::%dwc0/64 link#1 U >> dwc0 >> fe80::%lo0/64 link#2 U >> lo0 >> fe80::%tun0/64 link#4 U >> tun0 >> fe80::%tun1/64 link#5 U >> tun1 >> fe80::%tun2/64 link#6 U >> tun2 >> ff02::/16 ::1 UGRS >> lo0 >> >> >> >>> On Tue, Sep 13, 2016 at 4:41 PM, wrote: >>>> Hi, >>>> >>>> in r305382 on my router-box I see some issue with ICMP and UDP in IPv4 >>>> in >>>> non-default fib spaces. PF is disabled. For example, >>>> >>>> UDP: >>>> >>>> setfib -2 host -vvv www.cisco.com 8.8.8.8 >>>> Trying "www.cisco.com" >>>> ;; connection timed out; no servers could be reached >>>> >>>> setfib -2 host -6 www.cisco.com 2001:4860:4860::8888 >>>> Using domain server: >>>> Name: 2001:4860:4860::8888 >>>> Address: 2001:4860:4860::8888#53 >>>> Aliases: >>>> >>>> www.cisco.com is an alias for www.cisco.com.akadns.net. >>>> .... >>>> >>>> >>>> ICMP: >>>> >>>> setfib -2 ping 8.8.8.8 >>>> PING 8.8.8.8 (8.8.8.8): 56 data bytes >>>> ping: sendto: Can't assign requested address >>>> ping: sendto: Can't assign requested address >>>> ... >>>> >>>> >>>> setfib -2 ping6 www.cisco.com >>>> PING6(56=40+8+8 bytes) 2001:678:f0:1020:27:cb57:2682:767a --> >>>> 2a02:26f0:12:197::90 >>>> 16 bytes from 2a02:26f0:12:197::90, icmp_seq=0 hlim=54 time=99.343 ms >>>> ... >>>> >>>> >>>> Also TCP in IPv4 is not affected: >>>> >>>> setfib -2 curl -o /tmp/index.html http://www.cisco.com >>>> % Total % Received % Xferd Average Speed Time Time Time >>>> Current >>>> Dload Upload Total Spent Left >>>> Speed >>>> 100 73038 0 73038 0 0 68094 0 --:--:-- 0:00:01 >>>> --:--:-- >>>> 68259 >>>> >>>> >>>> In FreeBSD 11 the networking worked smoothly in fib spaces. >>>> >>>> Is it known problem? >>>> >>>> Thanks >>>> >>>> Jim >>>> >>> >>> What is the output of "setfib 2 netstat -rn"? >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >> >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Thu Sep 15 06:05:21 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95194BDB779 for ; Thu, 15 Sep 2016 06:05:21 +0000 (UTC) (envelope-from Krishna2@chelsio.com) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0110.outbound.protection.outlook.com [104.47.32.110]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 346EF1947 for ; Thu, 15 Sep 2016 06:05:19 +0000 (UTC) (envelope-from Krishna2@chelsio.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chelsious.onmicrosoft.com; s=selector1-chelsio-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k+TBowuOvOfDaG/DRM8P2Xkw+aWpRi2/lwBw3bXORWk=; b=VM6g+okonpP7PRp+joiw1RumErtfW5LE5nj2A7USybLtEZdUKgIymlES7c3TsDMB1KerujT1Os9X9TWoB8yB82sQju+88MYo4x0hcPgI13KnxZlDoj9wFqVeF3TghMs1MM2kp7gdi4jmjCSVmyr5HgrpypTUb2eadEL0RK/9hUY= Received: from BN4PR12MB0818.namprd12.prod.outlook.com (10.164.58.152) by BN4PR12MB0818.namprd12.prod.outlook.com (10.164.58.152) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.10; Thu, 15 Sep 2016 05:32:46 +0000 Received: from BN4PR12MB0818.namprd12.prod.outlook.com ([10.164.58.152]) by BN4PR12MB0818.namprd12.prod.outlook.com ([10.164.58.152]) with mapi id 15.01.0619.011; Thu, 15 Sep 2016 05:32:46 +0000 From: KrishnamRaju ErapaRaju To: "freebsd-net@freebsd.org" Subject: unable to use BPF Just-In-Time compiler Thread-Topic: unable to use BPF Just-In-Time compiler Thread-Index: AdIPEooGITIPTSLzSaCF81wrjAmC1g== Date: Thu, 15 Sep 2016 05:32:45 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Krishna2@chelsio.com; x-originating-ip: [223.186.82.36] x-ms-office365-filtering-correlation-id: 11cc6b8b-52bf-4fe8-f059-08d3dd29b985 x-microsoft-exchange-diagnostics: 1; BN4PR12MB0818; 6:Spzd3kXP5gFudkW64dH3NVtBKMU+p8aET25qoXntdUKiRcqjmOqRWSii47wmj9FeUip7QMjw+qyL/V6dtPvzhLqNHwaJQmjBc31Oei8RsV8jBlZb2LLJXEJWxBSCdqT6IjxeU1kHDm0gudZyZCZXK4lfxWUetjagtGFb1dPhO62XwRzpdK+oookfX5rFqNfD4iAfoHLBL1VZXxyxzWW96JPzwQxJ387pYXz3Ixlf5tghN7rB6Hd2TYa8XgaGtjmJDTBGuLnbMdZguKyMTSxRASkVDhmiT0oxmGBGGhkoYjKFyXtRWKK/gv8upYRZXsum; 5:uauCThuA0zUyvJGjkSgFmX51CIEKvHzFf5OfENJSZ9lUrYNAmmq0yLHKkLifULyuG5S8DTNonDWtaaITDZlMxSYNyPNXC50tUF4xqMechRkhP+nqIq9cM8FtfTK0kR/pAfu6zYOcIB+ogxwBAROI/g==; 24:bgQd7EHJYf+0N9QLYbqCeTGc3kkjlehKQ6NO30uwNWyCFQN3Jhe8NTEIf+FlEMfra8DNbFowaeoDU+G88NfJlng1TkQwghpV2KDZfEy73V8=; 7:rSx+GYiWQQAcmnuHao0nBZJ+sqaKjV5KeIAkaWzP1lBa+LhUfjhpp6rdauaRzOFd1YdqTHqnoKGQxOTDKsSc6bzDLXYXN6dFWS/X6c1LP2QraOo/BaiYDHpnPd/Zp+OIEKeUvzBPTqNyD9UMVyitYCQnHLV7wHIgNJc0DkSiRLnGsmZmfyJZv2tHxTGxE4hRhO7Dm5FM+h25H++IFueoJN2VCfBtX07EqmOczhhdUh65PIXf7wG9bP2JIMA7Uo1n x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN4PR12MB0818; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(75325880899374)(21748063052155)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6043046)(6042046); SRVR:BN4PR12MB0818; BCL:0; PCL:0; RULEID:; SRVR:BN4PR12MB0818; x-forefront-prvs: 0066D63CE6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7916002)(199003)(189002)(105586002)(5002640100001)(77096005)(2351001)(229853001)(19625215002)(106356001)(15975445007)(230783001)(6116002)(3846002)(19580395003)(19617315012)(790700001)(102836003)(81166006)(81156014)(122556002)(3280700002)(8676002)(92566002)(86362001)(101416001)(2501003)(9686002)(54356999)(50986999)(68736007)(10400500002)(107886002)(450100001)(9326002)(16236675004)(5660300001)(87936001)(74316002)(5640700001)(7846002)(5630700001)(7906003)(7736002)(97736004)(2906002)(11100500001)(189998001)(110136003)(99286002)(33656002)(2900100001)(19300405004)(586003)(3660700001)(66066001)(7696004)(8936002)(76576001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN4PR12MB0818; H:BN4PR12MB0818.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: chelsio.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: chelsio.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2016 05:32:45.9147 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 065db76d-a7ae-4c60-b78a-501e8fc17095 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR12MB0818 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 06:05:21 -0000 Hi, I want to use BPF JIT Kernel APIs in FreeBSD(like: bpf_jitter(), etc..), fo= r implementing TCP connection packet filtering. I have followed below instructions as specified in: https://lists.freebsd.o= rg/pipermail/freebsd-current/2005-December/058603.html STEPS followed: --------------------- cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/MYKERNEL And added below line in MYKERNEL config file. options BPF_JITTER make buildkernel KERNCONF=3DMYKERNEL make installkernel KERNCONF=3DMYKERNEL reboot But after reboot the flag BPF_JITTER is not getting enabled(all the code in= side "#ifdef BPF_JITTER" is not getting executed). Am I missing something? Also it looks like there are not many updates to BPF JIT code since 2005, i= s it stable? anyone using it? Thanks, Krishna. From owner-freebsd-net@freebsd.org Thu Sep 15 17:49:05 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46D04BDB8EB for ; Thu, 15 Sep 2016 17:49:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1703CA81 for ; Thu, 15 Sep 2016 17:49:05 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id 186so87231376itf.0 for ; Thu, 15 Sep 2016 10:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zCt0ILHGhKiV5cekBYwtk0Ks4sIZ1BL7YlIR01PX2/Q=; b=mwUObD3w0Qje7sbjLOOxwkZVwJCaBoXZWFiXVkWEAF2Fduxhl9YydrtTyU6EBNV/Ue 9/eFbvNi4tZjZiuXFgAV799rA4L+sYnNaXssp38QBVhlTRh4NwK/xhtOpo0KscXm04P7 s0qulDHgHjEtRPp3LouwBYPLdqH2Wzg+0NKxdVuvPGOILuhDQ8xqgaM+xfjd/4w5uvfc mLZVjQs34VcrE3BSz/uK3pgGf6A6zu+HK1rZRemDrbQxKJPzIvHnu/kx9uH02CKwfkWC fXso99WCuCIrT3ZUZGaJBssSBimG/60yYnsCyuGOABFSgCOpCJJ5/01KpwmkQwGf9cH4 /7OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zCt0ILHGhKiV5cekBYwtk0Ks4sIZ1BL7YlIR01PX2/Q=; b=VOvAh5Q4E4UzjLsi7ZdPcofcow/VzLIDH1lQH8/X00yK6TOLAgWH6aortrtp1xWhon WAv2ZVUw6fehYRf7xLpRcBC1QFE3DrCgF5jmkofE8tDRX8Z/2SPt2IwfrMiBB7FennB1 Z9Xv+3B8LfEvecvo6PIwJvq+DrnvWJXJMOCbWEcmL4oUkWg+4fCCiDrxa4yfwPNH1cBT vGRy8RZoTG1+biohcKria/go2QgBC0VR5riWZdNdbrO5+7leKA99rkqrrcjyi8iirgvV W7TLPF9g55uLf8MZ+KJK29iHnMyzNDZYq6QEtSFe7vs45ssU+3iwiPYKt4pIX/tLzQ5g S1Qg== X-Gm-Message-State: AE9vXwMCVmODELQUXS444HkGBQ1rb+TUQeYJHE40kFw7uZtpU0oA65IaRmj4U8rgfj/U5HaIf/3SGAdk0WJ7Sg== X-Received: by 10.107.172.4 with SMTP id v4mr17832704ioe.49.1473961744484; Thu, 15 Sep 2016 10:49:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.141.129 with HTTP; Thu, 15 Sep 2016 10:49:03 -0700 (PDT) In-Reply-To: References: From: Adrian Chadd Date: Thu, 15 Sep 2016 10:49:03 -0700 Message-ID: Subject: Re: Regression WPA? 10.2 -> 10.3 stopped working To: Ze Claudio Pastore Cc: freebsd-net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 17:49:05 -0000 Thanks! I do care; I use wifi daily here in both hostap and sta modes (and soon hopefully ibss and wds!) so i really do try to keep it going! -a On 13 September 2016 at 08:14, Ze Claudio Pastore wrote: > I will boot from a live stick by the evening and try the same dongles just > to isolate if a plain new 10.3 is also broken or if it's just a matter of an > unhappy upgrade and report back, thanks for caring :) > > 2016-09-13 12:12 GMT-03:00 Ze Claudio Pastore : >> >> No, I have'nt, is it possible w/ freebsd-update? Can I revert just the >> userland? >> >> >> >> 2016-09-13 0:15 GMT-03:00 Adrian Chadd : >>> >>> Hi! >>> >>> have you tried say, 10.3 kernel with 10.2 userland? does it still work? >>> >>> >>> >>> -adrian >> >> > From owner-freebsd-net@freebsd.org Thu Sep 15 18:53:26 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E814DBDCA66 for ; Thu, 15 Sep 2016 18:53:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDBDD61F for ; Thu, 15 Sep 2016 18:53:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8FIrPWV059755 for ; Thu, 15 Sep 2016 18:53:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208803] ixgbe(4) reports wrong IPv4 checksum when txcsum is enabled Date: Thu, 15 Sep 2016 18:53:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cramerj@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 18:53:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208803 Jeb Cramer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cramerj@intel.com --- Comment #3 from Jeb Cramer --- I'm not understanding what the bug is here. tcpdump, on the transmit side, captures packets before they reach the hardware. If hardware checksum offloading is enabled, the checksum value as reported by the stack (and thus tcpdump) is bogus because the stack didn't do the calculation. The hardware will take care of the checksum when the stack passes the packet to the hard= ware (via the driver). If you're concerned about the difference between FreeBSD and Linux, that mi= ght be worth exploring for future performance enhancements of the stack, if it makes sense. The Linux networking stack seems to calculate IPv4 checksums, regardless. And that would be why the checksum is reported correctly on tcpdump. A few memory reads...a couple folds for calculating the checksum...perhaps the number of instructions for this isn't too expensive = in their opinion? I don't know. I'm confused on #2. Are you seeing the same behavior as the 82598? Or are= you seeing the checksum reported correctly? If the former, then they probably = have the same hardware feature. If the latter, I don't have an answer. #3 isn't any different than the IPv4 case. Hardware will take care of the checksum calculation. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 15 19:30:07 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA250BDB60C for ; Thu, 15 Sep 2016 19:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3319FCD for ; Thu, 15 Sep 2016 19:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8FJU7dc069022 for ; Thu, 15 Sep 2016 19:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 208803] ixgbe(4) reports wrong IPv4 checksum when txcsum is enabled Date: Thu, 15 Sep 2016 19:30:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ports@grosbein.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 19:30:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208803 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ports@grosbein.net --- Comment #4 from Eugene Grosbein --- As noted above, this is expected behaviour when txcsum is not disabled. This PR should be closed (not a bug). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Sep 15 22:50:31 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 506D4BDC52F for ; Thu, 15 Sep 2016 22:50:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FA75260 for ; Thu, 15 Sep 2016 22:50:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8FMoTiX089301 for ; Thu, 15 Sep 2016 22:50:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211219] NIC status does not pass into a state of "no carrier" after disconnecting the cable. Date: Thu, 15 Sep 2016 22:50:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jeffrey.e.pieper@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 22:50:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211219 Jeff Pieper changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.e.pieper@intel.com --- Comment #4 from Jeff Pieper --- I can reproduce this on 10.3-RELEASE (em-7.6.1-k). There is probably a link interrupt check that is missing. Currently investigating. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 16 11:56:34 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF9A6BDDEB0 for ; Fri, 16 Sep 2016 11:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE23934C for ; Fri, 16 Sep 2016 11:56:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8GBuXCh057827 for ; Fri, 16 Sep 2016 11:56:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Date: Fri, 16 Sep 2016 11:56:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 11:56:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 126 | |49 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 16 14:57:57 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E790BDCA76 for ; Fri, 16 Sep 2016 14:57:57 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9F993AF for ; Fri, 16 Sep 2016 14:57:56 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1bkuaO-000LWo-Ki for freebsd-net@freebsd.org; Fri, 16 Sep 2016 17:57:52 +0300 Date: Fri, 16 Sep 2016 17:57:52 +0300 From: Slawa Olhovchenkov To: freebsd-net@freebsd.org Subject: NETMAP application architecture question Message-ID: <20160916145752.GC2840@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 14:57:57 -0000 I am wrote NETMAP application and meet some limitation. I am use server 16-core server. Workers thread run mostly independend, with minimal interworking. I am use balancer threads for distributing packet flow between worker threads. I am using two NETMAP pipes between balancer and workers. As result, for case of 4 balancer and 12 workers I am need 4x12x2 = 96 pipes. NETMAP have limitation of 64 pipes. May be exist more optimal way? May be I can emulate tilera way, with bufers credits? (In this case balancer give RX buffers, confirm to kernel and pass it to worker. kernel reduce credit, used for reciving other buffer from pool. After complete worker pass buffer to balancer and balancer return buffer to kernel, kernel rise credits and put free buffer to pool). In this case I am not need to many pipes and not limited performance by too long processing of one packet. From owner-freebsd-net@freebsd.org Fri Sep 16 15:05:36 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41B69BDCCAD for ; Fri, 16 Sep 2016 15:05:36 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D26869CB for ; Fri, 16 Sep 2016 15:05:35 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id 1so47020375wmz.1 for ; Fri, 16 Sep 2016 08:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dMbbtSVVT+nvcb4UrDGLKmbkyS1A31YHbP45UN0j0HA=; b=xzYMXLi+bnynLCr/Er1K0Ca0l4YmYZz5VphscMFvmZlT/BR/upc58MerZ9RSeZwkr8 iamvv4qNsww6iCi6UN6BiiXmdBbbS9Heja308ftqcBWWgTSW6g51rnYo7F4iPSRLblp0 w82J70LWV4B5LbcyKXn1sbBjKTTm1TETo1wyqJm4gf1mr6wsTg94lKwRlRNu2o4nRQa5 ORIFNA8NeFEgvaEEr5dkaeAMbS0jshKt1wjW+CuWDTPdl2fkgdm/z9fH5d9PMAoIQZUK qbBajXZvJ0MpIjZ8mPxZk80yb+8i5dCX31GSstMliM3Lu2+LCZDb+OF7SMzDXz3U7mBB vb3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dMbbtSVVT+nvcb4UrDGLKmbkyS1A31YHbP45UN0j0HA=; b=fWyaIPSHXKk+ejDx8tkGyACWFCb+CL5GhpN+WFf94z8jjQU1hLfn6ZR7s5b6LC64YT iScSfsRYtGHE+Q66WB//GKN0h+4wpKOf+28I63wcQxV/hnRlJP62BZKQ89lVF3UTA3P0 lLzQIpM5zte6pAdKjIrnA6xB7Zkbn1AlvpLi3ot2jBhNuak8SP3nA/8J3oRJdBYbDOn8 nRC8tcwdT5+KDjx1yiknPYPibYqMlAN+jP3UjS/OgKLQORq/gug8NY2ZjcosN04Vnzno 12LM8utQhDH+M4DDdfHHqmN4ErZNicr7okg+Y6rlpAMp3oPjEzmP627K77TCJopm2v2x UHCw== X-Gm-Message-State: AE9vXwODWAFSPlmOpkZ4sZ8pZ9j+QCNC5XZlJucK48zhEmmpEKoHqrQUu59jzj5DG4av1VjvQv9M4qxKnpJkLw== X-Received: by 10.28.109.86 with SMTP id i83mr8019344wmc.104.1474038334349; Fri, 16 Sep 2016 08:05:34 -0700 (PDT) MIME-Version: 1.0 Sender: rizzo.unipi@gmail.com Received: by 10.28.113.206 with HTTP; Fri, 16 Sep 2016 08:05:33 -0700 (PDT) In-Reply-To: <20160916145752.GC2840@zxy.spb.ru> References: <20160916145752.GC2840@zxy.spb.ru> From: Luigi Rizzo Date: Fri, 16 Sep 2016 17:05:33 +0200 X-Google-Sender-Auth: Uib1wBfsPcRBZG0zGVgnttrvQCY Message-ID: Subject: Re: NETMAP application architecture question To: Slawa Olhovchenkov Cc: "freebsd-net@freebsd.org" , Giuseppe Lettieri , Vincenzo Maffione , Luigi Rizzo Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 15:05:36 -0000 Hi, I don't think there is any hard limitation on the total number of pipes, very likely the number (64) is just some arbitrary limit that we set, and can be increased through a sysctl or worst case a compile time constant. Please have a look at the source code if you can find where you are hitting the limit, and which parameters are involved. In case you don't find it, get back to us in a week (we are busy on a deadline at the moment). Note that you should look at the netmap code on github, the one in the freebsd tree is not up to date. Cheers Luigi On Fri, Sep 16, 2016 at 4:57 PM, Slawa Olhovchenkov wrote: > I am wrote NETMAP application and meet some limitation. > I am use server 16-core server. > Workers thread run mostly independend, with minimal interworking. > I am use balancer threads for distributing packet flow between worker > threads. > I am using two NETMAP pipes between balancer and workers. > As result, for case of 4 balancer and 12 workers I am need 4x12x2 = 96 > pipes. NETMAP have limitation of 64 pipes. > > May be exist more optimal way? > > May be I can emulate tilera way, with bufers credits? > (In this case balancer give RX buffers, confirm to kernel and pass it > to worker. kernel reduce credit, used for reciving other buffer from > pool. After complete worker pass buffer to balancer and balancer > return buffer to kernel, kernel rise credits and put free buffer to > pool). > In this case I am not need to many pipes and not limited performance > by too long processing of one packet. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Fri Sep 16 15:14:48 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE9ABBDCF37 for ; Fri, 16 Sep 2016 15:14:48 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 95BE4E01 for ; Fri, 16 Sep 2016 15:14:48 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1bkuqj-000Lvf-VA; Fri, 16 Sep 2016 18:14:46 +0300 Date: Fri, 16 Sep 2016 18:14:45 +0300 From: Slawa Olhovchenkov To: Luigi Rizzo Cc: "freebsd-net@freebsd.org" , Giuseppe Lettieri , Vincenzo Maffione Subject: Re: NETMAP application architecture question Message-ID: <20160916151445.GD2840@zxy.spb.ru> References: <20160916145752.GC2840@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 15:14:49 -0000 On Fri, Sep 16, 2016 at 05:05:33PM +0200, Luigi Rizzo wrote: > Hi, > I don't think there is any hard limitation on the total number > of pipes, very likely the number (64) is just some arbitrary > limit that we set, and can be increased through a sysctl or > worst case a compile time constant. I am don't see sysctl for this. Re-compile is not comfortable. In any way, for this setup I am need to many resources, as I am calc: buf_num=1114112 ring_num=964 if_num=248 This can introduce to high overhead. > Please have a look at the source code if you can find where > you are hitting the limit, and which parameters are involved. > In case you don't find it, get back to us in a week (we are > busy on a deadline at the moment). OK > Note that you should look at the netmap code on github, the one in > the freebsd tree is not up to date. Do you plan to update code in freebsd tree? > Cheers > Luigi > > On Fri, Sep 16, 2016 at 4:57 PM, Slawa Olhovchenkov wrote: > > I am wrote NETMAP application and meet some limitation. > > I am use server 16-core server. > > Workers thread run mostly independend, with minimal interworking. > > I am use balancer threads for distributing packet flow between worker > > threads. > > I am using two NETMAP pipes between balancer and workers. > > As result, for case of 4 balancer and 12 workers I am need 4x12x2 = 96 > > pipes. NETMAP have limitation of 64 pipes. > > > > May be exist more optimal way? > > > > May be I can emulate tilera way, with bufers credits? > > (In this case balancer give RX buffers, confirm to kernel and pass it > > to worker. kernel reduce credit, used for reciving other buffer from > > pool. After complete worker pass buffer to balancer and balancer > > return buffer to kernel, kernel rise credits and put free buffer to > > pool). > > In this case I am not need to many pipes and not limited performance > > by too long processing of one packet. > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2217533 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Fri Sep 16 15:20:17 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37592BDD087 for ; Fri, 16 Sep 2016 15:20:17 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C109C166 for ; Fri, 16 Sep 2016 15:20:16 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id k186so47618968wmd.0 for ; Fri, 16 Sep 2016 08:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=h2WYUi43lFNmRtGJGdo+UwSKDxENp196+dQr7YaLs0s=; b=UJAB+Uvhvg+uSqMb6bfwlb8+4pyHS4uH3srQLXRwrLggzYsyQzhe5+l5IZNtolZLQ1 wUkddqhTgrMJWMvXnM7Y833soBKnrkfz8KINP31b+dRkxILMCKjTNHmL8mukAGCBHPax nT1r7yCkB3l47L4MmSTc56wVHHImPdRIlHB0k8tKsAQS8zgUs+6J1XV8+9RjMbtfKOtt h48cMIaGu5gYPw+jFrwh24OPkTINQydyX9YLXe3mMdDmpVy481WLBTaYfe+0fdOVB3ds JwAw3Cbxg/o1uDSpP/k5+GKce30bVrpgdRmGAdy4aqXr1mnsBmw51jlu8U5y5QNrf8+n SfkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=h2WYUi43lFNmRtGJGdo+UwSKDxENp196+dQr7YaLs0s=; b=AccSHkmUxbjK8IRCc63mdAhQXQA0q6YoHvsrm+6bJX++5IHK9iWiNIfhdvqTSvGaU8 83jLMMmjnnsToQuy/pMuqx/H+0IgX5L82zmho/+1xmidkQK8j6a016Rhti8ZhNsSn9mv ah8I3h6HywEXFTMLquqTIjUE+C7MaGL41fTcdfNRUNbXnlqwJPAMkJUZd2tDqI7uzooe GUgYEM7VzFSr8mp9GfjDqELz9mSrXGTKqe/uOqwkM44kOgCaz+bst+STxg1QQc6HR0/V +CcKyZX3oZkwgrdM5EiOPNjhcQt8CSt23Eh5L96KxPsyEgy/uywaq0WVO7hQ6moSBu+K ApSg== X-Gm-Message-State: AE9vXwO+8nQcULgjpWM9sX7jXkJ77OnDw+7d3OMH9cL8eDNc+KZGEng8Zc4dmLU5vG9FXYunUnDtU12E9IHN8Q== X-Received: by 10.28.28.70 with SMTP id c67mr8233419wmc.8.1474039214841; Fri, 16 Sep 2016 08:20:14 -0700 (PDT) MIME-Version: 1.0 Sender: rizzo.unipi@gmail.com Received: by 10.28.113.206 with HTTP; Fri, 16 Sep 2016 08:20:14 -0700 (PDT) In-Reply-To: <20160916151445.GD2840@zxy.spb.ru> References: <20160916145752.GC2840@zxy.spb.ru> <20160916151445.GD2840@zxy.spb.ru> From: Luigi Rizzo Date: Fri, 16 Sep 2016 17:20:14 +0200 X-Google-Sender-Auth: _CbntWsadzRhhxSMLVAkPAoI2g8 Message-ID: Subject: Re: NETMAP application architecture question To: Slawa Olhovchenkov Cc: "freebsd-net@freebsd.org" , Giuseppe Lettieri , Vincenzo Maffione Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 15:20:17 -0000 On Fri, Sep 16, 2016 at 5:14 PM, Slawa Olhovchenkov wrote: > On Fri, Sep 16, 2016 at 05:05:33PM +0200, Luigi Rizzo wrote: > > >> Please have a look at the source code if you can find where >> you are hitting the limit, and which parameters are involved. >> In case you don't find it, get back to us in a week (we are >> busy on a deadline at the moment). > > OK > >> Note that you should look at the netmap code on github, the one in >> the freebsd tree is not up to date. > > Do you plan to update code in freebsd tree? yes but don't hold your breath for that, since I haven't found time for a while due to other committments. As a matter of fact if some committer has time and interest to test the new code and push it into the tree I am happy to help. cheers luigi From owner-freebsd-net@freebsd.org Fri Sep 16 15:34:57 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E028BDD66E for ; Fri, 16 Sep 2016 15:34:57 +0000 (UTC) (envelope-from shirkdog.bsd@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF63BD74 for ; Fri, 16 Sep 2016 15:34:56 +0000 (UTC) (envelope-from shirkdog.bsd@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id 192so32260317vkl.0 for ; Fri, 16 Sep 2016 08:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MQ2sDG2q21NWznyXfx2xbwP9bh79yAjZnud1K6Qh3d0=; b=wKx5aMt/5Z2zXvus2BdtGdEPeH7kxK04mkEzeSkZnaKtg+JVqvRlrrm8hTtNe3Hp4L SHtnWQAdEo59yiE+/lU3Ohn8MDVnHJq1YyovptcQXvblN/10petzWOgGR+7ENiL8zzfh nqDbw6tOSxWJSTFW4uynGMRtz6qE8iuMcll3j9mLttExi3YnGB3/zkGnWVna5wo103I+ /6F6bJ6bUB+vHdunvHHOTnRwE9AaZaAwFXi48Ddb90ppLT9dBzDVQ5HW4BgvRaakTMxx 4VUPxCTpvScC8I6JaLp83OxMvSEA04TNilIsb247XBGmmgw2AjLTjkuuktctGPdp3gXc twDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MQ2sDG2q21NWznyXfx2xbwP9bh79yAjZnud1K6Qh3d0=; b=dUiu2Sl+upTYyMSj65++lk2rlXz6qEBmtmI3BhdmpnXgSUIqQ136sAYjMk4Ne2MiA+ C6/AMaVsYJMpsDIOleU9NznAWOAR4TZzNFkNTSBufUfzjmaKKDjJdR3mNP1hW+gLPpys /Rspz/ZtXXmPYqjGdKhmrFaio6FNH7aZ50TUzWhfaaeKJGctmdBPkWBGGwxmo6/oChG0 CV6p5t9vAtMj93xCjLRyXBMMlXDmd6TU/FPKK5MUwwkLMWLWv2lQ6amYs51vd8turBfT nIOofdx780ExF51fjUmfX6ObdQ2iikldTNDgr2ae5v9YjhEIJDu8kCv/4L4FGIQ9AOpe nPpQ== X-Gm-Message-State: AE9vXwOy/996XC+fOAxXhc3wvb/FmK0clNl2nC0/lLg7YqIHK6P+65Jtq96xdxGt6Cz34f4/ejIkX5FRQvjR2Q== X-Received: by 10.31.165.5 with SMTP id o5mr4068259vke.97.1474040095596; Fri, 16 Sep 2016 08:34:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.0.35 with HTTP; Fri, 16 Sep 2016 08:34:55 -0700 (PDT) Received: by 10.176.0.35 with HTTP; Fri, 16 Sep 2016 08:34:55 -0700 (PDT) In-Reply-To: References: <20160916145752.GC2840@zxy.spb.ru> <20160916151445.GD2840@zxy.spb.ru> From: Michael Shirk Date: Fri, 16 Sep 2016 11:34:55 -0400 Message-ID: Subject: Re: NETMAP application architecture question To: Luigi Rizzo Cc: Vincenzo Maffione , Giuseppe Lettieri , freebsd-net@freebsd.org, Slawa Olhovchenkov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 15:34:57 -0000 I am "VERY WILLING" to test out a specific branch of FreeBSD current with this code merged. There are wonderful features such as the new LB app in the new code that I would greatly desire to be included in FreeBSD. I tried to do a simple merge and it was more involved. I was hoping to have some time to look at the code to try to figure it out. -- Michael Shirk Daemon Security, Inc. http://www.daemon-security.com On Sep 16, 2016 11:20 AM, "Luigi Rizzo" wrote: > On Fri, Sep 16, 2016 at 5:14 PM, Slawa Olhovchenkov > wrote: > > On Fri, Sep 16, 2016 at 05:05:33PM +0200, Luigi Rizzo wrote: > > > > > > >> Please have a look at the source code if you can find where > >> you are hitting the limit, and which parameters are involved. > >> In case you don't find it, get back to us in a week (we are > >> busy on a deadline at the moment). > > > > OK > > > >> Note that you should look at the netmap code on github, the one in > >> the freebsd tree is not up to date. > > > > Do you plan to update code in freebsd tree? > > yes but don't hold your breath for that, since I haven't found > time for a while due to other committments. > > As a matter of fact if some committer has time and interest > to test the new code and push it into the tree I am happy to help. > > cheers > luigi > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Fri Sep 16 16:13:31 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FF46BDCB56 for ; Fri, 16 Sep 2016 16:13:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F38EC9EB for ; Fri, 16 Sep 2016 16:13:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8GGDUCO059165 for ; Fri, 16 Sep 2016 16:13:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212576] vnet jail startup and shutdown destroys ipfw object rewriter list Date: Fri, 16 Sep 2016 16:13:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avernar@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 16:13:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212576 --- Comment #1 from John Zielinski --- Created attachment 174843 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174843&action= =3Dedit patch to fix the problem I attached a patch I made for my system to get things going. Any issues in moving those two function calls from the vnet init/uninit to the module init/destroy? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 16 16:21:01 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3524BDCE5E for ; Fri, 16 Sep 2016 16:21:01 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8283E9B for ; Fri, 16 Sep 2016 16:21:01 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1bkvso-000NYk-8W; Fri, 16 Sep 2016 19:20:58 +0300 Date: Fri, 16 Sep 2016 19:20:58 +0300 From: Slawa Olhovchenkov To: Luigi Rizzo Cc: "freebsd-net@freebsd.org" , Giuseppe Lettieri , Vincenzo Maffione Subject: Re: NETMAP application architecture question Message-ID: <20160916162058.GE2840@zxy.spb.ru> References: <20160916145752.GC2840@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 16:21:02 -0000 On Fri, Sep 16, 2016 at 05:05:33PM +0200, Luigi Rizzo wrote: > Hi, > I don't think there is any hard limitation on the total number > of pipes, very likely the number (64) is just some arbitrary > limit that we set, and can be increased through a sysctl or > worst case a compile time constant. > > Please have a look at the source code if you can find where > you are hitting the limit, and which parameters are involved. > In case you don't find it, get back to us in a week (we are > busy on a deadline at the moment). > > Note that you should look at the netmap code on github, the one in > the freebsd tree is not up to date. Next about tilera-like. Can I allocate some buffers for custom-made pools? I.e. balancer thread do some like: src = &src_ring->slot[rxr->cur]; free_buf_idx = next_free(private_pool); to_worker.idx = src->buf_idx; to_worker.len = src->len; src->buf_idx = tmp; src->flags = NS_BUF_CHANGED; rxr->head = rxr->cur = nm_ring_next(rxr, rxr->cur); to_worker pass to worker w/o netmap. balancer put to_worker in to private_pool after worker done. I am need reserved about x64 of one ring size per balancer. i.e. about 131072 buffers per balancer and about 512K total buffers. How I can do this? > On Fri, Sep 16, 2016 at 4:57 PM, Slawa Olhovchenkov wrote: > > I am wrote NETMAP application and meet some limitation. > > I am use server 16-core server. > > Workers thread run mostly independend, with minimal interworking. > > I am use balancer threads for distributing packet flow between worker > > threads. > > I am using two NETMAP pipes between balancer and workers. > > As result, for case of 4 balancer and 12 workers I am need 4x12x2 = 96 > > pipes. NETMAP have limitation of 64 pipes. > > > > May be exist more optimal way? > > > > May be I can emulate tilera way, with bufers credits? > > (In this case balancer give RX buffers, confirm to kernel and pass it > > to worker. kernel reduce credit, used for reciving other buffer from > > pool. After complete worker pass buffer to balancer and balancer > > return buffer to kernel, kernel rise credits and put free buffer to > > pool). > > In this case I am not need to many pipes and not limited performance > > by too long processing of one packet. > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2217533 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Fri Sep 16 19:26:42 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C39DBDD1D5 for ; Fri, 16 Sep 2016 19:26:42 +0000 (UTC) (envelope-from kfodil-lemelin@xiplink.com) Received: from smtp145.dfw.emailsrvr.com (smtp145.dfw.emailsrvr.com [67.192.241.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 011F5CCD for ; Fri, 16 Sep 2016 19:26:41 +0000 (UTC) (envelope-from kfodil-lemelin@xiplink.com) Received: from smtp23.relay.dfw1a.emailsrvr.com (localhost [127.0.0.1]) by smtp23.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 92099E02CA; Fri, 16 Sep 2016 15:18:19 -0400 (EDT) X-Auth-ID: kfodil-lemelin@xiplink.com Received: by smtp23.relay.dfw1a.emailsrvr.com (Authenticated sender: kfodil-lemelin-AT-xiplink.com) with ESMTPSA id 42490E00DA; Fri, 16 Sep 2016 15:18:19 -0400 (EDT) X-Sender-Id: kfodil-lemelin@xiplink.com Received: from [10.10.1.47] ([UNAVAILABLE]. [192.252.130.194]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.7.7); Fri, 16 Sep 2016 15:18:19 -0400 To: freebsd-net From: Karim Fodil-Lemelin Subject: [patch] bridge_fragment can leak mbufs Message-ID: <52fe6a1b-2bd5-1a77-407f-204da8597270@xiplink.com> Date: Fri, 16 Sep 2016 15:18:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------89C4B78E42AECF271F98CECF" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 19:26:42 -0000 This is a multi-part message in MIME format. --------------89C4B78E42AECF271F98CECF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, It has come to my attention that when bridge_fragment() has to fragment an IP packet it can cause mbuf leaks if, for example m_pullup() ends up allocating a new buffer at the front of the mbuf chain or if the calls to M_PREPEND would fail due to the mbuf pool being depleted. One can easily convince himself that something is wrong by observing that, in bridge_pfil(), bridge_fragment() gets passed an mbuf pointer and if the call to m_pullup() in bridge_fragment ends up allocating a new mbuf at the front of the chain, then whatever happens next isn't going to give bridge_pfil() the updated mbuf pointer. You can see below this is why I had to change the arguments to bridge_fragment to take a double pointer to the mbuf. The problem actually goes a lot deeper since, after having called ip_fragment(), bridge_fragment() simply goes over the list of packets it got and carelessly calls into M_PREPEND() to make space for the ethernet header. Now this isn't a problem if M_PREPEND() can find the space at the beginning of the mbuf but will wreak havoc if it must take the least used code path and prepend an mbuf to the chain. In this case we have m0 pointing to a newly allocated mbuf but the list (walked through m_nextpkt) will never get updated to point to m0 (the previous mbuf's m_nextpkt pointer should now point to the new m0). And it goes on, the error case isn't' handled properly since if MPREPEND deleted m0 we not have a list of packets that is potentially pointed to an already freed mbuf. Nowhere can we see that m_nextpkt is updated to take care of that case. This is why in my patch below I detach each m0 from the packet list so if a failure occurs in M_PREPEND of if a new mbuf is added at the beginning of the chain I can keep the list of packets updated. Same thing with the goto out; at the end. If we lost a fragment while adding ethernet header to it we must free the entire chain of packets or we will leak mbufs. There is no point in sending fragments if we aren't going to send them all. To convince yourself of this problem, one can simple create, on his favorite bridge one 'reass' rule in ipfw. I use the following rule: 00080 253 27878 reass ip from any to any { proto udp or proto gre } Then send (assuming your MTU is 1500), a big udp packet using iperf. I use this command: iperf -c 10.10.73.2 -u -b16Mb -t 240 -i 10 -l 5000 After iperf has finished, look at your mbuf count with netstat -m. I have made a patch to fix this problem (attached). The patch was tested under load when we actually do run out of mbuf to trigger the error cases as well as with all sorts of number of fragments (varying the initial packet size). I see this seems to affect all modern versions of FreeBSD, please feel free to test or contest. I would like to see this added to FreeBSD eventually in one shape or another. Best regards, Karim. --------------89C4B78E42AECF271F98CECF Content-Type: text/x-patch; name="bridge_fragment.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bridge_fragment.patch" diff --git a/freebsd/sys/net/if_bridge.c b/freebsd/sys/net/if_bridge.c index b9c3bca..a550bc1 100644 --- a/freebsd/sys/net/if_bridge.c +++ b/freebsd/sys/net/if_bridge.c @@ -344,7 +344,7 @@ static int bridge_ip_checkbasic(struct mbuf **mp); #ifdef INET6 static int bridge_ip6_checkbasic(struct mbuf **mp); #endif /* INET6 */ -static int bridge_fragment(struct ifnet *, struct mbuf *, +static int bridge_fragment(struct ifnet *, struct mbuf **, struct ether_header *, int, struct llc *); static void bridge_linkstate(struct ifnet *ifp); static void bridge_linkcheck(struct bridge_softc *sc); @@ -4025,7 +4025,7 @@ ipfwpass: if (pfil_member && ifp != NULL && dir == PFIL_OUT) { i = (*mp)->m_pkthdr.len; if (i > ifp->if_mtu) { - error = bridge_fragment(ifp, *mp, &eh2, snap, + error = bridge_fragment(ifp, mp, &eh2, snap, &llc1); return (error); } @@ -4313,10 +4313,13 @@ bad: * Return a fragmented mbuf chain. */ static int -bridge_fragment(struct ifnet *ifp, struct mbuf *m, struct ether_header *eh, +bridge_fragment(struct ifnet *ifp, struct mbuf **mp, struct ether_header *eh, int snap, struct llc *llc) { struct mbuf *m0; + struct mbuf *prev = NULL; + struct mbuf *next; + struct mbuf *m = *mp; struct ip *ip; int error = -1; @@ -4324,42 +4327,78 @@ bridge_fragment(struct ifnet *ifp, struct mbuf *m, struct ether_header *eh, (m = m_pullup(m, sizeof(struct ip))) == NULL) goto out; ip = mtod(m, struct ip *); + /* m could have changed */ + *mp = m; error = ip_fragment(ip, &m, ifp->if_mtu, ifp->if_hwassist, CSUM_DELAY_IP); if (error) goto out; - /* walk the chain and re-add the Ethernet header */ - for (m0 = m; m0; m0 = m0->m_nextpkt) { - if (error == 0) { - if (snap) { - M_PREPEND(m0, sizeof(struct llc), M_DONTWAIT); - if (m0 == NULL) { - error = ENOBUFS; - continue; - } - bcopy(llc, mtod(m0, caddr_t), - sizeof(struct llc)); - } - M_PREPEND(m0, ETHER_HDR_LEN, M_DONTWAIT); + /* m could have changed */ + *mp = m; + m0 = m; + next = m->m_nextpkt; + /* + * walk the chain and re-add the Ethernet header: + * + * We can't trust M_PREPEND to keep the list of packets consistent since it may + * allocate new pkt headers to be put in front and won't copy m_nextpkt over. + */ + while (m0) { + /* disconnect from list of fragments the mbuf we may potentially free */ + if (prev != NULL) + prev->m_nextpkt = NULL; + + if (snap) { + M_PREPEND(m0, sizeof(struct llc), M_DONTWAIT); if (m0 == NULL) { error = ENOBUFS; - continue; + if (prev) /* there are pkt fragments before the one we lost */ + prev->m_nextpkt = next; + else + m = next; + goto out; } - bcopy(eh, mtod(m0, caddr_t), ETHER_HDR_LEN); - } else - m_freem(m); + bcopy(llc, mtod(m0, caddr_t), + sizeof(struct llc)); + } + M_PREPEND(m0, ETHER_HDR_LEN, M_DONTWAIT); + if (m0 == NULL) { + error = ENOBUFS; + if (prev) /* there are pkt fragments before the one we lost */ + prev->m_nextpkt = next; + else + m = next; + goto out; + } + bcopy(eh, mtod(m0, caddr_t), ETHER_HDR_LEN); + /* m0 could have changed due to m_prepend */ + if (prev != NULL) + prev->m_nextpkt = m0; + else + m = m0; /* first fragment has no previous mbufs */ + prev = m0; + m0 = next; + if (next) + next = next->m_nextpkt; } if (error == 0) KMOD_IPSTAT_INC(ips_fragmented); + *mp = m; return (error); out: - if (m != NULL) + /* free the whole list of potential fragments */ + while (m) { + next = m->m_nextpkt; m_freem(m); + m = next; + } + + *mp = NULL; return (error); } --------------89C4B78E42AECF271F98CECF-- From owner-freebsd-net@freebsd.org Fri Sep 16 20:21:58 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 852ECBDD07C for ; Fri, 16 Sep 2016 20:21:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 750C9F4F for ; Fri, 16 Sep 2016 20:21:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8GKLwlg013708 for ; Fri, 16 Sep 2016 20:21:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212749] bridge fragment can leak mbufs Date: Fri, 16 Sep 2016 20:21:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 20:21:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212749 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Sep 16 22:55:59 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFA6CBDD332 for ; Fri, 16 Sep 2016 22:55:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF85817DC for ; Fri, 16 Sep 2016 22:55:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8GMtxDX028285 for ; Fri, 16 Sep 2016 22:55:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212749] bridge fragment can leak mbufs Date: Fri, 16 Sep 2016 22:56:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olivier@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 22:55:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212749 Olivier Cochard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olivier@freebsd.org --- Comment #1 from Olivier Cochard --- I believe this bug has a candidate patch here: https://reviews.freebsd.org/D7780 If you can try this patch on your user case and comment about it: it will be great ! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Sep 17 09:05:21 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07794BDD509 for ; Sat, 17 Sep 2016 09:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE7B4156 for ; Sat, 17 Sep 2016 09:05:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u8H95Ktm083222 for ; Sat, 17 Sep 2016 09:05:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212283] oversized IP datagrams on raw socket with IP_RAWOUTPUT hang network interface drivers Date: Sat, 17 Sep 2016 09:05:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mat@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 09:05:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212283 --- Comment #14 from Mathieu Arnold --- This is still a problem on 11.0-RC3. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Sep 17 15:31:30 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1F91BDE794 for ; Sat, 17 Sep 2016 15:31:30 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from mail.farrokhi.net (mail.farrokhi.net [79.127.49.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3861CE1 for ; Sat, 17 Sep 2016 15:31:30 +0000 (UTC) (envelope-from farrokhi@FreeBSD.org) Received: from [192.168.0.110] (unknown [79.127.49.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: freebsd@farrokhi.net) by mail.farrokhi.net (Postfix) with ESMTPSA id 2974A360D4 for ; Sat, 17 Sep 2016 19:54:21 +0430 (IRDT) From: "Babak Farrokhi" To: "FreeBSD Net" Subject: BBR Congestion Control Algorithm Date: Sat, 17 Sep 2016 19:54:20 +0430 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_658EB094-562A-4C81-96D3-308AD98C75D3_="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Mailer: MailMate (2.0BETAr6056) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 15:31:31 -0000 This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_658EB094-562A-4C81-96D3-308AD98C75D3_= Content-Type: text/plain; markup=markdown Content-Transfer-Encoding: quoted-printable ICYMI: http://marc.info/?l=3Dlinux-netdev&m=3D147405177724268&w=3D2 Google submitted their own TCP CC algorithm to upstream. This algorithm h= as been widely in use in their network. This looks very interesting and it would be great if someone could port i= t to FreeBSD. Any thoughts? -- = Babak Farrokhi --=_MailMate_658EB094-562A-4C81-96D3-308AD98C75D3_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQJ8BAEBCABmBQJX3WAkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGMDgxNUY4ODYxQkYyREVBRjI2MUU5QzE2 QjI2N0FEODVENjMyRTlBAAoJEGsmethdYy6aHpcP/i8A9gItwdZK8tFaEg8VcqrN /nujoL0MBcf3tg2GaxQ0EcPOpIGC8XsvdrRTkgI/1Or67crO7XcRTbZAT4mbdAcc l9y3c9uG5Onp/YeU9Zqa6WC1Ex9rvoa9VGz7PjiezByjNHOUBbmoCNupYryQ1xqD LyEUs9+fUxOaDOHK8Y9A2vIppJE6sMkdGU0wkXsRuNcUGtYeimnpuF0zZcSOQgev vnLLmRXPyEncKam559l6jE66HVvbmIc/Q8HiEy+f9gKvuZ76GDIg2SBmykokQYch zXO+itvAmpxxIfFx1xJEUh/9xS23LYAkKFrTLAejvC/Re/ElDx7xbrRvYasjPGWe y0V/QPiFIdus2fPY4IHg/D6L3Q/ys5CMCl/cGw6zQZ/+2HjZ3jjAWJNBWdY79LUf bzbx+8ISAtoFRspXbniXRzI+Zb5xsZWSlnnSHH/KZ+n6GPkvCDwLKFr+dNFHjpHB 4JM32i+IK2d9oAND7rsowan2QM22Hhwz+ON4Ud8K2VyV0JhQ9SkiOiHHVh/xVKvk CXa5sQgBZYF/HMp55LcPXcxpOCXXfUQ7XNmoarnaXzZ7By+l3D38BCnRMfrauFn7 2Wdz/QhxBYVpCiBsJbISN1k4gIc9DdbwqRhjxNm8AkL4D72JEE0kaFxYGhOKdzE+ 6vg7KmNSCQKg0eLdx6wn =iI7K -----END PGP SIGNATURE----- --=_MailMate_658EB094-562A-4C81-96D3-308AD98C75D3_=-- From owner-freebsd-net@freebsd.org Sat Sep 17 21:11:34 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2B12BDE150 for ; Sat, 17 Sep 2016 21:11:34 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 72240B0B for ; Sat, 17 Sep 2016 21:11:33 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 426D625D3891; Sat, 17 Sep 2016 21:11:25 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 630EDD1F8E3; Sat, 17 Sep 2016 21:11:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 5VI85CwO7jGO; Sat, 17 Sep 2016 21:11:22 +0000 (UTC) Received: from [192.168.124.1] (unknown [IPv6:fde9:577b:c1a9:4410:404f:7e6f:a0ae:232b]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 5B6DFD1F880; Sat, 17 Sep 2016 21:11:21 +0000 (UTC) From: "Bjoern A. Zeeb" To: "KrishnamRaju ErapaRaju" Cc: "freebsd-net@freebsd.org" Subject: Re: unable to use BPF Just-In-Time compiler Date: Sat, 17 Sep 2016 21:11:19 +0000 Message-ID: <3F7A8F51-D404-4FEF-910C-8E51DD5061AD@lists.zabbadoz.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Mailer: MailMate (2.0BETAr6056) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 21:11:34 -0000 On 15 Sep 2016, at 5:32, KrishnamRaju ErapaRaju wrote: > Hi, > > I want to use BPF JIT Kernel APIs in FreeBSD(like: bpf_jitter(), > etc..), for implementing TCP connection packet filtering. > > I have followed below instructions as specified in: > https://lists.freebsd.org/pipermail/freebsd-current/2005-December/058603.html > > STEPS followed: > --------------------- > cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/MYKERNEL > > And added below line in MYKERNEL config file. > options BPF_JITTER I think you want device bpf_jitter The options line to my understanding only turns it on by default. > > make buildkernel KERNCONF=MYKERNEL > make installkernel KERNCONF=MYKERNEL > reboot > > But after reboot the flag BPF_JITTER is not getting enabled(all the > code inside "#ifdef BPF_JITTER" is not getting executed). > > Am I missing something? > > Also it looks like there are not many updates to BPF JIT code since > 2005, is it stable? anyone using it? > > Thanks, > Krishna. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Sat Sep 17 22:38:47 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14AEEBDF41A for ; Sat, 17 Sep 2016 22:38:47 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail2tor.com (mail2tor.com [188.126.79.59]) by mx1.freebsd.org (Postfix) with ESMTP id D24D9821 for ; Sat, 17 Sep 2016 22:38:46 +0000 (UTC) (envelope-from zjef@mail2tor.com) Received: from mail.mail2tor.com (localhost [127.0.0.1]) by mail2tor.com (Postfix) with ESMTP id ED907C20DB5 for ; Sat, 17 Sep 2016 22:38:28 +0000 (UTC) Message-ID: <5ae6c994bdab8464ac041bf395dbc845.squirrel@_> In-Reply-To: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> References: <1efbc304fc2208b7cb41f5ca208d2f81.squirrel@_> Date: Sat, 17 Sep 2016 22:38:34 -0000 Subject: Re: =ping: sendto: Can't assign requested address= in fib spaces From: zjef@mail2tor.com To: zjef@mail2tor.com Cc: freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2016 22:38:47 -0000 hi, yep, it is not not a fib problem. It is related to openvpn (on banana pi?), similar to one mentioned here https://newpush.com/2010/01/openvpn-write-udpv4-cant-assign-requested-address-code49/ or here https://yeri.be/openvpn-cant-assign-requested-address Thanks.