[ previous ] [ next ] [ threads ]
 From:  "Alex M" <radiussupport at lrcommunications dot net>
 To:  "Monowall Support List" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] How to communicate with Mono
 Date:  Sun, 17 Feb 2008 12:55:59 -0500
cURL seams to be what we need :) I'll check if its installed on my servers. 
Maybe you can post sample code ;) 

-----Original Message-----
From: wildcat [mailto:wildcat at espix dot org] 
Sent: Saturday, February 16, 2008 6:50 PM
To: Alex M
Subject: Re: [m0n0wall] How to communicate with Mono

Alex M wrote:
> One of the way to do it is to use ftp like request to get access to mono
> (ex: http://usernam:password at monobox dot com/system_advanced.php)
> Thtas wht im trying to do now to manage CP user. Unfotrunatly that only
> works under linux bash scripting. I'm still trying to make it work under
> PHP.

Should be possible with CURL lib in php like I'm doing the
backup/restore in m0n0wall-CMI.

see http://php.net/curl for more info...

> However if u know ASP.net then u can do it quite easy.
> -----Original Message-----
> From: Carlos Gacimartín [mailto:cgacimartin at gmail dot com] 
> Sent: Friday, February 15, 2008 10:56 AM
> To: Lee Sharp; m0n0wall at lists dot m0n0 dot ch
> Subject: Re: [m0n0wall] How to communicate with Mono
> Yes, it would be a possibility, but i prefer to use the local database of
> Mono instead of the another-machine-in-the-infrastructure radius one. The
> system i´m studying to develope is like a proxy, so that if the
> third-application decides we need a new user, it will ask for the user to
> app. and this one to Mono. The same if we need to delete a CP user, etc.
> So that i was thinking of using HTTP commands but perhaps, as Wildcat
> the backup/restore XML configuration file should be an easier idea,
> althought a little bit more radical too :)
> Carlos.
> 2008/2/15, Lee Sharp <leesharp at hal dash pc dot org>:
> >
> > Carlos Gacimartín wrote:
> > > Hello,
> > >
> > > i would like to develop an interface to reproduce the captive portal
> > options
> > > of Mono for a third app, so that if this 3ºapp creates/deletes an
> > Mono
> > > will do this. How should i interact with Mono, using the HTTP commands
> > or is
> > > there a better way?
> >
> >
> > It sounds like what your are trying to do is normally done with a radius
> > database, and any kind of radius tool.
> >
> >
> >                         Lee
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch

Gouverneur Thomas - wildcat
PGP key ID: 0x35E698C2