ryanolee / go-pot

A service for giving away secrets to bots ...Probably slightly too many!
Other
104 stars 3 forks source link

Add IPV6 Toggle for netwok options #2

Closed ryanolee closed 4 months ago

ryanolee commented 4 months ago

What

Add new configuration option for IPV6 network stack support

Why

So that go-pot can be used within ipv6 networks

How

By allowing for the configuration of the internal fiber instance to use ipv6

How to test:

Run go run main.go start --host \[0:0:0:0:0:0:0:1\] --network=tcp6 and visit http://[::1]:8080/

(Aims to resolve #1)