Re: bash sockets: printf \x0a does TCP fragmentation

2018-10-12 Thread Dirk Wetter
On 11.10.18 23:35, Bob Proulx wrote: > The smallest of details can break the largest of programs. :-) > > Good to hear you have things resolved and now working for you! Thanks all for your insights and help! Cheers, Dirk

Re: bash sockets: printf \x0a does TCP fragmentation

2018-10-11 Thread Dirk Wetter
On 11.10.18 18:53, Dirk Wetter wrote: > bash 0$ exec 5<>/dev/tcp/81.169.199.25/443 > bash 0$ printf > '\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\x54\x51\x1e\x7a\xde\xad\xbe\xef\x31\x33\x07\x00\x00\x00\x00\x00\xcf\xbd\x39\x04\xcc\x16\x0b\x85\x03\x90\x9f\x77\x04\x33\xd4\xde

Re: bash sockets: printf \x0a does TCP fragmentation

2018-10-11 Thread Dirk Wetter
On 23.09.18 20:29, Bob Proulx wrote: > Robert Elz wrote: > $ { command printf "one\n"; sleep 1; command printf "two\n" ;} | strace -v > -o /tmp/dd.strace.out -e write,read dd status=none ibs=1M obs=1M ; head > /tmp/*.strace.out > one > two > ... > read(0, "one\n", 1048576)

Re: bash sockets: printf \x0a does TCP fragmentation

2018-09-25 Thread Dirk Wetter
On 9/25/18 2:15 PM, L A Walsh wrote: > > > On 9/24/2018 6:05 AM, Greg Wooledge wrote: >> On Sat, Sep 22, 2018 at 11:50:17AM +0200, dirk+b...@testssl.sh wrote: >>   >>> On 9/22/18 7:30 AM, Bob Proulx wrote: >>>     dirk+b...@testssl.sh wrote:   > printf -- "$data" >&5 2>/dev/n