http://pastebin.com/A6MXitKh
Patch for 2.92 to add --auth-bypass option to transmission-daemon
This option sets a whitelist of ip addresses which do not require authentication even if --auth|-t is set.
Usage:
--auth-bypass <ip address>[,<ip address> ...]
Example usage:
--auth-bypass 127.0.0.1
The above option would allow clients, e.g. transmission-remote, on localhost to avoid having to authenticate.
The reasoning behind this patch is to avoid the need to hardcode passwords in scripts that use transmission-remote on localhost, while requiring passwords for clients on other hosts. I thought it better to allow admins to make the decision to allow other ip as well (or, if you prefer, be as insecure as they want) by using a whitelist rather than hardcoding 127.0.0.1.
The following parameters are added to settings.json:
rpc-auth-bypass-enabled = true or false
rpc-auth-bypass-whitelist = comma seperated ip addresses like rpc-whitelist