Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLT daemon crashes on QNX by scanning port 3490 by nmap #341

Closed
rvalovyi opened this issue Oct 20, 2021 · 0 comments
Closed

DLT daemon crashes on QNX by scanning port 3490 by nmap #341

rvalovyi opened this issue Oct 20, 2021 · 0 comments

Comments

@rvalovyi
Copy link
Contributor

rvalovyi commented Oct 20, 2021

Hi,
I am facing a problem in QNX with dlt-daemon:
I start dlt-daemon on QNX board and it works fine:

Selection_470

Then I run a scan of port 3490 from a Linux machine:
$ nmap -v -p 3490 -Pn IP_address_of_QNX_board
This leads to a daemon crash:
Selection_471

On Linux machine dlt-daemon doesn't crash:
Selection_472

Thanks in advance.

rvalovyi pushed a commit to rvalovyi/dlt-daemon that referenced this issue Oct 26, 2021
ssugiura pushed a commit that referenced this issue Nov 2, 2021
Scan of port 3490 from a Linux machine by
'nmap -v -p 3490 -Pn IP_address_of_QNX_board' leads to dlt-daemon crash.

It is necessary to parse the code of the returned error in errno.
If errno = ECONNABORTED it means there was an attempt to scan port 3490
and on this error there is no need to exit the application by error.

Fix for the issue #341

Signed-off-by: Ruslan Valovyi <[email protected]>
@ssugiura ssugiura closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants