Strange. Updated operational system and a firewall should do the job.
Have you configurated Comodo correctly? Maybe uninstall it and install again... I know, you'll lose the program list (allowed to connect). Or you can ask for help on Comodo forums.
Less worse is that avast is blocking the attacks.