Quality Of Service (QoS) don't afect on Transsmision traffic

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Sat Apr 02, 2011 14:00    Post subject: Quality Of Service (QoS) don't afect on Transsmision traffic Reply with quote
Please help!

I have:
Linksys WRT160NL
DD-WRT v24-sp2 (12/24/10) std
Optware: Samba + Transmission 1.92 (10363)

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:
    "bind-address-ipv4": "192.168.1.1",
    "bind-address-ipv6": "::",
    "dht-enabled": false,
    "encryption": 0,
    "peer-port": 57492,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "pex-enabled": false,
    "port-forwarding-enabled": false


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!).

Firewall script:
    iptables -I INPUT 1 -p tcp --dport 57492 -d 192.168.1.1 -j ACCEPT
    iptables -I INPUT 1 -p udp --dport 57492 -d 192.168.1.1 -j ACCEPT


Manual port forwarding in dd-wrt web interface:
    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...



    Search "95.143.146.26" (2 hits in 1 files)
    \\ROUTER\Prenosni disk\log.txt (2 hits)
    Line 183: tcp 6 3599 ESTABLISHED src=192.168.1.1 dst=95.143.146.26 sport=47887 dport=31595 packets=1468 bytes=84308 src=95.143.146.26 dst=92.37.34.128 sport=31595 dport=47887 packets=2559 bytes=2721808 [ASSURED] mark=40 use=3
    Line 183: tcp 6 3599 ESTABLISHED src=192.168.1.1 dst=95.143.146.26 sport=47887 dport=31595 packets=1468 bytes=84308 src=95.143.146.26 dst=92.37.34.128 sport=31595 dport=47887 packets=2559 bytes=2721808 [ASSURED] mark=40 use=3

    Search "57492" (52 hits in 1 files)
    \\ROUTER\Prenosni disk\log.txt (52 hits)
    Line 4: tcp 6 3599 ESTABLISHED src=46.164.21.198 dst=92.37.34.128 sport=54996 dport=57492 packets=1855 bytes=2621911 src=192.168.1.1 dst=46.164.21.198 sport=57492 dport=54996 packets=1363 bytes=61621 [ASSURED] mark=40 use=2
    Line 4: tcp 6 3599 ESTABLISHED src=46.164.21.198 dst=92.37.34.128 sport=54996 dport=57492 packets=1855 bytes=2621911 src=192.168.1.1 dst=46.164.21.198 sport=57492 dport=54996 packets=1363 bytes=61621 [ASSURED] mark=40 use=2
    Line 47: udp 17 26 src=89.143.161.211 dst=92.37.34.128 sport=18156 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=89.143.161.211 sport=57492 dport=18156 packets=0 bytes=0 mark=0 use=2
    Line 47: udp 17 26 src=89.143.161.211 dst=92.37.34.128 sport=18156 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=89.143.161.211 sport=57492 dport=18156 packets=0 bytes=0 mark=0 use=2
    Line 56: tcp 6 299 ESTABLISHED src=92.37.18.178 dst=92.37.34.128 sport=63398 dport=57492 packets=1642 bytes=2414815 src=192.168.1.1 dst=92.37.18.178 sport=57492 dport=63398 packets=1211 bytes=55675 [ASSURED] mark=40 use=3
    Line 56: tcp 6 299 ESTABLISHED src=92.37.18.178 dst=92.37.34.128 sport=63398 dport=57492 packets=1642 bytes=2414815 src=192.168.1.1 dst=92.37.18.178 sport=57492 dport=63398 packets=1211 bytes=55675 [ASSURED] mark=40 use=3
    Line 65: udp 17 19 src=46.164.21.198 dst=92.37.34.128 sport=41979 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=46.164.21.198 sport=57492 dport=41979 packets=0 bytes=0 mark=0 use=2
    Line 65: udp 17 19 src=46.164.21.198 dst=92.37.34.128 sport=41979 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=46.164.21.198 sport=57492 dport=41979 packets=0 bytes=0 mark=0 use=2
    Line 90: udp 17 3 src=188.230.187.61 dst=92.37.34.128 sport=50000 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=188.230.187.61 sport=57492 dport=50000 packets=0 bytes=0 mark=0 use=2
    Line 90: udp 17 3 src=188.230.187.61 dst=92.37.34.128 sport=50000 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=188.230.187.61 sport=57492 dport=50000 packets=0 bytes=0 mark=0 use=2
    Line 117: udp 17 24 src=93.103.189.88 dst=92.37.34.128 sport=36274 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=93.103.189.88 sport=57492 dport=36274 packets=0 bytes=0 mark=0 use=2
    Line 117: udp 17 24 src=93.103.189.88 dst=92.37.34.128 sport=36274 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=93.103.189.88 sport=57492 dport=36274 packets=0 bytes=0 mark=0 use=2
    Line 129: tcp 6 299 ESTABLISHED src=89.143.161.211 dst=92.37.34.128 sport=1363 dport=57492 packets=1546 bytes=1843029 src=192.168.1.1 dst=89.143.161.211 sport=57492 dport=1363 packets=976 bytes=44400 [ASSURED] mark=40 use=3
    Line 129: tcp 6 299 ESTABLISHED src=89.143.161.211 dst=92.37.34.128 sport=1363 dport=57492 packets=1546 bytes=1843029 src=192.168.1.1 dst=89.143.161.211 sport=57492 dport=1363 packets=976 bytes=44400 [ASSURED] mark=40 use=3
    Line 143: udp 17 5 src=92.37.16.26 dst=92.37.34.128 sport=42729 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=92.37.16.26 sport=57492 dport=42729 packets=0 bytes=0 mark=0 use=2
    Line 143: udp 17 5 src=92.37.16.26 dst=92.37.34.128 sport=42729 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=92.37.16.26 sport=57492 dport=42729 packets=0 bytes=0 mark=0 use=2
    Line 173: tcp 6 299 ESTABLISHED src=93.103.189.88 dst=92.37.34.128 sport=63445 dport=57492 packets=1649 bytes=2364917 src=192.168.1.1 dst=93.103.189.88 sport=57492 dport=63445 packets=1123 bytes=51544 [ASSURED] mark=40 use=5
    Line 173: tcp 6 299 ESTABLISHED src=93.103.189.88 dst=92.37.34.128 sport=63445 dport=57492 packets=1649 bytes=2364917 src=192.168.1.1 dst=93.103.189.88 sport=57492 dport=63445 packets=1123 bytes=51544 [ASSURED] mark=40 use=5
    Line 177: tcp 6 103 TIME_WAIT src=86.58.85.25 dst=92.37.34.128 sport=51305 dport=57492 packets=7 bytes=504 src=192.168.1.1 dst=86.58.85.25 sport=57492 dport=51305 packets=13 bytes=4743 [ASSURED] mark=40 use=2
    Line 177: tcp 6 103 TIME_WAIT src=86.58.85.25 dst=92.37.34.128 sport=51305 dport=57492 packets=7 bytes=504 src=192.168.1.1 dst=86.58.85.25 sport=57492 dport=51305 packets=13 bytes=4743 [ASSURED] mark=40 use=2
    Line 187: udp 17 46 src=109.182.15.162 dst=92.37.34.128 sport=15416 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=109.182.15.162 sport=57492 dport=15416 packets=0 bytes=0 mark=0 use=2
    Line 187: udp 17 46 src=109.182.15.162 dst=92.37.34.128 sport=15416 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=109.182.15.162 sport=57492 dport=15416 packets=0 bytes=0 mark=0 use=2
    Line 217: tcp 6 88 TIME_WAIT src=84.41.75.195 dst=92.37.34.128 sport=57460 dport=57492 packets=5 bytes=280 src=192.168.1.1 dst=84.41.75.195 sport=57492 dport=57460 packets=4 bytes=172 [ASSURED] mark=40 use=2
    Line 217: tcp 6 88 TIME_WAIT src=84.41.75.195 dst=92.37.34.128 sport=57460 dport=57492 packets=5 bytes=280 src=192.168.1.1 dst=84.41.75.195 sport=57492 dport=57460 packets=4 bytes=172 [ASSURED] mark=40 use=2
    Line 224: udp 17 15 src=92.37.18.178 dst=92.37.34.128 sport=51417 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=92.37.18.178 sport=57492 dport=51417 packets=0 bytes=0 mark=0 use=2
    Line 224: udp 17 15 src=92.37.18.178 dst=92.37.34.128 sport=51417 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=92.37.18.178 sport=57492 dport=51417 packets=0 bytes=0 mark=0 use=2
    Line 225: udp 17 25 src=194.152.22.156 dst=92.37.34.128 sport=19587 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=194.152.22.156 sport=57492 dport=19587 packets=0 bytes=0 mark=40 use=2
    Line 225: udp 17 25 src=194.152.22.156 dst=92.37.34.128 sport=19587 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=194.152.22.156 sport=57492 dport=19587 packets=0 bytes=0 mark=40 use=2
    Line 227: udp 17 8 src=188.230.137.208 dst=92.37.34.128 sport=42936 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=188.230.137.208 sport=57492 dport=42936 packets=0 bytes=0 mark=0 use=2
    Line 227: udp 17 8 src=188.230.137.208 dst=92.37.34.128 sport=42936 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=188.230.137.208 sport=57492 dport=42936 packets=0 bytes=0 mark=0 use=2
    Line 232: tcp 6 3599 ESTABLISHED src=89.164.125.208 dst=92.37.34.128 sport=55115 dport=57492 packets=83 bytes=90644 src=192.168.1.1 dst=89.164.125.208 sport=57492 dport=55115 packets=85 bytes=5138 [ASSURED] mark=40 use=2
    Line 232: tcp 6 3599 ESTABLISHED src=89.164.125.208 dst=92.37.34.128 sport=55115 dport=57492 packets=83 bytes=90644 src=192.168.1.1 dst=89.164.125.208 sport=57492 dport=55115 packets=85 bytes=5138 [ASSURED] mark=40 use=2
    Line 238: udp 17 4 src=86.58.85.25 dst=92.37.34.128 sport=17148 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=86.58.85.25 sport=57492 dport=17148 packets=0 bytes=0 mark=40 use=2
    Line 238: udp 17 4 src=86.58.85.25 dst=92.37.34.128 sport=17148 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=86.58.85.25 sport=57492 dport=17148 packets=0 bytes=0 mark=40 use=2
    Line 241: tcp 6 3599 ESTABLISHED src=109.182.90.123 dst=92.37.34.128 sport=52479 dport=57492 packets=583 bytes=818195 src=192.168.1.1 dst=109.182.90.123 sport=57492 dport=52479 packets=534 bytes=28127 [ASSURED] mark=40 use=3
    Line 241: tcp 6 3599 ESTABLISHED src=109.182.90.123 dst=92.37.34.128 sport=52479 dport=57492 packets=583 bytes=818195 src=192.168.1.1 dst=109.182.90.123 sport=57492 dport=52479 packets=534 bytes=28127 [ASSURED] mark=40 use=3
    Line 247: udp 17 58 src=84.52.128.130 dst=92.37.34.128 sport=54630 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=84.52.128.130 sport=57492 dport=54630 packets=0 bytes=0 mark=0 use=2
    Line 247: udp 17 58 src=84.52.128.130 dst=92.37.34.128 sport=54630 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=84.52.128.130 sport=57492 dport=54630 packets=0 bytes=0 mark=0 use=2
    Line 260: tcp 6 31 TIME_WAIT src=89.142.234.214 dst=92.37.34.128 sport=3544 dport=57492 packets=39 bytes=22770 src=192.168.1.1 dst=89.142.234.214 sport=57492 dport=3544 packets=29 bytes=1984 [ASSURED] mark=40 use=2
    Line 260: tcp 6 31 TIME_WAIT src=89.142.234.214 dst=92.37.34.128 sport=3544 dport=57492 packets=39 bytes=22770 src=192.168.1.1 dst=89.142.234.214 sport=57492 dport=3544 packets=29 bytes=1984 [ASSURED] mark=40 use=2
    Line 274: tcp 6 3596 ESTABLISHED src=89.142.61.81 dst=92.37.34.128 sport=1944 dport=57492 packets=697 bytes=29974 src=192.168.1.1 dst=89.142.61.81 sport=57492 dport=1944 packets=1194 bytes=1685035 [ASSURED] mark=40 use=2
    Line 274: tcp 6 3596 ESTABLISHED src=89.142.61.81 dst=92.37.34.128 sport=1944 dport=57492 packets=697 bytes=29974 src=192.168.1.1 dst=89.142.61.81 sport=57492 dport=1944 packets=1194 bytes=1685035 [ASSURED] mark=40 use=2
    Line 282: tcp 6 299 ESTABLISHED src=194.152.22.156 dst=92.37.34.128 sport=51008 dport=57492 packets=456 bytes=657497 src=192.168.1.1 dst=194.152.22.156 sport=57492 dport=51008 packets=287 bytes=14829 [ASSURED] mark=40 use=3
    Line 282: tcp 6 299 ESTABLISHED src=194.152.22.156 dst=92.37.34.128 sport=51008 dport=57492 packets=456 bytes=657497 src=192.168.1.1 dst=194.152.22.156 sport=57492 dport=51008 packets=287 bytes=14829 [ASSURED] mark=40 use=3
    Line 289: tcp 6 24 TIME_WAIT src=193.111.222.66 dst=92.37.34.128 sport=56681 dport=57492 packets=6 bytes=776 src=192.168.1.1 dst=193.111.222.66 sport=57492 dport=56681 packets=7 bytes=449 [ASSURED] mark=40 use=2
    Line 289: tcp 6 24 TIME_WAIT src=193.111.222.66 dst=92.37.34.128 sport=56681 dport=57492 packets=6 bytes=776 src=192.168.1.1 dst=193.111.222.66 sport=57492 dport=56681 packets=7 bytes=449 [ASSURED] mark=40 use=2
    Line 290: udp 17 4 src=109.182.90.123 dst=92.37.34.128 sport=39175 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=109.182.90.123 sport=57492 dport=39175 packets=0 bytes=0 mark=40 use=2
    Line 290: udp 17 4 src=109.182.90.123 dst=92.37.34.128 sport=39175 dport=57492 packets=3 bytes=211 [UNREPLIED] src=192.168.1.1 dst=109.182.90.123 sport=57492 dport=39175 packets=0 bytes=0 mark=40 use=2
    Line 305: udp 17 63 src=89.142.234.214 dst=92.37.34.128 sport=24054 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=89.142.234.214 sport=57492 dport=24054 packets=0 bytes=0 mark=0 use=2
    Line 305: udp 17 63 src=89.142.234.214 dst=92.37.34.128 sport=24054 dport=57492 packets=1 bytes=58 [UNREPLIED] src=192.168.1.1 dst=89.142.234.214 sport=57492 dport=24054 packets=0 bytes=0 mark=0 use=2
    Line 307: udp 17 28 src=89.164.125.208 dst=92.37.34.128 sport=11891 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=89.164.125.208 sport=57492 dport=11891 packets=0 bytes=0 mark=0 use=2
    Line 307: udp 17 28 src=89.164.125.208 dst=92.37.34.128 sport=11891 dport=57492 packets=2 bytes=116 [UNREPLIED] src=192.168.1.1 dst=89.164.125.208 sport=57492 dport=11891 packets=0 bytes=0 mark=0 use=2


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!


