Medieval Europeans would have been familiar with polecats. They are/were used for pest control, although they were considered pests themselves. They're probably the ancestor species for ferrets too
In the 70s I knew someone who kept them as pets and for hunting rabbits. They really do stink