⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 此包是为perl或者 Python等高级语言提供一个库
💻
字号:
nfqueue-bindings was written to provide an interface in high-levellanguages such as Perl or Python to libnetfilter_queue.The goal is to provide a library to gain access to packets queued bythe kernel packet filter.It is important to note that these bindings will not follow blindlylibnetfilter_queue API. For ex., some higher-level wrappers will be providedfor the open/bind/create mechanism (using one function call instead ofthree).Since libraries to decode ip packets are already available, the bindingswill use them.Remember that an application connection to libnetfilter_queue must run asroot to be able to create the queue. Some extra steps may be requiredto drop privileges after if you need more security.You must add rules in netfilter to send packets to the userspace queue.The number of the queue (--queue-num option in netfilter) must match thenumber provided to create_queue().Example of iptables rules:: iptables -A OUTPUT --destination 1.2.3.4 -j NFQUEUEOf course, you should be more restrictive, depending on your needs.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -