Сообщения

Сообщения за 2014

Free VPS (non commercial)

I'm had been trying to find a free VPS with root access since morning today, for my experiments. After 3 hours of searching I have found what i need. http://www.vps.me Little Desc.

Quick printing command

1. lpr - sent task to printer 2. lpq - to show a list of printer tasks (spooler) 3. lprm - remove a task from spooler 4. lps - check printer state P.S. type man <command> for more inf.

Linux: Quick 20 Iptables Examples

#1: Displaying the Status of Your Firewall Type the following command as root: # iptables -L -n -v Sample outputs: Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination    

Postfix mail server block .bat, .exe .com .vbs mime attachments – common virus spreading files

Postfix provides Mime header check for all incoming messages. You can put restrictions on .exe / .bat / .vbs files and block all attachments. mime_header_checks directive allows you to define file, you will place a restriction for any file extensions that you do not want to have passing through your mail sever system. On most mail server the first thing that needs to be done is to enable header checks and block dangerous files.