lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 4 Apr 2017 14:44:56 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Andrei Vagin <avagin@...nvz.org>
Cc:     netdev@...r.kernel.org, Andrei Vagin <avagin@...tuozzo.com>
Subject: Re: [PATCH] ss: replace all zero characters in a unix name to '@'

On Sat,  1 Apr 2017 04:31:57 +0300
Andrei Vagin <avagin@...nvz.org> wrote:

> From: Andrei Vagin <avagin@...tuozzo.com>
> 
> A name of an abstract socket can contain zero characters.
> Now we replace only the first character. If a name contains more
> than one zero character, the ss tool shows only a part of the name:
> u_str  UNCONN    0    0     @                            1931097   * 0
> 
> the output with this patch:
> u_str  UNCONN    0    0     @@zdtm-./sk-unix-unconn-23/@ 1931097   * 0
> 
> Signed-off-by: Andrei Vagin <avagin@...tuozzo.com>

This patch duplicates changes that are already in current version.

commit 878dadc79d247aa37b67fb30608e58ef1f9ab9ff
Author: Isaac Boukris <iboukris@...il.com>
Date:   Sat Oct 29 22:20:19 2016 +0300

    iproute2: ss: escape all null bytes in abstract unix domain socket
    
    Abstract unix domain socket may embed null characters,
    these should be translated to '@' when printed by ss the
    same way the null prefix is currently being translated.
    
    Signed-off-by: Isaac Boukris <iboukris@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