Socks Help needed

Socks Help needed

Post by Daniel Crows » Wed, 27 Sep 1995 04:00:00



        I've been playing around with socks 4.2b for a couple days under
Linux, but I'm not having any results.  I'm hoping maybe you can point
me in the right direction.

        I have two networks, 192.168.11.0 and 198.99.176.0.  The linux
box with the sockd can talk to both networks fine.  

        My problems come up with I try to connect using WS_FTP and/or
Netscape on a Windows PC on the 192.168.11.0 network.

                       Linux Box
                ------------------------------------
                |                                  |
198.99.176.0 -> |198.99.176.250      192.168.11.250| <- 192.168.11.0
                |  eth0                    tr0     |
                ------------------------------------

        Here's what my configuration files look like:

Script started on Sat Mar 15 18:48:18 1980
[root] test:/usr/local/etc > cat sockd.conf
permit  192.168.11.0    255.255.255.0
permit  198.99.176.0    255.255.255.0
deny    0.0.0.0 0.0.0.0

[root] test:/usr/local/etc > cat socks.conf

deny    0.0.0.0 0.0.0.0 : echo "SOCKS: reject from %S from %u to %z" >> /usr/adm/messages

[root] test:/usr/local/etc > cat sockd.route
192.168.11.250  198.99.176.0    255.255.255.0

        Here's a test I used on the linux box.  192.168.11.251 is the Windows
PC...

[root] test:/usr/local/etc > test_sockd_conf root 192.168.11.251 198.99.176.1 te  lnet
USER:root,  SRC:192.168.11.251,  DST:198.99.176.1, PORT:23
Line 1: permit  192.168.11.0    255.255.255.0
==== Checking routing file (/usr/local/etc/sockd.route)...
Line 1: 192.168.11.250  198.99.176.0    255.255.255.0
[root] test:/usr/local/etc > ^D  exit

... According to this, it should work....

        But, on the linux box, I never get a sockd connection.  When I tried
to set nescape to use Socks (192.168.11.250:1080), nothing would happen on
the linux box (according to the logging I'm doing).  

        HELP!

Thanks,

Dan

---------------------------------------------------------------------------



      Chesterfield MO 63005           |    ^-- mail me here 1st
---------------------------------------------------------------------------

 
 
 

1. SOCKS help needed!

Urgent SOCKS help needed.

I have SOCKS and all it's components compiled for Linux.  sockd is
running and I have the config files set correctly (I think).  Here's the
problem: When I run rftp, rtelnet, etc. I get the error:
 read of GetDst: Unknown error
 ftp: connect: Unknown error
with 'ftp:' being whatever service I try.  If I comment out the lines in
/lib/Rconnect.c pertaining to GetDst and make it always return a good
number I then get:
 Service not available  or      Connection refused
What could cause this inability to access the world?  I am using
Socks4.2beta with Linux.

                                        Thanks,
                                                Wade C.

2. compile error - gcc

3. socks 5 ? Help needed...

4. VGA Card

5. Music: need Sox help

6. 'cron' or 'at'?

7. Need help with iptables rule(s) for socks server

8. PPPsetup script

9. Socks v5 Help Needed

10. Need help with SOCKS configuration

11. Socks.conf with two socks servers?

12. Available: Perl-5+SOCKS, mirror.pl+PASV+SOCKS, more perl5 fixes.

13. difference between sock->sport and sock->num