Re: Reason for Ierrs in netstat

2018-02-28 Thread Masanobu SAITOH
Hi. On 2018/02/22 21:18, Frank Wille wrote: Hi, one of our servers has some network issues. Symptoms are: Bad ping (twice as high as comparable machines on the same net), packet loss and increasing number of Ierrs in "netstat -i". Is there any chance I can find out the reason behind those

Re: nc -N and EOF

2018-02-28 Thread Valery Ushakov
Patrick Welche wrote: > I tried > > echo "hello from server" | nc -l 1234 > > nc -l 1234 << EOF > hello from server > EOF > > echo "hello from server" > tmpfile > nc -l 1234 < tmpfile > > and in all cases > > nc -N 127.0.0.1 1234 > > prints "hello from

Re: bozohttpd

2018-02-28 Thread maya
On Wed, Feb 28, 2018 at 04:41:57PM +, Patrick Welche wrote: > /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -s /var/www works for me. easier to debug: /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -f /var/www

bozohttpd

2018-02-28 Thread Patrick Welche
Running /usr/libexec/httpd -d -d -d -d -P /tmp/foo.pid -i 127.0.0.1 -b -s /var/www and fetching index.html, I see no output whatsoever. Where is it going? -s Forces logging to be set to stderr always. Cheers, Patrick

Re: nc -N and EOF

2018-02-28 Thread Patrick Welche
On Tue, Feb 27, 2018 at 09:50:34PM -0500, Eric Hawicz wrote: > On 2018-02-27 10:33 AM, Patrick Welche wrote: > >echo "hello from server" | nc -l 1234 > > > >nc -l 1234 << EOF > >hello from server > >EOF > > > >echo "hello from server" > tmpfile > >nc -l 1234 < tmpfile > >