All Apps and Add-ons

Cisco App - Pix inbound vs outbound

EricPartington
Communicator

I have been looking at the Cisco Pix App and the transforms for src and dest ip. What I noticed is that the src and dest ip are extracted in the same position in both the outbound and inbound built messages.

From my understanding of the syslog messages, the location of src and dest ip flip depending on the inbound and outbound keyword in the built statement.

Is this correct and should i change the default behaviour for the [cisco-firewall-to_addr_port] and [cisco-firewall-from_addr_port]

As is:

[cisco-firewall-to_addr_port]
REGEX = \s+to (?:([\w-_]+):)?([^ /]*)(?:/(\S+))?\s*
FORMAT = dest_dom::$1 dest_ip::$2 dest_port::$3

To:

[cisco-firewall-inbound-to_addr_port]
REGEX =inbound.*\s+to (?:([\w-_]+):)?([^ /]*)(?:/(\S+))?\s*
FORMAT = dest_dom::$1 dest_ip::$2 dest_port::$3

and: [cisco-firewall-outbound-to_addr_port] REGEX = outbound\s+(?:from|for(?! user)) (?:([\w-_]+):)?([^ /])(?:/(\S+))?\s FORMAT = dest_dom::$1 dest_ip::$2 dest_port::$3

Tags (2)
0 Karma
1 Solution

southeringtonp
Motivator

EricPartington
Communicator

That works better, have a few tweaks to it but works much better than it did before.

thanks

0 Karma

dwaddle
SplunkTrust
SplunkTrust

Can you provide sample events to go with this?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...