This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-kni/conf/kni.conf
2019-06-04 21:18:55 +08:00

62 lines
1.3 KiB
Plaintext

[global]
log_path = ./log/kni/kni.log
log_level = 10
tfe_count = 1
local_eth = enp8s0
[maat]
#readconf_mode: 0 = iris, 1 = json, 2 = redis
readconf_mode = 2
tableinfo_path = ./conf/kni/maat_tableinfo.conf
maatjson_path = ./conf/kni/maat_test.json
redis_ip = 192.168.10.120
redis_port = 6390
redis_index = 4
tablename_intercept_ip = PXY_INTERCEPT_IP
tablename_intercept_domain = PXY_INTERCEPT_DOMAIN
compile_alias = COMPILE_ALIAS
#default_action: 0x80 = bypass, 0x02 = intercept
default_action = 128
[marsio]
appsym = knifw
dev_vxlan_symbol = vxlan_user
src_mac_addr = 00:0e:c6:d6:72:c1
[tfe0]
mac_addr = fe:65:b7:03:50:bd
dev_eth_symbol = ens1f5
[tfe1]
mac_addr = fe:65:b7:03:50:bd
dev_eth_symbol = eth8
[tfe2]
mac_addr = fe:65:b7:03:50:bd
dev_eth_symbol = eth9
[field_stat]
stat_path = ./fs2_kni.status
[send_logger]
switch = 1
kafka_topic = SESSION-RECORD-LOG
kafka_brokerlist = 192.168.10.119:9092,192.168.10.122:9092,192.168.10.123:9092
[kafka]
queue.buffering.max.messages = 1000000
topic.metadata.refresh.interval.ms = 600000
security.protocol = MG
[tfe_cmsg_receiver]
listen_eth = enp8s0
listen_port = 2475
[traceid2pme_htable]
mho_screen_print_ctrl = 0
mho_thread_safe = 1
mho_mutex_num = 160
mho_hash_slot_size = 160000
mho_hash_max_element_num = 640000
mho_expire_time = 30
mho_eliminate_type = LRU