TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dissecting OpenBSD's divert(4)

69 点作者 fcambus超过 10 年前

3 条评论

mben超过 10 年前
Check pf-diverters [1]. We are using them in our openbsd firewalls in order to block unwanted connections.<p>[1] <a href="https://github.com/echothrust/pf-diverters" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;echothrust&#x2F;pf-diverters</a>
mct超过 10 年前
There is a similar feature in Linux which I&#x27;ve used a number of times over the years to simulate various network problems, and to modify packets flowing through my router in interesting ways.<p>You can select packets to be sent to userspace with the &quot;-j QUEUE&quot; iptables target handler, and then read those packets using libnetfilter.
gizzlon超过 10 年前
Cool, I run a pf firewall but this was news to me.<p>Anyone have any idea of the performance overhead? (Not that it really matters for me, just curious)