Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will soon meet a person who will play an important role in your life.


comp / comp.mail.uucp / Re: Connection issues

SubjectAuthor
* Connection issuesKyonshi
+* Re: Connection issuesGrant Taylor
|`- Re: Connection issuesKyonshi
`* Re: Connection issuesjayjwa
 `* Re: Connection issuesKyonshi
  `* Re: Connection issuesjayjwa
   `* Re: Connection issuesKyonshi
    `- Re: Connection issuesKyonshi

1
Subject: Connection issues
From: Kyonshi
Newsgroups: comp.mail.uucp
Organization: Erebor InterNetNews
Date: Sun, 29 Dec 2024 22:54 UTC
Path: news.eternal-september.org!eternal-september.org!ereborbbs.duckdns.org!.POSTED.p4fc72d54.dip0.t-ipconnect.de!not-for-mail
From: gmkeros@gmail.com (Kyonshi)
Newsgroups: comp.mail.uucp
Subject: Connection issues
Date: Sun, 29 Dec 2024 23:54:06 +0100
Organization: Erebor InterNetNews
Message-ID: <vksju6$6iv$1@ereborbbs.duckdns.org>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 29 Dec 2024 22:53:58 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="p4fc72d54.dip0.t-ipconnect.de:79.199.45.84";
logging-data="6751"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
View all headers

I am trying to set up a machine with a uucp connection via tcp, but
somehow I can't get the chat script right. The following is actually my
most successful attempt so far:

chat ogin: \L\r word: \P\r

This leads to the following in the Debug file (login and password replaced):

uucico esgaroth - (2024-12-29 23:43:14.17 30777) Calling system esgaroth
(port TCP)
uucico esgaroth - (2024-12-29 23:43:14.18 30777) DEBUG: icexpect:
Looking for 5 "ogin:"
uucico esgaroth - (2024-12-29 23:43:14.18 30777) DEBUG: icexpect: Got
"login:" (found it)
uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: fcsend: Writing
login "LOGIN\r\r"
uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: icexpect:
Looking for 5 "word:"
uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: icexpect: Got "
Password:" (found it)
uucico esgaroth - (2024-12-29 23:43:14.28 30777) DEBUG: fcsend: Writing
password "PASSWORD\r\r"
uucico esgaroth - (2024-12-29 23:43:14.28 30777) DEBUG: zget_uucp_cmd:
Got " uucico esgaroth - (2024-12-29 23:44:14.22 30777) ERROR: Line
disconnected " (error)
uucico esgaroth - (2024-12-29 23:44:14.22 30777) DEBUG: fconn_close:
Closing connection
uucico esgaroth - (2024-12-29 23:44:14.22 30777) DEBUG: Call failed: 4
(Handshake failed)

Does anyone know what might be the issue here? What am I missing?

Subject: Re: Connection issues
From: Grant Taylor
Newsgroups: comp.mail.uucp
Organization: TNet Consulting
Date: Mon, 30 Dec 2024 00:15 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Sun, 29 Dec 2024 18:15:45 -0600
Organization: TNet Consulting
Message-ID: <vksonh$863$1@tncsrv09.home.tnetconsulting.net>
References: <vksju6$6iv$1@ereborbbs.duckdns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 30 Dec 2024 00:15:45 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.11";
logging-data="8387"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <vksju6$6iv$1@ereborbbs.duckdns.org>
View all headers

On 12/29/24 16:54, Kyonshi wrote:
> I am trying to set up a machine with a uucp connection via tcp,

What TCP communications method are you using?

- UUCP directly on TCP/IP port 540
- UUCP over telnet
- UUCP over SSH
- something else?

> but somehow I can't get the chat script right.

The times that I've done this, I did UUCP over SSH. It provides
encryption and the authentication happens outside of UUCP. SSH keys are
nice. :-)

> The following is actually my most successful attempt so far:
>
> chat ogin: \L\r word: \P\r
>
> This leads to the following in the Debug file (login and password
> replaced):
>
> uucico esgaroth - (2024-12-29 23:43:14.17 30777) Calling system esgaroth
> (port TCP)
> uucico esgaroth - (2024-12-29 23:43:14.18 30777) DEBUG: icexpect:
> Looking for 5 "ogin:"
> uucico esgaroth - (2024-12-29 23:43:14.18 30777) DEBUG: icexpect: Got
> "login:" (found it)
> uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: fcsend: Writing
> login "LOGIN\r\r"
> uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: icexpect:
> Looking for 5 "word:"
> uucico esgaroth - (2024-12-29 23:43:14.22 30777) DEBUG: icexpect: Got "
> Password:" (found it)
> uucico esgaroth - (2024-12-29 23:43:14.28 30777) DEBUG: fcsend: Writing
> password "PASSWORD\r\r"
> uucico esgaroth - (2024-12-29 23:43:14.28 30777) DEBUG: zget_uucp_cmd:
> Got " uucico esgaroth - (2024-12-29 23:44:14.22 30777) ERROR: Line
> disconnected " (error)
> uucico esgaroth - (2024-12-29 23:44:14.22 30777) DEBUG: fconn_close:
> Closing connection
> uucico esgaroth - (2024-12-29 23:44:14.22 30777) DEBUG: Call failed: 4
> (Handshake failed)
>
> Does anyone know what might be the issue here? What am I missing?

