All of lore.kernel.org
 help / color / mirror / Atom feed
* Distinguishing between local FTP uploads and remote FTP downloads
@ 2005-01-08 14:06 Andre Majorel
  2005-01-10 13:10 ` Jose Maria Lopez
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Majorel @ 2005-01-08 14:06 UTC (permalink / raw)
  To: netfilter

For traffic shaping purposes, I'd like to distinguish (-j MARK)
between ftp-data packets resulting from me uploading something to
a remote host and ftp-data packets resulting from a remote
download from me.

The goal is, of course, to be able to upload at full speed without
letting remote hosts hog my upload bandwidth at the same time.

Is there any way to do that ?

Thanks in advance.

-- 
André Majorel <URL:http://www.teaser.fr/~amajorel/>
Do not use this account for regular correspondence.
See the URL above for contact information.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Distinguishing between local FTP uploads and remote FTP downloads
  2005-01-08 14:06 Distinguishing between local FTP uploads and remote FTP downloads Andre Majorel
@ 2005-01-10 13:10 ` Jose Maria Lopez
  0 siblings, 0 replies; 2+ messages in thread
From: Jose Maria Lopez @ 2005-01-10 13:10 UTC (permalink / raw)
  To: netfilter@lists.netfilter.org

El sáb, 08 de 01 de 2005 a las 15:06, Andre Majorel escribió:
> For traffic shaping purposes, I'd like to distinguish (-j MARK)
> between ftp-data packets resulting from me uploading something to
> a remote host and ftp-data packets resulting from a remote
> download from me.
> 
> The goal is, of course, to be able to upload at full speed without
> letting remote hosts hog my upload bandwidth at the same time.
> 
> Is there any way to do that ?
> 
> Thanks in advance.

Your best bet it's using the QoS capabilities of the
kernel and the tc command. You can find all the information
you need and an excellent howto at http://lartc.org

-- 
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
jkerouac@bgsec.com
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-10 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 14:06 Distinguishing between local FTP uploads and remote FTP downloads Andre Majorel
2005-01-10 13:10 ` Jose Maria Lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.