summaryrefslogtreecommitdiff
path: root/etc/mimic/wlan0.conf
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-30 23:51:01 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-30 23:51:01 +0800
commit7c67155e639f02d0d04df985eedc09262915b23c (patch)
tree58d9ac9c3d67f3dec4326015b700ae4319d8d9bc /etc/mimic/wlan0.conf
parenta0565e2f8e2a8fcb547c81a982eb4f39532c17fd (diff)
use distcc via wg to insp, use mimic
phosh-osk-stub no need, now named as stevia is a dependency of phosh, stevia is default osk now need linux headers for mimic to build and work tcpdump useful so I add
Diffstat (limited to 'etc/mimic/wlan0.conf')
-rw-r--r--etc/mimic/wlan0.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/mimic/wlan0.conf b/etc/mimic/wlan0.conf
new file mode 100644
index 00000000..68160109
--- /dev/null
+++ b/etc/mimic/wlan0.conf
@@ -0,0 +1,42 @@
+# This is an example configuration for Mimic. For each interface, you may
+# create <interface>.conf in /etc/mimic and in the following format to
+# pass arguments to Mimic's systemd service (mimic@<interface>.service).
+#
+# Each configuration should be in the format of `key=value`. There might be
+# whitespaces between key, '=' and value, and should be kept in one line. Empty
+# lines and ones that start with '#' are ignored.
+
+# Sets log verbosity. Log level equal to or higher (in number) than log
+# verbosity will be discarded. Both number and string matching log levels are
+# accepted. Number must be greater than or equal to 0. Defaults to info (2).
+#
+# Log levels:
+# 0 - error (cannot be discarded)
+# 1 - warn
+# 2 - info
+# 3 - debug
+# 4 - trace
+#log.verbosity = trace
+
+# Specify link layer type, can be 'eth' (Ethernet) or 'none' (no L2 header,
+# like PPP or TUN). Defaults to 'eth'.
+#link_type = eth
+
+# Force XDP attach mode, either 'skb' or 'native'. Defaults to 'native' if
+# target interface supports it, or 'skb'.
+#xdp_mode = skb
+
+# Use libxdp instead of libbpf to load XDP program. libxdp supports chaining
+# multiple XDP programs on one interface. Mimic loads libxdp dynamically using
+# dlopen. Defaults to false.
+#use_libxdp = false
+
+# Whether to always use maximum window size in TCP packets. Defaults to false.
+#max_window = false
+
+# Specifies which packets should be processed by Mimic. Can be set more
+# than once to allow parallel rules (OR'ed).
+#
+# Filter format follows `(local|remote)=IP:port`. For IPv6, IP addresses
+# need to be surrounded by square brackets. See below for examples.
+filter = remote=104.224.159.210:54635