I don't know what's going on.

But it looks like you might be trying to log in to esgaroth from
esgaroth, e.g. looping back into yourself. I'm not sure how well UUCP
tolerates that.

--
Grant. . . .

Subject: Re: Connection issues
From: jayjwa
Newsgroups: comp.mail.uucp
Organization: Atr2 RG 2024
Date: Mon, 30 Dec 2024 01:43 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: jayjwa@atr2.ath.cx.invalid (jayjwa)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Sun, 29 Dec 2024 20:43:01 -0500
Organization: Atr2 RG 2024
Message-ID: <875xn2ndy2.fsf@atr2.ath.cx>
References: <vksju6$6iv$1@ereborbbs.duckdns.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: i2pn2.org;
logging-data="1097115"; mail-complaints-to="usenet@i2pn2.org";
posting-account="89hVqYo70kCHTMYtSf9dSYD3vPORA7Nv/5rEKG6jbrc";
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:tcfVX4A62pot5ru0Eq84C9yfCT8=
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Always try to login by hand at first. Using Kermit or similar, connect
to the port and issue the username/password pair for that host. You
should see the "Shere=" UUCP string (or whatever it is - there's an S in
there). If this doesn't work, fix this first. Only once you can login
should you have UUCP automate it for you.

What is talking to what? Is this Taylor? Some common ones:

# DECUS 2.0 on VMS
chat "" \r\c sername:-BREAK-sername:-BREAK-sername: \L word: \P

# UUPC for Windows
chat ogin: \L ssword: \P

# Solaris HDB:
chat ogin: \L ssword: \P

# Minix3, also Taylor on Linux
chat ogin: \L ssword: \P

Check your logs, and run uucico by hand with debugging:
uucico -S whatever -x chat,handshake,port,config,incoming,outgoing

cu whatever

Should also get you to the remote prompt of system "whatever".

--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"

Subject: Re: Connection issues
From: Kyonshi
Newsgroups: comp.mail.uucp
Organization: Erebor InterNetNews
Date: Tue, 31 Dec 2024 11:57 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!ereborbbs.duckdns.org!.POSTED.p4fc72d54.dip0.t-ipconnect.de!not-for-mail
From: gmkeros@gmail.com (Kyonshi)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Tue, 31 Dec 2024 12:57:23 +0100
Organization: Erebor InterNetNews
Message-ID: <vl0m70$m7d$1@ereborbbs.duckdns.org>
References: <vksju6$6iv$1@ereborbbs.duckdns.org>
<vksonh$863$1@tncsrv09.home.tnetconsulting.net>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 31 Dec 2024 11:57:20 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="p4fc72d54.dip0.t-ipconnect.de:79.199.45.84";
logging-data="22765"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <vksonh$863$1@tncsrv09.home.tnetconsulting.net>
View all headers

On 12/30/2024 1:15 AM, Grant Taylor wrote:
> On 12/29/24 16:54, Kyonshi wrote:
>> I am trying to set up a machine with a uucp connection via tcp,
>
> What TCP communications method are you using?
>
>  - UUCP directly on TCP/IP port 540
>  - UUCP over telnet
>  - UUCP over SSH
>  - something else?
>

I am trying to connect directly via TCP.

>> but somehow I can't get the chat script right.
>
> The times that I've done this, I did UUCP over SSH.  It provides
> encryption and the authentication happens outside of UUCP.  SSH keys are
> nice.  :-)

They are, but this is already after I decided to troubleshoot down to
the basics. The issue also was present with SSH.

>> Does anyone know what might be the issue here? What am I missing?
>
> I don't know what's going on.
>
> But it looks like you might be trying to log in to esgaroth from
> esgaroth, e.g. looping back into yourself.  I'm not sure how well UUCP
> tolerates that.
>

It does look like it, doesn't it? But that's not what I am doing, this
debug log came from another machine. I am trying to reach the machine
esgaroth from a machine called erebor. And I can access either from each
other via ssh. And I clearly can access esgaroth from erebor because it
gives me the uucp login chat (and erebor from esgaroth looks the same).
And yet the handshake fails.
I feel like I am missing something very obvious.

