svn-commit | 2 Sep 2007 15:29

r3277 - in trunk/PF_RING: kernel/include/linux kernel/net/ring userland userland/libpcap-0.9.7-ring userland/libpcap-0.9.7-ring/ChmodBPF userland/libpcap-0.9.7-ring/ChmodBPF/CVS userland/libpcap-0.9.7-ring/SUNOS4 userland/libpcap-0.9.7-ring/SUNOS4/CVS userland/libpcap-0.9.7-ring/Win32 userland/libpcap-0.9.7-ring/Win32/CVS userland/libpcap-0.9.7-ring/Win32/Include userland/libpcap-0.9.7-ring/Win32/Include/CVS userland/libpcap-0.9.7-ring/Win32/Include/arpa userland/libpcap-0.9.7-ring/Win32/Include/arpa/CVS userland/libpcap-0.9.7-ring/Win32/Include/net userland/libpcap-0.9.7-ring/Win32/Include/net/CVS userland/libpcap-0.9.7-ring/Win32/Prj userland/libpcap-0.9.7-ring/Win32/Prj/CVS userland/libpcap-0.9.7-ring/Win32/Src userland/libpcap-0.9.7-ring/Win32/Src/CVS userland/libpcap-0.9.7-ring/autom4te.cache userland/libpcap-0.9.7-ring/bpf userland/libpcap-0.9.7-ring/bpf/C

Author: deri
Date: 2007-09-02 15:29:17 +0200 (Sun, 02 Sep 2007)
New Revision: 3277

Added:
   trunk/PF_RING/userland/libpcap-0.9.7-ring/
   trunk/PF_RING/userland/libpcap-0.9.7-ring/.cvsignore
   trunk/PF_RING/userland/libpcap-0.9.7-ring/CHANGES
   trunk/PF_RING/userland/libpcap-0.9.7-ring/CREDITS
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/CVS/
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/CVS/Entries
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/CVS/Repository
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/CVS/Root
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/CVS/Tag
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/ChmodBPF
   trunk/PF_RING/userland/libpcap-0.9.7-ring/ChmodBPF/StartupParameters.plist
   trunk/PF_RING/userland/libpcap-0.9.7-ring/FILES
   trunk/PF_RING/userland/libpcap-0.9.7-ring/INSTALL.txt
   trunk/PF_RING/userland/libpcap-0.9.7-ring/LICENSE
   trunk/PF_RING/userland/libpcap-0.9.7-ring/Makefile
   trunk/PF_RING/userland/libpcap-0.9.7-ring/Makefile.in
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.PF_RING
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.Win32
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.aix
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.dag
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.hpux
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.linux
   trunk/PF_RING/userland/libpcap-0.9.7-ring/README.macosx
(Continue reading)

svn-commit | 2 Sep 2007 15:55

r3278 - in trunk/ntop: . plugins

Author: deri
Date: 2007-09-02 15:55:50 +0200 (Sun, 02 Sep 2007)
New Revision: 3278

Modified:
   trunk/ntop/iface.c
   trunk/ntop/plugins/netflowPlugin.c
   trunk/ntop/plugins/rrdPlugin.c
   trunk/ntop/subnets.txt
   trunk/ntop/util.c
Log:
Enhanced RRD graph title
svn-commit | 2 Sep 2007 23:21

r3279 - trunk/ntop/plugins

Author: deri
Date: 2007-09-02 23:21:17 +0200 (Sun, 02 Sep 2007)
New Revision: 3279

Modified:
   trunk/ntop/plugins/netflowPlugin.c
   trunk/ntop/plugins/rrdPlugin.c
Log:
Fixed netflow template handling
svn-commit | 3 Sep 2007 00:11

r3280 - in trunk/ntop: . plugins

Author: deri
Date: 2007-09-03 00:11:28 +0200 (Mon, 03 Sep 2007)
New Revision: 3280

Modified:
   trunk/ntop/globals-core.h
   trunk/ntop/pbuf.c
   trunk/ntop/plugins/netflowPlugin.c
