All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Fernando del Valle" <delsat-sec@data54.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Help needed
Date: Sat, 05 Apr 2003 14:52:45 +0000	[thread overview]
Message-ID: <marc-lartc-104955447909749@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102137074301469@msgid-missing>

Hi,

I have a Squid proxy connected to the Internet by ADSL which serves a small
LAN.

                [ ADSL ] -- [(ppp0) PROXY (eth1)] -- [LAN 192.168.0.0/24]
Shaped: (0.0.0.0/0) ---> -------------------------> --> ------------>
Unshaped:
                                   (squid) -----> --> ------------>

I've set up traffic shaping using CBQ by IP on eth1. But it shapes ALL the
traffic sent over local Ethernet, and I'd like to keep proxy traffic which
didn't came from ppp0 unshaped. I marked with iptables everything that comes
from ppp0, but I can't get it to work with both filters (by handle and by
IP). I don't realise how should I create the structure of classes. Anyway,
it might be enough to leave traffic from ports 80 and 3128 unshaped, but how
can I do it? I browsed the documentation (and googled) and I couldn't
determine:


a) if more than one filter can be attached to a class;
b) if all filters sharing a class are parsed or the first match exits;
c) if all subclasses of a class are parsed or the first match exits.

I know these are simple questions, but as a newbie I'm pretty stuck in here.
With answers to a), b) and c) I should be able to configure it by myself.
Anyway, a short sample would be appreciated.

Thanks in advance,

Fernando del Valle

P.S.: Please excuse my poor english :(

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-04-05 14:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-14 10:15 [LARTC] Help Needed Vishal Malhan
2003-04-05 14:52 ` Fernando del Valle [this message]
2003-04-05 15:09 ` [LARTC] Help needed Esteban Ribicic
2003-04-05 15:29 ` Stef Coene

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=marc-lartc-104955447909749@msgid-missing \
    --to=delsat-sec@data54.com \
    --cc=lartc@vger.kernel.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 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.