Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* problem with Dante socks server
@ 2002-03-16 22:44 Joe Shirez
  2002-04-03 21:47 ` Peter Derr
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Shirez @ 2002-03-16 22:44 UTC (permalink / raw)


I am having a problem with the dante socks server (v1.1.11 from
http://www.inet.no/dante/).  The server compiles and runs fine, but when I
connect from a client the client connects and immediately disconnects.  The
server produces the following output:

Mar 16 16:42:12 sockd[1058836]: dante/server v1.1.11 running
Mar 16 16:42:12 sockd[1069087]: created new iochild
Mar 16 16:42:33 sockd[1058836]: got accept(): 192.168.1.142.64594
Mar 16 16:42:33 sockd[1058836]: send_client(): sendmsg(): Bad file number
(errno = 9)
Mar 16 16:42:33 sockd[1058836]: removechild(): 1065650
Mar 16 16:42:33 sockd[1065650]: recv_negotiate(): recvmsg(): mother closed
connection
Mar 16 16:42:33 sockd[1065893]: created new negotiatorchild

The OS version is "Compaq Tru64 UNIX V5.1 (Rev. 732); Wed Nov 21 07:14:41
CST 2001".

Any ideas?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with Dante socks server
  2002-03-16 22:44 problem with Dante socks server Joe Shirez
@ 2002-04-03 21:47 ` Peter Derr
  2002-04-04 17:03   ` Peter Derr
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Derr @ 2002-04-03 21:47 UTC (permalink / raw)


I ported the v1.1.10 Dante server and included it in the Internet Express
for Tru64 UNIX product, starting with our V5.7 November 2001 release (1.1.9
was in the V5.6 July 2001 release).  You can read more about Internet
Express at http://www.tru64unix.compaq.com/internet/osis.htm .

If you want my ported sources you can download it from
http://ftp.digital.com/pub/DEC/IAS/dante-1.1.10.tar.Z .  No guarantees that
it will build out-of-the-box in your environment, though.

I'll be working on porting Dante 1.1.11 or 1.1.12 for out Internet Express
V5.9 release (due out in July).  Hopefully I'll get it done in time.  Did
you have to make any changes to get it working as far as you have?


Peter Derr
Compaq Tru64 UNIX Internet Engineering Group


"Joe Shirez" <b@b.com> wrote in message
news:qVPk8.10235$KY6.519616@typhoon.austin.rr.com...
> I am having a problem with the dante socks server (v1.1.11 from
> http://www.inet.no/dante/).  The server compiles and runs fine, but when I
> connect from a client the client connects and immediately disconnects.
The
> server produces the following output:
>
> Mar 16 16:42:12 sockd[1058836]: dante/server v1.1.11 running
> Mar 16 16:42:12 sockd[1069087]: created new iochild
> Mar 16 16:42:33 sockd[1058836]: got accept(): 192.168.1.142.64594
> Mar 16 16:42:33 sockd[1058836]: send_client(): sendmsg(): Bad file number
> (errno = 9)
> Mar 16 16:42:33 sockd[1058836]: removechild(): 1065650
> Mar 16 16:42:33 sockd[1065650]: recv_negotiate(): recvmsg(): mother closed
> connection
> Mar 16 16:42:33 sockd[1065893]: created new negotiatorchild
>
> The OS version is "Compaq Tru64 UNIX V5.1 (Rev. 732); Wed Nov 21 07:14:41
> CST 2001".
>
> Any ideas?
>
>
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with Dante socks server
  2002-04-03 21:47 ` Peter Derr
@ 2002-04-04 17:03   ` Peter Derr
  2002-04-12 19:08     ` Luke L. Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Derr @ 2002-04-04 17:03 UTC (permalink / raw)


I just downloaded and built Dante v1.1.12-pre1 and in very limited testing
it seems to work.
I'm using Tru64 UNIX V5.1.

I defined these environment variables before running configure:

CC=cc
MAKE=/usr/local/bin/make
INSTALL=/usr/bin/installbsd
AWK=/usr/bin/awk
NM=/usr/bin/nm


