Re: Is there a way to slow down file transfers?

2003-02-14 Thread Robin Damm
On Fri, Feb 14, 2003 at 04:23:19PM -0700, J. Scott Edwards wrote:
 
 I have a remote machine running 4.7 which is streaming audio using
 icecast.  I was hoping to back up the machine by transferring the files to
 my local machine and doing the backup here.  However when I try to copy
 any (non-tiny) files, using scp for example, it floods the network
 connection and messes up the audio stream.  Is there any way I can
 transfer files from it at a much slower rate, something like 1/8 normal?

How about rsync with the --bwlimit switch.

http://rsync.samba.org/ftp/rsync/rsync.html

-- 
Robin Damm [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Is there a way to slow down file transfers?

2003-02-14 Thread Bill Moran
J. Scott Edwards wrote:

I have a remote machine running 4.7 which is streaming audio using
icecast.  I was hoping to back up the machine by transferring the files to
my local machine and doing the backup here.  However when I try to copy
any (non-tiny) files, using scp for example, it floods the network
connection and messes up the audio stream.  Is there any way I can
transfer files from it at a much slower rate, something like 1/8 normal?


You could use IPFW's traffic shaper stuff (assuming you have IPFW and
dummynet in your kernel ... although I think you might be able to load
both of these as a kld nowadays)

Something like:
ipfw add pipe 1 tcp from any to any 22
ipfw add pipe 1 tcp from any 22 to any
ipfw pipe 1 config bw 300Kbit/s
Would limit total ssh traffice to 300Kbit/second.

Read 'man ipfw' for extensive explanation of ipfw's and dummynet's
capabilities.  And don't be afraid to ask specific questions, getting
the hang of ipfw rules takes a bit of work.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Is there a way to slow down file transfers?

2003-02-14 Thread J. Scott Edwards

I have a remote machine running 4.7 which is streaming audio using
icecast.  I was hoping to back up the machine by transferring the files to
my local machine and doing the backup here.  However when I try to copy
any (non-tiny) files, using scp for example, it floods the network
connection and messes up the audio stream.  Is there any way I can
transfer files from it at a much slower rate, something like 1/8 normal?

Thanks
  -Scott



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message