netdump and ARP

Benoit Welterlen <[email protected]> Thu, 13 May 2004 10:49:13 +0200
Newsgroups gmane.linux.lkcd.general
Organization Bull S.A.
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------8C32C87D7288D15BC644171C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,


I have some questions about netdump.

Why do you write reply.info=page_counter in dump_netdev.c in the
COMM_GET_NR_PAGES case ? Because page_counter is never used ?!

I have an other question : netdump-server must be run as root or user
with write privileges to NETDUMP_DIR_PREFIX. But if you do not run
netdump-server as root, it would not be able to set the ARP entry for
the client, and after one minute, the server would not be able to send
messages to it.

A solution may be to trap arp messages on the client with another
netpoll and to respond to the server, so the automatic refresh of the
ARP table will work. And we do not have to modify the server
configuration (I think running netdump-server as root is not very
secured).

If you agree, I can try to write a patch to resolve this problem with
this methods.

An other suggestion : the netdump only send memory, and not System.map
et kerntypes.o files whose are necessary to analyse the dump. I wrote a
little program which send those files to the server when the system
reboot.

Regards

Benoit Welterlen


-- 
*************************************************
*						*
*  .,p**"*=b_  Benoit Welterlen Welty		*
* ?P"  .__ `*b   BULL SA Echirolles (France)	*
* |P  .d?'`&, 9|   Room : sale de bain		*	
* M:  |}   |- H'   Tel : 0 47629 7390		*
* &|  `#?_._oH'  Linux Kernel Team		*
* `H.   "`"`'   				*
*  `#?.      					*
*    `^~.					*
*************************************************
--------------8C32C87D7288D15BC644171C
Content-Type: text/x-vcard; charset=us-ascii;
 name="Benoit.Welterlen.vcf"
Content-Description: Card for Benoit Welterlen
Content-Disposition: attachment;
 filename="Benoit.Welterlen.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Welterlen;Benoit
x-mozilla-html:TRUE
org:Bull SA;Linux Kernel
adr:;;;;;;
version:2.1
email;internet:[email protected]
title:Stagiaire
note;quoted-printable:Polytech`Grenoble=0D=0A------------------------------=0D=0A"Software is like sex it's better when it's free.", Linus Torvalds 
x-mozilla-cpt:;-5920
fn:Benoit Welterlen
end:vcard

--------------8C32C87D7288D15BC644171C--



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click