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

fix: enable hole punching and libp2p listener config #79

Merged
merged 3 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ The following emojis are used to highlight certain changes:

### Security

## [v0.4.1]

### Fixed

- enabled NAT port map and Hole Punching to increase connectivity in non-public network topologies

## [v0.4.0]

### Changed
Expand Down
4 changes: 4 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@
libp2p.UserAgent("someguy/"+buildVersion()),
libp2p.ConnectionManager(cmgr),
libp2p.ResourceManager(rcmgr),
libp2p.NATPortMap(),
libp2p.DefaultTransports,
libp2p.DefaultMuxers,
libp2p.EnableHolePunching(),

Check warning on line 192 in server.go

View check run for this annotation

Codecov / codecov/patch

server.go#L189-L192

Added lines #L189 - L192 were not covered by tests
)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v0.4.0"
"version": "v0.4.1"
}
Loading