-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For Mac, Linux, and Windows, including source code.
- Loading branch information
1 parent
76a7326
commit f4bcbce
Showing
9 changed files
with
1,180 additions
and
6 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,49 @@ | ||
# CMakeLists.txt | ||
# | ||
# Wireshark - JA4 Fingerprint | ||
# | ||
|
||
include(WiresharkPlugin) | ||
|
||
# Plugin name and version info (major minor micro extra) | ||
set_module_info(ja4 0 0 1 0) | ||
|
||
set(DISSECTOR_SRC | ||
packet-ja4.c | ||
) | ||
|
||
set(PLUGIN_FILES | ||
plugin.c | ||
${DISSECTOR_SRC} | ||
) | ||
|
||
set_source_files_properties( | ||
${PLUGIN_FILES} | ||
PROPERTIES | ||
COMPILE_FLAGS "${WERROR_COMMON_FLAGS}" | ||
) | ||
|
||
register_plugin_files( | ||
plugin.c | ||
plugin | ||
${DISSECTOR_SRC} | ||
) | ||
|
||
add_wireshark_plugin_library(ja4 epan) | ||
|
||
target_link_libraries(ja4 epan) | ||
|
||
install_plugin(ja4 epan) | ||
|
||
file(GLOB DISSECTOR_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*.h") | ||
CHECKAPI( | ||
NAME | ||
ja4 | ||
SWITCHES | ||
--group dissectors-prohibited | ||
--group dissectors-restricted | ||
SOURCES | ||
${DISSECTOR_SRC} | ||
${DISSECTOR_HEADERS} | ||
) | ||
|
Oops, something went wrong.