Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Adam Rosi-Kessel <adam@rosi-kessel.org>
To: netfilter@lists.netfilter.org
Subject: Re: HTTP slower than SSH on client behind iptables
Date: Tue, 31 Jan 2006 09:11:35 -0500	[thread overview]
Message-ID: <43DF7017.8030008@rosi-kessel.org> (raw)
In-Reply-To: <43DF299D.9070105@prosyst.com>


[-- Attachment #1.1: Type: text/plain, Size: 1235 bytes --]

(sorry, should have sent this to the list)

Boryan Yotov wrote:
>> On the NAT box, my Internet connection goes up to about 700 kilobytes per
>> second, regardless of the protocol used (e.g., ssh or http). 
>> On clients behind the NAT box, however, HTTP connections seem to top out
>> around 70 kilobytes per second. ssh connections (e.g., rsync) get the
>> full throughput of the Internet connection.
> Are you sure, you don't have some kind of a traffic shaping
> active on the NAT gateway's internal interface?
> For example: If tc is used, you could check that using:
> tc class show dev <nat_box_internal_interface>
> and
> tc filter show dev <nat_box_internal_interface>

I do have traffic shaping on the *external* interface, but it is not port
dependent.

tc class|filter show dev <internal_interface> gives an empty response.

Also, when I clear the queue (I use wondershaper, so running wondershaper
clear), it seems I still have the same problem.

...But is there some way that outbound traffic shaping on the external
facing interface could somehow impact *inbound* HTTP traffic on an internal
client connected to the internal facing interface?
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  parent reply	other threads:[~2006-01-31 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31  3:35 HTTP slower than SSH on client behind iptables Adam Rosi-Kessel
2006-01-31  9:18 ` Boryan Yotov
     [not found] ` <43DF299D.9070105@prosyst.com>
2006-01-31 14:11   ` Adam Rosi-Kessel [this message]
2006-01-31 15:33     ` Boryan Yotov
2006-01-31 15:06   ` Adam Rosi-Kessel
2006-02-02 14:56   ` Adam Rosi-Kessel
2006-02-08  0:46     ` Adam Rosi-Kessel
2006-02-08 17:16       ` Boryan Yotov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43DF7017.8030008@rosi-kessel.org \
    --to=adam@rosi-kessel.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox