[Ntop-dev] white/Black List

Burton Strauss III Burton at NtopSupport.com
Sat Mar 10 14:32:57 CET 2007


Local addresses are, well, local addresses based on the NIC's IP address and
mask.

 

Psuedo Local Addresses are either local addresses or addresses which you
told ntop to TREAT as local via the local subnets parameter.

 

There is an FAQ article on this, albeit not at the code level.

 

-----Burton

 

  _____  

From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of MurugaRaj. S
Sent: Monday, March 05, 2007 1:00 PM
To: ntop-dev at unipi.it
Subject: [Ntop-dev] white/Black List

 

Hi all,

     I am working on white/black list and trying to understand some part of
the ntop code in netflowplugin.c & util.c. 

     There is a function in the netflowplugin.c which calls
isOKtoSave(ntohl(record->srcaddr),
 
myGlobals.device[deviceId].netflowGlobals->whiteNetworks,
 
myGlobals.device[deviceId].netflowGlobals->blackNetworks,
 
myGlobals.device[deviceId].netflowGlobals->numWhiteNets,
 
myGlobals.device[deviceId].netflowGlobals->numBlackNets)) 

   the isOKtoSave in util.c calls  __pseudoLocalAddress(&workAddr,
blackNetworks, numBlackNets, NULL, NULL);

   My question is what is  __pseudoLocalAddress() functionality and what it
is doing ? Can come one please explain ?

 Thanks
 -Muru

 

  _____  

It's here! Your new message!
Get new
<http://us.rd.yahoo.com/evt=49938/*http:/tools.search.yahoo.com/toolbar/feat
ures/mail/>  email alerts with the free Yahoo! Toolbar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listgateway.unipi.it/pipermail/ntop-dev/attachments/20070310/83139cb0/attachment.htm


More information about the Ntop-dev mailing list