On Jun 17, 9:08 pm, David Schwartz <dav...@webmaster.com> wrote:
> On Jun 17, 3:19 am, mituag <mit...@gmail.com> wrote:
>
> > I have a linux device on which telnetd server is running.
> > When I connect to this device through the windows command prompt I see
> > that there are some negotiations going on between the server and the
> > client.
>
> > Once the negotiations are done I see a "login" at the prompt.
>
> > Now, when I try to connect to the same device through my application,
> > I do not see the login prompt as the server is waiting for some
> > response. But currently there is no implementation in my application
> > to respond to the server to carry out the negotiations.
>
> > How can I suppress these negotiations?
> > Is there any option in telnetd which can be set on the device which is
> > running the telnet server so that we can skip the negotiations?
>
> If you want to connect to a telnet server, your application has to be
> a telnet client.
>
> Spend the five minutes to write a simple 'refuse everything, ask for
> nothing' responder to telnet options.
>
> DS
Yes that is one possible way.
But since we do not want to get into the implementation of telnet
protocol we are not doing that.
Wont that require complete knowledge on the telnet protocol? Currently
we just use telnet as means of accessing the device and loading
software/changing few settings on the device.
We have another device which is linux based and runs a telnet server.
When we connect to this we see that there are no negotiations
whatsoever either from windows telnet client or from the application
which I have developed.
The config of this device is
ViBE 61

just a name/type of the device)
Linux localhost 2.4.20-rthal5-TRACE #7 Thu Aug 24 09:44:01 CEST 2006
ppc
And the config of the device which carries out the negotiations is
XMU-64

just a name/type of device)
Linux y 2.6.17.1-XMU_FIRM_01.00.004_CG #1 SMP Wed Jan 3 16:01:00 CET
2007 i686
686 i386 GNU/Linux
Mitesh