Joungkyun / oops-firewall

oops-firewall :: Linux Firewall (iptables frontend)
Other
0 stars 1 forks source link

xt_iprange: range 1.1.1.55-15.56 is reversed and will never match #1

Closed Joungkyun closed 4 years ago

Joungkyun commented 4 years ago

Issued Environment

variable value: 1.1.1.55-56

Expected

expantion 1.1.1.55-1.1.1.56

Actually

can not expand. still 1.1.1.55-56

Joungkyun commented 4 years ago

When checking the kernel module in the iprange_mod_check () function of check.h, the check fails if the kernel module is compressed.

[ -f "${ipt}/xt_iprange.ko" ] && return 1