{"action":"created","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/5452","repository_url":"https://api.github.com/repos/PowerDNS/pdns","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/5452/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/5452/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/5452/events","html_url":"https://github.com/PowerDNS/pdns/issues/5452","id":238031426,"number":5452,"title":"TCP communication error when tcpFastOpen=true","user":{"login":"publicarray","id":5497998,"avatar_url":"https://avatars0.githubusercontent.com/u/5497998?v=3","gravatar_id":"","url":"https://api.github.com/users/publicarray","html_url":"https://github.com/publicarray","followers_url":"https://api.github.com/users/publicarray/followers","following_url":"https://api.github.com/users/publicarray/following{/other_user}","gists_url":"https://api.github.com/users/publicarray/gists{/gist_id}","starred_url":"https://api.github.com/users/publicarray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publicarray/subscriptions","organizations_url":"https://api.github.com/users/publicarray/orgs","repos_url":"https://api.github.com/users/publicarray/repos","events_url":"https://api.github.com/users/publicarray/events{/privacy}","received_events_url":"https://api.github.com/users/publicarray/received_events","type":"User","site_admin":false},"labels":[{"id":37446007,"url":"https://api.github.com/repos/PowerDNS/pdns/labels/defect","name":"defect","color":"cccccc","default":false},{"id":205755699,"url":"https://api.github.com/repos/PowerDNS/pdns/labels/dnsdist","name":"dnsdist","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"rgacogne","id":1086257,"avatar_url":"https://avatars1.githubusercontent.com/u/1086257?v=3","gravatar_id":"","url":"https://api.github.com/users/rgacogne","html_url":"https://github.com/rgacogne","followers_url":"https://api.github.com/users/rgacogne/followers","following_url":"https://api.github.com/users/rgacogne/following{/other_user}","gists_url":"https://api.github.com/users/rgacogne/gists{/gist_id}","starred_url":"https://api.github.com/users/rgacogne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgacogne/subscriptions","organizations_url":"https://api.github.com/users/rgacogne/orgs","repos_url":"https://api.github.com/users/rgacogne/repos","events_url":"https://api.github.com/users/rgacogne/events{/privacy}","received_events_url":"https://api.github.com/users/rgacogne/received_events","type":"User","site_admin":false},"assignees":[{"login":"rgacogne","id":1086257,"avatar_url":"https://avatars1.githubusercontent.com/u/1086257?v=3","gravatar_id":"","url":"https://api.github.com/users/rgacogne","html_url":"https://github.com/rgacogne","followers_url":"https://api.github.com/users/rgacogne/followers","following_url":"https://api.github.com/users/rgacogne/following{/other_user}","gists_url":"https://api.github.com/users/rgacogne/gists{/gist_id}","starred_url":"https://api.github.com/users/rgacogne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgacogne/subscriptions","organizations_url":"https://api.github.com/users/rgacogne/orgs","repos_url":"https://api.github.com/users/rgacogne/repos","events_url":"https://api.github.com/users/rgacogne/events{/privacy}","received_events_url":"https://api.github.com/users/rgacogne/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-06-23T03:30:28Z","updated_at":"2017-06-24T04:52:08Z","closed_at":null,"body":" - Program: dnsdist\r\n - Issue type: Bug report\r\n\r\n### Short description\r\n<!-- Explain in a few sentences what the issue/request is -->\r\n\r\nSet tcpFastOpen=true and query dnsdist using dig with `+tcp` the response is\r\n```\r\n;; communications error to 127.0.0.1#53: end of file\r\n```\r\n\r\n### Environment\r\n<!-- Tell us about the environment -->\r\n - Operating system: \r\n```sh\r\n[vagrant@dns-resolver ~]$ cat /etc/redhat-release\r\nCentOS Linux release 7.3.1611 (Core) \r\n[vagrant@dns-resolver ~]$ uname -a\r\nLinux dns-resolver 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n````\r\n - Software version: \r\n```\r\n[vagrant@dns-resolver ~]$ dnsdist --version\r\ndnsdist 0.0.1616g6944ee1 (Lua 5.1.4 [LuaJIT 2.0.4])\r\nEnabled features: dnscrypt libsodium protobuf re2 systemd\r\n```\r\n - Software source:  PowerDNS repository [master branch]\r\n\r\n### Steps to reproduce\r\n<!-- Tell us step-by-step how the issue can be triggered. Please include your configuration files and any (Lua) scripts that are loaded. -->\r\n1. config:\r\n```\r\nsetKey(\"lvQrHBzplDlewnOIwqo0JeVALsAzHhBB3JbfqvOnwWc=\")\r\ncontrolSocket(\"127.0.0.1\")\r\nnewServer({address=\"8.8.8.8\", tcpFastOpen=true})\r\n```\r\n2. run `dig google.com @127.0.0.1 +tcp` on the same machine\r\n\r\n### Expected behaviour\r\n\r\n```\r\n[vagrant@dns-resolver ~]$ dig google.com @8.8.8.8 +tcp\r\n\r\n; <<>> DiG 9.9.4-RedHat-9.9.4-38.el7_3.3 <<>> google.com @8.8.8.8 +tcp\r\n;; global options: +cmd\r\n;; Got answer:\r\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6455\r\n;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1\r\n\r\n;; OPT PSEUDOSECTION:\r\n; EDNS: version: 0, flags:; udp: 512\r\n;; QUESTION SECTION:\r\n;google.com.\t\t\tIN\tA\r\n\r\n;; ANSWER SECTION:\r\ngoogle.com.\t\t299\tIN\tA\t216.58.196.142\r\n\r\n;; Query time: 154 msec\r\n;; SERVER: 8.8.8.8#53(8.8.8.8)\r\n;; WHEN: Fri Jun 23 03:20:33 UTC 2017\r\n;; MSG SIZE  rcvd: 55\r\n```\r\n\r\n### Actual behaviour\r\n<!-- What did happen? Please (if possible) provide logs, output from `dig` and/or tcpdump/wireshark data -->\r\n\r\n```\r\n[vagrant@dns-resolver ~]$ dig google.com @127.0.0.1 +tcp -p53\r\n;; communications error to 127.0.0.1#53: end of file\r\n```\r\n\r\n### Other information\r\n\r\n<details>\r\n<summary>Demo video</summary>\r\n\r\n![dnsdist mp4](https://user-images.githubusercontent.com/5497998/27465514-4ef81d3e-5817-11e7-891b-a0e1bbd1c64e.gif)\r\n</details>\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/comments/310814089","html_url":"https://github.com/PowerDNS/pdns/issues/5452#issuecomment-310814089","issue_url":"https://api.github.com/repos/PowerDNS/pdns/issues/5452","id":310814089,"user":{"login":"publicarray","id":5497998,"avatar_url":"https://avatars0.githubusercontent.com/u/5497998?v=3","gravatar_id":"","url":"https://api.github.com/users/publicarray","html_url":"https://github.com/publicarray","followers_url":"https://api.github.com/users/publicarray/followers","following_url":"https://api.github.com/users/publicarray/following{/other_user}","gists_url":"https://api.github.com/users/publicarray/gists{/gist_id}","starred_url":"https://api.github.com/users/publicarray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publicarray/subscriptions","organizations_url":"https://api.github.com/users/publicarray/orgs","repos_url":"https://api.github.com/users/publicarray/repos","events_url":"https://api.github.com/users/publicarray/events{/privacy}","received_events_url":"https://api.github.com/users/publicarray/received_events","type":"User","site_admin":false},"created_at":"2017-06-24T04:52:08Z","updated_at":"2017-06-24T04:52:08Z","body":"Thank you for the swift fix 👍 "}}
{"actor":{"display_login":"publicarray"}}