|
|
@ -27,7 +27,7 @@ from re2oapi import Re2oAPIClient |
|
|
from firewall import NetfilterSet |
|
|
from firewall import NetfilterSet |
|
|
|
|
|
|
|
|
CONFIG = ConfigParser() |
|
|
CONFIG = ConfigParser() |
|
|
CONFIG.read('config.ini') |
|
|
CONFIG.read('/usr/local/firewall/config.ini') |
|
|
|
|
|
|
|
|
api_hostname = CONFIG.get('Re2o', 'hostname') |
|
|
api_hostname = CONFIG.get('Re2o', 'hostname') |
|
|
api_password = CONFIG.get('Re2o', 'password') |
|
|
api_password = CONFIG.get('Re2o', 'password') |
|
|
|