Subject: Re: Connection issues
From: Kyonshi
Newsgroups: comp.mail.uucp
Organization: Erebor InterNetNews
Date: Tue, 31 Dec 2024 12:16 UTC
References: 1 2
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!newsfeed.xs3.de!ereborbbs.duckdns.org!.POSTED.p4fc72d54.dip0.t-ipconnect.de!not-for-mail
From: gmkeros@gmail.com (Kyonshi)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Tue, 31 Dec 2024 13:16:16 +0100
Organization: Erebor InterNetNews
Message-ID: <vl0nad$m7d$2@ereborbbs.duckdns.org>
References: <vksju6$6iv$1@ereborbbs.duckdns.org> <875xn2ndy2.fsf@atr2.ath.cx>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 31 Dec 2024 12:16:13 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="p4fc72d54.dip0.t-ipconnect.de:79.199.45.84";
logging-data="22765"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <875xn2ndy2.fsf@atr2.ath.cx>
View all headers

On 12/30/2024 2:43 AM, jayjwa wrote:
> Always try to login by hand at first. Using Kermit or similar, connect
> to the port and issue the username/password pair for that host. You
> should see the "Shere=" UUCP string (or whatever it is - there's an S in
> there). If this doesn't work, fix this first. Only once you can login
> should you have UUCP automate it for you.
>
> What is talking to what? Is this Taylor? Some common ones:
>

It's Taylor on Debian, talking to Taylor on Debian.

> # DECUS 2.0 on VMS
> chat "" \r\c sername:-BREAK-sername:-BREAK-sername: \L word: \P
>
> # UUPC for Windows
> chat ogin: \L ssword: \P
>
> # Solaris HDB:
> chat ogin: \L ssword: \P
>
> # Minix3, also Taylor on Linux
> chat ogin: \L ssword: \P
>
>
> Check your logs, and run uucico by hand with debugging:
> uucico -S whatever -x chat,handshake,port,config,incoming,outgoing
>
> cu whatever
>
> Should also get you to the remote prompt of system "whatever".
>

Hmm. I get the remote prompt for system esgaroth, but after entering the
password it does not do anything for a while, then closes the connection
with

cu: Got hangup signal
cu: Exit status 0
cu: fconn_close: Closing connection

Disconnected.

It seems to me I am getting a connection, and then it doesn't know what
to do with one another. I am getting a handshake failed error again.

Subject: Re: Connection issues
From: jayjwa
Newsgroups: comp.mail.uucp
Organization: Atr2 RG 2025
Date: Tue, 31 Dec 2024 19:23 UTC
References: 1 2 3
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: jayjwa@atr2.ath.cx.invalid (jayjwa)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Tue, 31 Dec 2024 14:23:50 -0500
Organization: Atr2 RG 2025
Message-ID: <87seq3odvd.fsf@atr2.ath.cx>
References: <vksju6$6iv$1@ereborbbs.duckdns.org> <875xn2ndy2.fsf@atr2.ath.cx>
<vl0nad$m7d$2@ereborbbs.duckdns.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: i2pn2.org;
logging-data="1378026"; mail-complaints-to="usenet@i2pn2.org";
posting-account="89hVqYo70kCHTMYtSf9dSYD3vPORA7Nv/5rEKG6jbrc";
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:bmqF/K90Ikq272bWOMooRjR5GpA=
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Kyonshi <gmkeros@gmail.com> writes:

> Hmm. I get the remote prompt for system esgaroth, but after entering
> the password it does not do anything for a while, then closes the
> connection with
>
> cu: Got hangup signal
> cu: Exit status 0
> cu: fconn_close: Closing connection
> Disconnected.
>
> It seems to me I am getting a connection, and then it doesn't know
> what to do with one another. I am getting a handshake failed error
> again.

Note 'cu' uses the uucp config files; if you do this with kermit you
might get a different response. If so, the issue is likely your config
files.

$ cu kirin
Connected.

Welcome to OpenVMS (TM) VAX Operating System, Version V7.3

Username: ~.

Disconnected.

Check for permissions on the remote system. My distro ships the binaries
so that only users in the "uucp" group can use them (changed). Check
your x/inetd stanza (whichever Debian uses) on the remote host.

-r-sr-xr-- 1 uucp uucp 287704 Oct 31 15:16 /usr/sbin/uucico
Debian might do things differently.

service uucp
{ flags = IPv6
socket_type = stream
protocol = tcp
wait = no
user = uucp
group = uucp
server = /usr/sbin/uucico
server_args = -l --debug chat,handshake,uucp-proto,proto,port,incoming
log_on_failure += USERID
log_on_success += USERID
}

Your "call" file should have something like:
remotehostyourcalling logintouseonremotehost theremotepassword

for each host you call. Taylor-to-Taylor, most defaults should work
otherwise.

--
PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
"The Internet should always be the Wild West!"

