Quantcast
Channel: MondoUnix » IPTABLES
Browsing latest articles
Browse All 15 View Live

High Performance Firewall – Increase Linux ARP cache size

Verificare i settaggi del server : # cat /proc/sys/net/ipv4/neigh/default/gc_thresh1 128 # cat /proc/sys/net/ipv4/neigh/default/gc_thresh2 512 # cat /proc/sys/net/ipv4/neigh/default/gc_thresh3 1024...

View Article



Iptables : salvare e ripristinare le regole

Per salvare le regole impostate nel firewall iptables eseguire il seguente comando : # /etc/init.d/iptables save Oppure , se si usa ipv6 : # /etc/init.d/ip6tables save Per salvare le regole di iptables...

View Article

Image may be NSFW.
Clik here to view.

Netfilter

Netfilter è un componente del kernel del sistema operativo Linux, che permette l'intercettazione e manipolazione dei pacchetti che attraversano il computer. Netfilter permette di realizzare alcune...

View Article

Image may be NSFW.
Clik here to view.

Iptables

iptables è un'applicazione che permette agli amministratori di configurare le tabelle, le catene e le regole di netfilter. Dato che iptables modifica il funzionamento del sistema operativo, per essere...

View Article

Iptables : bloccare e loggare le richieste ICMP

Esempio di utilizzo del firewall iptables per bloccare e loggare le richieste ICMP (es: ping) : # iptables -A INPUT -p icmp -j LOG --log-level info --log-prefix "ICMP: " # iptables -A INPUT -p icmp -j...

View Article


Iptables : visualizzare regole inserite

Per visualizzare le regole inserite tramite il firewall iptables eseguire i seguenti comandi : Visualizzare tutte le regole # iptables -L Visualizzare tutte le regole senza la risoluzione degli...

View Article

Iptables : script per proteggere la propria rete da spam scan e attacchi dDoS

#!/bin/bash FILE="/tmp/drop.lasso" URL="http://www.spamhaus.org/drop/drop.lasso" echo "" echo -n "Aggiunta/Inserimento regole DROP al firewall iptables ..." [ -f $FILE ] && /bin/rm -f $FILE ||...

View Article

Iptables : bloccare range di ip (drop)

Semplice esempio di utilizzo : iptables -A INPUT -s 192.168.1.0/24 -j DROP iptables -A INPUT -s 10.10.0.0/16 -j DROP iptables -A INPUT -s 127.0.0.0/8 -j DROP Il comando blocca i seguenti range di...

View Article


ipset 6.17

IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel, which can be administered by the ipset utility. Depending on the type, currently an IP set may store IP addresses, (TCP/UDP) port...

View Article


IPTables Bash Completion 1.0 Beta 2

iptables-bash_completion provides programmable completion for the iptables and ip6tables programs from netfilter.org. Following the logic of iptables, options are shown only if they are valid at the...

View Article

Mitigating shellshock vulnerability (CVE-2014-6271 CVE-2014-7169)

Regole Mod_security: SecRule REQUEST_HEADERS "^\(\s*\)\s+{" "phase:1,deny,id:1000000,t:urlDecode,status:400,log,msg:'CVE-2014-6271 - Bash Attack'"   SecRule REQUEST_LINE "^\(\s*\)\s+{"...

View Article

ShellShock bash patch source

# www.mondounix.com - ShellShock bash patch source   mkdir /tmp/bash cd /tmp/bash   wget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz   for i in $(seq -f "%03g" 0 30); do wget...

View Article

DNS Reverse Lookup Shellshock

  Security Advisory   DNS Reverse Lookup as a vector for the Bash vulnerability (CVE-2014-6271 et.al.)   CVE-2014-3671   references: CVE-2014-6271, CVE-2014-7169, CVE-2014-6277, CVE-2014-6278...

View Article


bashcheck local shellshock checker

#!/bin/bash   warn() { if [ "$scary" == "1" ]; then echo -e "\033[91mVulnerable to $1\033[39m" else echo -e "\033[93mFound non-exploitable $1\033[39m" fi }   good() { echo -e "\033[92mNot vulnerable...

View Article

Advanced Policy Firewall

Current Release: http://www.rfxn.com/downloads/apf-current.tar.gz http://www.rfxn.com/appdocs/README.apf http://www.rfxn.com/appdocs/CHANGELOG.apf Description: Advanced Policy Firewall (APF) is an...

View Article

Browsing latest articles
Browse All 15 View Live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC