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

Bandwidth limit? #7

Open
ser opened this issue Jul 8, 2017 · 6 comments
Open

Bandwidth limit? #7

ser opened this issue Jul 8, 2017 · 6 comments

Comments

@ser
Copy link

ser commented Jul 8, 2017

Any suggestion how one can limit bandwidth?

@vog
Copy link
Member

vog commented Jul 10, 2017

This would be a nice feature, so any volunteer work on this topic is welcome.

Without changing bscp, this is perhaps also possible using advanced packet filter settings. This is cetainly possible on Linux as well as BSD, although I'm not too much into it to provide a working configuration here.

@ser
Copy link
Author

ser commented Jul 20, 2017

I think it would be as easy as adding "pv -R" into the pipe before invoking ssh, but to be honest I have no idea how to technically incorporate it into python's subprocess module.

@vog
Copy link
Member

vog commented Jul 20, 2017

I don't think it is that easy, as there is the whole protocol of exchanging and comparing block checksums that needs to be reversed.

Also, it is not obvious to me which parts of the code can be used for both directions, and which parts are specific for one direction.

Anyway, feel free to give it a try. If it works, open a pull request.

@xtaran
Copy link
Contributor

xtaran commented Nov 13, 2018

trickle might help here.

I thought there were commandline options to ssh which could impose a bandwidth limit, too, but I haven't found any. I probably mixed it up with rsync's --bwlimit option.

@vog
Copy link
Member

vog commented May 11, 2020

To anyone involved in this issue, please see #16 "Future of bscp".

@vog
Copy link
Member

vog commented Feb 1, 2023

Pull requests on this issue are still welcome.

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