ajrockefeller / openfpc

Automatically exported from code.google.com/p/openfpc
0 stars 0 forks source link

Sessions displayed on GUI but not on CLI #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have activated support for sessions:

 # openfpc -a status
 ###############################################################################
 [*] OpenFPC instance openfpc-default.conf
  -  NODENAME:              Default_Node 
  -  DESCRIPTION:           "An OpenFPC node. www.openfpc.org" 
  -  STATUS :               ENABLED
  -  PORT:                  4242
  -  INTERFACE:             eth1
  -  FULL PACKET CAPTURE:   ENABLED
  -  PACKET STORE:          /var/tmp/openfpc/pcap
  -  SESSION DATA SEARCH:   ENABLED
  -  SESSION DATABASE NAME: openfpc
  -  SESSION LAG:           0
 Daemonlogger (Default_Node) :                                           Running
 OpenFPC Queue Daemon  (Default_Node):                                   Running
 OpenFPC Connection Tracker (Default_Node) :                             Running
 OpenFPC Connection Uploader (Default_Node) :                            Running

I have created a database using:
 openfpc-dbmaint create session /etc/openfpc/openfpc-default.conf

My database has many lines:

 # openfpc-client -a status
    * openfpc-client 0.6 * 
    Part of the OpenFPC project
 Username: openfpc
 Password for user openfpc : 
 ####################################
  OpenFPC Node name   :  Default_Node
  OpenFPC Node Type   :  NODE 
  OpenFPC Version     :  0.6 
  Oldest Packet       :  1310994953 (Mon Jul 18 15:15:53 2011)
  Oldest Session      :  1310990784 (Mon Jul 18 14:06:24 2011)
  Packet utilization  :  37% 
  Session utilization :  37% 
  Session DB Size     :  3642 rows 
  Session lag         :  0 files 
  Storage utilization :  37% 
  Packet space used   :  5892392 (5.89 GB)
  Session space used  :  5892392 (5.89 GB)
  Storage used        :  5892392 (5.89 GB)
  Load avg 1          :  0.09 
  Load avg 5          :  0.14 
  Load avg 15         :  0.12 
  Errors              :  0 

I can see the sessions via the GUI but unable to see them via the CLI (table 
seems empty):

 # openfpc-client -a summary --last 7200
    * openfpc-client 0.6 * 
    Part of the OpenFPC project
 Username: openfpc
 Password for user openfpc : 
 #####################################
  Summary Table       :  top_source_ip_by_volume
  Time Range          :  Mon Jul 18 16:13:15 2011 -> Mon Jul 18 18:13:15 2011
 #####################################
       Source IP          Bytes   

Thanks for your support and congratz for this very useful tool!

Original issue reported on code.google.com by sebastie...@gmail.com on 18 Jul 2011 at 4:53

GoogleCodeExporter commented 8 years ago
I have the same issue.

Original comment by Przemysl...@gmail.com on 28 Feb 2012 at 10:45

GoogleCodeExporter commented 8 years ago
Lots of things have been fixed up here, including this. Check out the latest 
version in SVN (0.8)

Original comment by leon.j.w...@gmail.com on 2 Mar 2014 at 1:32