Page 1 of 1

Problem with mangle or quee tree??Can you help?

Posted: Wed May 14, 2008 1:13 am
by radocicala
MANGLE
rule marking ftp(incoming)
29 ;;; ftp
chain=prerouting action=mark-connection
new-connection-mark=internet_ftp_rx_conn passthrough=yes
in-interface=internet src-port=20-21 protocol=tcp
30 ;;; ftp
chain=prerouting action=mark-packet new-packet-mark=internet_ftp_rx
passthrough=no connection-mark=internet_ftp_rx_conn

rule marking all other services(without ftp,http..) - outgoing
63 chain=postrouting action=mark-packet new-packet-mark=internet_other_tx
passthrough=no out-interface=internet

QUEUE TREE
incomming
7 name="internet_ftp_rx_day" parent=internet_rx_normal
packet-mark=internet_ftp_rx limit-at=0 queue=pcq-download priority=8
max-limit=1200000 burst-limit=0 burst-threshold=0 burst-time=0s
outgoing
5 name="internet_other_tx" parent=internet_tx_normal
packet-mark=internet_other_tx limit-at=0 queue=pcq-upload priority=8
max-limit=1000000 burst-limit=0 burst-threshold=0 burst-time=0s
Problem is when I download something eg. from ftp there are marked two connections in queue tree incomming ftp(this is right) and outgoing other(not right - i dont know why is this marked). Can you help? I only download dont upload so why is outgoing connection marked?

Who wants help I can give him demo account to my router.

Re: Problem with mangle or quee tree??Can you help?

Posted: Wed May 14, 2008 2:56 am
by titius
I can help.

mail titelskibreg at gmail dot com