This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fw ver | |
fw lslogs # List log files | |
fw ctl iflist # Interface list | |
fw ctl pstat # Kernel memory and connections | |
fw log -c drop # Show dropped connections | |
fw log -f # Tail logs | |
fw stat -l # Show flow (policy, drop, accept..etc) | |
fw monitor -e 'accept host(10.1.1.1);' | |
fw monitor -e 'accept host(10.1.1.1) and dst=10.1.1.2;' | |
fw monitor -e 'accept host(1.1.1.1) and host(2.2.2.2) and not ping;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install necessary things | |
apt-get update | |
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential -y | |
#Get the kernel | |
cd /usr/src | |
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.xz | |
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.tar.sign | |
gpg --verify linux-3.13.tar.sign | |
tar xpvf linux-3.13.tar.xz |
OlderNewer