P.L.U.R.!
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Apr 02, 2011 15:10    Post subject: Reply with quote
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)
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Sat Apr 02, 2011 17:21    Post subject: Reply with quote
Your fucking amazing! I really can't believe! It's WOOORK! OMFG Cool

Need to set the SMB service to express, or this setting has no effect on samba? Rolling Eyes

Truly, I will donate! I want Super Channel... Twisted Evil
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Sun Apr 03, 2011 10:19    Post subject: Reply with quote
Hi again!

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... Confused

I try add SMB service in QoS to express, but not effect!

Any solution about this? Rolling Eyes
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sun Apr 03, 2011 17:17    Post subject: Reply with quote
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)
chris
Site Admin


Joined: 06 Jun 2006
Posts: 101
Location: Germany, Bensheim

PostPosted: Mon Apr 04, 2011 6:35    Post subject: Reply with quote
http://svn.dd-wrt.com:8000/changeset/16682
_________________
NewMedia-NET GmbH
Christian Scheele (CEO)
http://www.dd-wrt.com
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Mon Apr 04, 2011 15:09    Post subject: Reply with quote
Router really crash! Uptime start from zero...

Ram is free between 20% and 25% before crash...

iptables -t mangle -vnL > /mnt/log.txt
    Chain PREROUTING (policy ACCEPT 273K packets, 173M bytes)
    pkts bytes target prot opt in out source destination
    127K 15M IMQ 0 -- br0 * 0.0.0.0/0 0.0.0.0/0 IMQ: todev 0
    145K 157M SVQOS_IN 0 -- ppp0 * 0.0.0.0/0 0.0.0.0/0
    145K 157M IMQ 0 -- ppp0 * 0.0.0.0/0 0.0.0.0/0 IMQ: todev 0

    Chain INPUT (policy ACCEPT 76719 packets, 8094K bytes)
    pkts bytes target prot opt in out source destination

    Chain FORWARD (policy ACCEPT 199K packets, 166M bytes)
    pkts bytes target prot opt in out source destination
    121K 156M IMQ 0 -- ppp0 * 0.0.0.0/0 0.0.0.0/0 IMQ: todev 0

    Chain OUTPUT (policy ACCEPT 83009 packets, 126M bytes)
    pkts bytes target prot opt in out source destination

    Chain POSTROUTING (policy ACCEPT 283K packets, 293M bytes)
    pkts bytes target prot opt in out source destination
    114K 54M SVQOS_OUT 0 -- * ppp0 0.0.0.0/0 0.0.0.0/0

    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
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Mon Apr 04, 2011 16:26    Post subject: Reply with quote
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)
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Mon Apr 04, 2011 17:12    Post subject: Reply with quote
I think I found a solution! In my samba config i replace the line:

    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


