Defining custom patterns

Since the aim of this example is to detect the connection to the website http://perdu.org in a TCP or UDP request, the chosen context will be tcpudp:hostname. The value chosen for the pattern ID is 4101.