How do I get rtorrent to use a socks5 proxy?
I've tried to get socks5 to work with rtorrent, but it doesn't seem to have any impact.
Setup the socks5 proxy on port 9800:
ssh -ND 9800 user@otherhost
in .rtorrent.rc
http_proxy=127.0.0.7:9800
proxy_address=127.0.0.7:9800
It cannot download any data from tracker.
Tracker: [Server returned nothing (no headers, no data)]
And my ip does not app
The following line shows the principle of a construct which I can use under Red hat 5.5:
$ echo "foo" | ssh myhost "echo \"cat <&1\" | su --login"
foo
Actually it was never clear to me why cat can read from FD #1, but it works.
Now with Red Hat 6.3 that doesn't work anymore:
$ echo "foo" | ssh myhost "echo \"cat <&1\" | su --login"
cat: -: Bad file descriptor
First question: W
Transmission, unfortunately, doesn't have Socks5/A support.Azureus/Vuze does have Socks5/A support, but installation is p... [by Rocksockdoc]
i finally got my certificate verified from a trusted CA.
I have been stuck with a peculiar problem, where rsync command is not running when it is executed through crontab.
Below is the code :
#!/bin/sh -x
PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/mysql/bin:/opt/android-sdk-linux/tools:/opt/android-sdk-linux/platform-tools:~/usr/lib/jvm/jdk-6/bin
/bin/sh /etc/profile
MyUSER="root"
I have a private key to ssh into my server and the connection works. In my hosts file I have:
Host myhost
HostName xxx.xxx.xxx.xx
GlobalKnownHostsFile ~/.ssh/known_hosts
port 22
User myuser
IdentityFile ~/.ssh/mykey_dsa
IdentitiesOnly yes
..
#!/usr/bin/perl
@HOSTS = ("192.168.14.112", "192.168.14.90", "192.168.160.1", "192.168.160.100");
my $COUNT = 4;
my $date =`date`;
for my $myHost (@HOSTS) {
**$count = `ping -c $COUNT $myHost | grep 'received' |awk -F',' '{ print $2 }' |awk '{ print $1 }'`;**
if ( $count == 0 ){
print "Host : $myHost is down (pint failed) at $date \n";
}
I'm accessing an http resource using Chrome, FoxyProxy without any problems. The proxy is defined as socks5 in the standard port 1080.
I've tried accessing the same resource using cURL (actual URLs changed for privacy reasons):
$ curl -vvv -socks5 SOCKS_SERVER:1080 -X GET "THE_URL_FROM_BROWSER"
And got:
* About to connect() to SOCKS_SERVER port 1080 (#0)
* Trying IP...
SOCKet Secure (SOCKS) is an Internet protocol that routes network packets between a client and server through a proxy server. SOCKS5 additionally provides authentication so only authorized users may access a server. Practically, a SOCKS server will proxy TCP connections to an arbitrary IP address as well as providing a means for UDP packets to be forwarded.