+ Reply to Thread
Page 7 of 11 FirstFirst ... 56789 ... LastLast
Results 91 to 105 of 155

Thread: mRatio Fixer v7

  1. #1
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410

    mRatio Fixer v7

    SB-Innovation Presents

    >>>>>> mRatio Fixer v7 <<<<<<





    ╔═══════════════════════════╗
    Coded by:
    ╚═══════════════════════════╝

    >>>>>> anon <<<<<<
    >>>>>> mitmproxy Project <<<<<<
    >>>>>> Iain Patterson <<<<<<
    >>>>>> Alireza Dabiri Nejad <<<<<<
    >>>>>> Mark Russinovich <<<<<<
    >>>>>> Ron Yorston <<<<<<

    ╔═══════════════════════════╗
    Credits:
    ╚═══════════════════════════╝

    >>>>>> ar_avishek <<<<<<
    >>>>>> AxiomaticDirection <<<<<<
    >>>>>> banjje <<<<<<
    >>>>>> H265 <<<<<<
    >>>>>> JohnareyouOK <<<<<<
    >>>>>> sashiagustina <<<<<<
    >>>>>> sigduwksnsksis9283 <<<<<<
    >>>>>> snowfox373 <<<<<<
    >>>>>> weixin <<<<<<

    ╔═══════════════════════════╗
    Features:
    ╚═══════════════════════════╝


    · Fixes the "received an unexpected EOF or 0 bytes from the transport stream" error (caused by lack of TLS 1.2 support)
    · Fixes the "object reference not set to an instance of an object" error (caused by response compression)
    · Fixes the "a call to SSPI failed" error (exact cause unknown)
    · Fixes the "input string was not in a correct format" and "bencode data is incorrect" errors (caused by chunked responses)
    · Can run interactively or as a service
    · Includes mRatio multiple instance unlocker and patcher

    ╔═══════════════════════════╗
    How to use:
    ╚═══════════════════════════╝


    1. Download the attachment and extract it somewhere
    2. Run start.bat as administrator; wait until it's fully initialized and leave it open
    3. Run install_cert.bat as administrator
    4. Open mRatio and configure this proxy in the preferences: type SOCKS5, host 127.0.0.1, port 8080
    5. Use mRatio normally

    Note that the "mRatio Fixer" terminal window must remain open at all times. You can use install_service.bat to install it as a system service instead. This will make it run invisibly and automatically on Windows startup.

    ╔═══════════════════════════╗
    Changelog:
    ╚═══════════════════════════╝


    mRatio Fixer v7
    · The correct destination port is now autodetected for all trackers
    · Switched from mitmweb to mitmdump to greatly reduce memory usage
    · Fixed the "input string was not in a correct format" and "bencode data is incorrect" errors
    · Tracker responses are now always fully decoded and normalized before they are passed to mRatio. This slightly increases CPU usage but should future-proof against other errors (e.g. "unknown HTTP response")
    · Upgraded TLS cipher list to Windows 10 emulation mode
    · Added administrator privilege check to all scripts
    · The uninstaller now deletes leftover files from old versions, all the way back to TLS Fix v1 [BETA]
    · Left beta stage as development has been active for over a year now

    Spoiler Previous versions:
    mRatio Fixer v6 [BETA]
    · Downgraded mitmproxy and its configuration file to version 4.0.4 (should fix the memory leaks and "specified module could not be found"/"failed to execute script mitmweb" errors)
    · Renamed redirect.py to fixer.py
    · Added mRatio multiple instance unlocker and patcher
    · Several code fixes; notably, yes/no prompts can no longer be bypassed by pressing Ctrl+C
    · Reviewed Schannel registry entries

    mRatio Fixer v5 [BETA]
    · Renamed project from "mRatio TLS Fix" to "mRatio Fixer"
    · Updated mitmproxy to version 5.1.1
    · Renamed scripts (runme is now start, install is now install_cert, service is now install_service)
    · Fixed the "object reference not set to an instance of an object" error
    · Fixed the "a call to SSPI failed" error
    · Added uninstall.bat script to do a complete uninstall and remove all traces
    · Added stop.bat script for those who can't press Ctrl+Break

    mRatio TLS Fix v4 [BETA]
    · Updated mitmproxy to v5.0.1
    · Added the ability to run as a Windows service

    mRatio TLS Fix v3 [BETA]
    · Preliminary fix for the "specified module could not be found"/"failed to execute script mitmweb" error

    mRatio TLS Fix v2 [BETA]
    · Updated mitmproxy and its configuration file to v5.0.0
    · Added a repair function to runme.bat: you can now delete the file "firstrun" to uninstall and delete the root certificate, then generate and install a new one

    mRatio TLS Fix v1 [BETA]
    · Initial release


    ╔═══════════════════════════╗
    Known issues:
    ╚═══════════════════════════╝


    · Changes to mRatio's proxy settings do not apply retroactively, so existing torrents will not be affected.
    Workaround: remove and readd torrents, or use the procedure detailed at http://www.sb-innovation.de/showthread.php?p=359303.

    · If installed as a service, startup may fail with error code 1053. The cause of this is unknown.
    Workaround: extract to a different path outside your profile directory and without spaces, e.g. "C:\mRatioFixer".

    · stop.bat may fail if msvcp140.dll cannot be found.
    Solution: install the x86 Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 from https://support.microsoft.com/en-us/help/2977003/.

    · Only Windows 7 x86 and above are supported.
    Workarounds involving running inside a virtual machine or separate computer, then modifying the configuration file and proxy settings accordingly may be possible, but I am not able to assist with or debug such setups.

    ╔═══════════════════════════╗
    Technical information:
    ╚═══════════════════════════╝


    · This is basically a neatly packaged and scripted version of mitmproxy, plus some executables that perform certain other tasks.
    · All of them are unmodified from the originals, only renamed to avoid accidental execution.

    · mitmdump.---: version 4.0.4 of mitmdump
    · nssm.---: version 2.24.0.74 (32-bit) of nssm
    · windows-kill.---: version 1.1.4 (32-bit) of windows-kill
    · handle.---: version 4.22.0.0 (32-bit) of Sysinternals Handle
    · busybox.---: version 1.33.0-FRP-3578-g359211429 (32-bit) of busybox-w32

    · start.bat: starts Fixer, ensures a consistent status beforehand
    · install_cert.bat: installs mitmproxy's certificate
    · install_service.bat: installs Fixer as a service
    · stop.bat: stops Fixer cleanly if you can't press Ctrl+Break (only for interactive mode!)
    · uninstall.bat: stops Fixer cleanly and removes all traces of it
    · inst_patch.bat: patches mRatio's executable to allow running multiple instances
    · inst_unlock.bat: closes mRatio's BaseNamedObjects handles to allow running multiple instances

    · config.yaml: configuration file for mitmdump
    · fixer.py: Python script used by mitmdump to process requests and responses
    · registry.---: registry file, sets Schannel settings to certain values that fix the "a call to SSPI failed" error
    · registry_u.---: registry file, resets the Schannel changes to Windows defaults
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    WhiteSniper (14.01.24) , bulletproof2k (22.10.23) , INTRA (01.06.23) , pimphead07 (29.11.22) , Bubbie (10.11.22) , Mon (05.08.22) , fabmacedo (08.06.22) , Master Razor (11.05.22) , Rupel89yt (08.05.22) , eli98 (17.04.22) , Pandux (12.03.22) , mayfly (28.01.22) , josecarmona (08.01.22) , dede607 (13.11.21) , Xpl0ad3r (12.08.21) , dukkey (08.08.21) , ung4ever (29.07.21) , Jello (12.06.21) , hhumas (28.04.21) , 12321 (15.04.21) , lolsee2 (31.03.21) , Ishino (29.01.21) , cirulilu (07.01.21) , tmtwin (17.12.20) , zoomi (07.12.20) , takomania (06.11.20) , JohnareyouOK (29.10.20) , Manchunian (24.10.20) , blade4 (04.10.20) , sigduwksnsksis9283 (17.09.20) , Logiin (11.09.20) , joe1982 (30.07.20) , mmmmm (23.07.20) , khoroto (19.07.20) , ar_avishek (19.06.20) , yl905797 (29.05.20) , hollenwollen (30.04.20) , AxiomaticDirection (31.03.20) , vren43 (21.03.20) , crystal (15.03.20) , Paranormal (07.03.20) , ilneroviaggiatore (05.02.20) , Artbabelitta (05.01.20) , caracola2394 (02.01.20) , ffp (20.12.19) , dadodz23 (14.12.19) , coromantee (16.11.19) , whyme (09.11.19) , Outlaw (06.11.19) , Zigole (06.11.19) , austinpowers (06.11.19) , RaMa (06.11.19) , Lucius (01.11.19) , alpacino (01.11.19) , H265 (30.10.19) , Rebound (29.10.19)

  3. #91
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    This is an addon for mRatio. Everything you need to know is explained in the first post.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  4. #92
    got this error today while adding some avistaz torrents randomly.
    Code:
     
    [12/22/2020 6:12:42 AM] The handshake failed due to an unexpected packet format.
    [12/22/2020 6:12:42 AM] Retrying in 30s.
    and
    Code:
    127.0.0.1:19827: Client Handshake failed. The client may not trust the proxy's certificate for tracker.avistaz.to.
    with this few lines above
    Code:
    127.0.0.1:19825: Traceback (most recent call last):
      File "mitmproxy\net\tcp.py", line 197, in peek
    ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "mitmproxy\proxy\server.py", line 121, in handle
      File "mitmproxy\proxy\modes\socks_proxy.py", line 54, in __call__
      File "mitmproxy\proxy\protocol\tls.py", line 245, in __call__
      File "mitmproxy\net\tls.py", line 468, in from_file
      File "mitmproxy\net\tls.py", line 406, in get_client_hello
      File "mitmproxy\net\tcp.py", line 199, in peek
    mitmproxy.exceptions.TcpException: ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)
    
    127.0.0.1:19825: clientdisconnect
    any idea what causes "unexpected packet format"?
    Reply With QuoteReply With Quote
    Thanks

  5. #93
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    Quote Originally Posted by sigduwksnsksis9283 View Post
    any idea what causes "unexpected packet format"?
    There are two possible causes.
    1. The server is very outdated and does not support the "new" TLS Client Hello message or secure renegotiation. Not the case here, as tracker.avistaz.to uses Cloudflare, and mRatio Fixer takes some measures to prevent this from happening.
    2. An HTTP request is being sent to an HTTPS port, or viceversa. Shouldn't occur either, but there's a chance v7's port autodetection code is failing for some reason.

    If this happens consistently and/or with specific torrents, I would appreciate receiving a copy of the .torrent files, as well as the client file you're using. I won't use your passkey, but I need everything to be unaltered.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  6. Who Said Thanks:

    mmmmm (30.04.23)

  7. #94
    Quote Originally Posted by anon View Post
    If this happens consistently and/or with specific torrents, I would appreciate receiving a copy of the .torrent files, as well as the client file you're using. I won't use your passkey, but I need everything to be unaltered.
    i'll send one next time i find this issue, since it occurs on a random basis to a random torrent can't give specific ones. so it will be 30 or so torrents since it occurs on 3-5 while starting.
    Reply With QuoteReply With Quote
    Thanks

  8. #95

    Join Date
    16.05.20
    Posts
    4
    Activity Longevity
    0/20 5/20
    Today Posts
    0/5 ssssssss4
    I wanted to delete vuze so I am now looking at a replacement. Thank you for your hard work.
    Reply With QuoteReply With Quote
    Thanks

  9. #96
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    My Windows virtual machines are/were stored on my external disk, which failed last month. Fortunately, the one I used to work on this project was the only exception. It's also interesting that the failure occurred the same day v7 was released...

    Anyway, I'm happy to know this has been useful and the latest version is largely stable.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  10. #97
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    Since this project is out of beta and no regressions have been reported, I will delete my copies of previous versions soon. If anyone is interested on having them, let me know. All deleted.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  11. #98

    Join Date
    07.05.13
    Posts
    1
    Activity Longevity
    0/20 13/20
    Today Posts
    0/5 ssssssss1
    thank you for the hard work. mRatio is my favorite and the easiest to use.
    Reply With QuoteReply With Quote
    Thanks

  12. #99
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    I'm pleased I was able to delay mRatio's descent into obsolence with what appears to be a fairly successful attempt. And help from betatesters was key to that!
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  13. #100
    Unregistered
    Quote Originally Posted by anon View Post
    I'm pleased I was able to delay mRatio's descent into obsolence with what appears to be a fairly successful attempt. And help from betatesters was key to that!

    mratio not working on blutopia and digitalcore club
    Reply With QuoteReply With Quote

  14. #101
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    Can you post mRatio logs from those torrents that don't work?
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  15. #102
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    1000 downloads!
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  16. Who Said Thanks:

    Jello (12.06.21) , Ishino (23.04.21) , ar_avishek (06.04.21) , JohnareyouOK (25.03.21)

  17. #103
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    I had plans for a v8, but due to reasons beyond the scope of this post, I am no longer able to continue working on mRatio Fixer.

    In the attachment, you will find all the notes I took for the upcoming release, as well as what little progress was made on it during the last four months. Anyone who has time and skill to fork the project and keep improving it is encouraged to do so, provided everyone mentioned in the first post is credited.

    To all testers, this wouldn't have made it anywhere without your help. You turned an idea and a horribly written launch script from me into a reliable addon used by many people every day. And somewhere along the way, we even discovered how to run multiple mRatio instances too. Thank you!



    Spoiler Later additions:
    start.bat: change administrator privilege check so that it's only done when necessary, since mitmproxy itself doesn't need it
    inst_patch.bat: check if generated filename already exists before proceeding, create a new name if it does (even though it's extremely unlikely and could theoretically lead to an endless loop if all valid filenames already exist)
    inst_patch.bat: check that "mRatio.exe" isn't a directory when calculating its hash with sha256sum
    Attached Files Attached Files
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  18. Who Said Thanks:

    Im2bz2p345 (15.11.21) , Auron (05.09.21) , uadafac (19.08.21) , sigduwksnsksis9283 (13.08.21) , mmmmm (12.08.21) , ilneroviaggiatore (09.08.21) , Lucius (08.08.21) , JohnareyouOK (08.08.21) , AxiomaticDirection (08.08.21) , H265 (08.08.21)

  19. #104
    Not work ... after a few days

    This script requires administrator privileges. To run it, you should:
    * Right-click on start.bat
    * Click on "Run as administrator"
    * Click on "Yes" in the User Account Control prompt


    and nothings happend
    Reply With QuoteReply With Quote
    Thanks

  20. #105
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,410
    Activity Longevity
    8/20 19/20
    Today Posts
    0/5 ssss39410
    Well, did you run it as administrator?
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

+ Reply to Thread
Page 7 of 11 FirstFirst ... 56789 ... LastLast

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •