Code Monkey home page Code Monkey logo

Comments (5)

grafnu avatar grafnu commented on August 14, 2024

Can you be more specific? AFAIK nmap does scan all ports.

Keep in mind that UDP ports can't easily be scanned because they will likely "do nothing" if probed with bogus data.

from daq.

pisuke avatar pisuke commented on August 14, 2024

nmap scans the first 1000 TCP ports with default options.
To add UDP scan the -sU option can be used.
To scan all 65535 ports the -p- option can be used.
This might make the scan very slow though, what do you think?
Perhaps we could have a configuration file to scan for relevant building systems ports?

from daq.

grafnu avatar grafnu commented on August 14, 2024

I played around with this and scanning all ports is ridiculously slow. This is effected by microsegmentation, which makes it slower, so it might be there's two different scans that are done at different times.

Scanning UDP didn't do anything useful -- the protocol has on built-in reply so it doesn't generally respond to random probes. Then it made it slower.

And yes, a config file for building ports would be good.

We need to break this down into smaller items since "scan all ports" is too big to be actionable.

from daq.

aidanparkinson avatar aidanparkinson commented on August 14, 2024

Still an issue preventing sing-off of security.ports.nmap test. Need a -p1 option when running nmap

from daq.

InBrewJ avatar InBrewJ commented on August 14, 2024

Sample commands for TCP/UDP

TCP:
nmap -p0- -v -A
UDP: nmap -sUV -F

from daq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.