{"action":"created","issue":{"url":"https://api.github.com/repos/xtaci/kcptun/issues/115","repository_url":"https://api.github.com/repos/xtaci/kcptun","labels_url":"https://api.github.com/repos/xtaci/kcptun/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/xtaci/kcptun/issues/115/comments","events_url":"https://api.github.com/repos/xtaci/kcptun/issues/115/events","html_url":"https://github.com/xtaci/kcptun/issues/115","id":170681371,"number":115,"title":"yamux: Failed to read header: broken pipe","user":{"login":"ShikiYuki","id":20860152,"avatar_url":"https://avatars.githubusercontent.com/u/20860152?v=3","gravatar_id":"","url":"https://api.github.com/users/ShikiYuki","html_url":"https://github.com/ShikiYuki","followers_url":"https://api.github.com/users/ShikiYuki/followers","following_url":"https://api.github.com/users/ShikiYuki/following{/other_user}","gists_url":"https://api.github.com/users/ShikiYuki/gists{/gist_id}","starred_url":"https://api.github.com/users/ShikiYuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShikiYuki/subscriptions","organizations_url":"https://api.github.com/users/ShikiYuki/orgs","repos_url":"https://api.github.com/users/ShikiYuki/repos","events_url":"https://api.github.com/users/ShikiYuki/events{/privacy}","received_events_url":"https://api.github.com/users/ShikiYuki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-11T15:56:50Z","updated_at":"2016-08-12T11:33:08Z","closed_at":"2016-08-12T05:44:01Z","body":"server 参数\r\n./server_linux_amd64 -l :8000 -t 127.0.0.1:9527 -key key -mtu 1350 -sndwnd 2048 -rcvwnd 2048 -mode fast2\r\n\r\nclient参数\r\nclient_windows_386.exe -l :29900 -r  serverIP:8000 -key key -mtu 1350 -sndwnd 64 -conn 1 -rcvwnd 512 -mode fast2 -dscp 46\r\n\r\nserver端log\r\n2016/08/11 15:47:53 version: 20160811\r\n2016/08/11 15:47:53 listening on  [::]:8000\r\n2016/08/11 15:47:53 encryption: aes\r\n2016/08/11 15:47:53 nodelay parameters: 1 20 2 1\r\n2016/08/11 15:47:53 sndwnd: 2048 rcvwnd: 2048\r\n2016/08/11 15:47:53 compression: true\r\n2016/08/11 15:47:53 mtu: 1350\r\n2016/08/11 15:47:53 datashard: 10 parityshard: 3\r\n2016/08/11 15:47:53 acknodelay: false\r\n2016/08/11 15:47:53 dscp: 0\r\n2016/08/11 15:47:53 sockbuf: 4194304\r\n2016/08/11 15:47:53 keepalive: 10\r\n\r\nclient端log\r\n2016/08/11 23:47:38 version: 20160811\r\n\r\n2016/08/11 23:47:38 listening on: [::]:29900\r\n\r\n2016/08/11 23:47:38 encryption: aes\r\n\r\n2016/08/11 23:47:38 nodelay parameters: 1 20 2 1\r\n\r\n2016/08/11 23:47:38 remote address: serverIP:8000\r\n\r\n2016/08/11 23:47:38 sndwnd: 64 rcvwnd: 512\r\n\r\n2016/08/11 23:47:38 compression: true\r\n\r\n2016/08/11 23:47:38 mtu: 1350\r\n\r\n2016/08/11 23:47:38 datashard: 10 parityshard: 3\r\n\r\n2016/08/11 23:47:38 acknodelay: false\r\n\r\n2016/08/11 23:47:38 dscp: 46\r\n\r\n2016/08/11 23:47:38 sockbuf: 4194304\r\n\r\n2016/08/11 23:47:38 keepalive: 10\r\n\r\n2016/08/11 23:47:38 conn: 1\r\n\r\n2016/08/11 23:47:52 stream opened\r\n\r\n2016/08/11 23:48:38 [ERR] yamux: keepalive failed: i/o deadline reached\r\n\r\n2016/08/11 23:48:38 [ERR] yamux: Failed to read header: broken pipe\r\n\r\n2016/08/11 23:48:38 stream closed\r\n\r\n2016/08/11 23:48:38 session shutdown\r\n\r\n2016/08/11 23:48:38 stream opened\r\n\r\n2016/08/11 23:49:36 stream closed\r\n\r\n2016/08/11 23:49:38 [ERR] yamux: keepalive failed: i/o deadline reached\r\n\r\n2016/08/11 23:49:38 [ERR] yamux: Failed to read header: broken pipe\r\n\r\n2016/08/11 23:50:02 session shutdown\r\n\r\n2016/08/11 23:50:02 stream opened\r\n\r\n2016/08/11 23:50:02 stream opened\r\n\r\n\r\n请教一下这个参数上有没有什么问题，如果配置没有问题，是ISP的干扰的话，只能暂时放弃折腾了"},"comment":{"url":"https://api.github.com/repos/xtaci/kcptun/issues/comments/239424125","html_url":"https://github.com/xtaci/kcptun/issues/115#issuecomment-239424125","issue_url":"https://api.github.com/repos/xtaci/kcptun/issues/115","id":239424125,"user":{"login":"ShikiYuki","id":20860152,"avatar_url":"https://avatars.githubusercontent.com/u/20860152?v=3","gravatar_id":"","url":"https://api.github.com/users/ShikiYuki","html_url":"https://github.com/ShikiYuki","followers_url":"https://api.github.com/users/ShikiYuki/followers","following_url":"https://api.github.com/users/ShikiYuki/following{/other_user}","gists_url":"https://api.github.com/users/ShikiYuki/gists{/gist_id}","starred_url":"https://api.github.com/users/ShikiYuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShikiYuki/subscriptions","organizations_url":"https://api.github.com/users/ShikiYuki/orgs","repos_url":"https://api.github.com/users/ShikiYuki/repos","events_url":"https://api.github.com/users/ShikiYuki/events{/privacy}","received_events_url":"https://api.github.com/users/ShikiYuki/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T11:33:07Z","updated_at":"2016-08-12T11:33:07Z","body":"抱歉，能请教下如何检查vps上的UDP passthrough情况吗\r\n\r\n网络配置不熟悉，不是太明白哪一项参数是对应这个的\r\n\r\nChain INPUT (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\nACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:10443 /* eth0 (ocserv3) */\r\nACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:10443 /* eth0 (ocserv4) */\r\n\r\nChain FORWARD (policy ACCEPT)\r\ntarget     prot opt source               destination         \r\nACCEPT     all  --  0.0.0.0/0            192.168.10.0/24      /* eth0 (ocserv2) */\r\nACCEPT     all  --  192.168.10.0/24      0.0.0.0/0            state RELATED,ESTABLISHED /* eth0 (ocserv5) */\r\n\r\nChain OUTPUT (policy ACCEPT)\r\ntarget     prot opt source               destination    "}}
{"actor":{"display_login":"ShikiYuki"}}