All of lore.kernel.org
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?= <Dragos_Cinteza@web.de>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Pakets marked but no shapeing is done
Date: Sat, 01 Nov 2003 12:35:24 +0000	[thread overview]
Message-ID: <marc-lartc-106769081131115@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106655646120686@msgid-missing>

--==----==----==----==----==----==----==----==----==----==--

Stef> On Monday 27 October 2003 22:26, Dragos Cinteza wrote:
>> In the last mail I only put the results of listing chains and classes.
Stef> You never told us what's your LAN interface : eth0 or eth1? 
eth0 is my LAN interface (GREEN): IP = 192.168.1.10
and 
eth1 is my internet interface (RED) 
My script blocks access to all stations except the ones that have the right combinations of MAC and IP (7 hosts)
Then are in customforward few rules that block access to certain sites.
I tryed to do marking based on IP, then based on MAC, but host 192.168.1.1 it still isn't marked. 

Stef> And you have double filters : for the src and dst. And that's not needed. You can not have packets with src and dst the same address on a nic.
I know, i think i should only put source. Im not sure but I think packets still have the LAN (192.168.1.x) source address when are filtered by tc, and only after that the source is replaced with the linux box external ip address for NATing. Anyway the filtering is not done with the source only, as iti isn't with source and destination or only destination.

Stef> Stef

========================================  

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

      parent reply	other threads:[~2003-11-01 12:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-19  9:31 [LARTC] Pakets marked but no shapeing is done =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?=
2003-10-19 17:22 ` Dragoa Cinteza
2003-10-20 15:40 ` Dragos Cinteza
2003-10-20 18:47 ` Stef Coene
2003-10-27 21:26 ` Dragos Cinteza
2003-10-28  7:41 ` Catalin BOIE
2003-10-28 18:18 ` Stef Coene
2003-11-01 12:35 ` =?unknown-8bit?q?Drago=C2=BA_Cintez=C3=A3?= [this message]

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-106769081131115@msgid-missing \
    --to=dragos_cinteza@web.de \
    --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.