Writing a Personal Firewall in Java that drop network packet [closed]

人盡茶涼 提交于 2019-12-04 07:09:59

问题


I would like to write a Personal Firewall on Java that can drop network packet. Is it possible?

I want to capture a packet on jpcap, but how can i do drop packet? Is there a library in this event on java?

And sorry for my bad English.


回答1:


I would like to write a Personal Firewall on Java that can drop network packet. Is it possible?

No.

I want to capture a packet on jpcap, but how can i do drop packet?

You can't drop packets with either JPcap, in any of its at least 3 incarnations, or its native component libpcap/winpcap.

Is there a library in this event on java?

Not that I'm aware of, and I'm one of the authors of one of the JPcaps ;-)



来源:https://stackoverflow.com/questions/7884408/writing-a-personal-firewall-in-java-that-drop-network-packet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!