FD field is too narrow. Space between columns may be missing if we have too large value. Fix: http://alter.org.ua/soft/fbsd/sockstat/fbsd72.sockstat.20110501.patch.gz Patch attached with submission follows:
Hello bug-followup, unified diff is now available at http://alter.org.ua/soft/fbsd/sockstat/fbsd72.sockstat.20120614u.patch.gz -- Best regards, Alter mailto:alter@alter.org.ua
Hi, Could anyone look into this issue? sockstat output can't be used reliably in some cases - ie. rkhunter misses lines like this: teamspeak teamspeak_25690 18 tcp4 a.b.c.d:30033 *:* -- best regards, Lukasz Wasikowski
Created attachment 145337 [details] Always print space after procname I suggest at least the attached fix: limit username to 8 characters not to break formatting for long usernames and (more important) to always print at least one space after procname, otherwise for long procname sticks to PID and this makes mahines parsing impossible: transmission transmissi813 9 tcp4 *:9091 *:*
(In reply to Dmitry Sivachenko from comment #3) > Created attachment 145337 [details] > Always print space after procname > > I suggest at least the attached fix: limit username to 8 characters not to > break formatting for long usernames and (more important) to always print at > least one space after procname, otherwise for long procname sticks to PID > and this makes mahines parsing impossible: > > transmission transmissi813 9 tcp4 *:9091 *:* This patch works for me, thank you!
For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open"
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Sorry that this PR didn't get fixed when it was submitted. The bug is finally fixed now. *** This bug has been marked as a duplicate of bug 282978 ***