THE EVOLUTION OF FIREWALLS: FROM LEGACY SYSTEMS TO NEXT-GEN TECHNOLOGY