with

    socket options = TCP_NODELAY


and now is stable! 8)

Big thanks for your help!!! Mr. Green
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Thu Apr 07, 2011 13:57    Post subject: Reply with quote
Hi again!

I have another problem again! Sad 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:
    "bind-address-ipv4": "192.168.1.1",
    "bind-address-ipv6": "::",
    "dht-enabled": false,
    "encryption": 0,
    "peer-port": 57492,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "pex-enabled": false,
    "port-forwarding-enabled": false,
    "message-level": 3,
    "open-file-limit": 32,
    "peer-limit-global": 100,
    "peer-limit-per-torrent": 25


My installed ipkg packages:
    root@ROUTER:~# ipkg status
    Package: zlib
    Status: install ok installed
    Root: /
    Version: 1.2.3-5

    Package: transmission-daemon
    Status: install ok installed
    Root: /
    Conffiles: /etc/config/transmission a20f39911d4ab2b29aebe49590cde0cc
    Version: 2.22-3

    Package: libevent2
    Status: install ok installed
    Root: /
    Version: 2.0.10-1

    Package: coreutils-sort
    Status: install ok installed
    Root: /
    Version: 8.8-1

    Package: libc
    Status: install ok installed
    Root: /
    Version: 0.9.30.1-42

    Package: libevent
    Status: install ok installed
    Root: /
    Version: 1.4.14b-1

    Package: libopenssl
    Status: install ok installed
    Root: /
    Version: 0.9.8m-3

    Package: libcurl
    Status: install ok installed
    Root: /
    Version: 7.21.3-1

    Package: libpthread
    Status: install ok installed
    Root: /
    Version: 0.9.30.1-42

    Package: librt
    Status: install ok installed
    Root: /
    Version: 0.9.30.1-42


I use packages from:
http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/atheros/packages/

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
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Fri Apr 08, 2011 16:08    Post subject: Reply with quote
up Question
Nextor123
DD-WRT Novice


Joined: 04 Feb 2011
Posts: 16

PostPosted: Sun Apr 10, 2011 11:05    Post subject: Reply with quote
down
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum