| The "Forensic" Log Utilities explained, and how to add your own utilities |
|||||||||||||||
| This
Knowledge Base article applies to: |
|||||||||||||||
|
You may have noticed that as of v8.0, you can right-click log entries in the log analyzer and do pings, traceroute, etc.. Well, you can set up your own tools! Take a look in: You'll find a couple of .exe files, and a bunch of .def files. Edit these .def files in e.g. notepad, and you'll see things like: "Ping Dest.def":
CMD ping.exe $destip
description
Pings the specified host.
"Whois Dest.def":
CMD whois.exe -p $HTTP_PROXY $destip
HTTP TRUE
description
Looks up "whois" information for the host/network
in the ARIN/RIPE/APNIC etc registries.
Directives in the .def files
$destip $srcip $destport $srcportExample: destination port lookup on isc.incidents.org Here's one use I personally like a lot. The Internet Storm Center, isc.incidents.org,
keeps track of portscans seen on tens of Create a "ISC Dest Port Lookup.def" file, containing: CMD cmd /c start http://isc.incidents.org/port_details.html?port=$destport NOOUTPUT TRUE DESCRIPTION Lookup the destination port on isc.incidents.org (opens a seprate web browser window) If you've got your log analyzer window open already, you'll need to close it and reopen it -- it scans the .def files when it is opened. Now, if you're wondering about a destination port in your logs, you can
just right-click the line and select "Log Utilities->ISC Note: This does NOT apply to browsers; browsers keep their own
proxy settings and do not need help from the firewall If the app uses outbound HTTP connections , and the firewall manager
is set to use an HTTP proxy, the following variables HTTP_PROXY e.g. "http://uname:pwd@proxy.myorg.com:8080" HTTP_PROXY_SIMPLE e.g. "proxy.myorg.com:8080" HTTP_PROXY_HOST e.g. "proxy.myorg.com" HTTP_PROXY_PORT e.g. "8080" PROXY_USER e.g. "uname" PROXY_PASS e.g. "pwd" USE_PROXY e.g. "on" If the proxy doesn't use authentication, HTTP_PROXY simply becomes e.g. "http://proxy.myorg.com:8080". This is completely compatible with e.g. "wget" and other apps ported from *nix that (can) use HTTP proxies. |
|||||||||||||||