[GH-ISSUE #2248] use_encryption功能的安全性 #1791

Closed
opened 2026-05-05 13:09:26 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @hbinzn on GitHub (Feb 19, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2248

use_encryption=true过后看到frps与frpc间的明文数据确实是被加密了,这个加密是通过何种方式来实现,相对TLS有没有被破解的风险?

[REQUIRED] hat version of frp are you using

Version:

[REQUIRED] What operating system and processor architecture are you using
OS:
CPU architecture:

[REQUIRED] description of errors

confile

log file

Steps to reproduce the issue
1.
2.
3.

Supplementary information

Can you guess what caused this issue

Checklist:

  • [] I included all information required in the sections above
  • [] I made sure there are no duplicates of this report (Use Search)
Originally created by @hbinzn on GitHub (Feb 19, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2248 use_encryption=true过后看到frps与frpc间的明文数据确实是被加密了,这个加密是通过何种方式来实现,相对TLS有没有被破解的风险? <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version: **[REQUIRED] What operating system and processor architecture are you using** OS: CPU architecture: **[REQUIRED] description of errors** **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> **Steps to reproduce the issue** 1. 2. 3. **Supplementary information** **Can you guess what caused this issue** **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): --> - [] I included all information required in the sections above - [] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
Author
Owner
<!-- gh-comment-id:786989320 --> @dksslq commented on GitHub (Feb 27, 2021): https://github.com/fatedier/frp/issues/492 https://github.com/fatedier/frp/blob/ed610490411866ce4fe319d57a7d7882c554ef2e/client/control.go#L269 https://github.com/fatedier/frp/blob/127a31ea6a1a5d3f0ce3d9c2b9ec6776b1732cde/server/control.go#L300
Author
Owner

@fatedier commented on GitHub (Mar 1, 2021):

在可以的情况下尽量使用 TLS ,这样可以全局加密。use_encryption 只对通过代理传输的内容加密。

<!-- gh-comment-id:787606785 --> @fatedier commented on GitHub (Mar 1, 2021): 在可以的情况下尽量使用 TLS ,这样可以全局加密。use_encryption 只对通过代理传输的内容加密。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1791
No description provided.