-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy patheth0.conf.example
27 lines (25 loc) · 1.08 KB
/
eth0.conf.example
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
# 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
# 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 = local=192.0.2.1:1234
filter = remote=[2001:db8::cafe]:5678