Skip to content

Commit a5d8551

Browse files
committed
flag, config files, redis, etc.
1 parent 96f242c commit a5d8551

File tree

6 files changed

+319
-81
lines changed

6 files changed

+319
-81
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,33 @@ analyzer-d4-passivessl fetch a redis feed of certificate and TLS sessions and ma
44
```bash
55
go get github.com/gomodule/redigo/redis
66
go get github.com/lib/pq
7-
sudo apt install postgresal-plpython3-10
7+
sudo apt install postgresql-plpython3-10
8+
```
9+
10+
# Config
11+
12+
```bash
13+
analyzer-d4-passivessl - Passive SSL analyzer:
14+
15+
Fetch data from sensor-d4-tls-fingerprinting and push it into d4-passivessl-server
16+
17+
Usage:
18+
19+
analyzer-d4-passivessl -c config_directory
20+
21+
Configuration:
22+
23+
The configuration settings are stored in files in the configuration directory
24+
specified with the -c command line switch.
25+
26+
Files in the configuration directory:
27+
28+
redis - empty if not used.
29+
| host:port/db
30+
redis_queue - type and uuid of the redis queue
31+
| type:uuid
32+
postgres - postgres database
33+
| user:password@host:port/db
34+
certfolder - absolute path to the folder containing certificates
35+
| /....
836
```

conf.sample/certfolder

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/disk1/d4/datas/ja3-jl/certs/

conf.sample/postgres

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
postgres:postgres@localhost:5432/passive_ssl

conf.sample/redis

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
localhost:6380/2

conf.sample/redis_queue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ja3-jl:0894517855f047d2a77b4473d3a9cc5b

0 commit comments

Comments
 (0)