I edited configure to remove "-oldc" from comp_flags in the alpha*-dec-osf*
case.

You need gnu make (I have it as /usr/local/bin/make ; change your MAKE env
var as requred)
I believe you also need bison (e.g., /usr/local/bin/bison).

Then I just ran ./configure and then $MAKE and it built without errors, just
a few Warnings about function pointer prototypes.

My test system only has one NIC so the internal and external addresses are
the same in sockd.conf, and my authentication method is "none".   I
configured Netscape Communicator to use it as SOCKS proxy, and I can confirm
the connections in /var/adm/syslog.dated/current/daemon.log :


Apr  4 11:23:16 redwood sockd[194569]: dante/server v1.1.12-pre1 running
Apr  4 11:24:47 redwood sockd[194515]: created new negotiatorchild
Apr  4 11:24:48 redwood sockd[194598]: pass(1): tcp/connect [:
16.141.0.94.1502 -> 16.140.32.67.8080
Apr  4 11:24:48 redwood sockd[194510]: created new requestchild
Apr  4 11:24:48 redwood sockd[194623]: created new iochild
Apr  4 11:24:57 redwood sockd[194598]: pass(1): tcp/connect [:
16.141.0.94.1503 -> 16.140.32.67.8080
Apr  4 11:24:57 redwood sockd[194625]: created new iochild
Apr  4 11:25:00 redwood sockd[194598]: pass(1): tcp/connect [:
16.141.0.94.1504 -> 16.140.32.67.8080



Peter




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problem with Dante socks server
  2002-04-04 17:03   ` Peter Derr
@ 2002-04-12 19:08     ` Luke L. Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Luke L. Liu @ 2002-04-12 19:08 UTC (permalink / raw)


I am also trying to get Dante working in our enviroment.
First attempt, I encounter the same problem Joe posted
when I run netscape using SOCKS proxy from another Alpha machine
 
Apr 12 10:34:35 ges1 sockd[12958]: got accept(): 192.0.1.16.1492
Apr 12 10:34:35 ges1 sockd[12958]: send_client(): sendmsg(): Bad file
number (errno = 9)
Apr 12 10:34:35 ges1 sockd[12958]: removechild(): 12825

Then I follow Peter's suggestion setenv CC cc,
setenv INSTALL /usr/bin/installbsd and retry configure again make
Here is what I get

Apr 12 13:35:11 ges1 sockd[12870]: dante/server v1.1.12-pre1 running
Apr 12 13:35:32 ges1 sockd[12870]: got accept(): 192.0.1.16.2630
Apr 12 13:35:32 ges1 sockd[12962]: accessmatch(): method: none,
192.0.1.16.2630 -> 192.0.1.1.1080
Apr 12 13:35:32 ges1 sockd[12962]: addressmatch(): address:
192.0.1.0/24, tcp: 1, udp : 1, op: range, end: 65535, 192.0.1.16.2630,
tcp, 0
Apr 12 13:35:32 ges1 sockd[12962]: addressmatch(): address: 0.0.0.0/0,
tcp: 0, udp : 0, op: none, end: 0, 192.0.1.1.1080, tcp, 0
Apr 12 13:35:32 ges1 sockd[12962]: pass(1): tcp/accept [:
192.0.1.16.2630 -> 192.0.1.1.1080
Apr 12 13:35:32 ges1 sockd[12763]: created new negotiatorchild
Apr 12 13:35:32 ges1 sockd[12962]: unknown version 71 in request
Apr 12 13:35:32 ges1 sockd[12962]: pass(1): tcp/accept ]:
192.0.1.16.2630 -> 192.0.1.1.1080: socks protocol error

Any thought on what could be the problem?

Our server is OSF1 ges1 V4.0 878 alpha
The client which I launch the netscape is OSF1 ges16 V5.0 910 alpha


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-12 19:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-16 22:44 problem with Dante socks server Joe Shirez
2002-04-03 21:47 ` Peter Derr
2002-04-04 17:03   ` Peter Derr
2002-04-12 19:08     ` Luke L. Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox