Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how to use --disable-fec parameter properly ? #119

Open
m00nstar opened this issue Feb 1, 2024 · 1 comment
Open

how to use --disable-fec parameter properly ? #119

m00nstar opened this issue Feb 1, 2024 · 1 comment

Comments

@m00nstar
Copy link

m00nstar commented Feb 1, 2024

Hi, everybody.
Can someone explain how to completely disable fec correction.
I have tried to use --disable-fec in cmd args. But it seems there is no effect.
The program sets default fec parameters instead (-f20: 10).

Thanks

/system.slice/tinyvpn-client.linode.deb.service
└─50404 /usr/local/sbin/tinyvpn_amd64 -c -r 127.0.0.1:7777 --disable-fec --sock-buf 4096 --disable-checksum --disable-obscure --keep-reconnect --sub-net 10.10.0.0

фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]ip_address is {127.0.0.1}, port is {7777}
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][WARN]checksum disabled
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]obscure disabled
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]keep_reconnect enabled
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]sub_net 10.10.0.0
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]jitter_min=0 jitter_max=0 output_interval_min=0 output_interval_max=0 fec_timeout=8 fec_mtu=1250 fec_queue_len=200 fec_mode=0
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]fec_str=20:10
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]fec_inner_parameter=1:10,2:10,3:10,4:10,5:10,6:10,7:10,8:10,9:10,10:10,11:10,12:10,13:10,14:10,15:10,16:10,17:10,18:10,19:10,20:10
фев 01 17:48:35 rucloud tinyvpn_amd64[50404]: [2024-02-01 17:48:35][INFO]using interface tun430

@wangyu-
Copy link
Owner

wangyu- commented Jun 13, 2024

if --disable-fec is enabled, it should override everything (even if the log says 20:10).

you can ingore the 20:10 in log.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants