Re: statement regarding keepalives

2018-08-17 Thread Tom Herbert
On Fri, Aug 17, 2018 at 4:06 PM, Joe Touch wrote: > > > > On 2018-08-17 14:13, Tom Herbert wrote: > > On Fri, Aug 17, 2018 at 1:31 PM, Joe Touch wrote: > > > > If you KNOW that the app keepalive will cause the TCP transmission, sure - > but how do you KNOW that? You don't and can't. Even if you

Re: statement regarding keepalives

2018-08-17 Thread Joe Touch
On 2018-08-17 14:13, Tom Herbert wrote: > On Fri, Aug 17, 2018 at 1:31 PM, Joe Touch wrote: > >> If you KNOW that the app keepalive will cause the TCP transmission, sure - >> but how do you KNOW that? You don't and can't. Even if you write to the TCP >> socket, all you know when the socket

Re: statement regarding keepalives

2018-08-17 Thread Tom Herbert
On Fri, Aug 17, 2018 at 1:31 PM, Joe Touch wrote: > > > > > On 2018-08-17 11:43, Tom Herbert wrote:The purpose of an application keep > alive is not to do favors for TCP, > > it's to verify the end to end liveness between application end points. > This is at a much higher layer, verifying

Re: statement regarding keepalives

2018-08-17 Thread Joe Touch
On 2018-08-17 11:43, Tom Herbert wrote:The purpose of an application keep alive is not to do favors for TCP, > it's to verify the end to end liveness between application end points. > This is at a much higher layer, verifying liveness of the TCP > connection is a side effect. Sure - that's fine

Re: statement regarding keepalives

2018-08-17 Thread Tom Herbert
On Fri, Aug 17, 2018 at 10:27 AM, Joe Touch wrote: > > > > > On 2018-08-17 09:05, Tom Herbert wrote: > > On Fri, Aug 17, 2018 at 7:40 AM, Joe Touch wrote: > > > ... > It's not subtle. There's no way to know whether keepalives at a higher level > have any desired affect at the lower level at all

Re: statement regarding keepalives

2018-08-17 Thread Joe Touch
On 2018-08-17 09:05, Tom Herbert wrote: > On Fri, Aug 17, 2018 at 7:40 AM, Joe Touch wrote: > >> ... >> It's not subtle. There's no way to know whether keepalives at a higher level >> have any desired affect at the lower level at all - except using Wireshark >> to trace the packets sent. > I

Re: statement regarding keepalives

2018-08-17 Thread Tom Herbert
On Fri, Aug 17, 2018 at 7:40 AM, Joe Touch wrote: > > >> On Aug 16, 2018, at 3:57 PM, Benjamin Kaduk wrote: >> >> On Thu, Aug 16, 2018 at 03:52:54PM -0700, Joe Touch wrote > >>> >>> On Aug 16, 2018, at 3:10 PM, Benjamin Kaduk wrote: >>> > Keepalives at a layer SHOULD NOT be interpreted as

Re: statement regarding keepalives

2018-08-17 Thread Joe Touch
> On Aug 16, 2018, at 3:57 PM, Benjamin Kaduk wrote: > > On Thu, Aug 16, 2018 at 03:52:54PM -0700, Joe Touch wrote >> >> On Aug 16, 2018, at 3:10 PM, Benjamin Kaduk wrote: >> Keepalives at a layer SHOULD NOT be interpreted as implying state at any other layer. >>> >>> What's

Re: statement regarding keepalives

2018-08-16 Thread Benjamin Kaduk
On Thu, Aug 16, 2018 at 03:52:54PM -0700, Joe Touch wrote: > > > On Aug 16, 2018, at 3:10 PM, Benjamin Kaduk wrote: > > >> Keepalives at a layer SHOULD NOT be interpreted as implying state at > >> any other layer. > > > > What's going on here in the last sentence is probably a bit subtle -- a

Re: statement regarding keepalives

2018-08-16 Thread Joe Touch
On Aug 16, 2018, at 3:10 PM, Benjamin Kaduk wrote: >> Keepalives at a layer SHOULD NOT be interpreted as implying state at >> any other layer. > > What's going on here in the last sentence is probably a bit subtle -- a > keeaplive both does not indicate "real" protocol activity but also can

Re: statement regarding keepalives

2018-08-16 Thread Benjamin Kaduk
It's great to see the good discussion happening here. I'll note a couple things online, and also that given the discussion of the tradeoffs that go into making these decisions, Tom is probably right that shoving this into an I-D would be helpful. On Wed, Aug 15, 2018 at 05:35:28PM +, Kent

Re: statement regarding keepalives

2018-08-16 Thread Tom Herbert
On Thu, Aug 16, 2018 at 8:01 AM, Mikael Abrahamsson wrote: > On Thu, 16 Aug 2018, Tom Herbert wrote: > >> They are already on, TCP has a default keepalive for 2 hrs. The issue > > > http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html says: > > "Remember that keepalive support, even if

Re: statement regarding keepalives

2018-08-16 Thread Mikael Abrahamsson
On Thu, 16 Aug 2018, Tom Herbert wrote: They are already on, TCP has a default keepalive for 2 hrs. The issue http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html says: "Remember that keepalive support, even if configured in the kernel, is not the default behavior in Linux."

Re: statement regarding keepalives

2018-08-16 Thread Joe Touch
> On Aug 16, 2018, at 7:38 AM, Tom Herbert wrote: > > They are already on, TCP has a default keepalive for 2 hrs. RFC1122 says that keepalives are optional and MUST default to off. This has already been included in RFC793bis. Joe

Re: statement regarding keepalives

