Re: pledge: telnet should not verify if hostname is a fully qualified domain

2016-05-03 Thread Theo de Raadt
>I would like to just drop that part of code. Any OK's, comments? No kidding! Kill it. >Index: commands.c >=== >RCS file: /cvs/src/usr.bin/telnet/commands.c,v >retrieving revision 1.83 >diff -u -p -r1.83 commands.c >--- commands.c

Re: pledge: telnet should not verify if hostname is a fully qualified domain

2016-05-02 Thread Chris Cappuccio
Adam Wolk [adam.w...@tintagel.pl] wrote: > > I would like to just drop that part of code. Any OK's, comments? > Please do. It's utterly useless. ok chris@ > Index: commands.c > === > RCS file: /cvs/src/usr.bin/telnet/commands.c,v >

pledge: telnet should not verify if hostname is a fully qualified domain

2016-05-02 Thread Adam Wolk
Hi tech@, I have been noticing coredumps from telnet on my laptop for some time now and finally found an evening to investigate it. The typical use case: $ telnet localhost 22 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SSH-2.0-OpenSSH_7.2 ^] telnet> quit Connection

pledge telnet

2015-11-13 Thread Theo de Raadt
I really want to delete telnet entirely, but there are still occasions when someone might want to use it on an intranet. Other telnet tools are probably worse shape. This adds two pledge calls. The subshell and skey support are removed (you can use ^Z), and you cannot start a new telnet

Re: pledge telnet

2015-11-13 Thread Theo de Raadt
> > I really want to delete telnet entirely, > > I often use it for testing unencrypted SMTP and HTTP across the > Internet. Which tool would you recommend for that purpose? nc(1). > You might wish to cross-check these three points though: > > * Does "inet" actually allow the following

Re: pledge telnet

2015-11-13 Thread Ingo Schwarze
Hi Theo, Theo de Raadt wrote on Fri, Nov 13, 2015 at 01:36:23AM -0700: > I really want to delete telnet entirely, I often use it for testing unencrypted SMTP and HTTP across the Internet. Which tool would you recommend for that purpose? > but there are still occasions when someone might want

Re: pledge telnet

2015-11-13 Thread Stuart Henderson
On 2015/11/13 09:59, Theo de Raadt wrote: > > > I really want to delete telnet entirely, > > > > I often use it for testing unencrypted SMTP and HTTP across the > > Internet. Which tool would you recommend for that purpose? > > nc(1). I use telnet fairly often for connecting to things like

Re: pledge telnet

2015-11-13 Thread Todd C. Miller
On Fri, 13 Nov 2015 17:52:21 +0100, Ingo Schwarze wrote: > I often use it for testing unencrypted SMTP and HTTP across the > Internet. Which tool would you recommend for that purpose? nc - todd

Re: pledge telnet

2015-11-13 Thread Theo de Raadt
> > > > I really want to delete telnet entirely, > > > > > > I often use it for testing unencrypted SMTP and HTTP across the > > > Internet. Which tool would you recommend for that purpose? > > > > nc(1). > > I use telnet fairly often for connecting to things like crappy switches, > crappy

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
On Fri, Nov 13, 2015 at 8:40 PM, Theo de Raadt wrote: >> > On 2015/11/13 09:59, Theo de Raadt wrote: >> > > > > I really want to delete telnet entirely, >> > > > >> > > > I often use it for testing unencrypted SMTP and HTTP across the >> > > > Internet. Which tool would

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
On Fri, Nov 13, 2015 at 9:00 PM, Theo de Raadt wrote: >> It is similar to (optional) XMODEM/ZMODEM disciplines over serial, IMO. > > No, it is similar to over the INTERNET, because the INTERNET > is nothing at all like a serial line, the later generally being nicely >

Re: pledge telnet

2015-11-13 Thread Alexey Suslikov
Stuart Henderson wrote: > On 2015/11/13 09:59, Theo de Raadt wrote: > > > > I really want to delete telnet entirely, > > > > > > I often use it for testing unencrypted SMTP and HTTP across the > > > Internet. Which tool would you recommend for that purpose? > > > > nc(1). > I use telnet fairly

Re: pledge telnet

2015-11-13 Thread Theo de Raadt
> > On 2015/11/13 09:59, Theo de Raadt wrote: > > > > > I really want to delete telnet entirely, > > > > > > > > I often use it for testing unencrypted SMTP and HTTP across the > > > > Internet. Which tool would you recommend for that purpose? > > > > > > nc(1). > > I use telnet fairly often for

Re: pledge telnet

2015-11-13 Thread Theo de Raadt
> It is similar to (optional) XMODEM/ZMODEM disciplines over serial, IMO. No, it is similar to over the INTERNET, because the INTERNET is nothing at all like a serial line, the later generally being nicely contained to a single room. > The goal is to delete classic telnet entirely and make it

Re: pledge telnet

2015-11-13 Thread Theo de Raadt
> Can telnet be extended to coexist with nc -F? Manual only mentions ssh. Please don't email while driving your horse buggy.