[GH-ISSUE #2637] Is STCP mode secure enough for Man-in-the-middle attack? #2101

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

Originally created by @villivateur on GitHub (Oct 25, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2637

Bug Description

Will STCP mode encrypt the traffic data? Is it safe to prevent the man in the middle to watch my network traffic?

frpc Version

0.37.1

frps Version

0.37.1

System Architecture

Linux/AMD64

Configurations

[common]
server_addr = 127.0.0.1
server_port = 11111
log_file = /var/log/frp/frpc.log
token = 11111
admin_addr = 127.0.0.1
admin_port = 1111

[test]
type = stcp
role = visitor
server_name = test
sk = test
bind_addr = 127.0.0.1
bind_port = 1111

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @villivateur on GitHub (Oct 25, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2637 ### Bug Description Will STCP mode encrypt the traffic data? Is it safe to prevent the man in the middle to watch my network traffic? ### frpc Version 0.37.1 ### frps Version 0.37.1 ### System Architecture Linux/AMD64 ### Configurations [common] server_addr = 127.0.0.1 server_port = 11111 log_file = /var/log/frp/frpc.log token = 11111 admin_addr = 127.0.0.1 admin_port = 1111 [test] type = stcp role = visitor server_name = test sk = test bind_addr = 127.0.0.1 bind_port = 1111 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [X] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:21:08 -06:00
Author
Owner

@fatedier commented on GitHub (Oct 25, 2021):

https://github.com/fatedier/frp#encryption-and-compression

<!-- gh-comment-id:950864609 --> @fatedier commented on GitHub (Oct 25, 2021): https://github.com/fatedier/frp#encryption-and-compression
Author
Owner

@github-actions[bot] commented on GitHub (Nov 25, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:978570938 --> @github-actions[bot] commented on GitHub (Nov 25, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2101
No description provided.