Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2016 21:30:15 +0200
From:      Eduardo Morras <emorrasg@yahoo.es>
To:        freebsd-questions@freebsd.org
Cc:        Matthias Apitz <guru@unixarea.de>
Subject:   Re: talking with chat(1) like tool to a socket
Message-ID:  <20160425213015.8db2da70ba7a489e9c19a1c4@yahoo.es>
In-Reply-To: <20160425100944.GA3789@c720-r292778-amd64>
References:  <20160425100944.GA3789@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Apr 2016 12:09:44 +0200
Matthias Apitz <guru@unixarea.de> wrote:

> 
> Hello,
> 
> In the GOD of modems and PPP I was used to use chat to talk and
> initialize modems based on some send/expect scripts...
> 
> I would like to use the same logic of such script to talk to a remote
> server (IP+port) which understands commands in text and does respond
> with text.

It'll be insecure, chat(1) uses plain text. Perhaps you want someting like telnet over tls or ssh?

> Any idea before hacking the C-code of chat(1)?
> 
> Thanks
> 
> 	matthias

---   ---
Eduardo Morras <emorrasg@yahoo.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160425213015.8db2da70ba7a489e9c19a1c4>