Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault for some input files #122

Open
LuccaRoofthooft opened this issue Apr 19, 2023 · 1 comment
Open

Segmentation fault for some input files #122

LuccaRoofthooft opened this issue Apr 19, 2023 · 1 comment

Comments

@LuccaRoofthooft
Copy link

LuccaRoofthooft commented Apr 19, 2023

Hello @pepper-jk
Here you have my issue.
So for me some input files I can attack, and for some I get a segmentation fault error. All files are in pcap format. Attached you can find two files: one that works (working.pcap) and one that doesn't work (not_working.pcap).

System set up information:
MATE 1.26.0 VM
Python version 3.8.16
130GB disk space left

build output

eaton@vm-lucca:~/ID2T$ ./build.sh
Updating submodules
Detected OS: Debian
Packages: Checking...
Packages: Found.
Requirement already satisfied: pip in ./.venv/lib/python3.8/site-packages (23.1)
Requirement already satisfied: cairocffi==0.8.1 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 1)) (0.8.1)
Requirement already satisfied: cffi>=1.12.2 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 2)) (1.15.1)
Requirement already satisfied: coverage>=4.5.1 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 3)) (7.2.3)
Requirement already satisfied: cycler>=0.10.0 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 4)) (0.11.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 5)) (1.4.4)
Requirement already satisfied: lea==2.3.5 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 6)) (2.3.5)
Requirement already satisfied: matplotlib>=2.2.3 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 7)) (3.7.1)
Requirement already satisfied: memory-profiler>=0.54.0 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 8)) (0.61.0)
Requirement already satisfied: numpy>=1.15 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 9)) (1.24.2)
Requirement already satisfied: psutil>=5.4.5 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 10)) (5.9.5)
Requirement already satisfied: pycparser>=2.18 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 11)) (2.21)
Requirement already satisfied: pyparsing>=2.2.0 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 12)) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7.2 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 13)) (2.8.2)
Requirement already satisfied: pytz>=2018.4 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 14)) (2023.3)
Requirement already satisfied: pyxdg>=0.26 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 15)) (0.28)
Requirement already satisfied: scapy==2.4.2 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 16)) (2.4.2)
Requirement already satisfied: scipy>=1.1.0 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 17)) (1.10.1)
Requirement already satisfied: six>=1.11.0 in ./.venv/lib/python3.8/site-packages (from -r resources/requirements.txt (line 18)) (1.16.0)
Requirement already satisfied: contourpy>=1.0.1 in ./.venv/lib/python3.8/site-packages (from matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (1.0.7)
Requirement already satisfied: fonttools>=4.22.0 in ./.venv/lib/python3.8/site-packages (from matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (4.39.3)
Requirement already satisfied: packaging>=20.0 in ./.venv/lib/python3.8/site-packages (from matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (23.1)
Requirement already satisfied: pillow>=6.2.0 in ./.venv/lib/python3.8/site-packages (from matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (9.5.0)
Requirement already satisfied: importlib-resources>=3.2.0 in ./.venv/lib/python3.8/site-packages (from matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (5.12.0)
Requirement already satisfied: zipp>=3.1.0 in ./.venv/lib/python3.8/site-packages (from importlib-resources>=3.2.0->matplotlib>=2.2.3->-r resources/requirements.txt (line 7)) (3.15.0)
-- Running Release configuration.
-- CMake version: 3.22.1
-- CMAKE_CXX_COMPILER '/usr/bin/c++' 'GNU' '11.3.0'
-- CMAKE_CXX_FLAGS                ''
-- CMAKE_CXX_FLAGS_RELEASE        '-O3 -DNDEBUG -Wall'
-- SQLITECPP_RUN_CPPLINT OFF
-- Could NOT find cppcheck
-- SQLITECPP_RUN_DOXYGEN OFF
-- SQLITECPP_BUILD_EXAMPLES OFF
-- SQLITECPP_BUILD_TESTS OFF
-- Tins library found in /usr/local/lib/libtins.so
-- Python includes found in: /usr/include/python3.8
-- Python libs found in: /usr/lib/x86_64-linux-gnu/libpython3.8.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eaton/ID2T/code_boost/src/build
Consolidate compiler generated dependencies of target sqlite3
Consolidate compiler generated dependencies of target botnetcomm
Consolidate compiler generated dependencies of target cpputils
Consolidate compiler generated dependencies of target SQLiteCpp
[ 11%] Built target sqlite3
[ 22%] Built target botnetcomm
[ 33%] Built target cpputils
[ 72%] Built target SQLiteCpp
Consolidate compiler generated dependencies of target pcapreader
[100%] Built target pcapreader


All is set. ID2T is ready.

Run efficiency tests with the command './test_efficiency'
Run unit tests with the command './run_tests'
Run ID2T with the command './id2t'

pcaps.tar.gz

@LuccaRoofthooft
Copy link
Author

#109 link to related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant