View unanswered posts | View active topics It is currently Wed Nov 14, 2018 1:10 pm



Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
 LIve capture not starting, not able to read pcap files 
Author Message

Joined: Thu Oct 27, 2011 6:12 pm
Posts: 3
Reply with quote
Post Re: LIve capture not starting, not able to read pcap files
Hi Gianluca.

Sorry for not replying before I was busy during the weekend. Here is the output of the commands:

-----------------------------------------------------------------------------
# ./session_mng.pyc
./session_mng.pyc: line 1: O
: command not found
./session_mng.pyc: line 2: ���McI@sddlZddlZddlZddlZddlZddlZddlmZddm: command not found
./session_mng.pyc: line 3: dZ
dZ
�Zd: command not found d�Z
./session_mng.pyc: line 4: syntax error near unexpected token `)'
./session_mng.pyc: line 4: `kry)ejejd
d�d
�\ZZWn/ejk'

# ./dema
dema v0.3.1
Part of Xplico Internet Traffic Decoder (NFAT).
See http://www.xplico.org for more information.

Copyright 2007-2011 Gianluca Costa & Andrea de Franceschi.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


usage: ./dema [-v] {-c <config_file> | {-d <pol_root_dir> -b <db_type>}} [-h]
-v version
-c config file
-d pols root dir
-b DB type (mysql or sqlite)
-h this help

---------------------------------------------------------------------------------------------

I tried to install xplico in a machine with fedora 15 during the weekend but It went worse. In that machine both interfaces are not working (cli and web), when i ran .xplico -g only shows this:

---------------------------------------------------------------------------------------
# ./xplico -g
xplico v0.6.3
Internet Traffic Decoder (NFAT).
See http://www.xplico.org for more information.

Copyright 2007-2011 Gianluca Costa & Andrea de Franceschi and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
Configuration file (/opt/xplico/cfg/xplico_cli.cfg) found!
-------------------------------------------------------------------------------------------
And then it freezes. It doesn't show the Protocol graph as expected

Thanks for the help. Best regards

Gregorio


Mon Oct 31, 2011 3:58 pm
Profile
Site Admin

Joined: Wed Sep 16, 2009 10:09 pm
Posts: 394
Reply with quote
Post Re: LIve capture not starting, not able to read pcap files
Ok,
your problem can be fixed installing the packages python 3.1 (this version is necessary) and binfmt-support.

Ciao.
Gianluca


Mon Oct 31, 2011 4:39 pm
Profile WWW

Joined: Thu Oct 27, 2011 6:12 pm
Posts: 3
Reply with quote
Post Re: LIve capture not starting, not able to read pcap files
Gianluca
Thanks for the fast response. I already have installed python 3.1 but i cannot find binfmt-support package for fedora, I already google it without success and the repositories don't have it.

Best regards
Gregorio


Mon Oct 31, 2011 8:45 pm
Profile
Site Admin

Joined: Wed Sep 16, 2009 10:09 pm
Posts: 394
Reply with quote
Post Re: LIve capture not starting, not able to read pcap files
Hi,
try to check the dir /proc/sys/fs/binfmt_misc/ if it exist your binfmt is "running".
In the dir /usr/share/binfmts I have a file named python3.1. The file's content is:
Code:
package python3.1
interpreter /usr/bin/python3.1
magic \x4f\x0c\x0d\x0a

You can use update-binfmts to update you binfmt configuration and add python3.1 binary support (with its magic code).

Ciao.
Gianluca


Tue Nov 01, 2011 8:56 am
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.