2024-02-28 16:30:03 +08:00
|
|
|
[device]
|
2024-01-31 14:45:50 +08:00
|
|
|
device_base = 1 # [0, 31]
|
|
|
|
|
device_offset = 2 # [0, 127]
|
|
|
|
|
|
2024-02-28 16:30:03 +08:00
|
|
|
[packet_io]
|
|
|
|
|
mode = dumpfile # dumpfile, marsio
|
|
|
|
|
app_symbol = stellar
|
|
|
|
|
dev_symbol = nf_0_fw
|
|
|
|
|
|
2024-03-14 10:56:09 +08:00
|
|
|
dumpfile_dir = "/tmp/dumpfile/"
|
2024-01-31 14:45:50 +08:00
|
|
|
nr_threads = 1 # [1, 256]
|
2024-01-29 14:15:33 +08:00
|
|
|
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]
|
|
|
|
|
|
2024-03-08 13:55:17 +08:00
|
|
|
[ip_reassembly]
|
2024-02-28 16:30:03 +08:00
|
|
|
enable = 1
|
2024-03-14 10:56:09 +08:00
|
|
|
timeout = 10000 # ms
|
2024-02-28 16:30:03 +08:00
|
|
|
bucket_entries = 8
|
|
|
|
|
bucket_num = 4096
|
|
|
|
|
|
2024-01-29 14:15:33 +08:00
|
|
|
[session_manager]
|
|
|
|
|
# max session number
|
2024-03-14 10:56:09 +08:00
|
|
|
max_tcp_session_num = 40960
|
|
|
|
|
max_udp_session_num = 40960
|
2024-01-29 14:15:33 +08:00
|
|
|
|
|
|
|
|
# session overload evict
|
|
|
|
|
tcp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session
|
|
|
|
|
udp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session
|
|
|
|
|
|
|
|
|
|
# TCP timeout
|
2024-03-14 10:56:09 +08:00
|
|
|
tcp_timeout_init = 5000 # ms, Range: 1-60,000
|
|
|
|
|
tcp_timeout_handshake = 10000 # ms, Range: 1-60,000
|
|
|
|
|
tcp_timeout_data = 3600000 # ms, Range: 1-15,999,999,000
|
|
|
|
|
tcp_timeout_half_closed = 120000 # ms, Range: 1-604,800,000
|
|
|
|
|
tcp_timeout_time_wait = 15000 # ms, Range: 1-600,000
|
|
|
|
|
tcp_timeout_discard = 90000 # ms, Range: 1-15,999,999,000
|
2024-01-29 14:15:33 +08:00
|
|
|
|
|
|
|
|
# UDP timeout
|
2024-03-14 10:56:09 +08:00
|
|
|
udp_timeout_data = 10000 # ms, Range: 1-15,999,999,000
|
2024-01-29 14:15:33 +08:00
|
|
|
|
2024-03-09 19:28:14 +08:00
|
|
|
# duplicate packet filter
|
|
|
|
|
duplicated_packet_filter_enable = 1
|
|
|
|
|
duplicated_packet_filter_capacity = 1000000
|
2024-03-14 10:56:09 +08:00
|
|
|
duplicated_packet_filter_timeout = 10000 # ms, Range: 1-60,000
|
2024-03-09 19:28:14 +08:00
|
|
|
duplicated_packet_filter_error_rate = 0.00001
|
|
|
|
|
|
|
|
|
|
# evicted session filter
|
|
|
|
|
evicted_session_filter_enable = 1
|
|
|
|
|
evicted_session_filter_capacity = 1000000
|
2024-03-14 10:56:09 +08:00
|
|
|
evicted_session_filter_timeout = 10000 # ms, Range: 1-60,000
|
2024-03-09 19:28:14 +08:00
|
|
|
evicted_session_filter_error_rate = 0.00001
|