Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 15:29:27 +0100, schrieb Manuel Kuklinski 1,7K:
> Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working
> flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC
> address randomization on the smartphone. As it seems, I can ping, e.g.
> google.de (both IPv4 and IPv6), proof-checked with "HE.NET Network
> Tools" on the smartphone. The router is running OpenBSD 7.4.

Not the first time I did that, but I reset the network config of the
iPhone, restarted the router and now it works :-|

Pardon the noise...



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 20:08:16 +0100, schrieb Manuel Kuklinski 1,0K:
> I opened a support ticket with Cupertino, since TCP seems to be clearly
> working, according to the mentioned app - just "regular" connections can't
> be openend to HTTP, IMAP et al, via TCP in different apps...

"Clearly working" can be proofed with:

apu# tcpdump -ni athn0 src host 10.0.0.20

- - - - - - - - - - %< - - - - - - - - - -
 
12:10:54.316614 10.0.0.20.50005 > 10.10.10.10.53: 9061+ A? sdf.org.(25)
12:10:54.317999 10.0.0.20.60630 > 10.10.10.10.53: 44056+ ? sdf.org.(25)
12:10:54.796151 10.0.0.20.49291 > 205.166.94.16.22: SWE 580629622:580629622(0) 
win 65535  (DF)
12:10:55.300692 10.0.0.20.49291 > 205.166.94.16.22: . ack 546809152 win 4117 
 (DF)

- - - - - - - - - - %< - - - - - - - - - -



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Freitag 17 November 2023 um 21:31:44 +1100, schrieb jslee 0,5K:
> Are you sure your phone isn’t attempting a DNS lookup, failing and deciding 
> that the WiFi is pointless?

As posted in a reply to my e-mail, I tested a TCP connection with "ELX
TCP CLient" from the smartphone and captured with tcpdump on the
gateway:

- - - - - - - - - - %< - - - - - - - - - -

12:10:54.316614 10.0.0.20.50005 > 10.10.10.10.53: 9061+ A? sdf.org.(25)
12:10:54.317999 10.0.0.20.60630 > 10.10.10.10.53: 44056+ ? sdf.org.(25)
12:10:54.796151 10.0.0.20.49291 > 205.166.94.16.22: SWE 580629622:580629622(0) 
win 65535  (DF)
12:10:55.300692 10.0.0.20.49291 > 205.166.94.16.22: . ack 546809152 win 4117 
 (DF)

- - - - - - - - - - %< - - - - - - - - - -



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 20:27:37 -0700, schrieb David Rinehart 0,7K:
> Maybe... Is the clock set to the correct time on the iPhone?

Yes, the clock is set to the correct time.



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-17 Thread jslee
On Fri, 17 Nov 2023, at 01:29, Manuel Kuklinski wrote:
> Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working
> flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC
> address randomization on the smartphone. As it seems, I can ping, e.g.
> google.de (both IPv4 and IPv6), proof-checked with "HE.NET Network
> Tools" on the smartphone. The router is running OpenBSD 7.4.

Are you sure your phone isn’t attempting a DNS lookup, failing and deciding 
that the WiFi is pointless?

John



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread David Rinehart


Maybe... Is the clock set to the correct time on the iPhone?


> o I tried disabling the RPZ:
>   no luck.
> 
> o I tried loading /etc/examples/pf.conf:
>   no luck.
> 
> o I tried re-naming the WiFi and changing the wpakey:
>   no luck.
> 
> o I tried enabling and disabling encryption on my WiFi:
>   no luck.
> 
> o I tried handing out different IPs / re-enabling MAC address
>   randomization:
>   no luck.
> 
> o I tried bringing down the interface, rebooting, flushing the
>   routing table:
>   no luck.
> 
> Any suggestions, ideas, tips, either network- or  software-wise - or
> is
> this simply a hardware defect / support case for Cupertino?
> 
> Best regards.
> 



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread John Brooks

On 11/16/2023 9:39 AM, Manuel Kuklinski wrote:

Am Donnerstag 16 November 2023 um 8:53:10 -0700, schrieb John Brooks 2,1K:

I had a similar problem a few weeks back. Turned out to be a partial
failure of a network card. I could send and receive ICMP traffic, but
not TCP traffic. Replaced the network card, then everything worked
as expected.

Was the failure on the endpoint or the gateway?


The failure was an ethernet network interface card on a clients firewall 
protecting his
internal network. PCI dual port gigabit with Intel chipset. Complete 
failures are fairly

easy to troubleshoot, partial failures become more complicated.



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 17:39:36 +0100, schrieb Manuel Kuklinski 0,3K:
> Am Donnerstag 16 November 2023 um 8:53:10 -0700, schrieb John Brooks 2,1K:
> > I had a similar problem a few weeks back. Turned out to be a partial
> > failure of a network card. I could send and receive ICMP traffic, but
> > not TCP traffic. Replaced the network card, then everything worked
> > as expected.
> 
> Was the failure on the endpoint or the gateway?

