AW: IPRoute2-2.6.23

Michael Labuschke michael at labuschke.de
Mon Aug 11 12:09:24 PDT 2008


http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-2.6.
26.tar.bz2

use new version or fix old: 

--- iproute2-2.6.23/misc/ss.c   2008-01-27 02:41:09.000000000 +0100
+++ iproute2-2.6.23/misc/ss.c.orig      2007-10-16 23:27:42.000000000 +0200
 struct filter current_filter;
@@ -1781,8 +1781,9 @@
                fclose(fp);
        }

-       if ((f->families&(1<<AF_INET6)) &&
-           (fp = net_udp6_open()) >= 0) {
+       if (f->families&(1<<AF_INET6)) {
+               if ((fp = net_udp6_open()) >= 0)
+                       goto outerr;
                if (generic_record_read(fp, dgram_show_line, f, AF_INET6))
                        goto outerr;
                fclose(fp);

michael labuschke

-----Ursprüngliche Nachricht-----
Von: hlfs-dev-bounces at linuxfromscratch.org
[mailto:hlfs-dev-bounces at linuxfromscratch.org] Im Auftrag von Aki Tuomi
Gesendet: Montag, 11. August 2008 20:46
An: Hardened LFS Development List
Betreff: Re: IPRoute2-2.6.23

marty kirjoitti:
> Hardened Linux From Scratch - Version SVN-20080603
> Linux localhost 2.6.24.7-grsec_mfb #1 Fri Aug 8 12:02:57 EDT
> 2008 i686 pentium4 i386 GNU/Linux
> 
> root at localhost:~# ss -u
> State      Recv-Q Send-Q      Local Address:Port
> Peer Address:Port
> ESTAB      0      0               127.0.0.1:24252
>  127.0.0.1:domain
> Segmentation fault
> 
> oops, this is not good.
> 
> Rebuilt IPRoute2-2.6.23 a couple times but the problem
> persists. NO compile errors.
> 
> I have more UDP listeners it should list. It is barfing
> after the first one it finds. Aside from noting the
> segfault, nothing else is written in my logs.
> 
> This looks like a IProute bug to me. Ideas please?
> 
> Marty B.
> 

strace ss -u ?

-- cm
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page





More information about the hlfs-dev mailing list