дел было много после последнего поста... прочитав статью (я её читал и ранее) настроив и НЕ проверив выключил шлюз сегодня нород меня совсем достал со скоростью и ссорами.
взял цепляю к себе шлюз пытаюсь инет выйти а в ответ
т.е ноль эмоций
учёт трафика выключил
вот
Код: Выделить всё
[root@localhost ~]# ipfw show
00100 0 0 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
00300 0 0 deny ip from 127.0.0.0/8 to any
00400 0 0 allow ip from 192.168.137.0 to 192.168.137.0/24 via re0
00500 0 0 divert 8668 ip from 192.168.137.0/24 to any out via wlan0
00600 0 0 divert 8668 ip from any to 192.168.10.253 in via wlan0
00700 0 0 allow ip from 192.168.10.253 to any out via wlan0
00800 0 0 allow ip from any to 192.168.10.253 in via wlan0
00900 1420 82328 allow ip from 192.168.137.0/24 to any in via re0
01000 0 0 allow ip from 192.168.137.0/24 to any out via wlan0
01100 0 0 allow ip from any to 192.168.137.0/24 in via wlan0
01200 59 10000 allow ip from any to 192.168.137.0/24 out via re0
01300 231 16533 allow ip from any to any
65535 0 0 deny ip from any to any
ifconfig
Код: Выделить всё
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
ether 00:1c:c0:c6:ee:8f
inet 192.168.137.5 netmask 0xffffff00 broadcast 192.168.137.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
rl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 00:80:48:17:4b:9d
media: Ethernet autoselect
status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
zyd0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:02:72:5d:b4:22
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:02:72:5d:b4:22
inet 192.168.10.253 netmask 0xffffff00 broadcast 192.168.10.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid ****** channel 6 (2437 Mhz 11g) bssid 00:21:91:86:47:c3
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
roaming MANUAL
[root@localhost ~]#
sockstat
Код: Выделить всё
root sshd 1284 3 tcp4 192.168.137.5:22 192.168.137.2:50937
root sshd 1242 3 tcp4 192.168.137.5:22 192.168.137.2:50752
root login 1205 3 dgram -> /var/run/logpriv
smmsp sendmail 1152 3 dgram -> /var/run/log
root sendmail 1148 3 tcp4 127.0.0.1:25 *:*
root sendmail 1148 4 dgram -> /var/run/logpriv
root sshd 1141 3 tcp4 *:22 *:*
mysql mysqld 1111 10 tcp4 *:3306 *:*
mysql mysqld 1111 12 stream /tmp/mysql.sock
root syslogd 815 4 dgram /var/run/log
root syslogd 815 5 dgram /var/run/logpriv
root syslogd 815 6 udp4 *:514 *:*
root devd 571 5 stream /var/run/devd.pipe
root wpa_suppli 382 3 udp4 *:* *:*
root wpa_suppli 382 6 dgram -> /var/run/logpriv
Код: Выделить всё
[root@localhost ~]# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 52 localhost.xaso.c.ssh 192.168.137.2.50937 ESTABLISHED
tcp4 0 0 localhost.xaso.c.ssh 192.168.137.2.50752 ESTABLISHED
tcp4 0 0 localhost.xaso.c.smtp *.* LISTEN
tcp4 0 0 *.ssh *.* LISTEN
tcp4 0 0 *.3306 *.* LISTEN
udp4 0 0 *.syslog *.*
udp4 0 0 *.* *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
ffffff00019394b0 stream 0 0 ffffff00019dc938 0 0 0 /tmp/mysql.sock
ffffff0001939d20 stream 0 0 ffffff00017ffb10 0 0 0 /var/run/devd.pipe
ffffff00019390f0 dgram 0 0 0 ffffff000193ac30 0 ffffff00019393c0
ffffff000193aa50 dgram 0 0 0 ffffff000193ad20 0 0
ffffff00019393c0 dgram 0 0 0 ffffff000193ac30 0 ffffff00019395a0
ffffff00019395a0 dgram 0 0 0 ffffff000193ac30 0 0
ffffff000193ac30 dgram 0 0 ffffff00017da000 0 ffffff00019390f0 0 /var/run/logpriv
ffffff000193ad20 dgram 0 0 ffffff00017da1d8 0 ffffff000193aa50 0 /var/run/log
[root@localhost ~]#
=====================================================
а что у нас в rc.conf
Код: Выделить всё
[root@localhost ~]# cat /etc/rc.conf
sendmail_enable="NO"
# -- sysinstall generated deltas -- # Fri Apr 30 19:07:19 2010
# Created: Fri Apr 30 19:07:19 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
check_quotas="NO"
defaultrouter="192.168.10.10"
hostname="localhost.local"
ifconfig_re0="inet 192.168.137.5 netmask 255.255.255.0"
sshd_enable="YES"
wlans_zyd0="wl0"
#ifupa_enable="yes"
ifconfig_wl0="WPA inet 192.168.10.253"
firewall_enable="yes"
firewall_type="/etc/hhj.sh"
mysql_enable="yes"
apache22_enable="no"
natd_enable="YES"
natd_interface="wlan0"
natd_flags="-same_ports"
Код: Выделить всё
[root@localhost ~]# ps -aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 11 200.0 0.0 0 32 ?? RL 10:56AM 74:37.56 [idle]
root 0 0.0 0.0 0 128 ?? DLs 10:56AM 0:03.91 [kernel]
root 1 0.0 0.1 2176 548 ?? ILs 10:56AM 0:00.01 /sbin/init --
root 2 0.0 0.0 0 16 ?? DL 10:56AM 0:00.10 [g_event]
root 3 0.0 0.0 0 16 ?? DL 10:56AM 0:00.11 [g_up]
root 4 0.0 0.0 0 16 ?? DL 10:56AM 0:00.12 [g_down]
root 5 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [xpt_thrd]
root 6 0.0 0.0 0 8 ?? DL 10:56AM 0:00.00 [sctp_iterator]
root 7 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [pagedaemon]
root 8 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [vmdaemon]
root 9 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [pagezero]
root 10 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [audit]
root 12 0.0 0.0 0 272 ?? WL 10:56AM 0:15.32 [intr]
root 13 0.0 0.0 0 16 ?? DL 10:56AM 0:00.09 [yarrow]
root 14 0.0 0.0 0 256 ?? DL 10:56AM 0:00.56 [usb]
root 15 0.0 0.0 0 16 ?? DL 10:56AM 0:00.01 [bufdaemon]
root 16 0.0 0.0 0 16 ?? DL 10:56AM 0:00.05 [syncer]
root 17 0.0 0.0 0 16 ?? DL 10:56AM 0:00.01 [vnlru]
root 18 0.0 0.0 0 16 ?? DL 10:56AM 0:00.02 [softdepflush]
root 19 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [flowcleaner]
root 382 0.0 0.3 10120 3216 ?? Is 10:56AM 0:00.01 /usr/sbin/wpa_sup
root 571 0.0 0.1 2180 652 ?? Is 10:56AM 0:00.02 /sbin/devd
root 815 0.0 0.1 5992 1536 ?? Is 10:56AM 0:00.02 /usr/sbin/syslogd
root 1141 0.0 0.4 25108 4364 ?? Is 10:56AM 0:00.01 /usr/sbin/sshd
root 1148 0.0 0.4 11044 3972 ?? Ss 10:56AM 0:00.05 sendmail: accepti
smmsp 1152 0.0 0.4 11044 3912 ?? Is 10:56AM 0:00.00 sendmail: Queue r
root 1158 0.0 0.2 6920 1612 ?? Is 10:56AM 0:00.01 /usr/sbin/cron -s
root 1242 0.0 0.5 37040 5088 ?? Is 11:08AM 0:00.07 sshd: root@pts/0
root 1284 0.0 0.5 37040 5092 ?? Ss 11:24AM 0:00.10 sshd: root@pts/1
mysql 1031 0.0 0.2 7232 1864 v0- I 10:56AM 0:00.02 /bin/sh /usr/loca
mysql 1111 0.0 4.2 199012 42972 v0- I 10:56AM 0:01.54 [mysqld]
root 1205 0.0 0.2 20644 2056 v0 Is 10:56AM 0:00.03 login [pam] (logi
root 1240 0.0 0.3 9188 2784 v0 I+ 11:07AM 0:00.01 -bash (bash)
root 1206 0.0 0.1 5860 1288 v1 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1207 0.0 0.1 5860 1288 v2 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1208 0.0 0.1 5860 1288 v3 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1209 0.0 0.1 5860 1288 v4 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1210 0.0 0.1 5860 1288 v5 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1211 0.0 0.1 5860 1288 v6 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1212 0.0 0.1 5860 1288 v7 Is+ 10:56AM 0:00.00 /usr/libexec/gett
root 1245 0.0 0.3 9188 2824 0 Is+ 11:09AM 0:00.02 -bash (bash)
root 1287 0.0 0.3 9188 2824 1 Ss 11:24AM 0:00.04 -bash (bash)
root 1317 0.0 0.1 6976 1364 1 R+ 11:33AM 0:00.00 ps -aux
при загрузки нет даже намёка на запуск ната вот вопрос почему?
root 2 0.0 0.0 0 16 ?? DL 10:56AM 0:00.10 [g_event]
root 3 0.0 0.0 0 16 ?? DL 10:56AM 0:00.11 [g_up]
root 4 0.0 0.0 0 16 ?? DL 10:56AM 0:00.12 [g_down]
root 5 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [xpt_thrd]
root 6 0.0 0.0 0 8 ?? DL 10:56AM 0:00.00 [sctp_iterator]
root 7 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [pagedaemon]
root 8 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [vmdaemon]
root 9 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [pagezero]
root 10 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [audit]
root 12 0.0 0.0 0 272 ?? WL 10:56AM 0:15.32 [intr]
root 13 0.0 0.0 0 16 ?? DL 10:56AM 0:00.09 [yarrow]
root 14 0.0 0.0 0 256 ?? DL 10:56AM 0:00.56 [usb]
root 15 0.0 0.0 0 16 ?? DL 10:56AM 0:00.01 [bufdaemon]
root 16 0.0 0.0 0 16 ?? DL 10:56AM 0:00.05 [syncer]
root 17 0.0 0.0 0 16 ?? DL 10:56AM 0:00.01 [vnlru]
root 18 0.0 0.0 0 16 ?? DL 10:56AM 0:00.02 [softdepflush]
root 19 0.0 0.0 0 16 ?? DL 10:56AM 0:00.00 [flowcleaner]
и что это за процессы