Package: iproute Version: 20100519-3 Severity: minor I find little disturbance in ss output, when done on terminal (this is not issue when using ss in scripts).
# /sbin/ss -4 .... TIME-WAIT 0 0 127.0.0.1:7634 127.0.0.1:34637 ESTAB 0 0 127.0.0.1:6600 127.0.0.1:46644 SYN-SENT 0 1 192.168.1.11:57142 10.6.6.9:6600 ESTAB 0 0 192.168.1.11:55633 88.86.102.50 :xmpp-clie nt TIME-WAIT 0 0 127.0.0.1:7634 127.0.0.1:34632 TIME-WAIT 0 0 127.0.0.1:7634 127.0.0.1:34634 ESTAB 0 0 192.168.1.11:43244 109.162.31.124:https ESTAB 0 0 127.0.0.1:46644 127.0.0.1:6600 ..... # "nt' from "xmpp-client", will always be on separate line, regardless who wide my terminal will be. There are multiple possible options to solve this. 1) enlarge it from 9 character (10 including zero), to 16. # awk '{print $1;}' /etc/services | grep -v '^#' | wc -L 16 # Inspecting it gives some more common long services, like kerberos_master, afs3-fileserver, gisgatekeeper, dhcpv6-client, microsoft- ds, and many more which will still not fit into 9 characters. Unfortunately fixing this to 16 characters, is both waste of space when it is not needed (most names fit in 6 characters, including not resolved ones), as well can break if somebody will add service with longer name (for example manually). (Scanning first services to determine longest one is also not an options, as it is waste of resources, as well is impossible if service names are stored not in plain fail, but other nss mechanism). 2) Enlarge it to 16 characters, if terminal have at least 140 characters width. (I commonly use terminal of width 230 characters). 3) scan or perform two passes to determine length of longest service name. 4) truncate explicitly service name, at 9 (I would prefer 11) characters, and eventually use some character (like ellipsis, with Unicode point U+2026) to indicate truncation. What you think? -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-xen-686 (SMP w/1 CPU core) Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages iproute depends on: ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-4 Berkeley v4.8 Database Libraries [ Versions of packages iproute recommends: pn libatm1 <none> (no description available) Versions of packages iproute suggests: pn iproute-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org