誰か私の頭痛を解決し、これをどうやって解決するか教えてくれませんか?
[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
ファイルをインストールします。