ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] boolean operators in coloring rules

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "J.Smith" <temp201@xxxxxxxxxxx>
Date: Sat, 5 Mar 2005 10:34:49 +0100
Hi.


I would like to create a coloring rule in ethereal that colors all packets that have HTTP response codes that are greater than or equal to 200, and less than 300. I tried to do this using the following coloring rule, but it appears that this is not valid syntax. :

http.response.code >= 200 AND http.response.code < 300

So it looks like it is currently not possible to use boolean operators (like 'OR', 'AND') in ethereal color filters - would it be possible to add support for that in ethereal, or would that need a lot of effort ? Also, is there anyone who knows if it is possible to create such coloring rules in ethereal by other means ?


Anyways, thanks for the help,


Sincerely,


John Smith.