我正在尝试使用 IPtables 的 TRACE 目标,但似乎无法记录任何跟踪信息。我想使用这里描述的内容: Debugger for Iptables。
来自 iptables man for TRACE:
Run Code Online (Sandbox Code Playgroud)This target marks packes so that the kernel will log every rule which match the packets as those traverse the tables, chains, rules. (The ipt_LOG or ip6t_LOG module is required for the logging.) The packets are logged with the string prefix: "TRACE: tablename:chain- name:type:rulenum " where type can be "rule" for plain rule, "return" for implicit rule at the end of a user defined chain and …
我的 VPS 映像 (Debian 6) 预装了 sendmail 作为 MTA。我会将此服务器用作 Web 服务器,也可能用作其他用途,但不会用作邮件服务器。我想删除尽可能多的不需要的服务以节省资源。MTA 可以安全移除吗?后果是什么?