Ah yes, the old squirt gun defense. Works every time.;-)
Filled with ammonia, does a spectacular job. Even rubbing alcohol will usually send a dog running if you hit him anywhere near the head.
Don't ask how I know any of this.