hi,thanks for query.Lump around anus can not cause any headache or pain in leg,except there is induration in the surrounding which can lead to
fever.please take advise from your doctor as you are having
diabetes so that you should not ignore any minor infection also.
wishing you good health.