To telnet or to netcat... that's the question

2012-08-31 Thread NOSpaze
Hi. If I do: # telnet 127.0.0.1 5038 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Asterisk Call Manager/1.0 Action: Login ActionID: 1 Username: youwanna

Re: To telnet or to netcat... that's the question

2012-08-31 Thread Ed Greshko
On 08/31/2012 08:41 PM, NOSpaze wrote: Hi. If I do: # telnet 127.0.0.1 5038 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Asterisk Call Manager/1.0 Action: Login

Re: To telnet or to netcat... that's the question

2012-08-31 Thread Bryn M. Reeves
On 08/31/2012 01:41 PM, NOSpaze wrote: But if I use nc and do... # nc 127.0.0.1 5038 EOF Action: Login ActionID: 1 Username: youwanna Secret: uwanna EOF Asterisk Call Manager/1.0 Does the behaviour differ if you

Re: To telnet or to netcat... that's the question

2012-08-31 Thread Timothy Murphy
Ed Greshko wrote: Maybe add -o filename to record the session? Or, try using the -i parameter to delay sending data? I don't see a -o option in man telnet. Have I misunderstood you? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of

Re: To telnet or to netcat... that's the question

2012-08-31 Thread Ed Greshko
On 08/31/2012 10:15 PM, Timothy Murphy wrote: Ed Greshko wrote: Maybe add -o filename to record the session? Or, try using the -i parameter to delay sending data? I don't see a -o option in man telnet. Have I misunderstood you? Since nc is giving the problem I'm suggesting options

Re: To telnet or to netcat... that's the question

2012-08-31 Thread NOSpaze
On Fri, 2012-08-31 at 14:14 +0100, Bryn M. Reeves wrote: On 08/31/2012 01:41 PM, NOSpaze wrote: But if I use nc and do... # nc 127.0.0.1 5038 EOF Action: Login ActionID: 1 Username: youwanna Secret: uwanna EOF

Re: To telnet or to netcat... that's the question

2012-08-31 Thread NOSpaze
On Fri, 2012-08-31 at 22:31 +0800, Ed Greshko wrote: On 08/31/2012 10:15 PM, Timothy Murphy wrote: Ed Greshko wrote: Maybe add -o filename to record the session? Or, try using the -i parameter to delay sending data? I don't see a -o option in man telnet. Have I misunderstood you?

Re: To telnet or to netcat... that's the question

2012-08-31 Thread Ed Greshko
On 09/01/2012 11:42 AM, NOSpaze wrote: On Fri, 2012-08-31 at 22:31 +0800, Ed Greshko wrote: On 08/31/2012 10:15 PM, Timothy Murphy wrote: Ed Greshko wrote: Maybe add -o filename to record the session? Or, try using the -i parameter to delay sending data? I don't see a -o option in man