Privacy Policy

I created a rule in SL4NT to look for specific info received from a PIX syslog.

I syntexed the substring message as follows||||||

I left the regular expression box checked. I am to receive an email on the above

Problem I am having is that I receive emails from SL4NT that contain IP addresses not in the substring. Below is a sample of an email that I receive. As you can see the IP addresses listed in the email are not part of the substring. Does anybody have any ideas on why SL4NT may be doing this to me. The SL4NT is quite busy receiving a lot of syslog traffic from other devices.


1:43:52 AM

Jul 14 2009 00:58:49: %FWSM-3-106100: access-list out2in permitted icmp

outside/ -> inside/ hit-cnt 192

(300-second interval) [0x941ea73, 0x0]

You need to escape the dot characters because in a regex a dot character matches any character:



why would the ;~ not work for this situation
>why would the ;~ not work for this situation

Because the documentation says:

If the Regular Expression check box is not selected, this field can contain one or more substrings. Substrings must be separated by a ; (semicolon). Spaces are considered as being part of the substring. A substring can be prefixed by a ~ (tilde). The condition is evaluated to true if all substrings without the prefix ~ and none of the substrings with the prefix ~ are contained in the message text of the syslog message.

This means that if you don't use regex (e.g.;;;;;;, ALL addresses must be contained in the message text to constitute a match (which isn't the case in your scenario). Using the ~ character as prefix means that the rule matches only if the following string DOESN'T contain the following substring, which isn't what you intend, too.


Similar Topics