Cong Wang
Cong Wang
``` # Unrestricted outbound: `*` opens any host and any port over both TCP # and UDP (`:*` / `*:*` are equivalent). ICMP still needs `icmp://`. sandlock run --net-allow '*'...
Hi @dzerik Thanks for looking into this! Sorry for the delay. I finally have time to review the whole proposal. Regarding your questions: 1. Pipeline should not run concurrently when...
Thanks for looking deeper into this, @dzerik . It looks reasonable to me. Looking forward to your PR's.
I am fine either way.
Looks good to me.
Thanks for the report, the analysis is right: this is fd delivery, not grants. `SECCOMP_IOCTL_NOTIF_ADDFD` takes its source with `fget()`, which refuses an `O_PATH` descriptor. We had worked around this...
Confirmed on both counts, and the diagnosis is right: `dispatch.rs:1053` drops `old_vp` and line 1062 is the only gate. I audited the neighbours you didn't: `linkat` and `renameat2` are the...
Noted, I think this request makes sense, as long as we don't mix --net-allow and --net-deny. Let me think about this. For the stability, to leave rooms for redesign (such...
你好, @SuperManito 感谢你的反馈。你的需求已经收到。--net-deny我觉得没有问题,我还在开发之中,明天应该可以完成。我会参考你说的deno里的语法,方便你使用。 你提到的HTTP证书自动生成,我已经做好了,在这个PR里: https://github.com/multikernel/sandlock/pull/88 它的使用方式是: `sandlock --http-inject-ca /etc/ssl/certs/ca-certificates.crt ...` 其中 `/etc/ssl/certs/ca-certificates.crt` 是系统里的HTTP默认证书,这个命令不会覆盖它(其实也没有权限),只是逻辑上会注入自动生成的证书,让沙箱里的程序以为还是系统默认的。你看这个符合你的要求吗? 如果你还有其它意见和建议,欢迎提出。 谢谢!