Comments (3)
FWIW, these changes did remediate the original false-positives that lead to submitting this issue. Kudos to Dan for coming up with architecturally clean way to address the problem.
from nmap.
This issue deserves more discussion. I replied on the development mailing list here: http://seclists.org/nmap-dev/2015/q1/52
from nmap.
I am committing this patch with changes to support the algorithm we discussed, namely preserving the possibility of marking a service tcpwrapped
if it closes the connection within the longer totalwaitms
without sending data for every probe attempted. Also, I chose 3000 ms as the default timeout for tcpwrapped, to be a bit more conservative. I tested with these ncat commands:
- tcpwrapped with a short timeout:
ncat -k -l -v --sh-exec "sleep 2" 8888
- tcpwrapped with a longer timeout:
ncat -k -l -v --sh-exec "sleep 4" 8888
- Not tcpwrapped, just listens "forever":
ncat -k -l -v --sh-exec "sleep 7" 8888
- Not tcpwrapped, but delay before banner:
ncat -k -l -v --sh-exec "sleep 4;echo 'SSH-2.0-'" 8888
- Not tcpwrapped, but shorter read timeout:
ncat -k -l -v --sh-exec "sleep 4; read x && echo 'SSH-2.0-'" 8888
from nmap.
Related Issues (20)
- Unable to Copy and Paste [MacOS] HOT 1
- Memory leak in function 'getsysroutes_dnet' HOT 2
- CPE bad parsing or detection
- Add 'newtargets' argument option to broadcast-dhcp-discover script
- Incorrect OS scanning by using inside docker
- SSL packets are not written to stdout if stdout is pipe
- nmap -sP 2603:1030:20e:3::23c -6
- Edit the configuration to collapse
- nmap -sV does not take -g src port into account
- Sendto errors always truncate
- Add state field in XML 'script' node: an indicator of completion status of NSE script
- Building with alternate compiler/sysroot causes failure internal to make process HOT 1
- nmap "-p ssh" segfaults HOT 4
- nmap -sV --open --host-timeout 300 -n -T4 -oX - <ip>
- Port statereason issue HOT 1
- Not reviewed / merged NSE / Service Probe PRs? HOT 3
- Nmap stuck in loop on connect scan HOT 1
- I made a complete NSE Cheat Sheet HOT 1
- I can only scan one port at a time, what kind of garbage do I rely on
- zenmap build error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmap.