Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solid library but what about custom messages #3

Open
osiloke opened this issue Aug 19, 2015 · 7 comments
Open

Solid library but what about custom messages #3

osiloke opened this issue Aug 19, 2015 · 7 comments

Comments

@osiloke
Copy link

osiloke commented Aug 19, 2015

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

@bronze1man
Copy link
Owner

bronze1man commented Oct 28, 2015

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

@bronze1man
Copy link
Owner

bronze1man commented Oct 28, 2015

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.

@osiloke
Copy link
Author

osiloke commented Jan 22, 2016

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.

@bronze1man
Copy link
Owner

bronze1man commented Jan 22, 2016

@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.

@osiloke
Copy link
Author

osiloke commented Feb 3, 2016

Ok, will do

@dcu
Copy link

dcu commented Feb 11, 2016

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

@osiloke
Copy link
Author

osiloke commented Feb 21, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants