Riot police have deployed teargas and batons against thousands of protesters rallying against government surveillance, including lamp posts equipped with sensors. Hundreds of officers charged at protesters, beating them as they fled.