Ok so if i want to write i firewall i have to make it forward it directly but then to protect agains possible attacks i need to write it to recognise varous types of attacks can anyone suggest methods to do this and where i can read up on differnt signitures of differnt attacks trojans etc!

Thanks in advance!

-Aldur