
{"id":1671,"date":"2010-06-14T20:38:12","date_gmt":"2010-06-14T15:08:12","guid":{"rendered":"http:\/\/www.jeffrin.in\/?p=1671"},"modified":"2010-06-14T20:38:12","modified_gmt":"2010-06-14T15:08:12","slug":"the-interval-between-the-last-data-packet-sent-and","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/06\/14\/the-interval-between-the-last-data-packet-sent-and\/","title":{"rendered":"the interval between the last data packet sent and&#8230;"},"content":{"rendered":"<pre>\n$cat \/proc\/sys\/net\/ipv4\/tcp_keepalive_time\n7200\n$\n<\/pre>\n<pre>\ntcp_keepalive_time\nthe interval between the last data packet sent\n (simple ACKs are not considered data) and the first keepalive probe;\n after the connection is marked to need keepalive, this counter is not used any further\n\nsource :http:\/\/tldp.org\/HOWTO\/TCP-Keepalive-HOWTO\/usingkeepalive.html\n<\/pre>\n<pre>\nlinux\/net\/ipv4\/tcp.c - 8 identical\n   365:   * TCP Keep-Alives (4.2.3.6)\n   366:   *   MAY provide keep-alives. (does)\n   367:   *   MUST make keep-alives configurable on a per-connection basis. (does)\n  1863:   *      problem with TCP as specified in that the other end could\n  1864:   *      keep a socket open forever with no application left this end.\n  1865:   *      We use a 3 minute timeout (about the same as BSD) then kill\nftp.kernel.org\/pub\/linux\/kernel\/v2.4\/linux-2.4.0.tar.bz2 - GPL - C -\n<\/pre>\n<pre>\nThe TCP specification states that if keep-alive is provided, by default\nkeep-alivemust be turned off and the threshold time before which a\n keep-alive is sent must be 7200 seconds or more (inter keep-alive time\n should also be 7200 seconds).\n\n\nsource : Research Related Paper.\n<a href=\"http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.55.4690&amp;rep=rep1&amp;type=pdf\">http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.55.4690&amp;rep=rep1&amp;type=pdf<\/a>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$cat \/proc\/sys\/net\/ipv4\/tcp_keepalive_time 7200 $ tcp_keepalive_time the interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further source :http:\/\/tldp.org\/HOWTO\/TCP-Keepalive-HOWTO\/usingkeepalive.html linux\/net\/ipv4\/tcp.c &#8211; 8 identical 365: * TCP Keep-Alives (4.2.3.6) 366: * MAY provide keep-alives. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/06\/14\/the-interval-between-the-last-data-packet-sent-and\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;the interval between the last data packet sent and&#8230;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[987,1035,1548,1577],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1671"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=1671"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1671\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}