Tag: linux
-
Syslog message routing on Linux
Create new file (if needed) in /etc/rsyslog.d (file’s name should end in .conf). Make sure to add following line to it: if $programname == ‘PROGRAM_NAME’ then /var/log/debug.log if you don’t want this message to go anywhere else, add “& stop” in a separate line after it. If messages go to custom file, don’t forget to…
-
Basic linux firewall configuration (iptables)
Linux firewall divides all traffic into 3 groups First two are obvious, third group I guess also covers nat and similar features. Traffic is controlled by adding accept or reject rules to appropriate group – compared to OpenBSD’s pf iptables seems to be missing tables (weird choice for name, he he), all rules seem to…
-
How to install deb file on linux
dpkg -i filename.deb