Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > uk.comp.sys.mac > #119721 > unrolled thread
| Started by | Ian McCall <ian@eruvia.org> |
|---|---|
| First post | 2017-10-04 00:29 +0100 |
| Last post | 2017-10-08 06:53 +0100 |
| Articles | 20 on this page of 35 — 12 participants |
Back to article view | Back to uk.comp.sys.mac
High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 00:29 +0100
Re: High Sierra - telnet gone? dempson@actrix.gen.nz (David Empson) - 2017-10-04 13:26 +1300
Re: High Sierra - telnet gone? italiancar@gmail.com (Steve H) - 2017-10-04 07:49 +0100
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 09:27 +0100
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 08:48 +0000
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 13:13 +0200
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 13:09 +0200
Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 10:20 -0400
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-04 16:59 +0200
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 15:20 +0000
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-04 21:19 +0100
Re: High Sierra - telnet gone? Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-04 21:25 +0100
Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 16:32 -0400
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-04 21:07 +0000
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 10:08 +0100
Re: High Sierra - telnet gone? richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-10-05 09:17 +0000
Re: High Sierra - telnet gone? real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2017-10-06 15:50 +0100
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 09:27 +0000
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 11:52 +0100
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 11:04 +0000
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 12:38 +0100
Re: High Sierra - telnet gone? Ian McCall <ian@eruvia.org> - 2017-10-05 12:42 +0100
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 11:44 +0000
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 13:29 +0200
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 12:41 +0200
Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-04 11:35 -0400
Re: High Sierra - telnet gone? Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-04 17:55 +0100
Re: High Sierra - telnet gone? Paul Sture <nospam@sture.ch> - 2017-10-05 02:14 +0200
Re: High Sierra - telnet gone? Chris Ridd <chrisridd@mac.com> - 2017-10-04 19:13 +0100
Re: High Sierra - telnet gone? stk.usenet@haller-berlin.de (Stefan Haller) - 2017-10-05 09:10 +0200
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-05 08:53 +0000
Re: High Sierra - telnet gone? nospam <nospam@nospam.invalid> - 2017-10-05 09:49 -0400
Re: High Sierra - telnet gone? italiancar@gmail.com (Steve H) - 2017-10-07 15:06 +0100
Re: High Sierra - telnet gone? Huge <Huge@nowhere.much.invalid> - 2017-10-07 15:55 +0000
Re: High Sierra - telnet gone? Ray <buggeroff@outlook.corn> - 2017-10-08 06:53 +0100
Page 1 of 2 [1] 2 Next page →
| From | Ian McCall <ian@eruvia.org> |
|---|---|
| Date | 2017-10-04 00:29 +0100 |
| Subject | High Sierra - telnet gone? |
| Message-ID | <f3ikqdFrvgfU1@mid.individual.net> |
Telnet seems to have gone from High Sierra. This is a Very Bad Thing(tm) from my perspective, I didn't use it for login shells anywhere rather I used it to check that sockets were responding on various servers. Drat. And double drat. Cheers, Ian -- Check out Proto the album: <http://studioicm.com/proto/>
[toc] | [next] | [standalone]
| From | dempson@actrix.gen.nz (David Empson) |
|---|---|
| Date | 2017-10-04 13:26 +1300 |
| Message-ID | <1nddgsw.x2whc017fcs3N%dempson@actrix.gen.nz> |
| In reply to | #119721 |
Ian McCall <ian@eruvia.org> wrote: > Telnet seems to have gone from High Sierra. This is a Very Bad > Thing(tm) from my perspective, I didn't use it for login shells > anywhere rather I used it to check that sockets were responding on > various servers. Both telnet and ftp command line tools are gone. Apparently you can copy telnet from a 10.12.6 install (put it in /usr/local/bin as you won't be able to modify /usr/bin without playing with SIP and Apple would probably delete it again on future updates). Another solution if you only need connectivity testing is netcat (nc): nc -w 0 -v host port The -w 0 option means it closes the connection immediately after establishing it (0 second idle timeout). The -v option gives verbose details including telling you it connected (without that you can't tell). -- David Empson dempson@actrix.gen.nz
[toc] | [prev] | [next] | [standalone]
| From | italiancar@gmail.com (Steve H) |
|---|---|
| Date | 2017-10-04 07:49 +0100 |
| Message-ID | <1ndd1q4.19nbwm81gojen9N%italiancar@gmail.com> |
| In reply to | #119722 |
David Empson <dempson@actrix.gen.nz> wrote: > Ian McCall <ian@eruvia.org> wrote: > > > Telnet seems to have gone from High Sierra. This is a Very Bad > > Thing(tm) from my perspective, I didn't use it for login shells > > anywhere rather I used it to check that sockets were responding on > > various servers. > > Both telnet and ftp command line tools are gone. Really?! I still use FTP. Actually find it nicer to use than any of the GUI alternatives. -- Steve H
[toc] | [prev] | [next] | [standalone]
| From | Ian McCall <ian@eruvia.org> |
|---|---|
| Date | 2017-10-04 09:27 +0100 |
| Message-ID | <f3jkbjF417mU1@mid.individual.net> |
| In reply to | #119724 |
On 2017-10-04 06:49:50 +0000, italiancar@gmail.com (Steve H) said: > I still use FTP. Actually find it nicer to use than any of the GUI > alternatives. sftp will be there, but telnet isn't. Telnet I use for connectivity testing and also typing commands into protocols (e.g. setting up HomeBridge I tested by opening sockets to various devices and raw typing their protocol). Will have to get one compiled-up. Cheers, Ian -- Check out Proto the album: <http://studioicm.com/proto/>
[toc] | [prev] | [next] | [standalone]
| From | Huge <Huge@nowhere.much.invalid> |
|---|---|
| Date | 2017-10-04 08:48 +0000 |
| Message-ID | <f3jlj3F49gaU1@mid.individual.net> |
| In reply to | #119727 |
On 2017-10-04, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-04 06:49:50 +0000, italiancar@gmail.com (Steve H) said:
>
>> I still use FTP. Actually find it nicer to use than any of the GUI
>> alternatives.
>
>
> sftp will be there, but telnet isn't. Telnet I use for connectivity
> testing and also typing commands into protocols (e.g. setting up
> HomeBridge I tested by opening sockets to various devices and raw
> typing their protocol).
netcat is better for that, anyway.
--
Today is Boomtime, the 58th day of Bureaucracy in the YOLD 3183
I don't have an attitude problem.
If you have a problem with my attitude, that's your problem.
[toc] | [prev] | [next] | [standalone]
| From | Paul Sture <nospam@sture.ch> |
|---|---|
| Date | 2017-10-04 13:13 +0200 |
| Message-ID | <lbseae-7sg1.ln1@news2.chingola.ch> |
| In reply to | #119727 |
On 2017-10-04, Ian McCall <ian@eruvia.org> wrote: > On 2017-10-04 06:49:50 +0000, italiancar@gmail.com (Steve H) said: > >> I still use FTP. Actually find it nicer to use than any of the GUI >> alternatives. > > > sftp will be there, but telnet isn't. Telnet I use for connectivity > testing and also typing commands into protocols (e.g. setting up > HomeBridge I tested by opening sockets to various devices and raw > typing their protocol). Ditto. Was handy back in the day for testing SMTP connections, but I don't run my own mailserver any more. That does leave NNTP, but I really ought to look at moving that to a secure connection. > Will have to get one compiled-up. Or Linux/Unix VMs for the occasional times you need it. -- Everybody has a testing environment. Some people are lucky enough to have a totally separate environment to run production in.
[toc] | [prev] | [next] | [standalone]
| From | Paul Sture <nospam@sture.ch> |
|---|---|
| Date | 2017-10-04 13:09 +0200 |
| Message-ID | <i4seae-7sg1.ln1@news2.chingola.ch> |
| In reply to | #119724 |
On 2017-10-04, Steve H <italiancar@gmail.com> wrote: > David Empson <dempson@actrix.gen.nz> wrote: > >> Ian McCall <ian@eruvia.org> wrote: >> >> > Telnet seems to have gone from High Sierra. This is a Very Bad >> > Thing(tm) from my perspective, I didn't use it for login shells >> > anywhere rather I used it to check that sockets were responding on >> > various servers. >> >> Both telnet and ftp command line tools are gone. > > Really?! > > I still use FTP. Actually find it nicer to use than any of the GUI > alternatives. ftp has gone here. As per David's suggestion for telnet, I can probably copy it from the Sierra clone I made before upgrading to High Sierra On the other hand I've got planty of Linux / Unix VMs I can use instead. I did hae an ftp share directory on one Mac, specifically for ease of copying, which seems to have disappeared. As above, that could move into an ftp capable VM Footnote from the APFS notes. APFS no longer supports Appletalk (AFP) shares, only NFS and Samba now. -- Everybody has a testing environment. Some people are lucky enough to have a totally separate environment to run production in.
[toc] | [prev] | [next] | [standalone]
| From | nospam <nospam@nospam.invalid> |
|---|---|
| Date | 2017-10-04 10:20 -0400 |
| Message-ID | <041020171020319694%nospam@nospam.invalid> |
| In reply to | #119724 |
In article <1ndd1q4.19nbwm81gojen9N%italiancar@gmail.com>, Steve H <italiancar@gmail.com> wrote: > > > > > Telnet seems to have gone from High Sierra. This is a Very Bad > > > Thing(tm) from my perspective, I didn't use it for login shells > > > anywhere rather I used it to check that sockets were responding on > > > various servers. > > > > Both telnet and ftp command line tools are gone. > > Really?! > > I still use FTP. Actually find it nicer to use than any of the GUI > alternatives. ftp is not secure. use sftp instead.
[toc] | [prev] | [next] | [standalone]
| From | Paul Sture <nospam@sture.ch> |
|---|---|
| Date | 2017-10-04 16:59 +0200 |
| Message-ID | <8k9fae-hlk1.ln1@news2.chingola.ch> |
| In reply to | #119737 |
On 2017-10-04, nospam <nospam@nospam.invalid> wrote: > In article <1ndd1q4.19nbwm81gojen9N%italiancar@gmail.com>, Steve H ><italiancar@gmail.com> wrote: > >> > >> > > Telnet seems to have gone from High Sierra. This is a Very Bad >> > > Thing(tm) from my perspective, I didn't use it for login shells >> > > anywhere rather I used it to check that sockets were responding on >> > > various servers. >> > >> > Both telnet and ftp command line tools are gone. >> >> Really?! >> >> I still use FTP. Actually find it nicer to use than any of the GUI >> alternatives. > > ftp is not secure. use sftp instead. It isn’t as easy as that. There's a whole lot of hardware out there which doesn't support sftp. A quick check on my reasonably new router shows that ftp, telnet and ssh are supported, sftp isn't. FWIW I usually use scp in preference to sftp. -- Everybody has a testing environment. Some people are lucky enough to have a totally separate environment to run production in.
[toc] | [prev] | [next] | [standalone]
| From | Huge <Huge@nowhere.much.invalid> |
|---|---|
| Date | 2017-10-04 15:20 +0000 |
| Message-ID | <f3kciiF95c5U2@mid.individual.net> |
| In reply to | #119738 |
On 2017-10-04, Paul Sture <nospam@sture.ch> wrote:
> On 2017-10-04, nospam <nospam@nospam.invalid> wrote:
>> In article <1ndd1q4.19nbwm81gojen9N%italiancar@gmail.com>, Steve H
>><italiancar@gmail.com> wrote:
>>
>>> >
>>> > > Telnet seems to have gone from High Sierra. This is a Very Bad
>>> > > Thing(tm) from my perspective, I didn't use it for login shells
>>> > > anywhere rather I used it to check that sockets were responding on
>>> > > various servers.
>>> >
>>> > Both telnet and ftp command line tools are gone.
>>>
>>> Really?!
>>>
>>> I still use FTP. Actually find it nicer to use than any of the GUI
>>> alternatives.
>>
>> ftp is not secure. use sftp instead.
>
> It isn’t as easy as that. There's a whole lot of hardware out there
> which doesn't support sftp. A quick check on my reasonably new router
> shows that ftp, telnet and ssh are supported, sftp isn't.
>
> FWIW I usually use scp in preference to sftp.
scp != sftp != ftps
sftp should work to your router, given it has ssh.
As an ex IT security person, I highly commend Apple on this move.
--
Today is Boomtime, the 58th day of Bureaucracy in the YOLD 3183
I don't have an attitude problem.
If you have a problem with my attitude, that's your problem.
[toc] | [prev] | [next] | [standalone]
| From | Ian McCall <ian@eruvia.org> |
|---|---|
| Date | 2017-10-04 21:19 +0100 |
| Message-ID | <f3ku1rFdls2U1@mid.individual.net> |
| In reply to | #119739 |
On 2017-10-04 15:20:50 +0000, Huge <Huge@nowhere.much.invalid> said: > As an ex IT security person, I highly commend Apple on this move. ftp I can understand, but telnet? No-one's running telnet servers any more, telnet is for playing with socket-based APIs and services. Cheers, Ian -- Check out Proto the album: <http://studioicm.com/proto/>
[toc] | [prev] | [next] | [standalone]
| From | Jaimie Vandenbergh <jaimie@sometimes.sessile.org> |
|---|---|
| Date | 2017-10-04 21:25 +0100 |
| Message-ID | <rrgatc1r5pnn92gthu1s4u63noie6buoj5@4ax.com> |
| In reply to | #119743 |
On Wed, 4 Oct 2017 21:19:07 +0100, Ian McCall <ian@eruvia.org> wrote: >On 2017-10-04 15:20:50 +0000, Huge <Huge@nowhere.much.invalid> said: > >> As an ex IT security person, I highly commend Apple on this move. > >ftp I can understand, but telnet? No-one's running telnet servers any >more, telnet is for playing with socket-based APIs and services. Put a couple of hours into getting used to netcat, you won't regret it. Cheers - Jaimie -- I am always a bit unhappy when I spot a bit of text that made perfect sense in my brain but on passing through my fingers turned into a word salad suggesting that someone had jammed an ice pick into my head and stirred while I was typing. -- James Nicoll
[toc] | [prev] | [next] | [standalone]
| From | nospam <nospam@nospam.invalid> |
|---|---|
| Date | 2017-10-04 16:32 -0400 |
| Message-ID | <041020171632530271%nospam@nospam.invalid> |
| In reply to | #119743 |
In article <f3ku1rFdls2U1@mid.individual.net>, Ian McCall <ian@eruvia.org> wrote: > > > As an ex IT security person, I highly commend Apple on this move. > > ftp I can understand, but telnet? No-one's running telnet servers any > more, then there's no need for it anymore. > telnet is for playing with socket-based APIs and services. there are other options.
[toc] | [prev] | [next] | [standalone]
| From | Huge <Huge@nowhere.much.invalid> |
|---|---|
| Date | 2017-10-04 21:07 +0000 |
| Message-ID | <f3l0t3Feak0U1@mid.individual.net> |
| In reply to | #119743 |
On 2017-10-04, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-04 15:20:50 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>> As an ex IT security person, I highly commend Apple on this move.
>
> ftp I can understand, but telnet? No-one's running telnet servers any
> more,
In your dreams.
> telnet is for playing with socket-based APIs and services.
For which netcat is better.
--
Today is Boomtime, the 58th day of Bureaucracy in the YOLD 3183
I don't have an attitude problem.
If you have a problem with my attitude, that's your problem.
[toc] | [prev] | [next] | [standalone]
| From | Ian McCall <ian@eruvia.org> |
|---|---|
| Date | 2017-10-05 10:08 +0100 |
| Message-ID | <f3mb3sFn7rhU1@mid.individual.net> |
| In reply to | #119746 |
On 2017-10-04 21:07:47 +0000, Huge <Huge@nowhere.much.invalid> said: > >> telnet is for playing with socket-based APIs and services. > > For which netcat is better. Hmm. Can you use netcat for interactive? ie. the: telnet some.host.invalid EHLO MAIL From: ....etc... scenario? Note that mail testing is just an example, it's more getting access to interactive APIs on the other end. -Not- piping commands in or reading from a text file, pure interactive typing. If you can do that I'd be interested. Cheers, Ian -- Check out Proto the album: <http://studioicm.com/proto/>
[toc] | [prev] | [next] | [standalone]
| From | richard@cogsci.ed.ac.uk (Richard Tobin) |
|---|---|
| Date | 2017-10-05 09:17 +0000 |
| Message-ID | <or4tbo$hc3$1@macpro.inf.ed.ac.uk> |
| In reply to | #119752 |
In article <f3mb3sFn7rhU1@mid.individual.net>,
Ian McCall <ian@eruvia.org> wrote:
>Hmm. Can you use netcat for interactive?
>
>ie. the:
>
>telnet some.host.invalid
>EHLO
>MAIL From:
>....etc...
If not, it's easy to write a C program to do it. Here's one I wrote
some time ago. It will produce warnings when compiled because things
have changed since then...
/* Copyright Richard Tobin 1991 and 2017 */
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#define FAMILY(s) s.addr.sa_family
#define NAMELEN(s) (FAMILY(s) == AF_INET \
? sizeof(s.inaddr) \
: strlen(s.unaddr.sun_path) + sizeof(s.unaddr) - sizeof(s.unaddr.sun_path))
void usage();
int transfer();
int main(argc,argv)
char *argv[];
{
union {struct sockaddr addr;
struct sockaddr_un unaddr;
struct sockaddr_in inaddr;} s;
struct hostent *serverhost;
int fd, fd1, c, family = AF_UNSPEC, server = -1;
extern char *optarg;
extern int optind, opterr;
while((c = getopt(argc, argv, "uisc")) != EOF)
switch(c)
{
case 'u':
family = AF_UNIX;
break;
case 'i':
family = AF_INET;
break;
case 's':
server = 1;
break;
case 'c':
server = 0;
break;
default:
usage();
}
if(family == AF_UNSPEC || server == -1)
usage();
if((family == AF_UNIX && (argc - optind) != 1) ||
(family == AF_INET && (argc - optind) != (server ? 1 : 2)))
usage();
fd = socket(family, SOCK_STREAM, 0);
if(fd < 0)
{
perror("socket: socket failed");
exit(1);
}
if(server)
{
switch(family)
{
case AF_UNIX:
unlink(argv[argc-1]);
s.unaddr.sun_family = AF_UNIX;
strcpy(s.unaddr.sun_path, argv[optind]);
break;
case AF_INET:
bzero(&s.inaddr, sizeof(s.inaddr));
s.inaddr.sin_family = AF_INET;
s.inaddr.sin_port = htons(atoi(argv[argc-1]));
break;
}
if(bind(fd, &s.addr, NAMELEN(s)) != 0)
{
perror("socket: bind failed");
exit(1);
}
if(listen(fd, 5) != 0)
{
perror("socket: listen failed");
exit(1);
}
while(1)
{
fprintf(stderr, "waiting\n");
if((fd1 = accept(fd, 0, 0)) < 0)
{
perror("socket: accept failed");
exit(1);
}
fprintf(stderr, "transferring\n");
if(transfer(fd1, fd1) < 0)
exit(1);
fprintf(stderr, "closing\n");
close(fd1);
}
}
else
{
switch(family)
{
case AF_UNIX:
s.unaddr.sun_family = AF_UNIX;
strcpy (s.unaddr.sun_path, argv[argc-1]);
break;
case AF_INET:
bzero(&s.inaddr, sizeof(s.inaddr));
serverhost = gethostbyname(argv[argc-2]);
if(serverhost == (struct hostent *)0)
{
perror("socket: gethostbyname failed");
exit(1);
}
bcopy(serverhost->h_addr,&s.inaddr.sin_addr, serverhost->h_length);
s.inaddr.sin_family = AF_INET;
s.inaddr.sin_port = htons(atoi(argv[argc-1]));
}
if(connect(fd, &s.addr, NAMELEN(s)) != 0)
{
perror("socket: connect failed");
exit(1);
}
transfer(fd, 0);
exit(0);
}
}
int transfer(fd, clientfd)
int fd;
{
int i, infds, nread;
char buf[256];
infds = (1 << 0) | (1 << fd);
while(infds != 0)
{
i = infds;
if(select(32, &i, (long *)0, (long *)0, (struct timeval *)0) < 0)
{
perror("socket: select");
return -1;
}
if(i & (1 << fd))
{
nread = read(fd, buf, sizeof(buf));
if(nread < 0)
{
perror("socket: read from socket");
return -1;
}
if(nread == 0)
{
fprintf(stderr, "eof on socket\n");
#if 0
if(fd == clientfd)
return 0;
else
#endif
infds &= ~(1 << fd);
}
else
write(1, buf, nread); /* /\/ */
}
if(i & (1 << 0))
{
nread = read(0, buf, sizeof(buf));
if(nread < 0)
{
perror("socket: read from stdin");
return -1;
}
if(nread == 0)
{
fprintf(stderr, "eof on stdin\n");
shutdown(fd, 1);
#if 0
if(0 == clientfd)
return 0;
else
#endif
infds &= ~(1 << 0);
}
else
write(fd, buf, nread); /* /\/ */
}
}
return 0;
}
void usage()
{
fprintf(stderr, "usage: socket role type name\n");
fprintf(stderr, " where role is -s[erver] or -c[lient],\n");
fprintf(stderr, " type is -u[nix] or -i[nternet], and\n");
fprintf(stderr, " name is filename or host (if client) and port.\n");
exit(2);
}
[toc] | [prev] | [next] | [standalone]
| From | real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) |
|---|---|
| Date | 2017-10-06 15:50 +0100 |
| Message-ID | <1ndhd44.f0neowcu8u9mN%real-not-anti-spam-address@apple-juice.co.uk> |
| In reply to | #119753 |
Richard Tobin <richard@cogsci.ed.ac.uk> wrote: > In article <f3mb3sFn7rhU1@mid.individual.net>, > Ian McCall <ian@eruvia.org> wrote: > > >Hmm. Can you use netcat for interactive? > > > >ie. the: > > > >telnet some.host.invalid > >EHLO > >MAIL From: > >....etc... > > If not, it's easy to write a C program to do it. That's like saying "it's easy to speak English". It's only easy if you already know how to do it. Daniele
[toc] | [prev] | [next] | [standalone]
| From | Huge <Huge@nowhere.much.invalid> |
|---|---|
| Date | 2017-10-05 09:27 +0000 |
| Message-ID | <f3mc8bFnblmU1@mid.individual.net> |
| In reply to | #119752 |
On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-04 21:07:47 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>>
>>> telnet is for playing with socket-based APIs and services.
>>
>> For which netcat is better.
>
> Hmm. Can you use netcat for interactive?
>
> ie. the:
>
> telnet some.host.invalid
> EHLO
> MAIL From:
> ....etc...
>
>
> scenario?
>
>
> Note that mail testing is just an example, it's more getting access to
> interactive APIs on the other end. -Not- piping commands in or reading
> from a text file, pure interactive typing.
>
> If you can do that I'd be interested.
Oh, Gawd, my poor brain - it must be decades since I've done this.
[Googles]
And the answer is apparently so;
http://www.binarytides.com/netcat-tutorial-for-beginners/
--
Today is Pungenday, the 59th day of Bureaucracy in the YOLD 3183
I don't have an attitude problem.
If you have a problem with my attitude, that's your problem.
[toc] | [prev] | [next] | [standalone]
| From | Ian McCall <ian@eruvia.org> |
|---|---|
| Date | 2017-10-05 11:52 +0100 |
| Message-ID | <f3mh6iFokjcU1@mid.individual.net> |
| In reply to | #119755 |
On 2017-10-05 09:27:39 +0000, Huge <Huge@nowhere.much.invalid> said: > On 2017-10-05, Ian McCall <ian@eruvia.org> wrote: >> ...it's more getting access to >> interactive APIs on the other end. -Not- piping commands in or reading >> from a text file, pure interactive typing. >> >> If you can do that I'd be interested. > > Oh, Gawd, my poor brain - it must be decades since I've done this. > > [Googles] > > And the answer is apparently so; > > http://www.binarytides.com/netcat-tutorial-for-beginners/ Hmm - doesn't seem so from that page unless I'm being dumb. The page refers to telnet all the way through, in order to test the netcat-provided socket. It says I can open a shell, but that's not what I'm looking for here. Cheers, ian -- Check out Proto the album: <http://studioicm.com/proto/>
[toc] | [prev] | [next] | [standalone]
| From | Huge <Huge@nowhere.much.invalid> |
|---|---|
| Date | 2017-10-05 11:04 +0000 |
| Message-ID | <f3mhu2FnblmU7@mid.individual.net> |
| In reply to | #119757 |
On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
> On 2017-10-05 09:27:39 +0000, Huge <Huge@nowhere.much.invalid> said:
>
>> On 2017-10-05, Ian McCall <ian@eruvia.org> wrote:
>>> ...it's more getting access to
>>> interactive APIs on the other end. -Not- piping commands in or reading
>>> from a text file, pure interactive typing.
>>>
>>> If you can do that I'd be interested.
>>
>> Oh, Gawd, my poor brain - it must be decades since I've done this.
>>
>> [Googles]
>>
>> And the answer is apparently so;
>>
>> http://www.binarytides.com/netcat-tutorial-for-beginners/
>
> Hmm - doesn't seem so from that page unless I'm being dumb. The page
> refers to telnet all the way through, in order to test the
> netcat-provided socket.
Err, no. The very first example is fetching the index page from Google
using netcat as a replacement for telnet; exactly what you wanted.
--
Today is Pungenday, the 59th day of Bureaucracy in the YOLD 3183
I don't have an attitude problem.
If you have a problem with my attitude, that's your problem.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | uk.comp.sys.mac
csiph-web