-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* libnDPI submodule update Signed-off-by: Toni Uhlig <[email protected]>
- Loading branch information
Showing
7 changed files
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ __pycache__ | |
|
||
# go related | ||
*.sum | ||
|
||
# lockfiles generated by some shell scripts | ||
*.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule libnDPI
updated
23 files
+15 −12 | example/ndpiReader.c | |
+1 −0 | fuzz/fuzz_ndpi_reader.c | |
+3 −2 | src/include/ndpi_api.h.in | |
+1 −1 | src/include/ndpi_protocol_ids.h | |
+92 −76 | src/include/ndpi_typedefs.h | |
+35 −35 | src/lib/ndpi_content_match.c.inc | |
+91 −39 | src/lib/ndpi_main.c | |
+20 −58 | src/lib/ndpi_utils.c | |
+1 −1 | src/lib/protocols/rtp.c | |
+6 −6 | src/lib/protocols/skype.c | |
+1 −1 | src/lib/protocols/tls.c | |
+0 −136 | src/lib/third_party/include/actypes.h | |
+219 −27 | src/lib/third_party/include/ahocorasick.h | |
+0 −66 | src/lib/third_party/include/node.h | |
+0 −6 | src/lib/third_party/include/sort.h | |
+1,008 −190 | src/lib/third_party/src/ahocorasick.c | |
+0 −274 | src/lib/third_party/src/node.c | |
+0 −92 | src/lib/third_party/src/sort.c | |
+225 −225 | tests/result/skype.pcap.out | |
+207 −207 | tests/result/skype_no_unknown.pcap.out | |
+2 −2 | tests/result/skype_udp.pcap.out | |
+5 −5 | tests/result/teams.pcap.out | |
+58 −57 | wireshark/ndpi.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
set -x | ||
|
||
LOCKFILE="$(realpath "${0}").lock" | ||
touch "${LOCKFILE}" | ||
exec 42< "${LOCKFILE}" | ||
flock -x -n 42 || { | ||
printf '%s\n' "Could not aquire file lock for ${0}. Already running instance?" >&2; | ||
exit 1; | ||
} | ||
|
||
cd "$(dirname "${0}")/.." | ||
git submodule update --init ./libnDPI | ||
|
||
cd ./libnDPI | ||
DEST_INSTALL="${DEST_INSTALL:-$(realpath ./install)}" | ||
MAKE_PROGRAM="${MAKE_PROGRAM:-make -j4}" | ||
./autogen.sh --prefix="${DEST_INSTALL}" --with-only-libndpi | ||
${MAKE_PROGRAM} install | ||
|
||
rm -f "${LOCKFILE}" |