Discussion:
socks proxy possible?
Rudolf Sykora
2013-10-31 10:25:18 UTC
Permalink
Hello,

I wanted to use dillo with a socks proxy (using ssh -D portnumber),
however, I was not successful.
(
I did
export http_proxy=127.0.0.1:portnumber
and then ran dillo, but then it sais 'connecting' for any url given
and nothing happens.
)
Is this somehow possible?

Thank you!
Ruda
higuita
2013-11-01 01:24:00 UTC
Permalink
Hi

On Thu, 31 Oct 2013 11:25:18 +0100, Rudolf Sykora
Post by Rudolf Sykora
I wanted to use dillo with a socks proxy (using ssh -D portnumber),
however, I was not successful.
In the unix world, to use socks you usually need that the app
support it... OR use a LD_LIBRARY_PATH preload trick to replace the
normal network calls with socks one. Its usually called sockify a
app.

Dante socks have a command called tsocks that does that, just
run "tsocks dillo" and dillo will support the socks proxy and work
normally.

Good luck
higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
Johannes Hofmann
2013-11-02 22:37:27 UTC
Permalink
Hi,
Post by higuita
Hi
On Thu, 31 Oct 2013 11:25:18 +0100, Rudolf Sykora
Post by Rudolf Sykora
I wanted to use dillo with a socks proxy (using ssh -D portnumber),
however, I was not successful.
In the unix world, to use socks you usually need that the app
support it... OR use a LD_LIBRARY_PATH preload trick to replace the
normal network calls with socks one. Its usually called sockify a
app.
Dante socks have a command called tsocks that does that, just
run "tsocks dillo" and dillo will support the socks proxy and work
normally.
Would it make sense to invest time into native socks support, or is
it ok to rely on tsocks or similar?

Cheers,
Johannes
higuita
2013-11-04 00:28:41 UTC
Permalink
Hi

On Sat, 2 Nov 2013 23:37:27 +0100, Johannes Hofmann
Post by Johannes Hofmann
Would it make sense to invest time into native socks support, or is
it ok to rely on tsocks or similar?
In my opinion, tsocks works very well, for those that have a socks
proxy, it's normal to rely on it, at least on linux, *bsd and most other
*nix. For windows its another story, i have no knowledge for something
like tsocks for windows but a quick search returns the sockscap as a
similar solution: http://www.socksproxychecker.com/sockscap.html

So i think its enough to add a reference for this two solutions
in the documentation for those that need socks support.

Of course, others might have a different opinion :)

higuita
--
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger. It works the same in every country.
-- Hermann Goering, Nazi and war criminal, 1883-1946
Jorge Arellano Cid
2013-11-04 15:26:42 UTC
Permalink
Post by Johannes Hofmann
Hi,
Post by higuita
Hi
On Thu, 31 Oct 2013 11:25:18 +0100, Rudolf Sykora
Post by Rudolf Sykora
I wanted to use dillo with a socks proxy (using ssh -D portnumber),
however, I was not successful.
In the unix world, to use socks you usually need that the app
support it... OR use a LD_LIBRARY_PATH preload trick to replace the
normal network calls with socks one. Its usually called sockify a
app.
Dante socks have a command called tsocks that does that, just
run "tsocks dillo" and dillo will support the socks proxy and work
normally.
Would it make sense to invest time into native socks support, or is
it ok to rely on tsocks or similar?
+1 to document on using tsocks.

Sockets are subtle and not easy to code in a portable way.
--
Cheers
Jorge.-
Continue reading on narkive:
Loading...