2018-08-16 Thread Tom Herbert
On Thu, Aug 16, 2018 at 12:44 AM, Olle E. Johansson wrote: > > > On 16 Aug 2018, at 09:28, Mikael Abrahamsson wrote: > > On Wed, 15 Aug 2018, Kent Watsen wrote: > > You bring up an interesting point, it goes to the motivation for wanting to > do keepalives in the first place. The text doesn't

Re: statement regarding keepalives

2018-08-16 Thread Gorry Fairhurst
Adding some comments here. I'm playinh catch-up, so I may have comments on some things that have been fixed, and missed others. On 16/08/2018, 08:28, Mikael Abrahamsson wrote: On Wed, 15 Aug 2018, Kent Watsen wrote: You bring up an interesting point, it goes to the motivation for wanting to

Re: statement regarding keepalives

2018-08-16 Thread Olle E. Johansson
> On 16 Aug 2018, at 09:28, Mikael Abrahamsson wrote: > > On Wed, 15 Aug 2018, Kent Watsen wrote: > >> You bring up an interesting point, it goes to the motivation for wanting to >> do keepalives in the first place. The text doesn't yet mention maintain >> flow state as a motivation. > >

Re: statement regarding keepalives

2018-08-16 Thread Mikael Abrahamsson
On Wed, 15 Aug 2018, Kent Watsen wrote: You bring up an interesting point, it goes to the motivation for wanting to do keepalives in the first place. The text doesn't yet mention maintain flow state as a motivation. It's not only to maintain flow state, it's also to close the connection

Re: statement regarding keepalives

2018-08-15 Thread Tom Herbert
On Wed, Aug 15, 2018 at 2:24 PM, Kent Watsen wrote: > Hi Tom, > > > >> Kent, I'm not sure what the context of formal text is. Is this write up >> going > >> to be in an I-D, or is it intended to be published by some other >> mechanism? > > > > That is a good question. At first, we were thinking

Re: statement regarding keepalives

2018-08-15 Thread Kent Watsen
Hi Tom, > Kent, I'm not sure what the context of formal text is. Is this write up going > to be in an I-D, or is it intended to be published by some other mechanism? That is a good question. At first, we were thinking that is might be an AD-level statement, but I think Spencer last suggested

Re: statement regarding keepalives

2018-08-15 Thread Tom Herbert
On Wed, Aug 15, 2018, 1:56 PM Kent Watsen wrote: > > Hi Tom, > > I recall you're mentioning NAT before. It fell into a crack and I > lost sight of it. > > You bring up an interesting point, it goes to the motivation for > wanting to do keepalives in the first place. The text doesn't > yet

Re: statement regarding keepalives

2018-08-15 Thread Kent Watsen
Hi Tom, I recall you're mentioning NAT before. It fell into a crack and I lost sight of it. You bring up an interesting point, it goes to the motivation for wanting to do keepalives in the first place. The text doesn't yet mention maintain flow state as a motivation. The first paragraph of

Re: statement regarding keepalives

2018-07-20 Thread Kent Watsen
> ...but still don't put off people turning on TCP keepalives "because > the IETF doesn't recommend that", and thus they do nothing at all and > the problem just persists. No disagreement with what you and others have written, but note that the proposed statement only recommends not using TCP

Re: statement regarding keepalives

2018-07-20 Thread Joe Touch
> On Jul 20, 2018, at 4:47 AM, Mikael Abrahamsson wrote: > > So I'd like to see in the text that we recommend to do it as "high up" in the > stack as possible, but still don't put off people turning on TCP keepalives > "because the IETF doesn't recommend that", and thus they do nothing at

Re: statement regarding keepalives

2018-07-20 Thread Tom Herbert
On Fri, Jul 20, 2018, 7:40 AM Spencer Dawkins at IETF < spencerdawkins.i...@gmail.com> wrote: > Hi, Mikael, > > On Fri, Jul 20, 2018 at 6:48 AM Mikael Abrahamsson > wrote: > >> >> Hi, >> >> While I agree with the sentiment here, I have personally been in >> positions >> where application

Re: statement regarding keepalives

2018-07-20 Thread Spencer Dawkins at IETF
Hi, Mikael, On Fri, Jul 20, 2018 at 6:48 AM Mikael Abrahamsson wrote: > > Hi, > > While I agree with the sentiment here, I have personally been in positions > where application programmers were unable to (in a timely manner) modify > whatever was running, to implement a keepalive protocol. In

Re: statement regarding keepalives

2018-07-20 Thread Mikael Abrahamsson
Hi, While I agree with the sentiment here, I have personally been in positions where application programmers were unable to (in a timely manner) modify whatever was running, to implement a keepalive protocol. In that case, turning on TCP keepalives was a very easy thing to do that

Re: statement regarding keepalives

2018-07-19 Thread Spencer Dawkins at IETF
-Original Message- > > From: tsv-area [mailto:tsv-area-boun...@ietf.org] On Behalf Of Wesley > > Eddy > > Sent: Thursday, July 12, 2018 9:06 PM > > To: tsv-area@ietf.org > > Subject: Re: statement regarding keepalives > > > > Hi Kent, I agree with the s

Re: statement regarding keepalives

2018-07-12 Thread Wesley Eddy
Hi Kent, I agree with the spirit of the statement / guidance you've drafted. You might want to tweak some of the wording, e.g. "test more aliveness" could be "test more layers of functionality" or something like that, but this is just a nit. I think the footnote recommending short-lived

statement regarding keepalives

2018-07-12 Thread Kent Watsen
Dear TSVAREA, The folks working with the BBF asked the NETMOD WG to consider modifying draft-ietf-netconf-netconf-client-server to support TCP keepalives [1]. However, it is unclear what IETF's position is on the use of keepalives, especially with regards to keepalives provided in protocol