Comments (7)
Socks5 proxy with authentication is now possible with the Proxy Toggle addon for Firefox 57+
https://addons.mozilla.org/en-US/firefox/addon/proxy-toggle/
Easy config: Server, port, username, password - done!
Easy use: Toolbar button on/off
from psocksd.
Unfortunately Firefox does not support authentication when using a SOCKS server, see related ticket:
https://bugzilla.mozilla.org/show_bug.cgi?id=122752
I'm afraid there's not much we can do here, sorry.
As an alternative, you may set up an additional (anonymous) SOCKS server locally on the PC where Firefox is being used and then configure it to forward all connections using authentication to a remote SOCKS server. Would that help in your use case?
from psocksd.
Thank your for the quick response. I stumbled upon this bug on my search on this topic. But i could not believe it...
It looks that only Opera and Arora support socks5 authentication.
I will try a local proxy server. Do you have any suggestion which one? And, maybe a running configuration?
from psocksd.
I will try a local proxy server. Do you have any suggestion which one? And, maybe a running configuration?
Sure, just use psocksd locally to forward it to a remote psocksd instance:
-
Run your remote SOCKS server as usual:
remote $ psocksd user:pass@*:9050
-
Run SOCKS server on localhost and configure it to forward all requests to the remote SOCKS server:
localhost $ psocksd 9050 via * user:pass@remote:9050 via list
Admittedly, this configuration is largely undocumented at the moment :) Just type the commands as above in to psocksd window. You can also use the
ping
command to tests the connection to a given other SOCKS server like this:ping user:pass@remote:9050
-
Configure firefox to use SOCKS on localhost:9050
Feel free to report back if this works for you. And we should probably include these instructions in the README sometime soon :)
from psocksd.
Thanks a lot. I will try this next week. Now i am going into weekend :D
from psocksd.
Ok. I installed php on my router and i am running psocksd php-fcgi psocksd.phar socks5://192.168.1.1:9050
on it. But it crashes when i try to connect:
root@OpenWrt:~# php-cgi psocksd.phar socks5://192.168.1.1:9050
X-Powered-By: PHP/5.4.5
Content-type: text/html
use direct connection to target
SOCKS proxy server listening on 192.168.1.1:9050
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/tmp/pharextract/psocksd/src/Clue/Psocksd/Option/Log.php</b> on line <b>12</b><br />
<br />
<b>Fatal error</b>: date(): Timezone database is corrupt - this should *never* happen! in <b>/tmp/pharextract/psocksd/src/Clue/Psocksd/Option/Log.php</b> on line <b>12</b><br />
from psocksd.
psocksd is a CLI program (and not a CGI script) and as such should be run with your CLI php binary like this:
$ php psocksd.phar socks5://192.168.1.1:9050
The remaining errors look unrelated to the above. Apparently, your setup is somehow corrupted? I suppose fixing this is out of scope here. In the meantime, you can also run both psocksd instances on the same host by using different ports like this:
# firefox ---SOCKS4---> localhost:9050 ---SOCKS5+auth--> localhost:9051
$ php psocksd.phar user:pass@*:9051
$ php psocksd.phar *:9050
via user:pass@localhost:9051
from psocksd.
Related Issues (20)
- Add ping/test command to check remote SOCKS servers HOT 1
- UDP SOCKS5 HOT 3
- Use PSR-4 layout under src/
- Document SOCKS forwarding HOT 3
- Use clue/socks-react
- Inject EventLoop instance and default to StreamSelectLoop HOT 1
- Explicitly list dependencies HOT 1
- Fix installation
- Support React v0.4
- Multiple outgoing interfaces with smart selection based on latency to destination network HOT 3
- Help with backend connection HOT 3
- Support custom DNS server HOT 1
- Basic System.d Service HOT 2
- shadowsocks compatibility HOT 1
- Multiple phpsocks implementation is confusing HOT 4
- whitelist IP HOT 2
- Why not run into my server? HOT 1
- How do cascading proxies? HOT 2
- Heads up! Development focus on LeProxy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psocksd.