Skip to content

Commit

Permalink
Additional blocking [::ffff:<ipv4 address>] (ShadowBan) (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paindar authored Sep 19, 2024
1 parent 4a4fbdc commit d10fc49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client_qBittorrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ func qB_SubmitShadowBanPeer(blockPeerMap map[string]BlockPeerInfoStruct) bool {
shadowBanIPPortsList = append(shadowBanIPPortsList, "[" + peerIP + "]:" + strconv.Itoa(port))
} else {
shadowBanIPPortsList = append(shadowBanIPPortsList, peerIP + ":" + strconv.Itoa(port))
shadowBanIPPortsList = append(shadowBanIPPortsList, "[::ffff:" + peerIP + "]:" + strconv.Itoa(port))
}
}
}
Expand Down

0 comments on commit d10fc49

Please sign in to comment.