Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
Hi,

My ISP's NAT, unfortunately, does not work more than it does.  This is a 
problem as I need to provide 'direct' internet access for the computers 
inside my network.  

I would like to set up a transparent SOCKS proxy (similar to transparent HTTP 
proxy, aka squid) on the server.  Does anyone know how to do this (and which 
ports to use)?  This needs to be a server side solution since I am unable to 
implement this on the clients...

I know there is a Linux specific program that does this, called KSB 
[http://ksb.sourceforge.net] that looks like what I would like, except the 
wrong OS :-(

Regards

David


signature.asc
Description: This is a digitally signed message part.


Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread Mel
On Tuesday 06 January 2009 05:49:22 David Naylor wrote:
 Hi,

 My ISP's NAT, unfortunately, does not work more than it does.  This is a
 problem as I need to provide 'direct' internet access for the computers
 inside my network.

 I would like to set up a transparent SOCKS proxy (similar to transparent
 HTTP proxy, aka squid) on the server.  Does anyone know how to do this (and
 which ports to use)?  This needs to be a server side solution since I am
 unable to implement this on the clients...

http://www.freshports.org/net/dante/
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
2009/1/6 Mel fbsd.questi...@rachie.is-a-geek.net:
 On Tuesday 06 January 2009 05:49:22 David Naylor wrote:
 Hi,

 My ISP's NAT, unfortunately, does not work more than it does.  This is a
 problem as I need to provide 'direct' internet access for the computers
 inside my network.

 I would like to set up a transparent SOCKS proxy (similar to transparent
 HTTP proxy, aka squid) on the server.  Does anyone know how to do this (and
 which ports to use)?  This needs to be a server side solution since I am
 unable to implement this on the clients...

 http://www.freshports.org/net/dante/

As far as I know dante can only be made transparent with the use of client
side software (such as the libsocks.so libraries under *nix) and not from the
server side (i.e. tunneling the traffic through a SOCKS proxy).  The
way I think of
it is similar to NAT (in the capturing of traffic)?

Or am I missing something?

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread Mel
On Tuesday 06 January 2009 10:07:17 David Naylor wrote:
 2009/1/6 Mel fbsd.questi...@rachie.is-a-geek.net:
  On Tuesday 06 January 2009 05:49:22 David Naylor wrote:
  Hi,
 
  My ISP's NAT, unfortunately, does not work more than it does.  This is a
  problem as I need to provide 'direct' internet access for the computers
  inside my network.
 
  I would like to set up a transparent SOCKS proxy (similar to transparent
  HTTP proxy, aka squid) on the server.  Does anyone know how to do this
  (and which ports to use)?  This needs to be a server side solution since
  I am unable to implement this on the clients...
 
  http://www.freshports.org/net/dante/

 As far as I know dante can only be made transparent with the use of
 client side software (such as the libsocks.so libraries under *nix) and not
 from the server side (i.e. tunneling the traffic through a SOCKS proxy). 
 The way I think of
 it is similar to NAT (in the capturing of traffic)?

 Or am I missing something?

In pf terms: rdr traffic, or use something like this:
http://bayxao.wordpress.com/2007/03/18/transparent-socks-proxy-client/

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Transparent SOCKS proxy (server side)?

2009-01-06 Thread David Naylor
2009/1/6 Mel fbsd.questi...@rachie.is-a-geek.net:
 On Tuesday 06 January 2009 10:07:17 David Naylor wrote:
 2009/1/6 Mel fbsd.questi...@rachie.is-a-geek.net:
  On Tuesday 06 January 2009 05:49:22 David Naylor wrote:
  Hi,
 
  My ISP's NAT, unfortunately, does not work more than it does.  This is a
  problem as I need to provide 'direct' internet access for the computers
  inside my network.
 
  I would like to set up a transparent SOCKS proxy (similar to transparent
  HTTP proxy, aka squid) on the server.  Does anyone know how to do this
  (and which ports to use)?  This needs to be a server side solution since
  I am unable to implement this on the clients...
 
  http://www.freshports.org/net/dante/

 As far as I know dante can only be made transparent with the use of
 client side software (such as the libsocks.so libraries under *nix) and not
 from the server side (i.e. tunneling the traffic through a SOCKS proxy).
 The way I think of
 it is similar to NAT (in the capturing of traffic)?

 Or am I missing something?

 In pf terms: rdr traffic, or use something like this:
 http://bayxao.wordpress.com/2007/03/18/transparent-socks-proxy-client/

The above link only talks about client side solutions.  I could see how rdr
(which I understand to be the same as NAT?) could work, except it needs
to be redirected to a program that then routes the traffic through the socks
server?  I have not been able to find such a program (and the above socks
clients only act as a wrapper for other programs?).

Perhaps a simple program that gets the redirected incoming traffic [like
squid does] but then just connects to the destination server (with a socks
wrapper doing the routing through the socks server)??? Or just a socks
based solution?

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


SOCKS V5 proxy for http_proxy Environmental variable

2007-07-31 Thread Mark Jacobs
I am attempting to set the http_proxy environmental variable to a SOCKS 
5 proxy server that is really an SSH tunnel to a server outside the 
network. When I execute the fetch command it is failing with this error 
message;


bc007776# fetch -v ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
looking up 127.0.0.1
connecting to 127.0.0.1:8080
requesting ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
fetch: ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz: Unknown error: 0

Is this supported?

--
Mark Jacobs
Technical Services
Time Customer Service - Tampa, FL
--

The secret of life is honesty and fair dealing. 
If you can fake that, you've got it made.


--  Julius (Groucho) Henry Marx

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SOCKS V5 proxy for http_proxy Environmental variable

2007-07-31 Thread RW
On Tue, 31 Jul 2007 14:08:36 -0400
Mark Jacobs [EMAIL PROTECTED] wrote:

 I am attempting to set the http_proxy environmental variable to a
 SOCKS 5 proxy server that is really an SSH tunnel to a server outside
 the network. When I execute the fetch command it is failing with this
 error message;
 
 bc007776# fetch -v ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
 looking up 127.0.0.1
 connecting to 127.0.0.1:8080
 requesting ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz
 fetch: ftp://ftp.gnu.org/gnu/emacs/emacs-22.1.tar.gz: Unknown error: 0
 
 Is this supported?
 

I don't think so, and if it were, I doubt it would be supported through
though the http_proxy variable. 

Do you not have access to an external http_proxy via the ssh tunnel?
That's the way this kind of thing normally works. Failing that, if this
is for ports building, you might want to look into using curl instead
of fetch in your FETCH_CMD  as it appears to support SOCKS 5.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


socks

2003-06-22 Thread Ian Todd
Hi

I am wondering does freebsd support socks4? If so how do u enable it
or dont u need to enable it or do u need to install it? Cuse ive
installed xchat from the freebsd cd.Im running a proxy and ive set it
up but it doesnt want to work. my proxy server is correct cause i can
connect through it with mirc for windows.Help please.

regards
ian
___
LOOK GOOD, FEEL GOOD - WWW.HEALTHIEST.CO.ZA

Cool Connection, Cool Price, Internet Access for R59 monthly @ WebMail
http://www.webmail.co.za/dialup/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: socks

2003-06-22 Thread Kris Kennaway
On Sun, Jun 22, 2003 at 12:45:38PM +0100, Matthew Seaman wrote:
 On Sun, Jun 22, 2003 at 01:08:13PM +0200, Ian Todd wrote:
 
  I am wondering does freebsd support socks4? If so how do u enable it
  or dont u need to enable it or do u need to install it? Cuse ive
  installed xchat from the freebsd cd.Im running a proxy and ive set it
  up but it doesnt want to work. my proxy server is correct cause i can
  connect through it with mirc for windows.Help please.
 
 Don't know about socks4, but:

Also nylon and dante, which don't have the annoying license problems
that the socks5 reference implementation does, and seem to be more
actively maintained.

Kris


pgp0.pgp
Description: PGP signature


Re: socks

2003-06-22 Thread Shantanu Mahajan
+-- Ian Todd [freebsd] [22-06-03 13:08 +0200]:
| Hi
| 
| I am wondering does freebsd support socks4? If so how do u enable it
| or dont u need to enable it or do u need to install it? Cuse ive
| installed xchat from the freebsd cd.Im running a proxy and ive set it
| up but it doesnt want to work. my proxy server is correct cause i can
| connect through it with mirc for windows.Help please.
| 
| regards
| ian
I think this has nothing to with FreeBSD. Its a xchat
prob. You should set the proxy setting of xchat. Check
out the 
Settings-Preferences-Network-Network Setup.

xchat supports HTTP, SOCKS4, SOCKS5 and Wingate proxy.

Regards,
Shantanu
-- 
To see how long it takes a command to run, type the word time before the
command name.
-- Dru [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]