Advanced Search
Search Results
95 total results found
#00 Security
Securing the IP Networks
#01 Design
Building the IP Networks
#02 Networks
Operating the IP Networks
#03 Systems
Documentation on Operating Systems
#04 Scripts
Scripts Repository
#05 Software
Documentation on Various Software
IPTABLES
Stateful firewall for netfilter framework
Base Config
Creating a configuration file mkdir /etc/iptables touch /etc/iptables/rc.firewall chmod +x /etc/iptables/rc.firewall nano -w /etc/iptables/rc.firewall #!/bin/bash # Setting variables ipt="/usr/sbin/iptables" iface="ifname" # SYN Rate (pps) syn_...
Debian
Documentation on Debian Linux
Base Config
Updating the system apt update apt upgrade Creating a user adduser username usermod -aG sudo username Setting up SSH mkdir /home/username/.ssh/ touch /home/username/.ssh/authorized_keys nano -w /home/username/.ssh/authorized_keys chown -R username:...
Runlevel
Linux Runlevel
local
Creating a config file touch /etc/rc.local chmod +x /etc/rc.local nano -w /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other #...
NTP
Network Time Protocol
Client
Setting up a timezone timedatectl list-timezones timedatectl set-timezone Pacific/Auckland Checking the packages (getting rid of systemd-timesyncd, adding ntp/ntpsec) apt list ntp systemd-timesyncd systemctl status ntp Configuring NTP nano -w /etc/ntp...
Systemd
System and Service Manager
Logging
Creating a config file and setting things up (more details here) mkdir /etc/systemd/journald.conf.d/ touch /etc/systemd/journald.conf.d/null.conf nano -w /etc/systemd/journald.conf.d/null.conf [Journal] Storage=persistent Compress=100M SystemMaxUse=5G...
Port Knocking
Installing knockd apt install knockd systemctl enable knockd Making the config file to look something like this (remember to change the port sequence and set the interface for knockd to listen on) nano -w /etc/knockd.conf [options] UseSyslog ...