feat: adapt to stellar-2.0

This commit is contained in:
lijia
2024-06-07 19:03:56 +08:00
parent 1ab2559887
commit 82cd2ced07
17 changed files with 605 additions and 723 deletions

6
bin/main.conf Normal file
View File

@@ -0,0 +1,6 @@
[QUIC]
QUIC_PORT_LIST=443;8443;4433;
LOG_LEVEL=30
LOG_PATH="./log/quic/quic"
DECRYPTED_SWITCH=2
MAX_PARSE_PKT_NUM=3

View File

@@ -1,12 +1,9 @@
[PLUGINFO]
PLUGNAME=QUIC
SO_PATH=./plug/protocol/quic/quic.so
INIT_FUNC=QUIC_INIT
DESTROY_FUNC=QUIC_DESTROY
FLAGCHANGE_FUNC=QUIC_FLAG_CHANGE
FLAGSTATE_FUNC=QUIC_PROT_FUNSTAT
GETPLUGID_FUNC=QUIC_GETPLUGID
[[plugin]]
path = "./stellar_plugin/quic.so"
init = "QUIC_ONLOAD"
exit = "QUIC_UNLOAD"
[UDP]
FUNC_FLAG=ALL
FUNC_NAME=QUIC_ENTRY
[[plugin]]
path = "./stellar_plugin/quic_test_plug.so"
init = "QUIC_TEST_PLUG_INIT"
exit = "QUIC_TEST_PLUG_DESTROY"