Interesting to see all the 642 owners in this thread.
Only dog I ever had to shoot at was not "feral"
per se, but one step removed. Its owner - my neighbor in a quasi-country area (rural Washington on Puget Sound near Olympia) - let it and it's son run free, despite my repeated protestations.
The old one was testy. They would trot through my yard on the way to their favorite stomping grounds. I tried hard to befriend them because I like dogs. I'd go to the neighbor's house and pet them while he was with them. I kept biscuits at my back door to offer them when they came by (even though I didn't have a dog then).
I think the "dad" was probably senile. Once, he came through the back yard alone, saw me on the back porch, came up to the porch, barking and growling rather viciously. I just went inside, resolved to call animal control the next day.
Later that night (or the next), a friend arrived from out of town around midnight. The two dogs came up into my driveway exhibiting aggressive behavior toward me and my friend.
I stepped inside, grabbed my 9mm (yes, I was once a heretical owner of a bottom feeder
), and fired off a round into a dirt berm just left of the driveway (no houses behind it in that direction; only Puget Sound).
Those dogs left peel out marks with their feet in the driveway. Never saw them again on my property.