I actually think flashing your headlights at someone is going to have the opposite of the intended effect more often than not.
I'm not talking about speeding up to someone's car within 2 feet of their bumper and flashing your headlamps on and off constantly for 5 minutes before giving up and passing on the right.