O.K. - I tested a TCP connection via "ELX TCP Client" to different hosts
and ports; if the app isn't lying, connections can be made via TCP...

Since ping is working, I guess ICMP is working too; to be safe, I
purchased a second AR5BXB92 for my APU to finally rule out this error.

I opened a support ticket with Cupertino, since TCP seems to be clearly
working, according to the mentioned app - just "regular" connections can't
be openend to HTTP, IMAP et al, via TCP in different apps...

They will call me at Saturday - I'll report! Debugging such a thing on a
smartphone sucks :-|



Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread John Brooks

On 11/16/2023 7:29 AM, Manuel Kuklinski wrote:

Hi misc,

I quickly chatted on #openbsd over at libera and tried different
solutions but none of them worked; my problem is as follows:

Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working
flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC
address randomization on the smartphone. As it seems, I can ping, e.g.
google.de (both IPv4 and IPv6), proof-checked with "HE.NET Network
Tools" on the smartphone. The router is running OpenBSD 7.4.

I can ping the local network, e.g. 10.10.10.10, but can't connect to
services running on that IP - likewise I can't make outbound connections
to (secure) HTTP, IMAP et al.

I can connect via ethernet and WiFi to

  https://www.apple.com/library/test/success.html

and to the mentionend, local services with my M1.

The only client that has troubles connecting is the iPhone 7. I
double-checked with an iPhone 8 of a relative: connection is working
fine.

DNS blocking with a RPZ in unbound is enforced for the whole network,
but as far as I'm concerned that is not the problem since a connection
is possible with the M1 & iPhone 8. Anyway - these are the steps I
already checked off my list:

o I tried disabling the RPZ:
no luck.

o I tried loading /etc/examples/pf.conf:
no luck.

o I tried re-naming the WiFi and changing the wpakey:
no luck.

o I tried enabling and disabling encryption on my WiFi:
no luck.

o I tried handing out different IPs / re-enabling MAC address
randomization:
no luck.

o I tried bringing down the interface, rebooting, flushing the
routing table:
no luck.

Any suggestions, ideas, tips, either network- or  software-wise - or is
this simply a hardware defect / support case for Cupertino?

Best regards.



I had a similar problem a few weeks back. Turned out to be a partial
failure of a network card. I could send and receive ICMP traffic, but
not TCP traffic. Replaced the network card, then everything worked
as expected.




Re: OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread Manuel Kuklinski
Am Donnerstag 16 November 2023 um 8:53:10 -0700, schrieb John Brooks 2,1K:
> I had a similar problem a few weeks back. Turned out to be a partial
> failure of a network card. I could send and receive ICMP traffic, but
> not TCP traffic. Replaced the network card, then everything worked
> as expected.

Was the failure on the endpoint or the gateway?



OpenBSD 7.4, iOS 15.8 - sudden defunct of WiFi

2023-11-16 Thread Manuel Kuklinski
Hi misc,

I quickly chatted on #openbsd over at libera and tried different
solutions but none of them worked; my problem is as follows:

Until yesterday my WiFi on an iPhone 7 (iOS 15.8) was working
flawlessly; the IPv4s are statically assigned by dhcp(8). I disabled MAC
address randomization on the smartphone. As it seems, I can ping, e.g.
google.de (both IPv4 and IPv6), proof-checked with "HE.NET Network
Tools" on the smartphone. The router is running OpenBSD 7.4.

I can ping the local network, e.g. 10.10.10.10, but can't connect to
services running on that IP - likewise I can't make outbound connections
to (secure) HTTP, IMAP et al.

I can connect via ethernet and WiFi to 

https://www.apple.com/library/test/success.html

and to the mentionend, local services with my M1.

The only client that has troubles connecting is the iPhone 7. I
double-checked with an iPhone 8 of a relative: connection is working
fine.

DNS blocking with a RPZ in unbound is enforced for the whole network,
but as far as I'm concerned that is not the problem since a connection
is possible with the M1 & iPhone 8. Anyway - these are the steps I
already checked off my list:

o I tried disabling the RPZ:
  no luck.

o I tried loading /etc/examples/pf.conf:
  no luck.

o I tried re-naming the WiFi and changing the wpakey:
  no luck.

o I tried enabling and disabling encryption on my WiFi:
  no luck.

o I tried handing out different IPs / re-enabling MAC address
  randomization:
  no luck.

o I tried bringing down the interface, rebooting, flushing the
  routing table:
  no luck.

Any suggestions, ideas, tips, either network- or  software-wise - or is
this simply a hardware defect / support case for Cupertino?

Best regards.