加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
TODO 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
xuhengbing 提交于 2021-12-15 14:58 . init
TODO
====
Unordered list of TODO items.
Testing
-------
We should add an automated test framework to be run automatically with
Travis-CI. At least some simple netcat non-privileged port test should
be possible.
Test transparent proxy support, since v2.3 that feature has not been
looked at even once. See the Linux Documentation/networking/tproxy.txt
for more information. My guess is that it'll take some effort to get it
working in redir again.
-- Joachim Nilsson <troglobit@gmail.com>
Non-forking server
------------------
I'm thinking of eventually doing a version which never forks, but does
one big-honking-select-loop, which probably wouldn't be much of a
bother, and would save a good chunk of ram, but then an FD limit becomes
quite a real possibility. perhaps an #ifdef selecting the old or new
code would help this... though, really, this is a known problem with a
lot of proxies, and it doesn't seem to hurt too bad. depends on the
`MAX_FDS` (or whatever that define is. `FD_MAX`?) on your machine.
-- Sam Creasey <sammy@oh.verio.com>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化