当前位置:网站首页>ip6tables v1.8.7 (legacy): Couldn‘t load match `pkttype‘:No such file or directory
ip6tables v1.8.7 (legacy): Couldn‘t load match `pkttype‘:No such file or directory
2022-07-21 18:00:00 【Give alms】
Recently doing openThread The border router of the Protocol otbr, In the build otbr The following original errors are reported from time to time :
+ have update-rc.d
+ command -v update-rc.d
+ sudo update-rc.d otbr-firewall remove
+ test '!' -f /etc/init.d/otbr-firewall
+ sudo rm /etc/init.d/otbr-firewall
+ firewall_install
+ sudo cp script/otbr-firewall /etc/init.d/otbr-firewall
+ sudo chmod a+x /etc/init.d/otbr-firewall
+ have systemctl
+ command -v systemctl
+ sudo systemctl enable otbr-firewall
otbr-firewall.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable otbr-firewall
+ sudo systemctl start otbr-firewall
Job for otbr-firewall.service failed because the control process exited with error code.
See "systemctl status otbr-firewall.service" and "journalctl -xe" for details.
+ die 'Failed to start firewall service!'
+ echo ' *** ERROR: Failed to start firewall service!'
*** ERROR: Failed to start firewall service!
+ exit 1
Follow the instructions , perform : systemctl status otbr-firewall.service, There are the following detailed error reporting information :
[email protected]:/xxxx/ot-br-posix# systemctl status otbr-firewall.service
* otbr-firewall.service - LSB: OTBR firewall
Loaded: loaded (/etc/init.d/otbr-firewall; generated)
Active: failed (Result: exit-code) since Sun 2022-03-20 19:56:09 UTC; 1min 47s ago
Docs: man:systemd-sysv-generator(8)
Process: 918 ExecStart=/etc/init.d/otbr-firewall start (code=exited, status=2)
Mar 20 19:56:09 xxxx otbr-firewall[918]: + ipset create -exist otbr-ingress-allow-dst hash:net family inet6
Mar 20 19:56:09 xxxx otbr-firewall[918]: + ipset create -exist otbr-ingress-allow-dst-swap hash:net family inet6
Mar 20 19:56:09 xxxx otbr-firewall[918]: + ip6tables -N OTBR_FORWARD_INGRESS
Mar 20 19:56:09 xxxx otbr-firewall[918]: + ip6tables -I FORWARD 1 -o wpan0 -j OTBR_FORWARD_INGRESS
Mar 20 19:56:09 xxxx otbr-firewall[918]: + ip6tables -A OTBR_FORWARD_INGRESS -m pkttype --pkt-type unicast -i wpan0 -j DROP
Mar 20 19:56:09 xxxx otbr-firewall[944]: ip6tables v1.8.7 (legacy): Couldn't load match `pkttype':No such file or directory
Mar 20 19:56:09 xxxx otbr-firewall[944]: Try `ip6tables -h' or 'ip6tables --help' for more information.
Mar 20 19:56:09 xxxx systemd[1]: otbr-firewall.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Mar 20 19:56:09 xxxx systemd[1]: otbr-firewall.service: Failed with result 'exit-code'.
Mar 20 19:56:09 xxxx systemd[1]: Failed to start LSB: OTBR firewall.
The error message shown in the question is found :ip6tables v1.8.7 (legacy): Couldn't load match `pkttype':No such file or directory
This error is /etc/init.d/otbr-firewall One of the commands in ip6tables -A $OTBR_FORWARD_INGRESS_CHAIN -m pkttype --pkt-type unicast -i $THREAD_IF -j DROP The execution is wrong .
According to the literal meaning , It's also iptables The kernel of is lack of corresponding configuration , Enter the kernel to execute :
#make menuconfig
-->Networking support > Networking options > Network packet filtering framework (Netfilter) > Core Netfilter Configuration You can find the corresponding type support in this , Choose 、 recompile 、 Just burn it .
Verification test , Solve the problem successfully !
Reference construction OTBR Other similar errors :ipset v7.10: Kernel error received: set type not supported
边栏推荐
- [CTF]-NepCTF2022
- 冒号用法 视频41 13.3. 目标检测和边界框 QA 13.4锚框
- Vidéo d'utilisation à deux points 41 13.3. Détection des cibles et cadre de limitation AQ 13.4 cadre d'ancrage
- C (XXXV) drawing in scrolling window
- 夏日大作战!卧兔网络带你看出海达人营销创意!
- Practical guidance of interface automation testing (Part 2): idea of setting assertion of interface automation testing
- Charles installation and configuration, detailed steps
- XFS opens a new way of e-commerce
- 简单了解---JVM
- 王者荣耀商城异地多活部署设计
猜你喜欢
redis 实践(一)实现登录
Clickhouse-CPU内存资源优化配置
C language compilation
[featured] the structure of MySQL B-tree and b+tree?
简单了解---JVM
The most complete summary of MySQL data types in history - (first)
冒号用法 视频41 13.3. 目标检测和边界框 QA 13.4锚框
聊聊伪共享
从一线开发到技术总监,你就差一个赶鸭子上架
Clickhouse CPU memory resource optimization configuration
随机推荐
Coordinate transformation of C (34)
@The difference between document annotation and Lombok
Bean validation (the difference between @valid and @validated).
Kali carries out ARP network disconnection attack
Introduction and understanding of [robots protocol]
从一线开发到技术总监,你就差一个赶鸭子上架
UE4GamePlay框架
[BJDCTF2020]EasySearch-1
[2023 approval in advance] MediaTek
UE4春蓝图-生存开发游戏
C language Parallel Programming (1)
Thread deadlock of C (44)
视频4413.8 区域卷积神经网络(R-CNN)系列 13.5多尺度目标检测&13.6目标检测数据集
The difference between isnotblank() method and isnotempty() method
MobileViT:挑战MobileNet端侧霸主
Homeland defense | technical guide for whole stack IOT irrigation system
树莓派3B搭建Flink集群
[CTF]-NepCTF2022
[2023 approved in advance] Ruijie
国外LEAD行业到底什么情况?心态崩溃直到放弃