Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

heart beat sent cipher_decrypt failed recv_safer failed #498

Open
lexavey opened this issue Nov 13, 2023 · 1 comment
Open

heart beat sent cipher_decrypt failed recv_safer failed #498

lexavey opened this issue Nov 13, 2023 · 1 comment

Comments

@lexavey
Copy link

lexavey commented Nov 13, 2023

English Only.

when run command in server udp2raw_x86 -s -l 0.0.0.0:4096 -r 127.0.0.1:51820 --log-level 5 -a
and client : ./udp2raw_arm -c -l 127.0.0.1:51820 -r 11.22.33.44:4096 -a --log-level 5

[2023-11-13 07:58:32][DEBUG]heart beat sent<f653c2da,2c3fca93>
[2023-11-13 07:58:32][DEBUG]cipher_decrypt failed
[2023-11-13 07:58:32][DEBUG]recv_safer failed!
[2023-11-13 07:58:33][DEBUG][38.9.140.224:43514][hb]received hb
[2023-11-13 07:58:33][DEBUG]heart beat sent<f653c2da,2c3fca93>
[2023-11-13 07:58:33][DEBUG]cipher_decrypt failed
[2023-11-13 07:58:33][DEBUG]recv_safer failed!
[2023-11-13 07:58:34][DEBUG][38.9.140.224:43514][hb]received hb
[2023-11-13 07:58:34][DEBUG]heart beat sent<f653c2da,2c3fca93>
[2023-11-13 07:58:34][DEBUG]cipher_decrypt failed
[2023-11-13 07:58:34][DEBUG]recv_safer failed!
[2023-11-13 07:58:34][DEBUG]heart beat sent<f653c2da,2c3fca93>
[2023-11-13 07:58:34][DEBUG]cipher_decrypt failed
[2023-11-13 07:58:34][DEBUG]recv_safer failed!

Run with :

udp2raw -s -l 0.0.0.0:4096 -r 127.0.0.1:51820 -k "123" --cipher-mode "none" --auth-mode "none" --raw-mode faketcp -a --log-level 5
[2023-11-13 08:05:29][DEBUG]recv_safer failed!
[2023-11-13 08:05:30][DEBUG]heart beat sent<d67f8a9a,531f09cf>
[2023-11-13 08:05:30][DEBUG]len <0 ,-18
[2023-11-13 08:05:30][DEBUG]recv_safer failed!
[2023-11-13 08:05:30][DEBUG]heart beat sent<d67f8a9a,531f09cf>
[2023-11-13 08:05:30][DEBUG]len <0 ,-18
[2023-11-13 08:05:30][DEBUG]recv_safer failed!
[2023-11-13 08:05:31][DEBUG]heart beat sent<d67f8a9a,531f09cf>
[2023-11-13 08:05:31][DEBUG]len <0 ,-18
[2023-11-13 08:05:31][DEBUG]recv_safer failed!
[2023-11-13 08:05:32][DEBUG]heart beat sent<d67f8a9a,531f09cf>
[2023-11-13 08:05:32][DEBUG]len <0 ,-18
[2023-11-13 08:05:32][DEBUG]recv_safer failed!
[2023-11-13 08:05:33][DEBUG]heart beat sent<d67f8a9a,531f09cf>
[2023-11-13 08:05:33][DEBUG]len <0 ,-18
[2023-11-13 08:05:33][DEBUG]recv_safer failed!

what this log mean ?

@wangyu-
Copy link
Owner

wangyu- commented Nov 15, 2023

List to check:

  1. client server are in same version
  2. the password are same
  3. cipher and auth mode are same
  4. there are no transparent proxy between client and server

If they are all correct, then maybe your VPS or ISP doesn't allow raw socket's packet to passthrough correctly.

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

No branches or pull requests

2 participants