"default" iptables-setup.

This is always something in progress – but, more or less this is (was) a basic fw-setup: #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin # # delete all existing rules. # iptables -F iptables -t nat -F iptables -t mangle -F iptables -X # # Enable routing. echo 1 > /proc/sys/net/ipv4/ip_forward # and some good stuff to have enabled.. #no […]

kernel: Neighbour table overflow

This issues is related to a bit too many arp-entries (in ie – a router). If you’re for instance having bittorrent traffic doing all those arp’s, you’ll end up with a lot of entries in your logs. Also, it’s a performance issue later on, since you’ll have problem flushing and creating new connections to ip’s […]

openvas 3.1.x "bundle" on ubuntu 10.04

Two versions, one is the classic one, the other contains a bunch of ‘new stuff’. #!/bin/bash #make me as a [name.sh] and do me a chmod +x [name.sh] #Ran on ubu 10.04 #Run as root (ie – sudo -i ) #classic cd $HOME wget http://wald.intevation.org/frs/download.php/767/openvas-libraries-3.1.2.tar.gz wget http://wald.intevation.org/frs/download.php/754/openvas-scanner-3.1.0.tar.gz wget http://wald.intevation.org/frs/download.php/757/openvas-client-3.0.1.tar.gz gunzip -d $HOME/openvas*.gz tar -xvvf $HOME/openvas-libraries-3.1.2.tar […]