Solved tcpflow always write error to stdout

Need for help:
I have a question. Is it a bug or some incomplete installation or whatever? about using tcpflow command.

Cause it way print "write error to stout" in every packet . I use tcpflow-1.4.4 on FreeBSD 10.1-STABLE.

It doesn't have any problem since I use FreeBSD 8.2, but since I upgrade to 10.1 seemlike "tcpflow" doesn't work properly.
 
Please post the whole command you tried so we can reproduce it.
 
Code:
root@ns1:/usr/local/www/thworkwear/public_html> tcpflow -i em0 -c host ns1.abc.com and port 80 | grep "Host*"
tcpflow: listening on em0

write error to stdout
Host: www.club.net

write error to stdout
Host: PARIYAT.COM

write error to stdout

write error to stdout
Host: PARIYAT.COM

write error to stdout

write error to stdout
Host: PARIYAT.COM

write error to stdout

em0 is my interface card name
host ns1.abc.com support to my NS name

Whenever I use any tcpflow option command, it always show "write error to stdout" in output.
 
Can you try out the patch I submitted in PR 203970?

Instructions:
pkg delete tcpflow
fetch 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162373' -o /tmp/tcpflow-1.4.5.patch
cd /usr/ports/net/tcpflow
patch -E < /tmp/tcpflow-1.4.5.patch
make install

If that works, positive feedback in the PR would be great. Thanks!
 
Last edited:
Hi junovitch@

According to your instruction, seem like it work now. :) Thank you.

Before your patch, net/tcpflow would error like I have mentioned for about 1 year. I try to find answer all over internet for many times, but seem like no answer from many popular columns or blog.
 
Last edited by a moderator:
Back
Top