Dogs can have many different reactions to visitors, from excited piddling and jumping to fearful growling and anxiety to barking and aggression.