The Iranian regime has reacted to popular protests with all the instincts of a dictatorship -- beating up protesters , locking up opponents , shutting down text messaging services and internet sites .