Skip to content

Commit d10fc49

Browse files
authored
Additional blocking [::ffff:<ipv4 address>] (ShadowBan) (#128)
1 parent 4a4fbdc commit d10fc49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client_qBittorrent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ func qB_SubmitShadowBanPeer(blockPeerMap map[string]BlockPeerInfoStruct) bool {
320320
shadowBanIPPortsList = append(shadowBanIPPortsList, "[" + peerIP + "]:" + strconv.Itoa(port))
321321
} else {
322322
shadowBanIPPortsList = append(shadowBanIPPortsList, peerIP + ":" + strconv.Itoa(port))
323+
shadowBanIPPortsList = append(shadowBanIPPortsList, "[::ffff:" + peerIP + "]:" + strconv.Itoa(port))
323324
}
324325
}
325326
}

0 commit comments

Comments
 (0)