ettercap formatting + input validation