# cat /var/log/rc.log
rc shutdown logging started at Sat May 19 17:09:27 2012
* Caching service dependencies ...
Service `hostapd' needs non existent service `net.ppp0'
[ ok ]
* Stopping local
[ ok ]
* Stopping vixie-cron ...
[ ok ]
* Saving random seed ...
[ ok ]
* Deactivating swap devices ...
[ ok ]
* Stopping sshd ...
[ ok ]
* Stopping PHP FastCGI Process Manager ...
[ ok ]
* Stopping nginx ...
[ ok ]
* Unmounting network filesystems ...
[ ok ]
* Stopping mysql ...
[ ok ]
* Unloading lm_sensors modules...
* Unloading w83627ehf ...
[ ok ]
* Stopping htpdate ...
[ ok ]
* Stopping dhcpd ...
[ ok ]
* Stopping unbound ...
[ ok ]
* Bringing down interface wlan0
* Bringing down interface eth1
* Stopping ifplugd on eth1 ...
[ ok ]
* Bringing down interface eth0
* Stopping ifplugd on eth0 ...
[ ok ]
* Bringing down interface lo
* Stopping D-BUS system messagebus ...
[ ok ]
* Unmounting loop devices
* Unmounting filesystems
* Unmounting /mnt/data ...
[ ok ]
* Unmounting /mnt/backup ...
[ ok ]
* Unmounting /mnt/srv ...
[ ok ]
* Stopping udev ...
[ ok ]
* Setting hardware clock using the system clock [Local Time] ...
[ ok ]
rc shutdown logging stopped at Sat May 19 17:09:30 2012
rc boot logging started at Sat May 19 21:10:22 2012
* Setting system clock using the hardware clock [Local Time] ...
[ ok ]
* Autoloaded 0 module(s)
* Checking local filesystems ...
Reiserfs super block in block 16 on 0x801 of format 3.6 with standard journal
Blocks (total/free): 7935744/5405922 by 4096 bytes
Filesystem is clean
Reiserfs super block in block 16 on 0x802 of format 3.6 with standard journal
Blocks (total/free): 13107024/13046390 by 4096 bytes
Filesystem is clean
backup: clean, 53407/3276800 files, 3091155/13107200 blocks
data: clean, 353/18849792 files, 18134638/75386880 blocks
[ ok ]
* Remounting root filesystem read/write ...
[ ok ]
* Updating /etc/mtab ...
[ ok ]
* Mounting local filesystems ...
[ ok ]
* Configuring kernel parameters ...
[ ok ]
* Creating user login records ...
[ ok ]
* Cleaning /var/run ...
[ ok ]
* Wiping /tmp directory ...
[ ok ]
* Setting terminal encoding [UTF-8] ...
[ ok ]
* Setting console font [ter-k14n] ...
[ ok ]
* Setting hostname to linuxru.org ...
[ ok ]
* Setting keyboard mode [UTF-8] ...
[ ok ]
* Loading key mappings [-u ru] ...
[ ok ]
* Bringing up interface lo
* 127.0.0.1/8 ...
[ ok ]
* Adding routes
* 127.0.0.0/8 via 127.0.0.1 ...
[ ok ]
* Activating swap devices ...
[ ok ]
* Initializing random number generator ...
[ ok ]
rc boot logging stopped at Sat May 19 17:10:24 2012
rc default logging started at Sat May 19 17:10:24 2012
* Starting D-BUS system messagebus ...
[ ok ]
* Bringing up interface wlan0
* 192.168.1.1 ...
[ ok ]
* Bringing up interface eth0
* Starting ifplugd on eth0 ...
[ ok ]
* Backgrounding ...
* WARNING: net.eth0 has started, but is inactive
* Bringing up interface eth1
* Starting ifplugd on eth1 ...
[ ok ]
* Backgrounding ...
* WARNING: net.eth1 has started, but is inactive
* ERROR: hostapd needs service(s) net.ppp0
* WARNING: unbound is scheduled to start when net.eth0, net.eth1 has started
* WARNING: htpdate is scheduled to start when net.eth0, net.eth1 has started
* Loading lm_sensors modules...
* Loading w83627ehf ...
[ ok ]
* Initializing sensors ...
[ ok ]
* Starting mysql ...
[ ok ]
* WARNING: netmount is scheduled to start when net.eth0 has started
* WARNING: nginx is scheduled to start when net.eth0 has started
* WARNING: php-fpm is scheduled to start when net.eth0 has started
* WARNING: sshd is scheduled to start when net.eth0 has started
* Doing udev cleanups
* Starting vixie-cron ...
[ ok ]
* Starting local
/dev/sda:
setting Advanced Power Management level to disabled
HDIO_DRIVE_CMD failed: Input/output error
APM_level = not supported
/dev/sda:
setting acoustic management to 254
acoustic = 254 (128=quiet ... 254=fast)
/dev/sda:
setting standby to 0 (off)
. Connected!
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.1.10-gentoo-r1] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
/dev/sda:
setting Advanced Power Management level to disabled
HDIO_DRIVE_CMD failed: Input/output error
setting acoustic management to 254
APM_level = not supported
acoustic = 254 (128=quiet ... 254=fast)
........................................................
Подгружаем модули...
Очистка всех цепочек IPTABLES
...
Выполненно.
........................................................
| EXTIP=88.87.92.60 EXTBC=255.255.255.255 EXTMSK=255.255.255.255 |
| EXTNET=88.87.92.60/255.255.255.255 |
| LANIP=192.168.0.1 LANBC=192.168.0.255 LANMSK=255.255.255.0 |
| LANNET=192.168.0.1/255.255.255.0 |
+-----------------------------------------------------------------+
| Default polices: INPUT DROP; OUTPUT DROP; FORWARD DROP; |
+-----------------------------------------------------------------+
+-----------------------------------------------------------------+
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state INVALID
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state INVALID
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 ctstate INVALID
DROP all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 ctstate INVALID
REJECT tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x12/0x12 state NEW reject-with tcp-reset
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags:! 0x17/0x02 state NEW
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x29
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x3F
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x37
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x00
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x06/0x06
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x03/0x03
REJECT tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x12/0x12 state NEW reject-with tcp-reset
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags:! 0x17/0x02 state NEW
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x29
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x3F
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x37
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x3F/0x00
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x06/0x06
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x03/0x03
DROP icmp opt -f in * out * 0.0.0.0/0 -> 0.0.0.0/0
DROP icmp opt -f in * out * 0.0.0.0/0 -> 0.0.0.0/0
DROP icmp opt -f in * out * 0.0.0.0/0 -> 0.0.0.0/0
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags:! 0x17/0x02 state NEW
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags:! 0x17/0x02 state NEW
DROP tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags:! 0x17/0x02 state NEW
TCPMSS tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcpflags: 0x06/0x02 TCPMSS clamp to PMTU
DROP all opt -- in !lo out * 127.0.0.0/8 -> 0.0.0.0/0
DROP all opt -- in !lo out * 127.0.0.0/8 -> 0.0.0.0/0
DROP all opt -- in ppp0 out * 0.0.0.0/0 -> 255.255.255.255
DROP all opt -- in eth0 out * 0.0.0.0/0 -> 192.168.0.255
DROP all opt -- in * out ppp0 0.0.0.0/0 -> 255.255.255.255
DROP all opt -- in * out eth0 0.0.0.0/0 -> 192.168.0.255
DROP all opt -- in * out ppp0 0.0.0.0/0 -> 255.255.255.255
DROP all opt -- in * out eth0 0.0.0.0/0 -> 192.168.0.255
ACCEPT all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all opt -- in lo out * 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT all opt -- in * out lo 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT all opt -- in eth0 out * 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT all opt -- in * out eth0 0.0.0.0/0 -> 0.0.0.0/0
REJECT all opt -- in ppp0 out eth0 0.0.0.0/0 -> 0.0.0.0/0 reject-with icmp-port-unreachable
ACCEPT all opt -- in eth0 out ppp0 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT icmp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 icmptype 4
ACCEPT icmp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 icmptype 4
ACCEPT icmp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 icmptype 8
ACCEPT icmp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 icmptype 0
ACCEPT icmp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 icmptype 8
ACCEPT icmp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 icmptype 12
ACCEPT icmp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 icmptype 12
ACCEPT tcp opt -- in eth0 out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:44535
ACCEPT tcp opt -- in * out eth0 0.0.0.0/0 -> 0.0.0.0/0 tcp spt:44535
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:80
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp spt:80
ACCEPT udp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 udp dpt:53
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:80
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:443
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:873
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:25
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp dpt:587
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpts:28050:28055
ACCEPT tcp opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0 tcp spts:28056:28060
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 tcp dpts:28050:28055
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 state NEW multiport dports 6881,6882,6883,6884,6885
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 state NEW multiport dports 6881,6882,6883,6884,6885
iptables v1.4.12.1: Can't use -i with OUTPUT
Try `iptables -h' or 'iptables --help' for more information.
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 state NEW multiport sports 6881,6882,6883,6884,6885
ACCEPT tcp opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 state NEW multiport sports 6881,6882,6883,6884,6885
iptables v1.4.12.1: Can't use -i with OUTPUT
Try `iptables -h' or 'iptables --help' for more information.
REJECT all opt -- in ppp0 out * 0.0.0.0/0 -> 0.0.0.0/0 psd weight-threshold: 21 delay-threshold: 300 lo-ports-weight: 3 hi-ports-weight: 1 reject-with icmp-port-unreachable
MASQUERADE all opt -- in * out ppp0 192.168.0.2 -> 0.0.0.0/0
MASQUERADE all opt -- in * out ppp0 192.168.0.5 -> 0.0.0.0/0
MASQUERADE all opt -- in * out ppp0 192.168.0.10 -> 0.0.0.0/0
ACCEPT all opt -- in wlan0 out * 0.0.0.0/0 -> 0.0.0.0/0
ACCEPT all opt -- in wlan0 out * 0.0.0.0/0 -> 0.0.0.0/0
MASQUERADE all opt -- in * out ppp0 192.168.1.0/24 -> 0.0.0.0/0
* Starting unbound ...
[ ok ]
* ERROR: php-fpm stopped by something else
* ERROR: nginx stopped by something else
[ ok ]
rc default logging stopped at Sat May 19 17:10:31 2012