LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

-m recent --rdest or don't trust the man(page)

Posted 10-07-2012 at 12:35 PM by zhjim
Updated 10-07-2012 at 12:37 PM by zhjim

Looking for a way to block those 404 hoppers I match the outgoing packages from sport 80 for the string 404. Now that I have those classified I needed a way to block them when they would return. Normaly i would use the recent module for this. But as its a outgoing packet and recent normally uses the source ip I would block myself to come back in. But the man pages has the --rdest option which matches/saves on the destination ip. That would be cool but I would need it to block on the incoming package....
Member
Posted in Uncategorized
Views 350 Comments 0 zhjim is offline
Old

Iptables rule traversal: bandwidth at >= 10K of IP addresses

Posted 11-24-2011 at 08:07 PM by unSpawn
Updated 11-24-2011 at 02:53 PM by unSpawn

Anyone who is interested in iptables performance will find Harris, Melara, Smith and Nico's "Performance analysis of the Linux firewall in a host" (2002) and Kadlecsik and Pásztor's "Netfilter Performance Testing" (2005). But what actually is the effect of a large rule set on performance?

The attached PDF I created is not an an exhaustive study of Netfilter performance but shows you Jperf data and pictures (joy!) for plain rule sets, ipset (iphash) and the iptables...
Attached Images
File Type: pdf Iptables rule traversal.pdf (551.9 KB, 68 views)
Moderator
Posted in Uncategorized
Views 1693 Comments 0 unSpawn is offline
Old

Format output to columns

Posted 11-09-2010 at 04:08 PM by jere21
Updated 10-09-2011 at 08:08 AM by jere21

Format output, e.g. postings of iptables output or /etc/mtab with column -t

Thanks to http://www.df7cb.de/blog/2010/column_-t.html
LQ Newbie
Posted in Uncategorized
Views 684 Comments 0 jere21 is offline
Old

Denyhosts vs Fail2ban aka tcp_wrappers vs iptables

Posted 07-22-2010 at 03:58 AM by unSpawn

At times denyhosts is being recommended over fail2ban. The common misconception being these applications are equal. They're not, OK in more than one way, but focusing on method of filtering denyhosts uses tcp_wrappers by default where Fail2ban uses iptables by default.

Using tcp_wrappers means a packet has to be delivered to that service. The serving application is responsible for reading /etc/hosts.{deny,allow} to determine itself if a connection is allowed or not. Requiring a network...
Moderator
Posted in Uncategorized
Views 3892 Comments 0 unSpawn is offline
Old

OpenBSD pf's <table> analogue in iptables

Posted 04-09-2010 at 02:10 PM by Lexus45

Trying to understand... :-)
You're welcome with ideas!

http://www.linuxquestions.org/questi...-issue-801096/
Member
Posted in Uncategorized
Views 1542 Comments 0 Lexus45 is offline

  



All times are GMT -5. The time now is 11:12 AM.

Main Menu

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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration