You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide packet inspection byte-code to get payload addressing,
and MiniPlex can route packets to branches based on src/dst.
Included DNP3 example src/SwitchDNP3.s -> switch.bpf
Supported bytecode is a subset of eBPF.
May change to RISC-V in future for better assembler support (and/or 3rd party interpreter).
BranchAddrs("B", "branch_ip", "Remote endpoint addresses to permanently cache. Use -b to provide respective ports in the same order.", false, "branchhost"),
40
-
BranchPorts("b", "branch_port", "Remote endpoint port to permanently cache. Use -B to provide respective addresses in the same order.", false, "branchport"),
38
+
TrunkAddr("r", "trunk_ip", "Remote trunk ip address.", false, "", "trunk host"),
BranchAddrs("B", "branch_ip", "Remote endpoint addresses to permanently cache. Use -b to provide respective ports in the same order.", false, "branch host"),
41
+
BranchPorts("b", "branch_port", "Remote endpoint port to permanently cache. Use -B to provide respective addresses in the same order.", false, "branch port"),
42
+
ByteCodeFile("C", "byte_code", "eBPF (subset) byte code file. Switch mode code for extracting src and dst addrs from packet data.\n"
LogSize("S", "log_size", "Roll the log file at this many kB. Defaults to 5000", false, 5000, "size in kB"),
45
48
LogNum("N", "log_num", "Keep this many log files when rolling the log. Defaults to 3", false, 3, "number of files"),
46
-
ConcurrencyHint("x", "concurrency", "A hint for the number of threads in thread pool. Defaults to detected hardware concurrency.",false,std::thread::hardware_concurrency(),"numthreads"),
49
+
ConcurrencyHint("x", "concurrency", "A hint for the number of threads in thread pool. Defaults to detected hardware concurrency.",false,std::thread::hardware_concurrency(),"num threads"),
47
50
Benchmark("M", "benchmark", "Run a loopback test for fixed duration (see -m) and exit."),
48
51
BenchDuration("m", "benchmark_duration", "Number of milliseconds to run the loopback benchmark test. Defaults to 10000.",false,10000,"milliseconds")
0 commit comments