-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
28 lines (22 loc) · 1.17 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Copyright (c) Steve Maresca/Zentific LLC
Instructions
1) Build the module
a) make sure kernel headers are installed
b) make sure a full development toolchain is installed
c) run 'make'
2) Insert the kernel module. Parameters are required at insertion time.
e.g. insmod panicmon.ko src_ip=10.0.0.148 dst_ip=10.0.0.142 iface=eth0
alternatively use modprobe if preference/requirement dictates.
NOTE: parameters can be modified at runtime via /sys/module/panicmon/parameters/*
3) run dmesg to see some status and initialization output
To test the module, run tcpdump on the receiving host and run 'echo c > /proc/sysrq-trigger'
Notes:
IPv6 is unsupported at the moment.
UDP is the protocol used for sending data.
Parameters supported:
Name Criticality Default value Type
iface Required unset String (e.g., "eth0")
src_ip Required unset String (e.g., "1.2.3.44")
dst_ip Required unset String (e.g., "1.2.3.44")
src_port Optional 20000 Integer [1 <= n <= 65535]
dst_port Optional 20000 Integer [1 <= n <= 65535]