All Apps and Add-ons

Network Tool Kit Bulk Port Check

ansif
Motivator

Hi,

We can do bulk ping using this app

Ping:

... | lookup ping host as host_to_lookup | table _raw host sent received packet_loss min_ping max_ping avg_ping jitter return_code raw_output

Can we do Port scan?

Like all host with same port number?

0 Karma

LukeMurphey
Champion

It doesn't support that yet. This was an oversight on my part because I added the port scanning functionality after I had created the previous lookup commands. I opened a ticket to add the ability to do bulk port scans: https://lukemurphey.net/issues/2589

Update:
I added the ability to do this in version 1.5: https://splunkbase.splunk.com/app/3491/

See https://lukemurphey.net/projects/network-tools/wiki/Using_Lookups for how to use the lookup. You just need to make sure that the host field (e.g. "10.0.0.1") and the ports field (e.g. "80-1024,8000") are defined. I was testing it like this:

(dest=10.0.0.6 OR dest=10.0.1.11) | stats count by dest | eval ports="80,443,8000" | lookup portscan host as dest ports | table ports dest open_ports closed_ports

0 Karma

skyelowryvancit
Explorer

Also bulk whois from ...|lookup whois host as host_to_lookup

Currently the response is an empty table with no content, The whois is performed and the results end up in index=main (even though nettools is the index specified in Configuration).

Not sure if this is a similar oversight or a different issue.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...