Log:
Enhanced efficiency handling
Stefan Radman | 3 Sep 2007 22:02
Favicon

pcap_findalldevs

Hi Luca,

I am running ntop-3.3 on CentOS 5 with libpcap-0.9.4 and ran into the
following problem:
The "Configured Value" for the "Capture Interfaces (-i)" preference
stays blank and does not show any interfaces and associated checkmarks.

When looking at the code I found that the pcap_findalldevs call in
admin.c did not return any interfaces.
Obviously this is because I'm running the ntop web interface as non-root
(--user ntop):

  pcap_findalldevs()  constructs  a  list of network devices that can be
  opened with pcap_open_live().  (Note that there may be network devices
  that  cannot  be  opened  with pcap_open_live() by the process calling
  pcap_findalldevs(), because, for example, that process might not  have
  sufficient privileges to open them for capturing; if so, those devices
  will not appear on the list.)

Find attached a patch that will fix this problem by caching the result
obtained by root in the initial pcap_findalldevs call (initialize.c) and
saving the list of available interfaces in myGlobals for reuse in the
web interface (admin.c) and potentially elsewhere.

Cheers
Stefan

Attachment (ntop-alldevs.patch): application/octet-stream, 4074 bytes
(Continue reading)

svn-commit | 4 Sep 2007 10:49

r3281 - trunk/ntop

Author: deri
Date: 2007-09-04 10:49:37 +0200 (Tue, 04 Sep 2007)
New Revision: 3281

Modified:
   trunk/ntop/COPYING
   trunk/ntop/INSTALL
   trunk/ntop/acinclude.m4
   trunk/ntop/aclocal.m4
   trunk/ntop/admin.c
   trunk/ntop/compile
   trunk/ntop/config.guess
   trunk/ntop/config.h.in
   trunk/ntop/config.sub
   trunk/ntop/depcomp
   trunk/ntop/globals-core.c
   trunk/ntop/globals-structtypes.h
   trunk/ntop/initialize.c
   trunk/ntop/install-sh
   trunk/ntop/missing
   trunk/ntop/ntop.c
Log:
Added pcap_findalldevs patch courtesy of Stefan Radman <stefan.radman <at> ctbto.org>
svn-commit | 4 Sep 2007 19:55

r3282 - trunk/ntop

Author: deri
Date: 2007-09-04 19:55:03 +0200 (Tue, 04 Sep 2007)
New Revision: 3282

Modified:
   trunk/ntop/webInterface.c
Log:
Added fix that prevented plugins from being reset by mistake while listing them
svn-commit | 4 Sep 2007 23:06

r3283 - trunk/ntop

Author: deri
Date: 2007-09-04 23:06:24 +0200 (Tue, 04 Sep 2007)
New Revision: 3283

Modified:
   trunk/ntop/globals-core.c
   trunk/ntop/initialize.c
Log:
Added interface indexing fixes
svn-commit | 5 Sep 2007 00:23

r3284 - in trunk/ntop: . packages/debian plugins

Author: deri
Date: 2007-09-05 00:23:24 +0200 (Wed, 05 Sep 2007)
New Revision: 3284

Modified:
   trunk/ntop/INSTALL
   trunk/ntop/acinclude.m4
   trunk/ntop/config.h.in
   trunk/ntop/depcomp
   trunk/ntop/install-sh
   trunk/ntop/missing
   trunk/ntop/ntop.c
   trunk/ntop/packages/debian/control
   trunk/ntop/packages/debian/rules
   trunk/ntop/plugins/rrdPlugin.c
   trunk/ntop/report.c
Log:
Fixed file descriptor leak (bug #17)
svn-commit | 7 Sep 2007 09:22

r3285 - trunk/PF_RING/kernel/net/ring

Author: deri
Date: 2007-09-07 09:22:43 +0200 (Fri, 07 Sep 2007)
New Revision: 3285

Modified:
   trunk/PF_RING/kernel/net/ring/ring_packet.c
Log:
Added fix for memory leak

Gmane