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] [thread-next>] [day] [month] [year] [list]
Message-ID: <32120917.8C1fGqWqiS@bureau>
Date:	Sun, 30 Sep 2012 19:17:30 +0000
From:	Nolwenn <donolwenn@...il.com>
To:	Francois Romieu <romieu@...zoreil.com>
Cc:	hayeswang <hayeswang@...ltek.com>, netdev@...r.kernel.org
Subject: Re: Possible bug with r8169 driver

Le samedi 29 septembre 2012 21:01:05 Francois Romieu a écrit :
> Nolwenn <donolwenn@...il.com> :
> [...]
> 
> > The two dumps are attached (I hope it's what Michel wants !)
> 
> (Michel ?)
> 
> The device does not see the multicast router advertisement.
> 
> Please try the hack below.
> 
> diff --git a/drivers/net/ethernet/realtek/r8169.c
> b/drivers/net/ethernet/realtek/r8169.c index b47d5b3..8080dac 100644
> --- a/drivers/net/ethernet/realtek/r8169.c
> +++ b/drivers/net/ethernet/realtek/r8169.c
> @@ -4522,6 +4522,8 @@ static void rtl_set_rx_mode(struct net_device *dev)
> 
>  		mc_filter[0] = swab32(mc_filter[1]);
>  		mc_filter[1] = swab32(data);
> +		tmp |= 0xff7e1880;
> +		RTL_W32(RxConfig, tmp);
>  	}
> 
>  	RTL_W32(MAR0 + 4, mc_filter[1]);

Why I wrote Michel? There might be a bug between chair and keyboard :P

I download linux-3.5.4 from kernel.org, I create a patch file from lines above, 
try to apply the patch with "patch -p1 -i patch" but modification fail so I 
modify the file by hand. After learning how to compile a kernel, install it and 
boot on it, networking seems to be ok (networkmanager display a connection) 
but I cannot reach any website.
I join my r8169 file, maybe I make a mistake in modification.

tcpdump -pw kernel-hack-promisc-off
tcpdump -w kernel-hack-promisc-on

Download attachment "kernel-hack-promisc-off" of type "application/vnd.tcpdump.pcap" (14234 bytes)

Download attachment "kernel-hack-promisc-on" of type "application/vnd.tcpdump.pcap" (19628 bytes)

View attachment "r8169.c" of type "text/x-csrc" (162348 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