They can ban the use of any software that is "designed to circumvent" such laws, which would be any encrypted peer-to-peer communication software.
And enforcement doesn't need to be 100% effective to make a difference. Fairly simple measures are sufficient to deter and/or block well over 90% of the populace and force them into controlled channels, as China demonstrates.
And enforcement doesn't need to be 100% effective to make a difference. Fairly simple measures are sufficient to deter and/or block well over 90% of the populace and force them into controlled channels, as China demonstrates.