+1
cant modify firewall
every since the last update, the firewall has been screwy. i lost everything, nothing was going thru including port 8000. i had to get someone from the datacenter to go into my server locally and open the ssh port again. once he did that i was able to get everything up and running again but since then it has been a night made. nothing seems to work. configurations overwrite themselves. saving iptables rules doesn't stick. soon as i save and close and reopen, the changes have been reverted (even using vim on command line). i would take ownership of the file and stop it from being modified, but then fail2 ban cant operate properly...
every time i click the firewall tab i get this:
What the heck is going on and when can we expect to see it fixed?
every time i click the firewall tab i get this:
Crashed u'fail2ban-courierauth' Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message self.ui.dispatch_event(update['uid'], update['event'], update['params']) File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 378, in dispatch_event self.event(event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 402, in event getattr(self, 'on_%s' % self_event)(**(params or {})) File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 381, in on_switch child.broadcast('on_page_load') File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 356, in broadcast getattr(self, method)(*args, **kwargs) File "/usr/lib/pymodules/python2.7/ajenti/plugins/iptables/main.py", line 149, in on_page_load self.config.load() File "/usr/lib/pymodules/python2.7/reconfigure/configs/base.py", line 46, in load self.nodetree = self.parser.parse(self.content) File "/usr/lib/pymodules/python2.7/reconfigure/parsers/iptables.py", line 37, in parse chains[chain].append(node) KeyError: u'fail2ban-courierauth'here's the problem, Fail2Ban isnt running. i was having so many issues with the firewall i decided not to further complicate it with Fail2Ban, so i set all to sections to false in Fail2Ban and yet i still get this.
What the heck is going on and when can we expect to see it fixed?
Customer support service by UserEcho
but you shoud check fail2ban and fail2ban-courierauth services
fix them and restart them, then restart firewall ,then ajenti
sorry for my bad english
I did what you said though. all fail2ban services have been turned off. i actually removed the services completely. purged fail2ban from the system still no change. if i click continue, then click load current state i can work in it without error. saving changes causes a crash again and if i click load current state then all works properly until i need to make another change. the 2 lines for fail2ban exim4 and courier will not remove from the config. i delete them, save changes restart ufw, the 2 lines are injected back in again. i tried write protecting the config file, but that made ufw unable to start.
never change config manually , because ajenti will overwrite it ,
i looked in into your error log, there is nothing wrong with firewall, you should fix fail2ban
install fal2ban correctly , and restart , fail2ban & firewall & ajenti service
then click on firewall tab , if you get error again , tell me
sorry for my bad english ,be happy
disable and remove, iptables and firewall and fail2ban, reboot server
i have experience with all control panel, for exam ispconfig,cpanel,...
all of theme have issue with firewall and iptables
but if you need firewall and iptables and cant live without it, you should install fail2ban
i told you earlier , the only way , install fail2ban, install firewall, and restart every thing
if fail2ban work fine, you never get error again
try just installing and configuring correctly fail2ban, not remove it
sorry for my bad english ,be happy
ill try removing firewall as well and then reinstall ufw and iptables and fail2ban and see if that fixes the issue
thanks, be well