누군가 내 두통을 해결하고 해결 방법을 알려주실 수 있나요?
[root@www ~]# ip6tables -I INPUT -m set --match-set blacklist6 src -J DROP
ip6tables v1.4.7: Couldn't load match `set':/lib64/xtables/libip6t_set.so: cannot open
shared object file: No such file or directory
Try `ip6tables -h' or 'ip6tables --help' for more information.
[root@www xtables]#
blacklist6은 차단 목록에 추가하려는 ipset inet6 목록입니다.
ipset-x86_64가 설치되었습니다. blacklist6에는 "iptables" 및 "blacklist"가 작동하는 동일한 명령이 존재하지만(IPv4) IPv6 블랙리스트도 필요합니다.
나는 다른 소프트웨어에 의지하고 싶지 않습니다. 나는 IPset과 IPtables의 장점 때문에 사용하고 싶고 이미 그것들을 사용하는 방법을 알아내느라 시간을 보내고 있습니다.;)
감사해요!
편집하다
출력 yum list '*xtables*'
:
[root@www ~]$ sudo yum list '*xtable*'
Loaded plugins: fastestmirror, refresh-packagekit, replace
Loading mirror speeds from cached hostfile
epel/metalink | 28 kB 00:00
* base: mirror.checkdomain.de
* epel: mirrors.n-ix.net
* extras: mirror.checkdomain.de
* ius: mirrors.ircam.fr
* updates: mirror.checkdomain.de
Xen4CentOS | 3.4 kB 00:00
adobe-linux-x86_64 | 951 B 00:00
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
iRedMail | 951 B 00:00
ius | 2.1 kB 00:00
nginx | 2.9 kB 00:00
updates | 3.4 kB 00:00
Error: No matching Packages to list
답변1
이것은 작동합니다:
sudo yum install xtables-addons xtables-addons-kmod
그것~해야 한다누락된 libip6t_set.so
파일을 설치합니다.