{"action":"created","issue":{"url":"https://api.github.com/repos/natsys/tempesta/issues/62","labels_url":"https://api.github.com/repos/natsys/tempesta/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/natsys/tempesta/issues/62/comments","events_url":"https://api.github.com/repos/natsys/tempesta/issues/62/events","html_url":"https://github.com/natsys/tempesta/issues/62","id":58889402,"number":62,"title":"lb: backend connections hang in TIME_WAIT state after closing","user":{"login":"vdmit11","id":5739502,"avatar_url":"https://avatars.githubusercontent.com/u/5739502?v=3","gravatar_id":"","url":"https://api.github.com/users/vdmit11","html_url":"https://github.com/vdmit11","followers_url":"https://api.github.com/users/vdmit11/followers","following_url":"https://api.github.com/users/vdmit11/following{/other_user}","gists_url":"https://api.github.com/users/vdmit11/gists{/gist_id}","starred_url":"https://api.github.com/users/vdmit11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdmit11/subscriptions","organizations_url":"https://api.github.com/users/vdmit11/orgs","repos_url":"https://api.github.com/users/vdmit11/repos","events_url":"https://api.github.com/users/vdmit11/events{/privacy}","received_events_url":"https://api.github.com/users/vdmit11/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/natsys/tempesta/labels/bug","name":"bug","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"krizhanovsky","id":884694,"avatar_url":"https://avatars.githubusercontent.com/u/884694?v=3","gravatar_id":"","url":"https://api.github.com/users/krizhanovsky","html_url":"https://github.com/krizhanovsky","followers_url":"https://api.github.com/users/krizhanovsky/followers","following_url":"https://api.github.com/users/krizhanovsky/following{/other_user}","gists_url":"https://api.github.com/users/krizhanovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/krizhanovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krizhanovsky/subscriptions","organizations_url":"https://api.github.com/users/krizhanovsky/orgs","repos_url":"https://api.github.com/users/krizhanovsky/repos","events_url":"https://api.github.com/users/krizhanovsky/events{/privacy}","received_events_url":"https://api.github.com/users/krizhanovsky/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-25T11:46:44Z","updated_at":"2015-03-10T21:38:52Z","closed_at":null,"body":"Scenario:\r\n\r\n1. start a backend server (e.g. `nc -lp 8080`)\r\n2. start Tempesta FW\r\n3. wait until the connection is established\r\n4. stop the backend server\r\n5. wait for fin_timeout (`/proc/sys/net/ipv4/tcp_fin_timeout`)\r\n6. check that the TCP connection is released (`netstat -an | grep TIME_WAIT`)\r\n\r\nGot:\r\n`tcp        0      0 127.0.0.1:23112    127.0.0.1:8080         TIME_WAIT`\r\nThe connection TCP hangs in the TIME_WAIT state even when the tcp_fin_timeout is expired.\r\n\r\nExpected:\r\nThe closed TCP connection should be released immediately without handing in the TIME_WAIT state.\r\nOr at least, it should be released after `tcp_fin_timeout`.\r\n\r\nThe `TIME_WAIT` means that either `FIN` is not received or it is not handled correclty.\r\nSince we run everything locally, the `FIN` is likely received, so likely it is something wrong with `FIN` handling."},"comment":{"url":"https://api.github.com/repos/natsys/tempesta/issues/comments/78154094","html_url":"https://github.com/natsys/tempesta/issues/62#issuecomment-78154094","issue_url":"https://api.github.com/repos/natsys/tempesta/issues/62","id":78154094,"user":{"login":"krizhanovsky","id":884694,"avatar_url":"https://avatars.githubusercontent.com/u/884694?v=3","gravatar_id":"","url":"https://api.github.com/users/krizhanovsky","html_url":"https://github.com/krizhanovsky","followers_url":"https://api.github.com/users/krizhanovsky/followers","following_url":"https://api.github.com/users/krizhanovsky/following{/other_user}","gists_url":"https://api.github.com/users/krizhanovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/krizhanovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krizhanovsky/subscriptions","organizations_url":"https://api.github.com/users/krizhanovsky/orgs","repos_url":"https://api.github.com/users/krizhanovsky/repos","events_url":"https://api.github.com/users/krizhanovsky/events{/privacy}","received_events_url":"https://api.github.com/users/krizhanovsky/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T21:38:52Z","updated_at":"2015-03-10T21:38:52Z","body":"Reassign back to Dmitry - need to recheck the issue when #46 is fixed."}}