{"action":"created","issue":{"url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/135","repository_url":"https://api.github.com/repos/qiwihui/hiwifi-ss","labels_url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/135/comments","events_url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/135/events","html_url":"https://github.com/qiwihui/hiwifi-ss/issues/135","id":248906779,"number":135,"title":"[请求帮助] 无法开启混淆支持","user":{"login":"qiwihui","id":3297411,"avatar_url":"https://avatars3.githubusercontent.com/u/3297411?v=4","gravatar_id":"","url":"https://api.github.com/users/qiwihui","html_url":"https://github.com/qiwihui","followers_url":"https://api.github.com/users/qiwihui/followers","following_url":"https://api.github.com/users/qiwihui/following{/other_user}","gists_url":"https://api.github.com/users/qiwihui/gists{/gist_id}","starred_url":"https://api.github.com/users/qiwihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiwihui/subscriptions","organizations_url":"https://api.github.com/users/qiwihui/orgs","repos_url":"https://api.github.com/users/qiwihui/repos","events_url":"https://api.github.com/users/qiwihui/events{/privacy}","received_events_url":"https://api.github.com/users/qiwihui/received_events","type":"User","site_admin":false},"labels":[{"id":417491301,"url":"https://api.github.com/repos/qiwihui/hiwifi-ss/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-09T03:27:59Z","updated_at":"2017-08-09T16:41:56Z","closed_at":null,"body":"### 问题描述\r\n\r\n打算支持 ss-libev 混淆(simple-obfs)，界面和底层配置保存接口都已实现，但是在开启开关时 ss-redir 和 ss-local 无法启动运行。\r\n\r\n界面错误\r\n\r\n![image](https://user-images.githubusercontent.com/3297411/29103346-9fd932c0-7cf1-11e7-8f1e-5ac520dfb0fe.png)\r\n\r\n手动运行 `ss-redir`命令报错：\r\n\r\n```bash\r\n# /usr/bin/ss-redir -s xxx.xx.com -p 23456 -b 0.0.0.0 -l 3088 -k secret_password -t 300 -m aes-256-cfb --plugin obfs-local --plugin-opts \"obfs=http;obfs-host=www.bing.com\" -u -v\r\n 2017-08-09 10:59:51 INFO: plugin \"obfs-local\" enabled\r\n 2017-08-09 10:59:51 INFO: initializing ciphers... aes-256-cfb\r\n 2017-08-09 10:59:51 INFO: UDP relay enabled\r\n 2017-08-09 10:59:51 [simple-obfs] INFO: obfuscating enabled\r\n 2017-08-09 10:59:51 [simple-obfs] INFO: obfuscating hostname: www.bing.com\r\n 2017-08-09 11:00:05 [simple-obfs] INFO: tcp port reuse enabled\r\n 2017-08-09 11:00:05 [simple-obfs] INFO: listening at 127.0.0.1:52089\r\n 2017-08-09 11:00:05 [simple-obfs] INFO: running from root user\r\n 2017-08-09 11:00:08 INFO: listening at 0.0.0.0:3088\r\n 2017-08-09 11:00:08 INFO: running from root user\r\n 2017-08-09 11:00:08 INFO: redir to 172.217.26.14:443, len=15, recv=15\r\n 2017-08-09 11:00:08 INFO: Request did not begin with TLS handshake.\r\n 2017-08-09 11:00:08 INFO: redir to 54.173.223.142:443, len=224, recv=224\r\n 2017-08-09 11:00:08 INFO: redir to <my-server-ip>:23456, len=517, recv=517\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=212, recv=212\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=411, recv=411\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=610, recv=610\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=809, recv=809\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=1008, recv=1008\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=1208, recv=1208\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=1408, recv=1408\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=1608, recv=1608\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=1808, recv=1808\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=2008, recv=2008\r\n 2017-08-09 11:07:50 INFO: redir to <my-server-ip>:23456, len=2048, recv=2048\r\n \r\n<大量转向我的 ip 的包>\r\n \r\n 2017-08-09 11:00:08 INFO: redir to <my-server-ip>:23456, len=641, recv=641\r\n 2017-08-09 11:00:08 INFO: redir to <my-server-ip>:23456, len=915, recv=915\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n 2017-08-09 03:00:59 ERROR: accept: Too many open files\r\n```\r\n\r\n服务器端已经配置好了obfs，并且可以使用。上述问题不是很明白，还请大家不吝赐教。\r\n\r\n### 本地安装测试\r\n\r\n当前最新的代码已经推送在 master 上，可以参考 [本地安装开发](https://github.com/qiwihui/hiwifi-ss#本地安装开发) 调试。\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/comments/321312123","html_url":"https://github.com/qiwihui/hiwifi-ss/issues/135#issuecomment-321312123","issue_url":"https://api.github.com/repos/qiwihui/hiwifi-ss/issues/135","id":321312123,"user":{"login":"Biercenter","id":11498308,"avatar_url":"https://avatars3.githubusercontent.com/u/11498308?v=4","gravatar_id":"","url":"https://api.github.com/users/Biercenter","html_url":"https://github.com/Biercenter","followers_url":"https://api.github.com/users/Biercenter/followers","following_url":"https://api.github.com/users/Biercenter/following{/other_user}","gists_url":"https://api.github.com/users/Biercenter/gists{/gist_id}","starred_url":"https://api.github.com/users/Biercenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Biercenter/subscriptions","organizations_url":"https://api.github.com/users/Biercenter/orgs","repos_url":"https://api.github.com/users/Biercenter/repos","events_url":"https://api.github.com/users/Biercenter/events{/privacy}","received_events_url":"https://api.github.com/users/Biercenter/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T16:41:56Z","updated_at":"2017-08-09T16:41:56Z","body":"一样，换成老毛子的格式也开不起来"}}
{"actor":{"display_login":"Biercenter"}}