Re: PPP via telnet

Tres Melton (tres@chaffee.net)
Thu, 28 Aug 1997 21:02:39 -0600 (MDT)

I have not seen this work ... but there is a way to establish a connection
PPP through telnet. Once upon a time, while reading the documentation
that comes with Linux, I found a set of programs that were designed to
work after dialing into a UN*X machine and logging in via 'login'. The
programs actually entered network interfaces (via ifconfig) and added
routing information into the kernel. The instructions said that this
would work with any kind of connection that allowed ASCII text to be sent
back and forth and the ability of both machines in question to execute the
client and server respectivly (and have kernel level network drivers). It
accomplished this by converting all nonprintable characters into printable
ones and transmitting them. The process was reversed on the other end.

Once again, I have not seen this work! I was however interested enough to
read the entire document and remember it for the last couple of years.

If you can dial into a PMx and get a passthrough connection to a Linux
server (ie. Telnet, Rlogin, or Livingston's proprietary system) from a
Linux server then this should work. Without rewriting the ComOS (actually
the Telnet daemon in the ComOS) to add this feature, there is NO way that
a PMx will perform this task. It should however pass off all of the
necessary information to the host you were passed off to thereby allowing
the server to perform this little trick.

The bottom line is that this is probably more work than it is worth!!!

On Wed, 27 Aug 1997, Adam Goryachev wrote:
> John Storms wrote:
> >
> > At 07:42 AM 8/25/97 -0700, Jason Godsey wrote:
> > >
> > >is it possible to have the pm3 establish a ppp connection via telnet?
> > I
> > >am currently trying to do it via pppd in bsb but cannot seem to get
> > the
> > >routing correct
> >
> > The reason this will not work is because Telnet is a network
> > application
> > that requires a TCP socket. In order to have a TCP socket you must
> > have a
> > network connection which is obtained by negotiating PPP. So your
> > prblem
> > have a "which comes first, the chicken or the egg?" syndrome.
>
> After seeing a number of these type of responses to this question, I again find
> myself thinking, "Is that what he really wanted to do??", and I come up with
> the following:
> Maybe what he meant is "Can I get a telnet session between the portmaster and
> 'some other machine' and then run PPP over that telnet session, ie, doing what
> IPIP does... The answer is, I doubt it very much, certainly you could do this
> between two *NIX boxes, but very very unlikely including one or both ends with
> a portmaster....
>
> Perhaps someone else can comment on that???
>
> Regards,
> Adam Goryachev
> adamg@dot.net.au
>

Tres
tres@chaffee.net

--If you think it to be idiot proof,
then you haven't met the "Latest 'n Greatest" idiot!