In dd-wrt web interface, i configured QoS to enabled on WAN in HTB mode!
My Services Priority:
http: Premium
http-rtsp: Express
httpvideo: Express
httpaudio: Express
bittorrent: Bulk
gnutella: Bulk
edonkey: Bulk
Transmission: Bulk <- (Added with port range of my transmission peer port 57492)
Look the screen shoot...
Some important settings from transmission settings.json:
Transmission is successfully bind to router ip, verified with command "netstat -a" and port forwarding is OK! Confirmed by Trasmission GUI port test button in gui settings (Result: Incoming port tested successfuly!).
Application: Transmission
Protocol: Both
Port from: 57492,
IP Address: 192.168.1.1
Port to: 57492
Look the screen shoot...
I make the connection track log with command "cat /proc/net/ip_conntrack > /mnt/log.txt" and chose one active peer from torrent in trasmission with ip address 95.143.146.26 for better view/debug...
If you look at the log you can see the active peer from transmission get the mark=40 (bulk flag) and also peer port for transmission get the mark=40 (bulk flag) but QoS don't limit transmission dl/ul speed on http traffic (downloading iso file)!
If i run uTorrent on the local computer and download iso file from http, QoS working properly and limit dl/ul speed in uTorrent!
Can anyone tell me what am I doing wrong? What's the problem? Is this a firmware or settings problem?
I make donation on dd-wrt if you help me fix this problem!
It's a bug in the firmware that is documented on the QoS wiki page. I gave the devs a patch already but it hasn't been implemented yet. See the bugs linked on the wiki for iptables rules to fix it. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I have another problem! If i download torrent with transmission and try copy some file or watch movie over samba, router just crach up! Like reboot! But router just crash on download, not upload! I i try without iptables bugfix in my firewall and then works normally...
I try add SMB service in QoS to express, but not effect!
You don't need to do anything for local traffic to the router, the iptables commands fix QoS to only affect the WAN traffic.
Does your router actually crash (check the uptime) or just become less responsive? How much memory is free when it happens?
Post the output of this command to make sure your rules are correct.
iptables -t mangle -vnL _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
Chain SVQOS_IN (1 references)
pkts bytes target prot opt in out source destination
145K 157M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore
107K 114M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match !0x0
1653 1285K MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto http MARK match 0x0 MARK set 0xa
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto http-rtsp MARK match 0x0 MARK set 0x14
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpvideo MARK match 0x0 MARK set 0x14
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpaudio MARK match 0x0 MARK set 0x14
3 624 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --bit MARK set 0x28
18 1700 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 length 0:550 LAYER7 l7proto bt MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 LAYER7 l7proto bt1 MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 LAYER7 l7proto bt2 MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --gnu MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --edk MARK set 0x28
13 668 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:57492 MARK match 0x0 MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:57492 MARK match 0x0 MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto smb MARK match 0x0 MARK set 0x14
38802 44M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save
38802 44M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0
Chain SVQOS_OUT (1 references)
pkts bytes target prot opt in out source destination
114K 54M CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore
84287 50M RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match !0x0
413 580K MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto http MARK match 0x0 MARK set 0xa
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto http-rtsp MARK match 0x0 MARK set 0x14
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpvideo MARK match 0x0 MARK set 0x14
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto httpaudio MARK match 0x0 MARK set 0x14
82 9840 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --bit MARK set 0x28
1 52 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 length 0:550 LAYER7 l7proto bt MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 LAYER7 l7proto bt1 MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 LAYER7 l7proto bt2 MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --gnu MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 MARK match 0x0 ipp2p v0.8.2 --edk MARK set 0x28
0 0 MARK udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:57492 MARK match 0x0 MARK set 0x28
2 132 MARK udp -- * * 0.0.0.0/0 0.0.0.0/0 udp spt:57492 MARK match 0x0 MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:57492 MARK match 0x0 MARK set 0x28
0 0 MARK tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:57492 MARK match 0x0 MARK set 0x28
0 0 MARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 LAYER7 l7proto smb MARK match 0x0 MARK set 0x14
30151 3855K CONNMARK 0 -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save
30151 3855K RETURN 0 -- * * 0.0.0.0/0 0.0.0.0/0
That appears to be without my iptables rules applied. I need to see what it looks like before the router crashes. _________________ Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
I have another problem again! I update my transmission-daemon form v 1.92 to 2.22-3! But transmission always crash on start downloading torrent! If only uploading is normaly stable!
Some important settings from transmission settings.json:
But no metter what packages I use (10.03 to RC4 or 10.03.1-RC1 to RC5-testing), transmission-daemon always crash on start download torrent, if is higher than 2.04-1!
What's the problem? Is this a firmware, packages or settings problem?
:roll:
Last edited by Nextor123 on Fri Apr 08, 2011 16:10; edited 1 time in total