Re: [RADIATOR] Request for enhancement: Log Handler InfluxDB or at least UDP

2016-01-29 Thread Heikki Vatiainen
On 26.1.2016 17.31, Karl Gaissmaier wrote:

> I'm in the process to feed an InfluxDB from RADIATOR logfiles. Much
> nicer would it be if RADIATOR team would implement:
>
>  with the very simple but effective line protocol over
> HTTP or at least an generic
>  with a proper logformat hook done by the users and shipped as
> goodies.

How about starting with a logformat hook to generate the datapoints in 
the line protocol format and then using, for example, curl to send the 
files to InfluxDB? I'm think about this:

https://docs.influxdata.com/influxdb/v0.9/guides/writing_data/

and 'Writing points from a file' described therein.

> Interested? Have a look at https://blog.haschek.at/post/fc060

Yes, this is very interesting. I looked at the line protocol 
specification and it should be easy to implement with a formatting hook 
for authentication. Accounting should be fairly easy too.

It might be worth considering a seprate log agent to forward the logs to 
InfluxDB (or in genral to other logging, graphing, etc. systems). This 
would separate the duties: radiator would create formatted logs and the 
agent could handle the actual log forwarding.

This would also make it easier to add accounting and debug log 
forwarding too since they can already be formatted when written to files.

If you need help with logformat hook, just let me know. I am interested 
in helping you with this.

Thanks,
Heikki

-- 
Heikki Vatiainen 

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, 
NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Eduroam, load balancer, and NAT

2016-01-29 Thread Heikki Vatiainen
On 22.1.2016 1.22, Barry Ard wrote:

> We have recently migrated our RADIUS wireless infrastructure to use our
> F5 load balancers. We have effectively moved from 2 big iron radius
> servers with many radiator processes to 15 VMs and 2 redundant F5s doing
> the proxying. It has been working very well since Christmas. What I
> haven't figured out is how to include our Eduroam configs. Do we have to
> get away from our NATed f5 config and go to routed?
>
> Any direction would be greatly appreciated.

I thought I'd check if you have received any answers on this. I don't 
have any specific advice, but maybe you could describe what/how the 
eduroam config is problematic with the NATed configuration. Are the 
eduroam root servers expecting to see Radiator server addresses directly 
instead of F5 IPs?

Thanks,
Heikki

-- 
Heikki Vatiainen 

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, 
NetWare etc.
___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator


Re: [RADIATOR] Request for enhancement: Log Handler InfluxDB or at least UDP

2016-01-29 Thread Hugh Irvine

Hi Heikki, Hi Karl -

Two thoughts on this:

1. you can use the “|” pipe character in the “Filename …” parameter of the  clause to pipe the log messages to another program directly, together 
with LogFormat

2. one can easily imagine a new  clause with a hook as a parameter 
to do whatever one might wish, being mindful to limit overhead of course

regards

Hugh


> On 30 Jan 2016, at 04:31, Heikki Vatiainen  wrote:
> 
> On 26.1.2016 17.31, Karl Gaissmaier wrote:
> 
>> I'm in the process to feed an InfluxDB from RADIATOR logfiles. Much
>> nicer would it be if RADIATOR team would implement:
>> 
>>  with the very simple but effective line protocol over
>> HTTP or at least an generic
>>  with a proper logformat hook done by the users and shipped as
>> goodies.
> 
> How about starting with a logformat hook to generate the datapoints in 
> the line protocol format and then using, for example, curl to send the 
> files to InfluxDB? I'm think about this:
> 
> https://docs.influxdata.com/influxdb/v0.9/guides/writing_data/
> 
> and 'Writing points from a file' described therein.
> 
>> Interested? Have a look at https://blog.haschek.at/post/fc060
> 
> Yes, this is very interesting. I looked at the line protocol 
> specification and it should be easy to implement with a formatting hook 
> for authentication. Accounting should be fairly easy too.
> 
> It might be worth considering a seprate log agent to forward the logs to 
> InfluxDB (or in genral to other logging, graphing, etc. systems). This 
> would separate the duties: radiator would create formatted logs and the 
> agent could handle the actual log forwarding.
> 
> This would also make it easier to add accounting and debug log 
> forwarding too since they can already be formatted when written to files.
> 
> If you need help with logformat hook, just let me know. I am interested 
> in helping you with this.
> 
> Thanks,
> Heikki
> 
> -- 
> Heikki Vatiainen 
> 
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
> DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, 
> NetWare etc.
> ___
> radiator mailing list
> radiator@open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
h...@open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER, SIM, etc. 
Full source on Unix, Linux, Windows, MacOSX, Solaris, VMS, NetWare etc.

___
radiator mailing list
radiator@open.com.au
http://www.open.com.au/mailman/listinfo/radiator