Resisting war: how communities protect themselves