Police targeted as attacks kill 17