Re: [webmin-devel] RPC webmin

hahmed <[email protected]> Mon, 27 Apr 2009 05:54:08 +0200
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
the objective is to centralize the administration of iptables and snort by
one single interface.
Through this interface, I should be able to administrate any snort and
iptables installed on a PC in the LAN, and centralize the log of iptables
and snort to one single DataBase Server
and then  be able to correlate their log to identify if there is a potential
attack, a rule is set on the firewall automatically.
(I know that I need to install webmin and the requested modules on the PCs
on the LAN in order to make RPC calls)
thx a lot
regards
h.ahmed

2009/4/27 Jamie Cameron <[email protected]>

>
>   Could you give us some idea of what the overall objective of your module
> is?
>   I can then perhaps suggest the best functions to use..
>
>   On 26/Apr/2009 01:32 hahmed wrote ..
>
>   Hi,
>   I'm trying to make a button to show the hosts on which the user the
> configs
>   to be installed like the button
>   install  on  in  the  cluster  software  module.  I found the function
>   create_on_input but it shows a void list ine the browser.
>   Can u help me on this please or give a more detailed documentation on the
>   cluster functions.
>   THX a lot :)
>    2009/4/23 Jamie Cameron <[1][email protected]>
>
>       You could write your own module to do this, but it would be a fair
> bit
>     of
>       work. It may be simpler to just login to Webmin on the remote systems
>     and
>       manage them separately, if you want them to all have different
> configs..
>       On 23/Apr/2009 11:33 hahmed wrote ..
>
>     I'm trying to configure remotely the snort IDS, edit its config, start
> a
>     scan, edit rules but REMOTELY through the Webmin RPC.
>     ANd do the same thing with the firewall iptables. I found the firewall
>     module but when it applies the configuration it is sent to all the
> webmin
>     servers configured in the cluster, but I want to have the ability to
>   choose
>     which one is concerned by this config. Another problem is that the
> config
>     displayed in the index of the firewall module is the one of the master,
>   but
>     I want to choose which host to display its config.
>     Is it doable?
>     THX for the reply
>     regards,
>     hahmed
>
>        2009/4/23 hahmed <[1][2][email protected]>
>
>     I'm trying to configure remotely the snort IDS, edit its config, start
> a
>     scan, edit rules but REMOTELY through the Webmin RPC.
>     ANd do the same thing with the firewall iptables.
>     Is it doable?
>     Thx for the reply.
>
>        2009/4/23 Jamie Cameron <[2][3][email protected]>
>
>       On 23/Apr/2009 00:24 hahmed wrote ..
>     > Hi,
>     > I was wondering if anyone has tried the Webmin RPC to develop a
> module.
>     > I'm willing to use it with snort and asking for some tips.
>     > THX
>     > have a nice day
>       Could you explain more about what you are trying to do with Webmin's
>   RPC?
>       - Jamie
>
>
> --------------------------------------------------------------------------
>       ----
>       Stay on top of everything new and different, both inside and
>       around Java (TM) technology - register by April 22, and save
>       $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>       300 plus technical and hands-on sessions. Register today.
>
>          Use priority code J9JMT32. [3][4]http://p.sf.net/sfu/p
>          -
>               Forwarded    by    the   Webmin   development   list   at
>      [4][5][email protected]
>
>       To remove yourself from this list, go to
>
>          [5][6]http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>       --
>       Ahmed Hamouda
>       [6][7]http://www.fedora-tunisia.org/
>       [7][8]http://forums.fedora-fr.org/
>       --
>       Ahmed Hamouda
>       [8][9]http://www.fedora-tunisia.org/
>       [9][10]http://forums.fedora-fr.org/
>        1.
>
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=
>     dimmumeister%40gmail%2Ecom
>       2.
>
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=
>     jcameron%40webmin%2Ecom
>       4.
>
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=
>     webmin%2Ddevel%40webmin%2Ecom
>
>     You could write your own module to do this, but it would be a fair bit
> of
>     work. It may be simpler to just login to Webmin on the remote systems
> and
>     manage them separately, if you want them to all have different
> configs..
>
>     On 23/Apr/2009 11:33 hahmed wrote ..
>
>   I'm trying to configure remotely the snort IDS, edit its config, start a
>   scan, edit rules but REMOTELY through the Webmin RPC.
>   ANd do the same thing with the firewall iptables. I found the firewall
>   module but when it applies the configuration it is sent to all the webmin
>   servers configured in the cluster, but I want to have the ability to
> choose
>   which one is concerned by this config. Another problem is that the config
>   displayed in the index of the firewall module is the one of the master,
> but
>   I want to choose which host to display its config.
>   Is it doable?
>   THX for the reply
>   regards,
>   hahmed
>    2009/4/23 hahmed <[11][email protected]>
>
>   I'm trying to configure remotely the snort IDS, edit its config, start a
>   scan, edit rules but REMOTELY through the Webmin RPC.
>   ANd do the same thing with the firewall iptables.
>   Is it doable?
>   Thx for the reply.
>    2009/4/23 Jamie Cameron <[12][email protected]>
>
>     On 23/Apr/2009 00:24 hahmed wrote ..
>
>   > Hi,
>   > I was wondering if anyone has tried the Webmin RPC to develop a module.
>   > I'm willing to use it with snort and asking for some tips.
>   > THX
>   > have a nice day
>
>     Could you explain more about what you are trying to do with Webmin's
> RPC?
>     - Jamie
>
> --------------------------------------------------------------------------
>     ----
>     Stay on top of everything new and different, both inside and
>     around Java (TM) technology - register by April 22, and save
>     $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>     300 plus technical and hands-on sessions. Register today.
>      Use priority code J9JMT32. [13]http://p.sf.net/sfu/p
>     -
>     Forwarded by the Webmin development list at [14]
> [email protected]
>      To remove yourself from this list, go to
>      [15]http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>
>   --
>   Ahmed Hamouda
>   [16]http://www.fedora-tunisia.org/
>   [17]http://forums.fedora-fr.org/
>
>   --
>   Ahmed Hamouda
>   [18]http://www.fedora-tunisia.org/
>   [19]http://forums.fedora-fr.org/
>
>
> --------------------------------------------------------------------------
>     ----
>     Crystal Reports &#45; New Free Runtime and 30 Day Trial
>     Check out the new simplified licensign option that enables unlimited
>     royalty&#45;free distribution of the report engine for externally
> facing
>     server and web deployment.
>      [20]http://p.sf.net/sfu/businessobjects
>     -
>     Forwarded by the Webmin development list at [21]
> [email protected]
>      To remove yourself from this list, go to
>      [22]http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>
>   --
>   Ahmed Hamouda
>   [23]http://www.fedora-tunisia.org/
>   [24]http://forums.fedora-fr.org/
>
>
>   1.
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom
>    2.
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=dimmumeister%40gmail%2Ecom
>   3.
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom
>   5.
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom
>   21.
> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom
>
> Could you give us some idea of what the overall objective of your module
> is? I can then perhaps suggest the best functions to use..
>
> On 26/Apr/2009 01:32 hahmed wrote ..
>
> Hi,
> I'm trying to make a button to show the hosts on which the user the configs
> to be installed like the button
> install on in the cluster software module. I found the function
> create_on_input but it shows a void list ine the browser.
> Can u help me on this please or give a more detailed documentation on the
> cluster functions.
> THX a lot :)
>
> 2009/4/23 Jamie Cameron <[email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
> >
>
>>
>>   You could write your own module to do this, but it would be a fair bit
>> of
>>   work. It may be simpler to just login to Webmin on the remote systems
>> and
>>   manage them separately, if you want them to all have different configs..
>>
>>   On 23/Apr/2009 11:33 hahmed wrote ..
>>
>>   I'm trying to configure remotely the snort IDS, edit its config, start a
>>   scan, edit rules but REMOTELY through the Webmin RPC.
>>   ANd do the same thing with the firewall iptables. I found the firewall
>>   module but when it applies the configuration it is sent to all the
>> webmin
>>   servers configured in the cluster, but I want to have the ability to
>> choose
>>   which one is concerned by this config. Another problem is that the
>> config
>>   displayed in the index of the firewall module is the one of the master,
>> but
>>   I want to choose which host to display its config.
>>   Is it doable?
>>   THX for the reply
>>   regards,
>>   hahmed
>>    2009/4/23 hahmed <[1][email protected]<http://reply_mail.cgi?new=1&to=dimmumeister%40gmail%2Ecom>
>> >
>>
>>   I'm trying to configure remotely the snort IDS, edit its config, start a
>>   scan, edit rules but REMOTELY through the Webmin RPC.
>>   ANd do the same thing with the firewall iptables.
>>   Is it doable?
>>   Thx for the reply.
>>    2009/4/23 Jamie Cameron <[2][email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>> >
>>
>>     On 23/Apr/2009 00:24 hahmed wrote ..
>>
>>   > Hi,
>>   > I was wondering if anyone has tried the Webmin RPC to develop a
>> module.
>>   > I'm willing to use it with snort and asking for some tips.
>>   > THX
>>   > have a nice day
>>
>>     Could you explain more about what you are trying to do with Webmin's
>> RPC?
>>     - Jamie
>>
>> --------------------------------------------------------------------------
>>     ----
>>     Stay on top of everything new and different, both inside and
>>     around Java (TM) technology - register by April 22, and save
>>     $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>>     300 plus technical and hands-on sessions. Register today.
>>      Use priority code J9JMT32. [3]http://p.sf.net/sfu/p
>>     -
>>     Forwarded by the Webmin development list at [4]
>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>      To remove yourself from this list, go to
>>      [5]http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>
>>   --
>>   Ahmed Hamouda
>>   [6]http://www.fedora-tunisia.org/
>>   [7]http://forums.fedora-fr.org/
>>
>>   --
>>   Ahmed Hamouda
>>   [8]http://www.fedora-tunisia.org/
>>   [9]http://forums.fedora-fr.org/
>>
>>
>>   1.
>> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=dimmumeister%40gmail%2Ecom
>>   2.
>> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom
>>   4.
>> file://localhost/home/webmail/homes/jcameron/.tmp/reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom
>>
>> You could write your own module to do this, but it would be a fair bit of
>> work. It may be simpler to just login to Webmin on the remote systems and
>> manage them separately, if you want them to all have different configs..
>>
>> On 23/Apr/2009 11:33 hahmed wrote ..
>>
>> I'm trying to configure remotely the snort IDS, edit its config, start a
>> scan, edit rules but REMOTELY through the Webmin RPC.
>> ANd do the same thing with the firewall iptables. I found the firewall
>> module but when it applies the configuration it is sent to all the webmin
>> servers configured in the cluster, but I want to have the ability to
>> choose which one is concerned by this config. Another problem is that the
>> config displayed in the index of the firewall module is the one of the
>> master, but I want to choose which host to display its config.
>> Is it doable?
>> THX for the reply
>> regards,
>> hahmed
>>
>> 2009/4/23 hahmed <[email protected]<http://reply_mail.cgi?new=1&to=dimmumeister%40gmail%2Ecom>
>> >
>>
>>> I'm trying to configure remotely the snort IDS, edit its config, start a
>>> scan, edit rules but REMOTELY through the Webmin RPC.
>>> ANd do the same thing with the firewall iptables.
>>> Is it doable?
>>> Thx for the reply.
>>>
>>> 2009/4/23 Jamie Cameron <[email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>> >
>>>
>>> On 23/Apr/2009 00:24 hahmed wrote ..
>>>> > Hi,
>>>> > I was wondering if anyone has tried the Webmin RPC to develop a
>>>> module.
>>>> > I'm willing to use it with snort and asking for some tips.
>>>> > THX
>>>> > have a nice day
>>>>
>>>> Could you explain more about what you are trying to do with Webmin's
>>>> RPC?
>>>>
>>>> - Jamie
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Stay on top of everything new and different, both inside and
>>>> around Java (TM) technology - register by April 22, and save
>>>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>>>> 300 plus technical and hands-on sessions. Register today.
>>>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>>>> -
>>>> Forwarded by the Webmin development list at [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>> To remove yourself from this list, go to
>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Ahmed Hamouda
>>>
>>> http://www.fedora-tunisia.org/
>>> http://forums.fedora-fr.org/
>>>
>>>
>>>
>>
>>
>> --
>> Ahmed Hamouda
>>
>> http://www.fedora-tunisia.org/
>> http://forums.fedora-fr.org/
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> -
>> Forwarded by the Webmin development list at [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>
>>
>
>
> --
> Ahmed Hamouda
>
> http://www.fedora-tunisia.org/
> http://forums.fedora-fr.org/
>
>
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> -
> Forwarded by the Webmin development list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>
>


-- 
Ahmed Hamouda

http://www.fedora-tunisia.org/
http://forums.fedora-fr.org/

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel