Introduction : imperial bandits, cultures of violence, and oral traditions -- Opium and rebellion at high altitudes -- Commerce, rebellion, and consular optics -- Imperial bandits and the Sino-French War -- Borderline, resistance, and technology -- Conclusion : flags in the dust