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: <20090417132848.GA2723@hmsreliant.think-freely.org>
Date:	Fri, 17 Apr 2009 09:28:48 -0400
From:	Neil Horman <nhorman@...driver.com>
To:	Oliver Hartkopp <oliver@...tkopp.net>
Cc:	netdev@...r.kernel.org
Subject: Re: dropwatch for network drop monitor

On Fri, Apr 17, 2009 at 02:57:24PM +0200, Oliver Hartkopp wrote:
> Hi Neal,
> 
> i tried the dropwatch app from your git.
> 
> Compiling the source produces:
> 
> hartko@...gwolkf320:~/dropwatch/src$ make
> gcc -c -g main.c
> gcc -c -g lookup.c
> gcc -c -g lookup_bfd.c
> gcc -c -g lookup_kas.c
> lookup_kas.c: In function ‘lookup_kas_cache’:
> lookup_kas.c:56: warning: cast from pointer to integer of different size
> lookup_kas.c: In function ‘lookup_kas_proc’:
> lookup_kas.c:100: warning: cast from pointer to integer of different size
> lookup_kas.c:103: warning: cast from pointer to integer of different size
> gcc -g -o dropwatch main.o lookup.o lookup_bfd.o lookup_kas.o -lbfd -lreadline -lnl 
> 
Strange, I don't get this, are you building on 32 bit or 64 bit?  Although,
that shouldn't cause you any problems at the moment, since that code is still
not actually used.

> You cast a 'pc' variable to __u64 - is your code depending on 64 bit ??
> 
Not depending on, but I wanted to provide room in that data field to hold a void
pointer, so I cas't it to a __u64

> Starting the stuff brings:
> 
> vwagwolkf320:/home/hartko/dropwatch/src# ./dropwatch 
> Initalizing kallsyms db
> dropwatch> start
> Enabling monitoring...
> Waiting for activation ack....
> Waiting for activation ack....
> Waiting for activation ack....
> Waiting for activation ack....
> Waiting for activation ack....
> Waiting for activation ack....
> Failed activation request, error: Operation now in progress
> Shutting down ...
> vwagwolkf320:/home/hartko/dropwatch/src# 
> 
> And in my kernel log i get at the same time:
> [ 7070.568482] netlink: 60 bytes leftover after parsing attributes.
> 
> Any ideas?
> 
> Oliver
> 
> 
Not off the top of my head, I've run this on 64 bit and 32 bit and not seen
these errors.  I'll bring it back up on my 32 bit system and see what comes of
it.  Do me a favor and open a bug at the trac page for this.  Thanks!
Neil

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