Sean-Der / fail2web

a fail2ban GUI powered by fail2rest
536 stars 48 forks source link

Add IE support for window.location.origin #8

Closed djengineerllc closed 10 years ago

djengineerllc commented 10 years ago

Add IE support for window.location.origin

Sean-Der commented 10 years ago

Merged with 6643dd4dae67748945ba1336c1a1eee7f2a30707, thank you very much for the fix!

I have never used fail2web in IE, I am happy to know that it works at all. What version of IE were you using?

djengineerllc commented 10 years ago

Hi Sean-Der, I was using IE version 10. This was the only thing holding back IE from being able to read the config.json file.

I currently have an issue with my fail2ban that I have fix on my server. It is running fine and automatically banning/unbanning correctly, but it is not responding correctly to manual command line updates like "fail2ban-client set ssh banip 1.1.1.1" This in turn is not updating fail2ban from the fail2web yet. The fail2rest seems to be working fine and so does fail2web. I'll have to see if there is something wrong or if I need to upgrade my fail2ban by doing a manual build of the latest code instead of the apt-get install. It's a Debian Linux box, and it doesn't have the apt resources for the latest version of fail2ban.

So there may be something else that could be an issue, but I'm unable to troubleshoot those issues yet. Visually though, everything is now looking good in IE too! :)

Thanks for your contributions, and +1 on developing in GO :+1: