Earlier this year I battered two dogs with a very large stone for chasing me when I was exercising on my bike, to this day, these same two dogs are still always there in the same place and never bother me anymore.
Getting chased by dogs wanting to bite anyone is assault, whether it is an insect, animal, or human that tries to assault me, I will always retaliate when that happens.