Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

iptables mark qos

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2004, 09:57 AM
Default iptables mark qos



(already postet in comp.os.linux.security)

hi all

i really reach my limits with the following task:
os: debian
program: iptables + brigde
goal: transparent bridge with traffic-shaping

this sounds not so complicated at the first glance, but...
i got a computer with 4 nics (3 of them are used for the bridge, 1 for
administration). the firewall will be placed between router and LAN,
but with 2 servers between. the traffic should be classified by the
following points:
1. dst/src: there are severeal ip-ranges with no bandwithlimits, this
means the traffic should be forwarded without further checking,
including LAN and the two servers.
2. all other traffic should be shaped by application
(layer7-extension).

i tried to mark the packets in the mangle table (PREROUTING or
filter). but i am really confused... marking the packets (e.g. HTTP)
doesn't work, because it will mark every packet without checking for
dst/src. marking packets by dst/src will not work, because they are
not correctly marked for the traffic-shaper.
any ideas (in the case you understand my problem)? the problem (i
assume) is, that i cannot use a userspecified target in the mangle
table and i cannot use the mark target in filter table.

regards
moritz


moritz gartenmeister
Reply With Quote
Reply

Tags
iptables, mark, qos

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.