Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 21:48:23 -0500
From:      Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>
To:        "Kailas Ramasamy" <kailasr@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Bridging console port to a telnet session
Message-ID:  <17837.36471.343582.464631@bhuda.mired.org>
In-Reply-To: <ecd0bee40701161732v26112f24o2d8323c2777d2f7@mail.gmail.com>
References:  <ecd0bee40701161503k385819ddgba5562e137630617@mail.gmail.com> <17837.25293.686122.147525@bhuda.mired.org> <ecd0bee40701161732v26112f24o2d8323c2777d2f7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <ecd0bee40701161732v26112f24o2d8323c2777d2f7@mail.gmail.com>, Kailas Ramasamy <kailasr@gmail.com> typed:
> Hi Mike,
> Yes, that what I am planing but I want to do this dynamically. Do you know
> how to launch a
> telnet session from a process?. How do I pass stdin and stdout to the telnet
> from a process?.

See the fork() and exec() man pages.

	<mike


> On 1/16/07, Mike Meyer <mwm@mired.org> wrote:
> >
> > In <ecd0bee40701161503k385819ddgba5562e137630617@mail.gmail.com>, Kailas
> > Ramasamy <kailasr@gmail.com> typed:
> > > Hi,
> > > Within a FreeBSD system, I want to telnet to another system and bridge
> > that
> > > session to the
> > > console port so that when an user connects to the system via console
> > port,
> > > it is automatically
> > > redirected to other system for I have already established a telnet
> > session.
> >
> > What's wrong with simply leaving a telnet session running on the
> > console, maybe with some support to relaunch it should it ever exit?
> >
> >         <mike
> > --
> > Mike Meyer <mwm@mired.org>
> > http://www.mired.org/consulting.html
> > Independent Network/Unix/Perforce consultant, email for more information.
> >
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> 

-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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