Do you have Windows firewall* working?
Is Windows up to date?
If you can answer yes to both questions, you can ignore or disable the warnings.
The warnings mean avast! is protecting your computer from attack.
They do not mean there is anything bad on your computer.
*Third party firewall users usually don't see this message because the firewall blocks the attack before avast! sees it.