Solved Transmission-daemon - could not connect to tracker (problem)

Hi

I've installed the transmission-daemon, it works like a charm with certain tracker but some trackers will not let me connect to the tracker.
It seems like too small scrape request packets may trip SYN flood detection within some trackers (httpd servers/providers).

Issue is located at github : https://github.com/transmission/transmission/issues/964

Other users of said tracker also confirmed that increasing TCP window scaling works: sysctl -w net.ipv4.tcp_adv_win_scale=4 (TCP windows scaling).
FreeBSD does not have this option (as far as I know?)

It seems like there is some patches around to make it work but I haven't tried it out yet.

Anyone having the same problem that has found an easy workaround or how to fix it? I cant find a similar sysctl setting that looks similar.


cutout.png





- Lars
 
So this snippet of code fixed it... Everything works fine as it should be. This should be implemented into PKG / ports as a default setting .. Anyone?


Code:
    # portsnap fetch extract
   
    2. make patch
   
    # cd /usr/ports/net-p2p/transmission-daemon
    # make clean extract
    # cd work/transmission-2.94/libtransmission
    # mv web.c web.c.orig
    # sed -e 's/= isScrape \?.*;/= 4096;/' <web.c.orig >web.c
    # cd /usr/ports/net-p2p/transmission-daemon
    # make makepatch
   
   
    3. Build new:   net-p2p/transmission-daemon
   
   
    # cd /usr/ports/net-p2p/transmission-daemon
    # make clean && make && make deinstall && make reinstall
    # service transmission restart

After that torrenting has been working flawless, tested lots of different trackers that I know of.

It's a fix.. but its a workaround. ( remember to install / make - transmission-web and transmission-cli )

- Lars
 
Back
Top