radius icon indicating copy to clipboard operation
radius copied to clipboard

Solid library but what about custom messages

Open osiloke opened this issue 10 years ago • 7 comments
trafficstars

Hi, Really like this library. Although, i need to send back bandwidth up and down message when accepting a request, for traffic shaping. Do you have any suggestions where in the code would be best to attack. Thanks

osiloke avatar Aug 19 '15 16:08 osiloke

It looks like the radius does not have this kind of functionality. You should add some codes in your vpn server.

bronze1man avatar Oct 28 '15 08:10 bronze1man

I used this library to support some old vpn server. I used the https://github.com/bronze1man/kmg/tree/master/kmgRpc to make IPC communications between servers.

bronze1man avatar Oct 28 '15 08:10 bronze1man

Cool, i'm using it as a radius proxy for a pfsense appliance. Radius has WISPr-Bandwidth-Max-Up/Down,https://en.wikipedia.org/wiki/WISPr, attributes which allow you to set a users in/out bandwidth.

osiloke avatar Jan 22 '16 07:01 osiloke

@osiloke ,you can send a pull request to add this feature or fork it to do whatever you want. I am not maintaining this package for now.

bronze1man avatar Jan 22 '16 10:01 bronze1man

Ok, will do

osiloke avatar Feb 03 '16 07:02 osiloke

@osiloke hi, were you able to make progress? I'm interested in this as well

dcu avatar Feb 11 '16 22:02 dcu

@dcu I decided not to use pfsense which required a radius server. I used https://github.com/nodogsplash/nodogsplash with a custom auth server (in golang) which controls nodogsplash using its unix sockets api.

Nodogsplash is light and it allows you to set each clients bandwidth up/down rate via unix sockets, also its way lighter and less complicated than the solution i came up with.

I'll still look into this in the future, but i needed something quick and easy i could maintain.

osiloke avatar Feb 21 '16 10:02 osiloke