mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 17:07:04 +00:00
Set binary install target, update doc
This commit is contained in:
parent
6937dbc3fa
commit
7af04ca7ea
4 changed files with 14 additions and 8 deletions
|
@ -111,3 +111,6 @@ target_link_libraries(ssldump
|
|||
${JSONC_LIBRARIES}
|
||||
)
|
||||
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
install(TARGETS ssldump DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
|
|
13
README.md
13
README.md
|
@ -53,22 +53,23 @@ other too (but this is just a collateral damage).
|
|||
|
||||
# Build instructions
|
||||
|
||||
On Debian & Ubuntu:
|
||||
Install dependencies on Debian & Ubuntu (as root):
|
||||
```
|
||||
apt install build-essential cmake ninja-build libssl-dev libpcap-dev libnet1-dev libjson-c-dev
|
||||
cmake -G Ninja -B build
|
||||
ninja -C build
|
||||
./build/ssldump -v
|
||||
```
|
||||
|
||||
On Fedora, CentOS, RHEL & Rocky:
|
||||
On Fedora, CentOS, RHEL & Rocky (as root):
|
||||
```
|
||||
dnf install cmake ninja-build gcc openssl-devel libpcap-devel libnet-devel json-c-devel
|
||||
```
|
||||
|
||||
Compile & install:
|
||||
```
|
||||
cmake -G Ninja -B build
|
||||
ninja -C build
|
||||
./build/ssldump -v
|
||||
(optional, as root) ninja -C build install
|
||||
```
|
||||
|
||||
# Notes
|
||||
|
||||
The "save to pcap" (-w) option by @ryabkov, is heavily based on the work of
|
||||
|
|
|
@ -61,7 +61,7 @@ ssldump \- dump SSL traffic on a network
|
|||
.na
|
||||
.B ssldump
|
||||
[
|
||||
.B \-aAdeFHjnNPqtTvxXy
|
||||
.B \-aAdeFHjnNPqtTvxXyz
|
||||
] [
|
||||
.B \-i
|
||||
.I interface
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
9th April 2023 - version 1.7
|
||||
|
||||
```
|
||||
.na ssldump [ -aAdeFHjnNPqtTvxXy ] [ -i interface ]
|
||||
.na ssldump [ -aAdeFHjnNPqtTvxXyz ] [ -i interface ]
|
||||
.ti +8 [ -k keyfile ] [ -l sslkeylogfile ] [ -p password ] [ -r dumpfile ] [ -w outputpcap ]
|
||||
.ti +8 [ -S [ crypto | d | ht | H | nroff ] ] [ expression ]
|
||||
|
||||
|
@ -138,6 +138,8 @@ _/dev/bpf*_.
|
|||
* **-y**
|
||||
Decorate the output for processing with nroff/troff. Not very
|
||||
useful for the average user.
|
||||
* **-z**
|
||||
Add timestamp in front of TCP packet description (-T)
|
||||
* _expression_
|
||||
Selects what packets _ssldump_ will examine. Technically speaking,
|
||||
_ssldump_ supports the full expression syntax from PCAP and tcpdump.
|
||||
|
|
Loading…
Reference in a new issue