Код: Выделить всё
relay2# ps ax | grep proftpd
56678 ?? Ss 0:00.27 proftpd: (accepting connections) (proftpd)
59143 ?? S 0:00.02 proftpd: oka - х.х.х.х: anonymous/IEUser@: IDLE (proftpd)
59144 ?? S 0:00.02 proftpd: oka - 192.168.3.81: anonymous/IEUser@: IDLE (proftpd)
59146 p0 R+ 0:00.00 grep proftpd
Код: Выделить всё
allow tcp from any to me dst-port 20-21
Код: Выделить всё
relay2# tcpdump -npi tun0 port 21
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type NULL (BSD loopback), capture size 96 bytes
13:02:03.266521 IP y.y.y.y.2508 > x.x.x.x.21: P 3588638678:3588638684(6) ack 2445938798 win 64479
13:02:03.267067 IP x.x.x.x.21 > y.y.y.y.2508: P 1:30(29) ack 6 win 65535
13:02:03.355696 IP y.y.y.y.2508 > x.x.x.x.21: P 6:13(7) ack 30 win 64450
13:02:03.356906 IP x.x.x.x.21 > y.y.y.y.2508: P 30:58(28) ack 13 win 65535
13:02:03.440971 IP y.y.y.y.2508 > x.x.x.x.21: P 13:21(8) ack 58 win 64422
13:02:03.441419 IP x.x.x.x.21 > y.y.y.y.2508: P 58:77(19) ack 21 win 65535
13:02:03.527397 IP y.y.y.y.2508 > x.x.x.x.21: P 21:27(6) ack 77 win 64403
13:02:03.528110 IP x.x.x.x.21 > y.y.y.y.2508: P 77:128(51) ack 27 win 65535
13:02:03.749655 IP y.y.y.y.2508 > x.x.x.x.21: . ack 128 win 64352