Search found 26 matches

by st0ff3r
Tue Feb 01, 2022 5:54 am
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

...but it appears to go away if I patch cnx_csa_fn() to do nothing: 40217830 <cnx_csa_fn>: 40217830: f00d ret.n actually it works better than patching ieee80211_add_csa() since it doesn't react to CSA's while scanning instead of not sending CSA's (I guess). What is cnx_csa_fn() supposed to do anyway?
by st0ff3r
Mon Jan 31, 2022 5:27 am
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

[update]
thought it was fixed in latest commit (1391d154092f9e0e7702086ab9af1558584cc694) , but unfortunately I still get it:

switch to channel 12
scandone
-> wifi_scan_done_cb(3fff68d8, 1)

and then wireless connection is disconnected
by st0ff3r
Tue Nov 30, 2021 8:38 am
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

Looking closer to libnet80211.a it looks like its based on FreeBSD net80211 https://github.com/freebsd/freebsd-src/tree/master/sys/net80211 So in a desparate try to force the esp to _not_ sending out CSA while scanning, I patched the function ieee80211_add_csa() in ieee80211_output.o like this: 4021...
by st0ff3r
Sun Nov 28, 2021 9:04 am
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

Hi, sorry i havent have time to write back, but sadly the csa attack bug still there, even in the latest git master. Could I do anything to help debugging it? Here is a simple program: static os_timer_t wifi_scan_timer; static void wifi_scan_timer_func(void *arg); ICACHE_FLASH_ATTR void wifi_scan_do...
by st0ff3r
Thu Apr 29, 2021 6:08 pm
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

its not the same ssid/bssi thats what is strange - totally unrelated ssid
by st0ff3r
Mon Mar 29, 2021 11:55 pm
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

Hereby attached tcpdump wifi capture file and serial debugging output of the following scenario: 1. esp 8266 connected to ssid "Loppen Public" on channel 1 2. "beacon_spammer" sending out CSA's on channel 2 3. tcpdump running on same host as "beacon_spammer" on channel ...
by st0ff3r
Sat Mar 13, 2021 7:16 am
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

Same result, but no debugging message besides "switch to channel 2" after calling wifi_station_scan(). Should I try to change wifi_station_set_reconnect_policy(1) to wifi_station_set_reconnect_policy(0) as well?
by st0ff3r
Thu Mar 04, 2021 9:18 pm
Forum: Report Bugs
Topic: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement
Replies: 22
Views: 75766

Re: Wrongly reacting to and sending 802.11 beacons with Channel Switch Announcement

Still the same with wifi_station_set_reconnect_policy(0): -> wifi_start_scan(WIFI_SCAN_INTERVAL) @@ set csa state to CSA done -> wifi_scan_timer_func() RSSI: -65 @@ set csa state to CSA start 2 @@ add csa 1 @@ add csa 1 @@ add csa 3 @@ add csa 1 @@ add csa 1 @@ add csa 3 @@ add csa 1 @@ add csa 1 @@...

Go to advanced search