mirror of https://github.com/aredn/aredn.git
16 lines
338 B
Plaintext
16 lines
338 B
Plaintext
|
#!/usr/bin/perl
|
||
|
|
||
|
print "Content-type:text\r\n\r\n";
|
||
|
|
||
|
$ispermitencblock = `opkg list-installed blockknownencryption|wc -l`;
|
||
|
chomp($ispermitencblock);
|
||
|
|
||
|
if ($ispermitencblock){
|
||
|
print "Encrypted Traffic: Blocked\n";
|
||
|
} else {
|
||
|
print "Encrypted Traffic: Allowed\n";
|
||
|
}
|
||
|
|
||
|
print "Active firewall rules:\n";
|
||
|
system ("/usr/sbin/iptables -L");
|