Označuji pakety:
Kód: Vybrat vše
chain=forward action=mark-connection new-connection-mark=all_DOWN-conn passthrough=yes in-interface=ether1 out-interface=ether2
1 chain=forward action=mark-packet new-packet-mark=all_download-pckt passthrough=yes in-interface=ether1 out-interface=ether2 connection-mark=all_DOWN-conn
2 ;;; Server DOWNLOAD
chain=forward action=mark-connection new-connection-mark=server_down-conn passthrough=yes dst-address=172.16.31.251 in-interface=ether1 out-interface=ether2
3 chain=forward action=mark-packet new-packet-mark=server_down-pckt passthrough=yes dst-address=172.16.31.251 in-interface=ether1 out-interface=ether2 connection-mark=server_down-conn
chain=forward action=mark-connection new-connection-mark=all_UP-conn passthrough=yes in-interface=ether2 out-interface=ether1
7 chain=forward action=mark-packet new-packet-mark=all_upload-pckt passthrough=yes in-interface=ether2 out-interface=ether1 connection-mark=all_UP-conn
8 ;;; server UPLOAD
chain=forward action=mark-connection new-connection-mark=server_upload-conn passthrough=yes src-address=172.16.31.251 in-interface=ether2 out-interface=ether1
9 chain=forward action=mark-packet new-packet-mark=server_upload-pckt passthrough=yes src-address=172.16.31.251 in-interface=ether2 out-interface=ether1 connection-mark=server_upload-conn
QUEUE tree:
Kód: Vybrat vše
0 name="DOWNLOAD" parent=ether2 packet-mark="" limit-at=0 queue=PCQ_DOWN_nolimit priority=7 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
1 name="UPLOAD" parent=ether1 packet-mark="" limit-at=0 queue=PCQ_UP_nolimit priority=7 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s
2 name="localnet_DOWN" parent=DOWNLOAD packet-mark=all_download-pckt limit-at=0 queue=PCQ_DOWN_nolimit priority=7 max-limit=25M burst-limit=0 burst-threshold=0 burst-time=0s
3 name="server_upload" parent=UPLOAD packet-mark=server_upload-pckt limit-at=0 queue=PCQ_UP_nolimit priority=7 max-limit=25M burst-limit=0 burst-threshold=0 burst-time=0s
4 name="localnet_UP" parent=UPLOAD packet-mark=all_upload-pckt limit-at=0 queue=PCQ_UP_nolimit priority=7 max-limit=25M burst-limit=0 burst-threshold=0 burst-time=0s
5 name="server_DOWN" parent=DOWNLOAD packet-mark=server_down-pckt limit-at=0 queue=PCQ_DOWN_nolimit priority=7 max-limit=25M burst-limit=0 burst-threshold=0 burst-time=0s
QUEUE LIST:
Kód: Vybrat vše
5 name="PCQ_DOWN_nolimit" kind=pcq pcq-rate=0 pcq-limit=50
pcq-classifier=dst-address pcq-total-limit=2000 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128
pcq-dst-address6-mask=128
6 name="PCQ_DOWN_12M" kind=pcq pcq-rate=12M pcq-limit=30
pcq-classifier=dst-address pcq-total-limit=5000 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128
pcq-dst-address6-mask=128
7 name="PCQ_UP_nolimit" kind=pcq pcq-rate=0 pcq-limit=50
pcq-classifier=src-address pcq-total-limit=2000 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128
pcq-dst-address6-mask=128
8 name="PCQ_UP_12M" kind=pcq pcq-rate=12M pcq-limit=30
pcq-classifier=src-address pcq-total-limit=5000 pcq-burst-rate=0
pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32
pcq-dst-address-mask=32 pcq-src-address6-mask=128
pcq-dst-address6-mask=128
Problém je následující:
Upload funguje QUEUE funguje jak má bude omezuje celý lokalnet nebo "server" dle pravidel.
Download je problemový i když má stejné nastavení jako up jen v opačném směru tak mi funguje jen QUEUE pro omezení serveru zbytek sítě neumí limitovat i když v mangle je traffic viditelný.
Umíte mi pls někdo poradit co dělám špatně? Vím že to bude nějaká blbost

Díky
