-3

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.

Larry Morries
  • 669
  • 7
  • 17

1 Answers1

3

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 ;-)

user207421
  • 305,947
  • 44
  • 307
  • 483