/l3/users/10-09-2007/nt-bsdnet/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 |
|
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=3 ttl=64 time=0.514 ms 64 bytes from 192.168.15.242: icmp_seq=4 ttl=64 time=0.527 ms 64 bytes from 192.168.15.242: icmp_seq=5 ttl=64 time=0.373 ms 64 bytes from 192.168.15.242: icmp_seq=6 ttl=64 time=0.542 ms 64 bytes from 192.168.15.242: icmp_seq=7 ttl=64 time=0.547 ms 64 bytes from 192.168.15.242: icmp_seq=8 ttl=64 time=0.569 ms 64 bytes from 192.168.15.242: icmp_seq=9 ttl=64 time=0.574 ms ^C --- 192.168.15.242 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.373/0.511/0.574/0.056 ms |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=3 ttl=64 time=0.514 ms 64 bytes from 192.168.15.242: icmp_seq=4 ttl=64 time=0.527 ms 64 bytes from 192.168.15.242: icmp_seq=5 ttl=64 time=0.373 ms 64 bytes from 192.168.15.242: icmp_seq=6 ttl=64 time=0.542 ms 64 bytes from 192.168.15.242: icmp_seq=7 ttl=64 time=0.547 ms 64 bytes from 192.168.15.242: icmp_seq=8 ttl=64 time=0.569 ms 64 bytes from 192.168.15.242: icmp_seq=9 ttl=64 time=0.574 ms ^C --- 192.168.15.242 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.373/0.511/0.574/0.056 ms |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=3 ttl=64 time=0.514 ms 64 bytes from 192.168.15.242: icmp_seq=4 ttl=64 time=0.527 ms 64 bytes from 192.168.15.242: icmp_seq=5 ttl=64 time=0.373 ms 64 bytes from 192.168.15.242: icmp_seq=6 ttl=64 time=0.542 ms 64 bytes from 192.168.15.242: icmp_seq=7 ttl=64 time=0.547 ms 64 bytes from 192.168.15.242: icmp_seq=8 ttl=64 time=0.569 ms 64 bytes from 192.168.15.242: icmp_seq=9 ttl=64 time=0.574 ms ^C --- 192.168.15.242 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.373/0.511/0.574/0.056 ms |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=3 ttl=64 time=0.514 ms 64 bytes from 192.168.15.242: icmp_seq=4 ttl=64 time=0.527 ms 64 bytes from 192.168.15.242: icmp_seq=5 ttl=64 time=0.373 ms 64 bytes from 192.168.15.242: icmp_seq=6 ttl=64 time=0.542 ms 64 bytes from 192.168.15.242: icmp_seq=7 ttl=64 time=0.547 ms 64 bytes from 192.168.15.242: icmp_seq=8 ttl=64 time=0.569 ms 64 bytes from 192.168.15.242: icmp_seq=9 ttl=64 time=0.574 ms ^C --- 192.168.15.242 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.373/0.511/0.574/0.056 ms |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.472 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.496 ms 64 bytes from 192.168.15.242: icmp_seq=3 ttl=64 time=0.514 ms 64 bytes from 192.168.15.242: icmp_seq=4 ttl=64 time=0.527 ms 64 bytes from 192.168.15.242: icmp_seq=5 ttl=64 time=0.373 ms 64 bytes from 192.168.15.242: icmp_seq=6 ttl=64 time=0.542 ms 64 bytes from 192.168.15.242: icmp_seq=7 ttl=64 time=0.547 ms 64 bytes from 192.168.15.242: icmp_seq=8 ttl=64 time=0.569 ms 64 bytes from 192.168.15.242: icmp_seq=9 ttl=64 time=0.574 ms ^C --- 192.168.15.242 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.373/0.511/0.574/0.056 ms |
#vim frw.conf
3c3 < pass out quick on em0 proto icmp from 192.168.15.0/24 keep state --- > pass out quick on em0 proto icmp from 192.168.15.0/24 to any keep state |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#ping 192.168.15.242
11:58:05.250062 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 17, length 64 11:58:05.524778 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 23, length 64 11:58:05.524865 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 23, length 64 11:58:06.250659 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 18, length 64 11:58:06.251073 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 18, length 64 11:58:06.525777 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 24, length 64 11:58:06.525863 IP 192.168.15.237 > 192.168.15.242: ICMP echo reply, id 58650, seq 24, length 64 11:58:07.251637 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 12817, seq 19, length 64 11:58:07.251919 IP 192.168.15.242 > 192.168.15.237: ICMP echo reply, id 12817, seq 19, length 64 11:58:07.526759 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 58650, seq 25, length 64 ... 12:00:22.334889 IP 192.168.15.242 > 192.168.15.237: ICMP echo request, id 6171, seq 62, length 64 12:00:23.270985 IP 192.168.15.237 > 192.168.15.242: ICMP echo request, id 19473, seq 64, length 64 PING 192.168.15.242 (192.168.15.242): 56 data bytes 64 bytes from 192.168.15.242: icmp_seq=0 ttl=64 time=0.485 ms 64 bytes from 192.168.15.242: icmp_seq=1 ttl=64 time=0.491 ms 64 bytes from 192.168.15.242: icmp_seq=2 ttl=64 time=0.494 ms ^C --- 192.168.15.242 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.485/0.490/0.494/0.004 ms |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss |
#vim frw.conf
5,6c5,6 < pass out quick on em0 proto icmp from $allowed keep state < pass in quick on em0 proto icmp from $allowed keep state --- > pass out quick on em0 proto icmp from $allowed to any keep state > pass in quick on em0 proto icmp from $allowed to any keep state |
#vim frw.conf
5,6c5,6 < pass out quick on em0 proto icmp from $allowed keep state < pass in quick on em0 proto icmp from $allowed keep state --- > pass out quick on em0 proto icmp from $allowed to any keep state > pass in quick on em0 proto icmp from $allowed to any keep state |
#vim frw.conf
5,6c5,6 < pass out quick on em0 proto icmp from $allowed keep state < pass in quick on em0 proto icmp from $allowed keep state --- > pass out quick on em0 proto icmp from $allowed to any keep state > pass in quick on em0 proto icmp from $allowed to any keep state |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#vim frw.conf
|
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed = "{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.180 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#vim frw.conf
5c5 < pass out quick on em0 proto icmp from $allowed to any keep state --- > pass out quick on em0 proto icmp from any to $allowed keep state |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#ping 192.168.15.180
PING 192.168.15.180 (192.168.15.180): 56 data bytes 64 bytes from 192.168.15.180: icmp_seq=0 ttl=64 time=0.362 ms 64 bytes from 192.168.15.180: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.15.180: icmp_seq=2 ttl=64 time=0.375 ms 64 bytes from 192.168.15.180: icmp_seq=3 ttl=64 time=0.361 ms 64 bytes from 192.168.15.180: icmp_seq=4 ttl=64 time=0.342 ms 64 bytes from 192.168.15.180: icmp_seq=5 ttl=64 time=0.360 ms 64 bytes from 192.168.15.180: icmp_seq=6 ttl=64 time=0.348 ms ^C --- 192.168.15.180 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.342/0.359/0.375/0.010 ms |
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#vim frw.conf
|
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes ^C --- 192.168.15.243 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.243
PING 192.168.15.243 (192.168.15.243): 56 data bytes ^C --- 192.168.15.243 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#vim frw.conf
1c1 < allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{!192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#vim frw.conf
1c1 < allowed="{192.168.15.242, 192.168.15.243, 192.168.15.180}" --- > allowed="{!192.168.15.242, 192.168.15.243, 192.168.15.180}" |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#pfctl -f ~/frw.conf
No ALTQ support in kernel ALTQ related functions disabled |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.242
PING 192.168.15.242 (192.168.15.242): 56 data bytes ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ping: sendto: Operation not permitted ^C --- 192.168.15.242 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
Время первой команды журнала | 12:20:00 2007- 9-12 | |||||||||
Время последней команды журнала | 12:31:11 2007- 9-12 | |||||||||
Количество командных строк в журнале | 101 | |||||||||
Процент команд с ненулевым кодом завершения, % | 18.81 | |||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||
Суммарное время работы с терминалом *, час | 0.19 | |||||||||
Количество командных строк в единицу времени, команда/мин | 9.03 | |||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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