我使用的是 ubuntu 20.04.3,核心為 5.14.11-051411-generic。當我檢查內核日誌時,我發現了大量看似無用的訊息,例如:
tail -f /var/log/kern.log
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.242399] bpfilter: read fail 0
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.341973] bpfilter: Loaded bpfilter_umh pid 37308
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.342409] bpfilter: read fail 0
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.404678] bpfilter: Loaded bpfilter_umh pid 37310
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.404824] bpfilter: read fail 0
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.486405] bpfilter: Loaded bpfilter_umh pid 37312
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.486831] bpfilter: read fail 0
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.558156] bpfilter: Loaded bpfilter_umh pid 37314
Oct 19 18:04:03 hugo-MS-7978 kernel: [9221.558584] bpfilter: read fail 0
Oct 19 18:04:10 hugo-MS-7978 kernel: [9228.831964] [UFW BLOCK] IN = enp0s31f6 OUT = MAC = 01:00:5e:00:00:01:c4:e9:0a:3a:2c:34:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=30112 PROTO=2
如何解決此問題或停用 bpfilter?