I wonder how much is going into location technology much like ShotSpotter but for rockets and mortar and all that sort of thing. They may already know the origins of fire but maybe can't fire back at that precise location or something?
One such system operated by Israel: https://en.wikipedia.org/wiki/EL/M-2084