New docs portal launching December 21st! All Exabeam, LogRhythm, and API documentation is moving to docs.exabeam.com. Existing links will redirect automatically, but we recommend updating your bookmarks.
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0

Capture Traffic from Specific IPs


function Packet_CaptureSpecificIP (msg, packet) require('IpMatch') if (myIpMatch == nil) then -- One time only, set up the IpMatch object myIpMatch = IpMatch:new() myIpMatch:SetIP4Src("8.8.8.8") -- using example IP: google dns server myIpMatch:SetIP4Dst("8.8.8.8") end if (myIpMatch:MatchIP4SrcOrDst(msg)) then VoteForPacketCapture(msg) endend