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

Calculate independent FMSs for each symbol message (fixes #15) #19

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
139b6d7
add sample PCAPS, licence, and readme
skleber Sep 19, 2018
9e3878f
Sources of PCAPs
skleber Sep 19, 2018
bab5f43
type hints for ParsedMessage constructor
skleber Sep 21, 2018
2536a24
fix class attributes
skleber Sep 21, 2018
c2602d3
project metadata and hidden pcaps
skleber Sep 20, 2018
8f0b7c4
pc md
skleber Sep 21, 2018
5153a04
parsing workaround for broken IRC message delimiter dissection
skleber Oct 16, 2018
0ff3de2
remove unused 3D plotting (spares the module dependency)
skleber Oct 16, 2018
735236f
clean up private data for release
skleber Nov 19, 2018
8eb68c9
parsing workaround for broken IRC message delimiter dissection; remov…
skleber Nov 19, 2018
f1e2742
improve introduction in README, add requirements
skleber Nov 19, 2018
197e34d
add layer parameter to all scripts
skleber Nov 19, 2018
f7222f3
add some first and basic doctests
skleber Nov 19, 2018
ff4a5f0
changed dependency on Netzob from version in official repo to my fixes
skleber Nov 19, 2018
6d9000a
improve introduction in README, add requirements
skleber Nov 19, 2018
19b4241
improve introduction in README, add requirements, some first and basi…
skleber Nov 19, 2018
d14cefe
changed dependency on Netzob from version in official repo to my fixes
skleber Nov 19, 2018
168bd84
fix repository in README
skleber Nov 19, 2018
4bf65f1
compatibility to tshark 2.6.3 json output
skleber Dec 13, 2018
3e1f0c2
README update: compatibility
skleber Dec 20, 2018
cc87d74
compatibility to tshark 2.6.3 JSON output
skleber Dec 20, 2018
2965cdd
initate NEMETYL development
skleber Jun 24, 2020
7573bd1
massive code cleanup, refactor AbstractSegment and its type hints to …
skleber Jun 24, 2020
5e52cfa
finish NEMETYL development, INFOCOM2020 paper release
skleber Jun 24, 2020
91360c9
Merge branch 'release' into github_master
skleber Jun 24, 2020
679a2ea
refactor to new top-level package nemere; major enhancements and cleanup
skleber Jun 18, 2021
1f8cb27
Handle filename collision gracefully
techge Jun 28, 2021
315c988
Actually use the --interactive flag
techge Jun 28, 2021
fa665a7
Add Dockerfile (#3)
techge Jun 28, 2021
966a669
Merge pull request #4 from techge/minor-fixes
skleber Jun 28, 2021
a0128d3
Squashed commit of the following:
skleber Jun 28, 2021
ee51fad
Squashed commit of the following:
skleber Jun 28, 2021
c03cafd
Merge branch 'release' into github_master
skleber Jun 28, 2021
387f4a1
_getElementByName always returns a list now
techge Jul 9, 2021
092ecf8
Fix typo and add help info
techge Jul 12, 2021
48918ba
Improve tshark integration into Docker container
techge Jul 12, 2021
70007e0
Add newer netaddr version
techge Jul 12, 2021
5887545
Merge pull request #9 from techge/message-parser
skleber Jul 14, 2021
52541b2
Merge pull request #11 from techge/typos-and-docu
skleber Jul 14, 2021
4087944
Squashed commit of the following:
skleber Jul 14, 2021
59645e3
calculate independent FMSs for each symbol message
techge Aug 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
input
cache
.git
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__pycache__
/cache*
reports/
workspace.xml
usage.statistics.xml
shelf/
*.iml
gradle.xml
9 changes: 9 additions & 0 deletions .idea/dictionaries/stephan.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 99 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/preferred-vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM python:3.8-buster

WORKDIR /nemere

# install missing system deps
# tshark installation includes interactive question, thus using DEBIAN_FRONTEND var to prevent this
RUN echo 'wireshark-common wireshark-common/install-setuid boolean true' | debconf-set-selections -
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
git \
libpcap-dev \
tshark

# install required python modules
COPY /requirements.txt .
RUN pip3 install -r requirements.txt
# pylstar should be installed by netzob, but pip fails to install it there
RUN pip3 install pylstar==0.1.2

# install netzob
# (tested on commit https://github.com/netzob/netzob/tree/49ee3e5e7d6dce67496afd5a75827a78be0c9f70)
RUN git clone --single-branch -b next https://github.com/netzob/netzob.git
RUN cd netzob/netzob && \
git checkout 63125dbd31d28c27eee8616bd21345af417f5310 && \
python3 setup.py install && \
cd ../..

# copy nemere
COPY . .

# create user and add them to wireshark group
RUN useradd -ms /bin/bash user
RUN gpasswd -a user wireshark
USER user

# start in blank shell
CMD [ "/bin/bash" ]
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Benjamin Erb and Dominik Meissner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading