Giter VIP home page Giter VIP logo

iptables-boilerplate's People

Contributors

bmaeser avatar sudoask avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iptables-boilerplate's Issues

Warnings from LSB Default values

Hi, not sure if this is normal or not but I'm getting these two error messages:
update-rc.d: warning: firewall start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S)
update-rc.d: warning: firewall stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)

This is on a Digital Ocean 12.04.3 Ubuntu VPS.

ksoftirqd/0 utilizes 100% CPU during portscan

Hello, I try to use it on Debian 9 for my LAMP and it works OK. Nevertheless, when I perform Nmap port scan from my PC, ksoftirqd/0 utilizes 100% of my server CPU for the scan time. As long as I have only 1 vcore on my VPS this makes whole server stuck for some time. Is there a way to improve it?

PS: I have disbaled "port scan" option in firewall, but it doesn't help.

Problem with sample script "all-new-limit" on ubuntu 12.04

The script sets the limit to 120 connections per minute, but the max number of packets to remember is set to 20.

I did not send a pull request as my experience with iptables is extremely limited, but for my setup I have limited the number of connections to 20 per minute, which is sufficient for my needs.

Some questions and improvements

Hello, I've some questions:

  1. Is this safe to put "EXTERNAL CONFIGS" section BEFORE all attacks detection rules ?

  2. Regarding https://security.stackexchange.com/questions/4603/tips-for-a-secure-iptables-config-to-defend-from-attacks-client-side, I think that 2 rules are missing:

## MAKE SURE NEW INCOMING TCP CONNECTIONS ARE SYN PACKETS
$IPTABLES -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
## DROP PACKETS WITH INCOMING FRAGMENTS
$IPTABLES -A INPUT -f -j DROP
  1. Why duplicate the invalid packets droping rules (Lines 68 and 146) ?

  2. Why martians loging turned off by default ?

  3. Can you add a "enable/disable ICMP" option ? Or, at least, add a "limit", to prevent a PING flood.

  4. I don't need to restart a service (networking?) to apply sysctl settings, right ?

BTW, great boilerplate, very useful, thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.