Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Paul de Weerd
Hi Alexandr, I've tested this and can confirm it works. Attempted TCP sessions get an immediate 'Connection refused' error after the first ICMP port unreachable error. Personally, I like it. Thank you for the quick fix! Paul On Wed, Oct 30, 2019 at 05:56:38PM +0100, Alexandr Nedvedicky wrote:

Re: ios 13 dhcpd vs dhclient stale lease

2019-10-30 Thread matteo filippetto
Il giorno mer 30 ott 2019 alle 21:15 Ted Unangst ha scritto: > Ted Unangst wrote: > > I'm not sure where the bug is exactly (seems probable it could be an > apple > > problem), but for the record... > > I think this was fixed with an apple update? Nothing in the release notes > of > course, but i

Re: ios 13 dhcpd vs dhclient stale lease

2019-10-30 Thread Kenneth R Westerback
On Wed, Oct 30, 2019 at 04:14:53PM -0400, Ted Unangst wrote: > Ted Unangst wrote: > > I'm not sure where the bug is exactly (seems probable it could be an apple > > problem), but for the record... > > I think this was fixed with an apple update? Nothing in the release notes of > course, but it doe

Re: ios 13 dhcpd vs dhclient stale lease

2019-10-30 Thread Ted Unangst
Ted Unangst wrote: > I'm not sure where the bug is exactly (seems probable it could be an apple > problem), but for the record... I think this was fixed with an apple update? Nothing in the release notes of course, but it doesn't seem to happen anymore.

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Alexandr Nedvedicky
Hello, So I did poke around and it looks like tcp_notify() requires a small tweak. I did check NetBSD and it looks like NetBSD is suffering from the same glitch (unless I'm missing something). The change below makes tcp_notify() to indicate ICMP unreachable errors for not connected sockets immedi

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Alexandr Nedvedicky
Hello Paul, On Wed, Oct 30, 2019 at 11:41:28AM +0100, Paul de Weerd wrote: > Hi Alexandr, > > On Wed, Oct 30, 2019 at 10:14:09AM +0100, Alexandr Nedvedicky wrote: > | Hello Paul, > | > | interesting exercise it has never come to my mind to try something like > that. > | I did poke to RFCs and

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Paul de Weerd
Hi Alexandr, On Wed, Oct 30, 2019 at 10:14:09AM +0100, Alexandr Nedvedicky wrote: | Hello Paul, | | interesting exercise it has never come to my mind to try something like that. | I did poke to RFCs and found 1122 [1]. I'm not RFC guru so I hope this | partcular one is not superseded or updated b

Re: Time-out like behaviour for ICMP port unreachable errors

2019-10-30 Thread Alexandr Nedvedicky
Hello Paul, interesting exercise it has never come to my mind to try something like that. I did poke to RFCs and found 1122 [1]. I'm not RFC guru so I hope this partcular one is not superseded or updated by more recent one. If I understand quotation below right, then host TCP stack should just i