Код: Выделить всё
# ipfstat -io
pass out log all
pass in log all
Код: Выделить всё
local0.* /var/log/ipflog
Код: Выделить всё
# ipfstat
bad packets: in 0 out 0
IPv6 packets: in 4340 out 1752
input packets: blocked 0 passed 56772 nomatch 4361 counted 0 short 0
output packets: blocked 0 passed 6280 nomatch 1757 counted 0 short 0
input packets logged: blocked 0 passed 49844
output packets logged: blocked 0 passed 4119
packets logged: input 0 output 0
log failures: input 1690 output 706
fragment state(in): kept 0 lost 0 not fragmented 0
fragment state(out): kept 0 lost 0 not fragmented 0
packet state(in): kept 0 lost 0
packet state(out): kept 0 lost 0
ICMP replies: 0 TCP RSTs sent: 0
Invalid source(in): 0
Result cache hits(in): 0 (out): 0
IN Pullups succeeded: 3 failed: 0
OUT Pullups succeeded: 0 failed: 0
Fastroute successes: 0 failures: 0
TCP cksum fails(in): 0 (out): 0
IPF Ticks: 132541
Packet log flags set: (0)
none
Код: Выделить всё
# ipfstat -s
IP states added:
0 TCP
0 UDP
0 ICMP
0 hits
0 misses
0 bucket full
0 maximum rule references
0 maximum
0 no memory
0 bkts in use
0 active
0 expired
0 closed
State logging disabled
State table bucket statistics:
0 in use
0% hash efficiency
0.00% bucket usage
0 minimal length
0 maximal length
0.000 average length
Код: Выделить всё
State logging enabled