Fixed banning to work for both v4 and v6
Fixed OS detection