captive.whump.shanti-portal/plugins.cfg

16 lines
573 B
INI
Raw Normal View History

# Lists all the plugins, or jobs, and whether they are enabled or not. Each
# section name must correspond to a plugin name in the plugins dir.
[sample_log]
enabled = True
[iptables]
enabled = True
2016-04-16 17:09:37 +00:00
# If you know you won't be able to get the clients HW address then use this.
only_ip = True
# Command templates for arping and iptables.
arping_cmd = arping -f -c 1 -w 30 -I wlp3s0 {ip_address}
iptables_mac = iptables -t mangle -D internet -m mac --mac-source "{mac_address}" -j RETURN
iptables_ip = iptables -t mangle -D internet -m tcp --source "{ip_address}" -j RETURN