LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2012, 04:01 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question smurf attack


Hi all,

I have set the following iptable rule in my server with the ip address 192.168.0.210


to prevent flooding a network with ping messages only allow 1 ping request/second

soln:- iptables -A INPUT -p icmp -m icmp -m limit --limit 1/second -j ACCEPT

However the above rule is not working


i am still able to do ping s such as ping -i .2 192.168.0.210


How to modify the iptable rule to prevent these sort of pings ?
 
Old 03-17-2012, 05:44 AM   #2
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
I think that it's working, you just need another rule to drop the packets that are outside the limit like:

Code:
Iptables -A INPUT -p icmp -m icmp -J DROP
Anyway this won't protect you by ddos, ask your provider to apply ddos mitigation
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] simulating blackhole attack and wormhole attack in ns-2 aditijigyasi Linux - Newbie 7 07-04-2016 08:50 AM
Possible Attack Jason72 Linux - Security 7 08-06-2007 06:55 PM
What attack could this be??? darrel Linux - Security 10 02-26-2005 10:10 PM
Help I am UNDER ATTACK... needamiracle Linux - Security 28 04-22-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration