• 12 Posts
  • 409 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle







  • Status is firewalled and theres no DHT

    When you select the torrent in qBittorrent and click the Trackers tab does DHT display “working” ?

    Status is firewalled and theres no DHT but the download works and there are no errors in the log.

    I suspect you had it partially correct with your earlier test. One thing is that DHT works via UDP (from what I understand) while non-DHT torrents can be TCP or UDP. So I sort of suspect that you kind of had it half working with the iptables rule earlier but you only had it working for TCP, hence only TCP torrents get through which means no DHT and uTP torrenting.

    So your solution is one/both of

    • Re-configure your iptables rule to allow both TCP and UDP if it wasn’t already
    • Play around with podman to get it to also publish the UDP port(s), not just TCP. According to this site podman only publishes TCP by default, there’s some extra syntax for --publish to specify the protocol. Maybe you need to give it multiple publish flags so you can use both TCP and UDP on the same port(s), not too sure on that.

    https://ittavern.com/notes/podman-publish-udp-port-to-host/

    I looked at an i2p torrent I was playing with too and its showing the trackers are non responsive now, but theres no error in the logs.

    I2P is a very different configuration, best not to compare that to regular clearnet torrenting. qBittorrent doesn’t suport DHT over I2P so you’ll never see DHT working in that configuration.


  • What does qBittorrent say when you load a public torrent and click the Trackers tab for that torrent? In a normal network - if these are enabled in qBittorrent itself and the network isn’t blocking torrents/DHT traffic - you should see DHT / PeX / LSD listed as “Working”.

    I know nothing about podman but perhaps DHT status will be a clue to figuring out what’s going on.

    PS - If you need a test public torrent the Linux Mint downloads are useful https://www.linuxmint.com/edition.php?id=319

    EDIT: Also when you start up qBittorrent try viewing the execution log (enabled under View / Log), one of the startup lines in the log is your DHT support that will tell you if it is enabled/disabled. I don’t know if the log later shows anything else re: DHT issues but could be worth a look for that too.



  • For private trackers you would use the standard qBittorrent else risk a ban due to using a modified torrent client. Or at least double-check the private tracker’s rules to verify that they allow qBittorrent Enhanced Edition.

    For non-private general public torrenting you would still use the standard qBittorrent client unless you specifically want those additional features in qBittorrent Enhanced Edition. From their github https://github.com/c0re100/qBittorrent-Enhanced-Edition

    Features:

    1. Auto Ban Xunlei, QQ, Baidu, Xfplay, DLBT and Offline downloader
    2. Auto Ban Unknown Peer from China Option (Default: OFF)
    3. Auto Update Public Trackers List (Default: OFF)
    4. Auto Ban BitTorrent Media Player Peer Option (Default: OFF)
    5. Peer whitelist/blacklist

    IMO if you really hate torrent peers from China that much it’s much, much easier just to do a geoip ban in any standard torrent client. e.g. create a IP Filter .dat .p2p or .p2b file with Chinese IP addresses and load it into the torrent client’s IP filter.



  • My network has reset several times and I’ve narrowed it down to an apparent DDOS attack

    It’s not. You will need to lower your torrent client’s incoming connections limit and/or set lower limits to your incoming/outgoing bandwidth in your torrent client. It is clear your network router is unable to handle too much torrent traffic hitting it at the same time, hence the issues you are experiencing.

    For qB

    Tools / Options / Connection / Global Maximum Number Of Connections

    Tools / Options / Speed / Global Rate Limits

    There’s no specific number to enter there, you just have to experiment a bit and set lower numbers until the problem goes away and your network is stable.

    shutting down the client doesn’t help

    It will, eventually. It does take a bit for other torrent clients to realize you’re no longer online and stop sending you traffic / sharing your IP with other peers.






  • Syncthing is not just for LAN use. Even their homepage mentions transmitting data over the internet

    https://syncthing.net/

    I’ve been using it to sync devices over the internet for years. It’s also how people use it to sync from say their desktop to their phones, remote server, etc.

    If you watch your network firewall Syncthing does reach out to servers on the internet to help it find other devices so e.g. if you enter the other device’s ID (example ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG-ABCDEFG) it can reach out over the internet to find that specific ID to pair with. I think Syncthing uses a sort of DHT resolver to find other devices, I know on my firewall I had to whitelist Syncthing’s servers to make it work.

    I was going to try to link you some references but their forums seem to have connection issues at the moment, you may want to search around later if you’re interested how Syncthing works over the internet.


  • I’d say it’s worth it. Another bonus with your own domain is that you basically have an infinite amount of receiving email addresses you can use for no extra charge e.g. you can just keep making up new email addresses @ yourdomain whenever you need to register to a new website or whatever.

    Drastically cuts down on the amount of spam you get at your main/personal address(es). Also helps whenever a website or whatever has a data breach, just means your random made up email address was leaked and it’s easy enough to mark that as spam going forward.