Click here to Skip to main content
15,910,277 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have built Intrusion Detection System in java. It sniffs packets using Jnetpcap and checks IP's against Blacklisted IPs. Which are categorized as Web attacks, SIP attacks, SSH , malware and probing.
I have a web interface which shows all blacklisted IPs if caugth from live traffic, so now i want to block any of these IPs. Is there a way to do it in java. Jnetpcap does not work in inline mode, so i was thinking that i can interact with firewall and put that IP their. So any way to do it in java ??

What I have tried:

I have tried searching it on google but could not find any help.
Posted
Updated 10-Nov-16 0:51am
v2
Comments
Richard MacCutchan 10-Nov-16 6:52am    
You need to check if you have an API into your firewall.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900