Subject: Re: Connection issues
From: Kyonshi
Newsgroups: comp.mail.uucp
Organization: Erebor InterNetNews
Date: Wed, 8 Jan 2025 14:28 UTC
References: 1 2 3 4 5
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!ereborbbs.duckdns.org!.POSTED.192.168.18.6!not-for-mail
From: gmkeros@gmail.com (Kyonshi)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Wed, 8 Jan 2025 15:28:11 +0100
Organization: Erebor InterNetNews
Message-ID: <vlm21o$gno$2@ereborbbs.duckdns.org>
References: <vksju6$6iv$1@ereborbbs.duckdns.org> <875xn2ndy2.fsf@atr2.ath.cx>
<vl0nad$m7d$2@ereborbbs.duckdns.org> <87seq3odvd.fsf@atr2.ath.cx>
<vlm1b8$gno$1@ereborbbs.duckdns.org>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 8 Jan 2025 14:28:08 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="192.168.18.6";
logging-data="17144"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <vlm1b8$gno$1@ereborbbs.duckdns.org>
View all headers

On 1/8/2025 3:16 PM, Kyonshi wrote:

>>
>
> I now have determined the issue to be that no inputs are sent via uucp
> or cu to the other system, except for carrier returns.
> I don't know why this is the case as it already works on other systems
> without a hitch (some are already connected via erebor), but only
> between those two new systems it just doesn't work.
>
> Ok, more investigation...

No, that's not true either, use of cu -h -d trying to connect to
esgaroth shows that it somehow only receives about half the keyboard
presses I make.

Subject: Re: Connection issues
From: Kyonshi
Newsgroups: comp.mail.uucp
Organization: Erebor InterNetNews
Date: Wed, 8 Jan 2025 14:16 UTC
References: 1 2 3 4
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!newsfeed.xs3.de!ereborbbs.duckdns.org!.POSTED.192.168.18.6!not-for-mail
From: gmkeros@gmail.com (Kyonshi)
Newsgroups: comp.mail.uucp
Subject: Re: Connection issues
Date: Wed, 8 Jan 2025 15:16:11 +0100
Organization: Erebor InterNetNews
Message-ID: <vlm1b8$gno$1@ereborbbs.duckdns.org>
References: <vksju6$6iv$1@ereborbbs.duckdns.org> <875xn2ndy2.fsf@atr2.ath.cx>
<vl0nad$m7d$2@ereborbbs.duckdns.org> <87seq3odvd.fsf@atr2.ath.cx>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 8 Jan 2025 14:16:08 -0000 (UTC)
Injection-Info: ereborbbs.duckdns.org; posting-host="192.168.18.6";
logging-data="17144"; mail-complaints-to="usenet@ereborbbs.duckdns.org"
User-Agent: Mozilla Thunderbird
In-Reply-To: <87seq3odvd.fsf@atr2.ath.cx>
Content-Language: en-US
View all headers

On 12/31/2024 8:23 PM, jayjwa wrote:
> Kyonshi <gmkeros@gmail.com> writes:
>
>> Hmm. I get the remote prompt for system esgaroth, but after entering
>> the password it does not do anything for a while, then closes the
>> connection with
>>
>> cu: Got hangup signal
>> cu: Exit status 0
>> cu: fconn_close: Closing connection
>> Disconnected.
>>
>> It seems to me I am getting a connection, and then it doesn't know
>> what to do with one another. I am getting a handshake failed error
>> again.
>
> Note 'cu' uses the uucp config files; if you do this with kermit you
> might get a different response. If so, the issue is likely your config
> files.
>
>
> $ cu kirin
> Connected.
>
>
> Welcome to OpenVMS (TM) VAX Operating System, Version V7.3
>
> Username: ~.
>
> Disconnected.
>
>
> Check for permissions on the remote system. My distro ships the binaries
> so that only users in the "uucp" group can use them (changed). Check
> your x/inetd stanza (whichever Debian uses) on the remote host.
>
> -r-sr-xr-- 1 uucp uucp 287704 Oct 31 15:16 /usr/sbin/uucico
> Debian might do things differently.
>
> service uucp
> {
> flags = IPv6
> socket_type = stream
> protocol = tcp
> wait = no
> user = uucp
> group = uucp
> server = /usr/sbin/uucico
> server_args = -l --debug chat,handshake,uucp-proto,proto,port,incoming
> log_on_failure += USERID
> log_on_success += USERID
> }
>
> Your "call" file should have something like:
> remotehostyourcalling logintouseonremotehost theremotepassword
>
> for each host you call. Taylor-to-Taylor, most defaults should work
> otherwise.
>

I now have determined the issue to be that no inputs are sent via uucp
or cu to the other system, except for carrier returns.
I don't know why this is the case as it already works on other systems
without a hitch (some are already connected via erebor), but only
between those two new systems it just doesn't work.

Ok, more investigation...

1

rocksolid light 0.9.8
clearnet tor