|
Example 3
Goal To count WWW traffic from a specific IP address (e.g., 192.168.0.1) to any webserver.
Solution Let's create a single filter with two rules. The first rule will count the regular (non-secure) WWW traffic and the second rule will count the secure WWW traffic.
| Filter 1. WWW traffic from the specific host 192.168.0.1 to any webserver |
N Rule |
Type of IP protocol |
Source address |
Source port |
Destination address |
Destination port |
Both directions |
Action for packet |
Additional condition |
| 1 |
TCP |
192.168.0.1 |
Any |
Any |
80 |
Yes |
Count |
|
| 2 |
TCP |
192.168.0.1 |
Any |
Any |
443 |
Yes |
Count |
|
Note
- To simplify the solution, we assume that WWW traffic uses only TCP ports 80 and 443. However, you should keep in mind that the webserver can listen for incoming WWW connection on any TCP port (e.g., TCP port 8080).
|