Skip to content

aria2 JSON-RPC proxy with target dir whitelist support

License

Notifications You must be signed in to change notification settings

sultanowskii/aria2-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aria2-proxy

aria2 JSON-RPC proxy

The current main goal is to address this issue by making dir option more formalized and restricted. With aria2-proxy, you can specify a target directory whitelist (using env variable ARIA2_PROXY_DIR_WHITELIST, see .env.example) - so that files could only be downloaded to these directories.

If proxy gets a RPC call containing dir option, it checks if specified dir is in the whitelist.

  • If it is, the call is transparently proxied to the actual aria2 JSON-RPC server
  • If it is not in the whitelist, error is returned

'Checked' methods:

About

aria2 JSON-RPC proxy with target dir whitelist support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published