/l3/users/30-03-2008/fbsd-net/fbsd3.unix.nt/root :1 :2 :3 :4 |
|
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes 64 bytes from 213.180.204.8: icmp_seq=0 ttl=54 time=57.159 ms ^C --- ya.ru ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 57.159/57.159/57.159/0.000 ms |
#su - user
|
$id
uid=1001(user) gid=0(wheel) groups=0(wheel) |
$ls -l
total 2 drwxr-xr-x 2 user wheel 512 Mar 15 15:06 Desktop |
$exit
exit |
#ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 43 re0 127.0.0.1 127.0.0.1 UH 0 194 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.203 00:16:35:7d:81:ee UHLW 1 42 re0 1192 192.168.16.254 00:04:76:a1:ef:bb UHLW 2 164 re0 1192 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#route delete default
delete net default |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 192.168.25.62/27
|
#ifconfig re2 192.168.25.65
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.62 netmask 0xffffffe0 broadcast 192.168.25.63 ether 00:16:3e:00:01:03 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 192.168.25.158
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.158 netmask 0xffffffe0 broadcast 192.168.25.159 ether 00:16:3e:00:01:03 ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 192.168.25.158/27 delete
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) ... options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.65 netmask 0xffffffe0 broadcast 192.168.25.95 ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 192.168.25.158/27
|
#ifconfig re2 192.168.25.65 delete
|
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.158 netmask 0xffffffe0 broadcast 192.168.25.159 ether 00:16:3e:00:01:03 ... re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 194 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.203 00:16:35:7d:81:ee UHLW 1 333 re0 1196 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 297 re0 1164 192.168.25.128/27 link#2 UC 0 0 re1 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#ping 192.168.25.129
PING 192.168.25.129 (192.168.25.129): 56 data bytes ^C --- 192.168.25.129 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.25.158 netmask 0xffffffe0 broadcast 192.168.25.159 ether 00:16:3e:00:01:03 ... re2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig re1 192.168.25.947
|
#ifconfig re2192.168.25.9727
|
#ping 192.168.25.126
PING 192.168.25.126 (192.168.25.126): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.25.126 ping statistics --- 7 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.25.126
PING 192.168.25.126 (192.168.25.126): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down ping: sendto: Host is down 64 bytes from 192.168.25.126: icmp_seq=16 ttl=64 time=0.254 ms 64 bytes from 192.168.25.126: icmp_seq=17 ttl=64 time=0.257 ms 64 bytes from 192.168.25.126: icmp_seq=18 ttl=64 time=0.219 ms ^C --- 192.168.25.126 ping statistics --- 19 packets transmitted, 3 packets received, 84% packet loss round-trip min/avg/max/stddev = 0.219/0.243/0.257/0.017 ms |
#tcpdump -n -i re1 icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 14:53:04.264150 IP 192.168.25.1 > 192.168.25.94: ICMP echo request, id 21366, seq 0, length 64 14:53:06.065905 IP 192.168.25.1 > 192.168.25.94: ICMP echo request, id 21366, seq 1, length 64 14:53:07.867104 IP 192.168.25.1 > 192.168.25.94: ICMP echo request, id 21366, seq 2, length 64 14:53:09.668345 IP 192.168.25.1 > 192.168.25.94: ICMP echo request, id 21366, seq 3, length 64 ^C 4 packets captured 12 packets received by filter 0 packets dropped by kernel |
#route add -net 192.168.25.0/27 192.168.25.65
add net 192.168.25.0: gateway 192.168.25.65 |
#route add default 192.168.25.126
add net default: gateway 192.168.25.126 |
#sysctl -a | grep forward
kern.smp.forward_signal_enabled: 1 kern.smp.forward_roundrobin_enabled: 1 net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 net.inet6.ip6.forwarding: 0 |
#sysctl net.inet.ip.forwarding=1
net.inet.ip.forwarding: 0 -> 1 |
#route add -net 192.168.25.327 192.168.25.65
add net 192.168.25.32: gateway 192.168.25.65 |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active route: writing to routing socket: File exists add net default: gateway 192.168.16.254: route already in table Additional routing options:. |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 0657 0 0000 40 01 f88b 192.168.25.97 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 065c 0 0000 40 01 f886 192.168.25.97 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 0660 0 0000 40 01 f882 192.168.25.97 213.180.204.8 36 bytes from 192.168.25.126: Destination Host Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 0663 0 0000 40 01 f87f 192.168.25.97 213.180.204.8 ^C --- ya.ru ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#netstat -n
Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.16.23.22 192.168.16.203.4527 ESTABLISHED tcp4 0 0 192.168.16.23.22 192.168.16.203.4423 ESTABLISHED Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr c52d0510 stream 0 0 0 c52d0000 0 0 /tmp/.X11-unix/X0 c52d0000 stream 0 0 0 c52d0510 0 0 c52d0360 stream 0 0 c6c37440 0 0 0 /tmp/.X11-unix/X0 c52d0b40 stream 0 0 c547c880 0 0 0 /var/run/gdm_socket c52d0bd0 stream 0 0 0 c52d0c60 0 0 c52d0c60 stream 0 0 0 c52d0bd0 0 0 c52d1000 stream 0 0 c5273660 0 0 0 /var/run/devd.pipe c52d0120 dgram 0 0 0 c52d0cf0 0 c52d07e0 c52d0750 dgram 0 0 0 c52d0d80 0 0 c52d07e0 dgram 0 0 0 c52d0cf0 0 0 c52d0cf0 dgram 0 0 c52ec330 0 c52d0120 0 /var/run/logpriv c52d0d80 dgram 0 0 c52ec440 0 c52d0750 0 /var/run/log |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.25.126 UGS 0 305 re2 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.203 00:16:35:7d:81:ee UHLW 1 42 re0 1174 192.168.16.254 00:04:76:a1:ef:bb UHLW 1 5 re0 1196 192.168.25/27 192.168.25.65 UGS 0 68 re1 192.168.25.32/27 192.168.25.65 UGS 0 39 re1 192.168.25.64/27 link#2 UC 0 0 re1 192.168.25.65 00:16:3e:00:02:04 UHLW 3 47 re1 26 192.168.25.96/27 link#3 UC 0 0 re2 192.168.25.126 00:16:3e:00:01:02 UHLW 2 127 re2 61 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#/etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.203 00:16:35:7d:81:ee UHLW 1 11 re0 1197 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^X^C --- ya.ru ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#/etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active |
#/etc/netstart
devd already running? (pid=669). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#cat /etc/ipfw
cat: /etc/ipfw: No such file or directory |
#ls -l /etc/
total 528 drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 15:57 X11 lrwxrwxrwx 1 root wheel 12 15 ÍÁÒ 13:13 aliases -> mail/aliases -rw-r--r-- 1 root wheel 209 16 ÑÎ× 00:33 amd.map -rw-r--r-- 1 root wheel 1234 16 ÑÎ× 00:33 apmd.conf -rw-r--r-- 1 root wheel 231 16 ÑÎ× 00:33 auth.conf drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 13:13 bluetooth -rw-r--r-- 1 root wheel 737 16 ÑÎ× 00:33 crontab -rw-r--r-- 1 root wheel 108 16 ÑÎ× 00:33 csh.cshrc -rw-r--r-- 1 root wheel 481 16 ÑÎ× 00:33 csh.login ... drwxr-xr-x 2 root wheel 512 16 ÑÎ× 00:29 skel -rw-r--r-- 1 root wheel 2454 16 ÑÎ× 00:33 snmpd.config -rw------- 1 root wheel 40960 15 ÍÁÒ 15:54 spwd.db drwxr-xr-x 2 root wheel 512 27 ÍÁÒ 23:41 ssh drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 13:13 ssl -rw-r--r-- 1 root wheel 367 16 ÑÎ× 00:33 sysctl.conf -rw-r--r-- 1 root wheel 1335 16 ÑÎ× 00:33 syslog.conf lrwxrwxrwx 1 root wheel 23 15 ÍÁÒ 13:13 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13034 16 ÑÎ× 00:33 ttys -rw-r--r-- 1 root wheel 1400 16 ÑÎ× 00:33 usbd.conf |
#netstat -r
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default debian UGS 0 57 re0 localhost localhost UH 0 72 lo0 192.168.16 link#1 UC 0 0 re0 debian4 00:14:c2:05:40:a4 UHLW 1 73 re0 877 debian 00:04:76:a1:ef:bb UHLW 2 35 re0 1052 Internet6: Destination Gateway Flags Netif Expire localhost.unix.nt localhost.unix.nt UHL lo0 fe80::%lo0 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5:: fe80::1%lo0 UC lo0 ff02::%lo0 fe80::1%lo0 UC lo0 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 62 re0 127.0.0.1 127.0.0.1 UH 0 72 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.204 00:14:c2:05:40:a4 UHLW 1 79 re0 867 192.168.16.254 00:04:76:a1:ef:bb UHLW 2 37 re0 1195 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#netstat -rnv
netstat: illegal option -- v usage: netstat [-AaLnSW] [-f protocol_family | -p protocol] [-M core] [-N system] netstat -i | -I interface [-abdhnt] [-f address_family] [-M core] [-N system] netstat -w wait [-I interface] [-d] [-M core] [-N system] netstat -s [-s] [-z] [-f protocol_family | -p protocol] [-M core] netstat -i | -I interface -s [-f protocol_family | -p protocol] [-M core] [-N system] netstat -m [-M core] [-N system] netstat -B [ -I interface] netstat -r [-AenW] [-f address_family] [-M core] [-N system] netstat -rs [-s] [-M core] [-N system] netstat -g [-W] [-f address_family] [-M core] [-N system] netstat -gs [-s] [-f address_family] [-M core] [-N system] |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 89 re0 127.0.0.1 127.0.0.1 UH 0 72 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.21 00:16:3e:00:00:01 UHLW 1 70 re0 929 192.168.16.254 00:04:76:a1:ef:bb UHLW 2 58 re0 1184 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#5 UHL lo0 ff01:5::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 |
#ping fbsd1
PING fbsd1.unix.nt (192.168.16.21): 56 data bytes 64 bytes from 192.168.16.21: icmp_seq=0 ttl=64 time=0.505 ms ^C --- fbsd1.unix.nt ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.505/0.505/0.505/0.000 ms |
#sysctl net.inet.ip.forwarding=0
net.inet.ip.forwarding: 1 -> 0 |
#ping fbsd1
PING fbsd1.unix.nt (192.168.16.21): 56 data bytes 64 bytes from 192.168.16.21: icmp_seq=0 ttl=64 time=0.235 ms ^C --- fbsd1.unix.nt ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.235/0.235/0.235/0.000 ms |
#nc fbsd1 55500
ls; .cshrc .mozilla .profile .snap COPYRIGHT bin boot cdrom compat ... proc rescue root sbin sys tcpd.core tmp usr var exit |
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc fbsd1 55500
|
#nc 192.168.16.22 19argen
|
#nc 192.168.16.2119 chargen
|
#ssh fbsd5
The authenticity of host 'fbsd5.unix.nt (192.168.16.25)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yse Please type 'yes' or 'no': yes Warning: Permanently added 'fbsd5.unix.nt' (DSA) to the list of known hosts. Password: Last login: Tue Apr 1 10:38:53 2008 from debian13.unix.n Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=1.004 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.308 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.242 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.205 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.156 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.225 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.218 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.184 ms ... 64 bytes from 192.168.16.22: icmp_seq=35 ttl=64 time=0.280 ms 64 bytes from 192.168.16.22: icmp_seq=36 ttl=64 time=0.308 ms 64 bytes from 192.168.16.22: icmp_seq=37 ttl=64 time=0.271 ms 64 bytes from 192.168.16.22: icmp_seq=38 ttl=64 time=3.691 ms 64 bytes from 192.168.16.22: icmp_seq=39 ttl=64 time=0.243 ms ^C --- 192.168.16.22 ping statistics --- 50 packets transmitted, 40 packets received, 20% packet loss round-trip min/avg/max/stddev = 0.156/0.343/3.691/0.551 ms õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#screen -x
|
#exit
exit Connection to fbsd5.unix.nt closed. |
#exit
exit Connection to fbsd5.unix.nt closed. |
#tcpdump -i re0 -n icmp
14:10:45.054943 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 103, length 64 14:10:45.054986 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 103, length 64 14:10:46.853975 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 104, length 64 14:10:46.853995 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 104, length 64 14:10:48.655046 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 105, length 64 14:10:48.655074 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 105, length 64 14:10:50.456169 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 106, length 64 14:10:50.456191 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 106, length 64 14:10:52.257397 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 107, length 64 14:10:52.257439 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 107, length 64 ... 14:12:49.274955 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 172, length 64 14:12:51.076057 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 173, length 64 14:12:51.076078 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 173, length 64 14:12:52.875165 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 174, length 64 14:12:52.875303 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 174, length 64 14:12:54.674583 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 175, length 64 14:12:54.674610 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 175, length 64 14:12:56.473805 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 176, length 64 14:12:56.473848 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 176, length 64 14:12:58.272780 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 177, length 64 |
#tcpdump -i re0 -n icmp
14:10:45.054943 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 103, length 64 14:10:45.054986 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 103, length 64 14:10:46.853975 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 104, length 64 14:10:46.853995 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 104, length 64 14:10:48.655046 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 105, length 64 14:10:48.655074 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 105, length 64 14:10:50.456169 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 106, length 64 14:10:50.456191 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 106, length 64 14:10:52.257397 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 107, length 64 14:10:52.257439 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 107, length 64 ... 14:12:49.274955 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 172, length 64 14:12:51.076057 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 173, length 64 14:12:51.076078 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 173, length 64 14:12:52.875165 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 174, length 64 14:12:52.875303 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 174, length 64 14:12:54.674583 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 175, length 64 14:12:54.674610 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 175, length 64 14:12:56.473805 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 176, length 64 14:12:56.473848 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 176, length 64 14:12:58.272780 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 177, length 64 |
#tcpdump -i re0 -n icmp
14:10:45.054943 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 103, length 64 14:10:45.054986 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 103, length 64 14:10:46.853975 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 104, length 64 14:10:46.853995 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 104, length 64 14:10:48.655046 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 105, length 64 14:10:48.655074 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 105, length 64 14:10:50.456169 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 106, length 64 14:10:50.456191 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 106, length 64 14:10:52.257397 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 107, length 64 14:10:52.257439 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 107, length 64 ... 14:12:49.274955 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 172, length 64 14:12:51.076057 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 173, length 64 14:12:51.076078 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 173, length 64 14:12:52.875165 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 174, length 64 14:12:52.875303 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 174, length 64 14:12:54.674583 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 175, length 64 14:12:54.674610 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 175, length 64 14:12:56.473805 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 176, length 64 14:12:56.473848 IP 192.168.16.23 > 192.168.16.21: ICMP echo reply, id 19984, seq 176, length 64 14:12:58.272780 IP 192.168.16.21 > 192.168.16.23: ICMP echo request, id 19984, seq 177, length 64 |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes ^C --- 192.168.16.22 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.23 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:01:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:03 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=48 ttl=64 time=0.204 ms 64 bytes from 192.168.16.22: icmp_seq=49 ttl=64 time=0.278 ms 64 bytes from 192.168.16.22: icmp_seq=50 ttl=64 time=0.203 ms 64 bytes from 192.168.16.22: icmp_seq=51 ttl=64 time=0.208 ms 64 bytes from 192.168.16.22: icmp_seq=52 ttl=64 time=0.245 ms 64 bytes from 192.168.16.22: icmp_seq=53 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=54 ttl=64 time=0.256 ms 64 bytes from 192.168.16.22: icmp_seq=55 ttl=64 time=0.349 ms 64 bytes from 192.168.16.22: icmp_seq=56 ttl=64 time=0.219 ms ... 64 bytes from 192.168.16.22: icmp_seq=66 ttl=64 time=0.370 ms 64 bytes from 192.168.16.22: icmp_seq=67 ttl=64 time=0.255 ms 64 bytes from 192.168.16.22: icmp_seq=68 ttl=64 time=0.211 ms 64 bytes from 192.168.16.22: icmp_seq=69 ttl=64 time=0.260 ms 64 bytes from 192.168.16.22: icmp_seq=70 ttl=64 time=0.283 ms 64 bytes from 192.168.16.22: icmp_seq=71 ttl=64 time=0.247 ms ^C --- 192.168.16.22 ping statistics --- 72 packets transmitted, 24 packets received, 66% packet loss round-trip min/avg/max/stddev = 0.169/0.252/0.370/0.048 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=48 ttl=64 time=0.204 ms 64 bytes from 192.168.16.22: icmp_seq=49 ttl=64 time=0.278 ms 64 bytes from 192.168.16.22: icmp_seq=50 ttl=64 time=0.203 ms 64 bytes from 192.168.16.22: icmp_seq=51 ttl=64 time=0.208 ms 64 bytes from 192.168.16.22: icmp_seq=52 ttl=64 time=0.245 ms 64 bytes from 192.168.16.22: icmp_seq=53 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=54 ttl=64 time=0.256 ms 64 bytes from 192.168.16.22: icmp_seq=55 ttl=64 time=0.349 ms 64 bytes from 192.168.16.22: icmp_seq=56 ttl=64 time=0.219 ms ... 64 bytes from 192.168.16.22: icmp_seq=66 ttl=64 time=0.370 ms 64 bytes from 192.168.16.22: icmp_seq=67 ttl=64 time=0.255 ms 64 bytes from 192.168.16.22: icmp_seq=68 ttl=64 time=0.211 ms 64 bytes from 192.168.16.22: icmp_seq=69 ttl=64 time=0.260 ms 64 bytes from 192.168.16.22: icmp_seq=70 ttl=64 time=0.283 ms 64 bytes from 192.168.16.22: icmp_seq=71 ttl=64 time=0.247 ms ^C --- 192.168.16.22 ping statistics --- 72 packets transmitted, 24 packets received, 66% packet loss round-trip min/avg/max/stddev = 0.169/0.252/0.370/0.048 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.446 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.327 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.331 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.261 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.258 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.200 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.227 ms ... 64 bytes from 192.168.16.22: icmp_seq=14 ttl=64 time=0.277 ms 64 bytes from 192.168.16.22: icmp_seq=15 ttl=64 time=0.257 ms 64 bytes from 192.168.16.22: icmp_seq=16 ttl=64 time=0.214 ms 64 bytes from 192.168.16.22: icmp_seq=17 ttl=64 time=0.196 ms 64 bytes from 192.168.16.22: icmp_seq=18 ttl=64 time=0.254 ms 64 bytes from 192.168.16.22: icmp_seq=19 ttl=64 time=0.193 ms ^C --- 192.168.16.22 ping statistics --- 46 packets transmitted, 20 packets received, 56% packet loss round-trip min/avg/max/stddev = 0.193/0.259/0.446/0.059 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.446 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.327 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.331 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.261 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.258 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.200 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.227 ms ... 64 bytes from 192.168.16.22: icmp_seq=14 ttl=64 time=0.277 ms 64 bytes from 192.168.16.22: icmp_seq=15 ttl=64 time=0.257 ms 64 bytes from 192.168.16.22: icmp_seq=16 ttl=64 time=0.214 ms 64 bytes from 192.168.16.22: icmp_seq=17 ttl=64 time=0.196 ms 64 bytes from 192.168.16.22: icmp_seq=18 ttl=64 time=0.254 ms 64 bytes from 192.168.16.22: icmp_seq=19 ttl=64 time=0.193 ms ^C --- 192.168.16.22 ping statistics --- 46 packets transmitted, 20 packets received, 56% packet loss round-trip min/avg/max/stddev = 0.193/0.259/0.446/0.059 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.446 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.327 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.331 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.261 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.228 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.258 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.200 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.227 ms ... 64 bytes from 192.168.16.22: icmp_seq=14 ttl=64 time=0.277 ms 64 bytes from 192.168.16.22: icmp_seq=15 ttl=64 time=0.257 ms 64 bytes from 192.168.16.22: icmp_seq=16 ttl=64 time=0.214 ms 64 bytes from 192.168.16.22: icmp_seq=17 ttl=64 time=0.196 ms 64 bytes from 192.168.16.22: icmp_seq=18 ttl=64 time=0.254 ms 64 bytes from 192.168.16.22: icmp_seq=19 ttl=64 time=0.193 ms ^C --- 192.168.16.22 ping statistics --- 46 packets transmitted, 20 packets received, 56% packet loss round-trip min/avg/max/stddev = 0.193/0.259/0.446/0.059 ms |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:09.600618 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 7, length 64 07:25:09.600645 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 7, length 64 07:25:11.401811 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 8, length 64 07:25:11.401837 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 8, length 64 07:25:13.203051 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 9, length 64 07:25:13.203083 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 9, length 64 07:25:15.004330 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 10, length 64 07:25:15.004361 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 10, length 64 07:25:16.805591 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 11, length 64 07:25:16.805615 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 11, length 64 ^C 10 packets captured 63 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:09.600618 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 7, length 64 07:25:09.600645 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 7, length 64 07:25:11.401811 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 8, length 64 07:25:11.401837 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 8, length 64 07:25:13.203051 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 9, length 64 07:25:13.203083 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 9, length 64 07:25:15.004330 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 10, length 64 07:25:15.004361 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 10, length 64 07:25:16.805591 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 11, length 64 07:25:16.805615 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 11, length 64 ^C 10 packets captured 63 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:09.600618 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 7, length 64 07:25:09.600645 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 7, length 64 07:25:11.401811 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 8, length 64 07:25:11.401837 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 8, length 64 07:25:13.203051 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 9, length 64 07:25:13.203083 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 9, length 64 07:25:15.004330 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 10, length 64 07:25:15.004361 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 10, length 64 07:25:16.805591 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 48648, seq 11, length 64 07:25:16.805615 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 48648, seq 11, length 64 ^C 10 packets captured 63 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:44.779178 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 2, length 64 07:25:44.779208 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 2, length 64 07:25:46.580398 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 3, length 64 07:25:46.580440 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 3, length 64 07:25:48.381649 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 4, length 64 07:25:48.381680 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 4, length 64 07:25:50.182921 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 5, length 64 07:25:50.182949 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 5, length 64 07:25:51.984082 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 6, length 64 07:25:51.984109 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 6, length 64 07:25:53.785312 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 7, length 64 07:25:53.785341 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 7, length 64 07:25:55.586542 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 8, length 64 07:25:55.586569 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 8, length 64 ^C 14 packets captured 48 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:44.779178 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 2, length 64 07:25:44.779208 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 2, length 64 07:25:46.580398 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 3, length 64 07:25:46.580440 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 3, length 64 07:25:48.381649 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 4, length 64 07:25:48.381680 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 4, length 64 07:25:50.182921 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 5, length 64 07:25:50.182949 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 5, length 64 07:25:51.984082 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 6, length 64 07:25:51.984109 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 6, length 64 07:25:53.785312 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 7, length 64 07:25:53.785341 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 7, length 64 07:25:55.586542 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 8, length 64 07:25:55.586569 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 8, length 64 ^C 14 packets captured 48 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 07:25:44.779178 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 2, length 64 07:25:44.779208 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 2, length 64 07:25:46.580398 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 3, length 64 07:25:46.580440 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 3, length 64 07:25:48.381649 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 4, length 64 07:25:48.381680 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 4, length 64 07:25:50.182921 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 5, length 64 07:25:50.182949 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 5, length 64 07:25:51.984082 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 6, length 64 07:25:51.984109 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 6, length 64 07:25:53.785312 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 7, length 64 07:25:53.785341 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 7, length 64 07:25:55.586542 IP 192.168.16.22 > 192.168.16.23: ICMP echo request, id 54792, seq 8, length 64 07:25:55.586569 IP 192.168.16.23 > 192.168.16.22: ICMP echo reply, id 54792, seq 8, length 64 ^C 14 packets captured 48 packets received by filter 0 packets dropped by kernel |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.184 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.244 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.211 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.226 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.279 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.255 ms ^C --- 192.168.16.22 ping statistics --- 9 packets transmitted, 9 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.184/0.240/0.279/0.028 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.184 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.244 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.211 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.226 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.279 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.255 ms ^C --- 192.168.16.22 ping statistics --- 9 packets transmitted, 9 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.184/0.240/0.279/0.028 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.184 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.260 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.244 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.211 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.226 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.279 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.255 ms ^C --- 192.168.16.22 ping statistics --- 9 packets transmitted, 9 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.184/0.240/0.279/0.028 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=28 ttl=64 time=0.272 ms 64 bytes from 192.168.16.22: icmp_seq=29 ttl=64 time=0.245 ms 64 bytes from 192.168.16.22: icmp_seq=30 ttl=64 time=0.264 ms 64 bytes from 192.168.16.22: icmp_seq=31 ttl=64 time=0.275 ms ^C --- 192.168.16.22 ping statistics --- 32 packets transmitted, 4 packets received, 87% packet loss round-trip min/avg/max/stddev = 0.245/0.264/0.275/0.012 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=28 ttl=64 time=0.272 ms 64 bytes from 192.168.16.22: icmp_seq=29 ttl=64 time=0.245 ms 64 bytes from 192.168.16.22: icmp_seq=30 ttl=64 time=0.264 ms 64 bytes from 192.168.16.22: icmp_seq=31 ttl=64 time=0.275 ms ^C --- 192.168.16.22 ping statistics --- 32 packets transmitted, 4 packets received, 87% packet loss round-trip min/avg/max/stddev = 0.245/0.264/0.275/0.012 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=28 ttl=64 time=0.272 ms 64 bytes from 192.168.16.22: icmp_seq=29 ttl=64 time=0.245 ms 64 bytes from 192.168.16.22: icmp_seq=30 ttl=64 time=0.264 ms 64 bytes from 192.168.16.22: icmp_seq=31 ttl=64 time=0.275 ms ^C --- 192.168.16.22 ping statistics --- 32 packets transmitted, 4 packets received, 87% packet loss round-trip min/avg/max/stddev = 0.245/0.264/0.275/0.012 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.235 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.238 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.151 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.215 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.202 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.283 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.141 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.221 ms ... 64 bytes from 192.168.16.22: icmp_seq=48 ttl=64 time=0.196 ms 64 bytes from 192.168.16.22: icmp_seq=49 ttl=64 time=0.285 ms 64 bytes from 192.168.16.22: icmp_seq=50 ttl=64 time=0.146 ms 64 bytes from 192.168.16.22: icmp_seq=51 ttl=64 time=0.216 ms 64 bytes from 192.168.16.22: icmp_seq=52 ttl=64 time=0.218 ms 64 bytes from 192.168.16.22: icmp_seq=53 ttl=64 time=0.261 ms ^C --- 192.168.16.22 ping statistics --- 54 packets transmitted, 54 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.125/0.210/0.324/0.038 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.268 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.235 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.238 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.151 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.215 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.202 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.283 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.141 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.221 ms ... 64 bytes from 192.168.16.22: icmp_seq=48 ttl=64 time=0.196 ms 64 bytes from 192.168.16.22: icmp_seq=49 ttl=64 time=0.285 ms 64 bytes from 192.168.16.22: icmp_seq=50 ttl=64 time=0.146 ms 64 bytes from 192.168.16.22: icmp_seq=51 ttl=64 time=0.216 ms 64 bytes from 192.168.16.22: icmp_seq=52 ttl=64 time=0.218 ms 64 bytes from 192.168.16.22: icmp_seq=53 ttl=64 time=0.261 ms ^C --- 192.168.16.22 ping statistics --- 54 packets transmitted, 54 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.125/0.210/0.324/0.038 ms |
#nmap 192.168.16.25
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#nmap 192.168.16.25
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#nmap 192.168.16.25
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.234 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.358 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.242 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.191 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.156 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.196 ms ... 64 bytes from 192.168.16.22: icmp_seq=71 ttl=64 time=0.263 ms 64 bytes from 192.168.16.22: icmp_seq=72 ttl=64 time=0.168 ms 64 bytes from 192.168.16.22: icmp_seq=73 ttl=64 time=0.243 ms 64 bytes from 192.168.16.22: icmp_seq=74 ttl=64 time=0.147 ms 64 bytes from 192.168.16.22: icmp_seq=75 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=76 ttl=64 time=0.254 ms ^C --- 192.168.16.22 ping statistics --- 79 packets transmitted, 39 packets received, 50% packet loss round-trip min/avg/max/stddev = 0.147/0.219/0.472/0.057 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.234 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.358 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.242 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.191 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.156 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.196 ms ... 64 bytes from 192.168.16.22: icmp_seq=71 ttl=64 time=0.263 ms 64 bytes from 192.168.16.22: icmp_seq=72 ttl=64 time=0.168 ms 64 bytes from 192.168.16.22: icmp_seq=73 ttl=64 time=0.243 ms 64 bytes from 192.168.16.22: icmp_seq=74 ttl=64 time=0.147 ms 64 bytes from 192.168.16.22: icmp_seq=75 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=76 ttl=64 time=0.254 ms ^C --- 192.168.16.22 ping statistics --- 79 packets transmitted, 39 packets received, 50% packet loss round-trip min/avg/max/stddev = 0.147/0.219/0.472/0.057 ms |
#ping 192.168.16.22
PING 192.168.16.22 (192.168.16.22): 56 data bytes 64 bytes from 192.168.16.22: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=0.230 ms 64 bytes from 192.168.16.22: icmp_seq=2 ttl=64 time=0.234 ms 64 bytes from 192.168.16.22: icmp_seq=3 ttl=64 time=0.358 ms 64 bytes from 192.168.16.22: icmp_seq=4 ttl=64 time=0.242 ms 64 bytes from 192.168.16.22: icmp_seq=5 ttl=64 time=0.191 ms 64 bytes from 192.168.16.22: icmp_seq=6 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=7 ttl=64 time=0.156 ms 64 bytes from 192.168.16.22: icmp_seq=8 ttl=64 time=0.196 ms ... 64 bytes from 192.168.16.22: icmp_seq=71 ttl=64 time=0.263 ms 64 bytes from 192.168.16.22: icmp_seq=72 ttl=64 time=0.168 ms 64 bytes from 192.168.16.22: icmp_seq=73 ttl=64 time=0.243 ms 64 bytes from 192.168.16.22: icmp_seq=74 ttl=64 time=0.147 ms 64 bytes from 192.168.16.22: icmp_seq=75 ttl=64 time=0.197 ms 64 bytes from 192.168.16.22: icmp_seq=76 ttl=64 time=0.254 ms ^C --- 192.168.16.22 ping statistics --- 79 packets transmitted, 39 packets received, 50% packet loss round-trip min/avg/max/stddev = 0.147/0.219/0.472/0.057 ms |
Время первой команды журнала | 19:39:31 2008- 3-28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:33:51 2008- 4- 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 10.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 7.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.47 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008