RPC2 location in apache

das329717

Member
May 25, 2018
928
0
16
I was reading arround and i saw 1 or 2 posts saying to protect the RPC2 location from access, and i noticed i never actually did it before.... i wanna fix this but i wanna ask a small question to do so:

How you guys usually protect this location? For now i have protected it this way:

Code
<Location /RPC2>
Order Allow,Deny
Deny from All
Allow from 127.0.0.1
</Location>
 

jith45

Member
May 25, 2018
960
0
16
Something strange... You access to ruTorrent from 127.0.0.1? You run browser on 127.0.0.1, really?
 

das329717

Member
May 25, 2018
928
0
16
Quote
Something strange... You access to ruTorrent from 127.0.0.1? You run browser on 127.0.0.1, really?​


No not really its an headless installation, but doesnt rutorrent access the cgi mount on the localhost? Made it that way so no one except the own machine can access it..
 

jith45

Member
May 25, 2018
960
0
16
Quote
No not really its an headless installation, but doesnt rutorrent access the cgi mount on the localhost? Made it that way so no one except the own machine can access it..​


If you use plugin rpc or httprpc, ruTorrent doesn't access to /RPC2 at all. If you doesn't use one of this plugins - ruTorrent will access to /RPC2 and it will use *your* IP for that. Not 127.0.0.1.
 

das329717

Member
May 25, 2018
928
0
16
Quote
Quote
No not really its an headless installation, but doesnt rutorrent access the cgi mount on the localhost? Made it that way so no one except the own machine can access it..​

If you use plugin rpc or httprpc, ruTorrent doesn't access to /RPC2 at all. If you doesn't use one of this plugins - ruTorrent will access to /RPC2 and it will use *your* IP for that. Not 127.0.0.1.​


Oh my bad then, i was thinking that as a service running in the local machine he would need to access the rpc2 mount. Thank you very much for the explanation cheesy.gif