최근 모듈을 참조하는 iptable 규칙을 제거한 후에도 커널 모듈을 제거할 수 없고 xt_recent
오류가 발생합니다 still in use
.
user@host:~$ sudo iptables -S
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
user@host:~$ lsmod | grep xt_recent
xt_recent 24576 2
x_tables 40960 7 ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_recent,ip6_tables,ip_tables
user@host:~$ sudo modprobe -r xt_recent
modprobe: FATAL: Module xt_recent is in use.
``