There is a diagram of the process posted @ SourceForge.  Minor typo: In the
box between 1. and 2., delete .ntop from acinclude.m4.ntop.

Basically, add the plugin to plugins/Makefile.in (just copy an existing one)
and the tools will automatically handle it.

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Han Dianfei
Sent: Friday, May 27, 2005 9:21 AM
To: [email protected]
Subject: [Ntop-dev] How to add a new plugin?

Hi,

This may be a rather simple question, but I'm rather confused by autoconf
and automake. 

Currently, I'm working on a plugin that can analyze DNS traffic. I create a
plugin file dnsPlugin.c in the plugins directory and borrowed some codes
from lastseen. My question is how to add dnsPlugin.c to Makefile gracefully.

Up to now, I'm doing this manually. But I think there must be some way that
could handle the dependence issues automatically. I read some documents
about autoconfig and automake, but could not understand well.

Any suggestions?

> Any of the plugins will serve as a model.  Ones that already process 
> packets are your best bet, e.g. last seen.
> 
> -----Burton

Thanks, Burton!



--
Han Dianfei <[EMAIL PROTECTED]>


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to