[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Radiusplugin-users] help with VSA script
From: |
Ralf Lübben |
Subject: |
Re: [Radiusplugin-users] help with VSA script |
Date: |
Wed, 25 Mar 2009 20:41:33 +0100 |
Hi,
you have to declare your vs attribute somewhere. I did it always in the
dictionary file, but I think the freeradius mysql dictionary should be fine
also (without warrenty I have never used freeradius with mysql).
The plugin only needs the path to the vsa-script in the config that's all. Than
the plugin will call your script and pass the attribute to your script.
Ralf
-------- Original-Nachricht --------
> Datum: Wed, 25 Mar 2009 13:51:08 -0400
> Von: William Cooley <address@hidden>
> An: address@hidden
> Betreff: [Radiusplugin-users] help with VSA script
> I'm interested in creating a vsa script that adds a custom iptables rule
> when a user connects and removes it when the user disconnects.
>
> I looked at the sample perl script and am wondering how to setup a custom
> vendor and attribute.
> Can I just add it to my freeradius mysql dictionary or does it have to be
> added to the dictionary file in the plugin source folder and added with
> the
> vsahelper script? Do I have to recompile the plugin once I've added the
> attribute?
>
> -William
>
>
>
> _______________________________________________
> Radiusplugin-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/radiusplugin-users
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01