Skip to content

Commit

Permalink
slight update to rpfwd timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
its-a-feature committed Aug 5, 2024
1 parent 8098cee commit ffb5a4f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.0-rc14] - 2024-08-05
## [3.3.0-rc15] - 2024-08-05

### Changed

- Updated the login function to return the user's utc time preference
- Added button to show/hide deleted consuming containers
- Shortened the dial time for rpfwd connections to 5s instead of 30s

## [3.3.0-rc13] - 2024-08-05

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc14
3.3.0-rc15
2 changes: 1 addition & 1 deletion mythic-docker/src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.0-rc14
3.3.0-rc15
4 changes: 3 additions & 1 deletion mythic-docker/src/rabbitmq/utils_proxy_traffic.go
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,9 @@ func (p *callbackPortUsage) manageConnections() {
//logging.LogInfo("send message along to acceptedConnection's messagesFromAgent", "chan", newMsg.ServerID)
} else {
// got a new serverID from the agent that we aren't tracking, so we need to make a new connection
if conn, err := net.Dial("tcp", fmt.Sprintf("%s:%d", p.RemoteIP, p.RemotePort)); err != nil {
d := net.Dialer{Timeout: 5 * time.Second}
conn, err := d.Dial("tcp", fmt.Sprintf("%s:%d", p.RemoteIP, p.RemotePort))
if err != nil {
logging.LogError(err, "Failed to connect to remote for rpfwd", "remote_ip", p.RemoteIP, "remote port", p.RemotePort)
interceptProxyToAgentMessageChan <- interceptProxyToAgentMessage{
Message: proxyToAgentMessage{
Expand Down

0 comments on commit ffb5a4f

Please sign in to comment.