![](/img/trans.png)
[英]How to approach find+replace with RST files using Python or Grep
[英]how to RST packet drop using python?
我想实现一个简单的源代码,使用 Python 丢弃所有进入计算机的 RST 数据包。 我应该怎么办?
Linux servers can be easily set up using the iptables command, but I want to make it Python for use on Mac, Linux, and Windows systems.
丢弃 RST 数据包是操作系统内置的网络防火墙的 function。
在 Linux 上只有一种方法可以做到这一点:使用 iptables。 您可以使用 Python 来指示 iptables。
Windows 有自己的方式来添加防火墙规则。 MacOS也有自己的方式,各有千秋。
没有单一的通用方法可以做到这一点。 因此,对于 Python,没有单一的通用方法可以做到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.