HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=33)
-   -   MUltiserver firewall? Why not! (http://www.howtoforge.com/forums/showthread.php?t=60669)

almere 25th February 2013 08:16

MUltiserver firewall? Why not!
 
Hello.

I'm currently trying to make a module, that will care about the firewall at all servers.

I have only one question, how ispconfig creates a todo action at another server ? So: i set an action from S1 , but server S2 will execute it?

Thank you.

till 25th February 2013 10:23

The ispconfig firewall is multiserver capable already.

Quote:

I have only one question, how ispconfig creates a todo action at another server ? So: i set an action from S1 , but server S2 will execute it?
There are two kind of actions implemented. If a event contains data and is based on a mysql database table, then a table event is used. If a action does not contain any data and is just a notification to do something on a remote server like install system updates, then a action is used. For most situations, you will use a table event. Table events are defined in the module file of the module (in /usr/local/ispconfig/server/mods-enabled) and then you bind a processing function in your plugin to that table event.

almere 25th February 2013 10:42

Quote:

Originally Posted by till (Post 292507)
The ispconfig firewall is multiserver capable already

You are talking about ports. But what i mean is custom rules for Bastille.

Quote:

Originally Posted by till (Post 292507)
There are two kind of actions implemented. If a event contains data and is based on a mysql database table, then a table event is used. If a action does not contain any data and is just a notification to do something on a remote server like install system updates, then a action is used. For most situations, you will use a table event. Table events are defined in the module file of the module (in /usr/local/ispconfig/server/mods-enabled) and then you bind a processing function in your plugin to that table event.

Can i somewhere read a bit more about it?


All times are GMT +2. The time now is 17:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.