- 论坛徽章:
- 0
|
那位大侠能告诉我如何设定PROFTPD的被动服务端口啊?
pfamily# netstat -sp tcp
tcp:
548901 packets sent
537362 data packets (778854957 bytes)
10591 data packets (15259428 bytes) retransmitted
1 resend initiated by MTU discovery
612 ack-only packets (511 delayed)
0 URG only packets
287 window probe packets
0 window update packets
49 control packets
293662 packets received
271934 acks (for 778811554 bytes)
11779 duplicate acks
0 acks for unsent data
1902 packets (111086 bytes) received in-sequence
29 completely duplicate packets (1616 bytes)
0 old duplicate packets
50 packets with some dup. data (3432 bytes duped)
0 out-of-order packets (0 bytes)
0 packets (0 bytes) of data after window
0 window probes
6698 window update packets
1 packet received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
20 connection requests
32 connection accepts
1 bad connection attempt
0 listen queue overflows
44 connections established (including accepts)
343 connections closed (including 14 drops)
21 connections updated cached RTT on close
21 connections updated cached RTT variance on close
14 connections updated cached ssthresh on close
8 embryonic connections dropped
75371 segments updated rtt (of 80881 attempts)
5305 retransmit timeouts
2 connections dropped by rexmit timeout
309 persist timeouts
1 connection dropped by persist timeout
1 keepalive timeout
1 keepalive probe sent
0 connections dropped by keepalive
56402 correct ACK header predictions
765 correct data packet header predictions
32 syncache entries added
2 retransmitted
2 dupsyn
0 dropped
32 completed
0 bucket overflow
0 cache overflow
0 reset
0 stale
0 aborted
0 badack
0 unreach
0 zone failures
0 cookies sent
0 cookies received
pfamily# netstat -sp ip
ip:
38285059 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length >; max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
2836 fragments received
0 fragments dropped (dup or out of space)
118 fragments dropped after timeout
1099 packets reassembled ok
12890512 packets for this host
1 packet for unknown/unsupported protocol
24750349 packets forwarded (0 packets fast forwarded)
303445 packets not forwardable
0 packets received for unknown multicast group
0 redirects sent
631421 packets sent from this host
12517290 packets sent with fabricated ip header
46 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
564 output datagrams fragmented
1128 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
pfamily# ipfw list
00001 deny log ip from any to any ipopt rr
00002 deny log ip from any to any ipopt ts
00003 deny log ip from any to any ipopt ssrr
00004 deny log ip from any to any ipopt lsrr
00005 deny tcp from any to any in tcpflags fin,syn
00101 deny ip from 192.168.1.0/24 to any in recv vr0
00102 deny ip from 10.10.10.0/24 to any in recv vr0
00400 divert 8668 ip from any to any via vr0
65535 allow ip from any to any |
|