You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function "should_try_ssl" in nselib/ftp.lua is quite generic and doesn't trigger when testing a connection toward IBM Db2 server.
Therefore may I suggest replacing current code with this one:
-- Should we try STARTTLS based on this error?localfunctionshould_try_ssl(code, message)
returncodeand (
code>=400and (
message:match('[Ss][Ss][Ll]') ormessage:match('[Tt][Ll][Ss]') ormessage:match('[Ss][Ee][Cc][Uu][Rr]')
)
) or (
-- support IBM Db2 lack of TLS related error messagecode==534andmessage:match('Server requires authentication before')
)
end
Function "should_try_ssl" in nselib/ftp.lua is quite generic and doesn't trigger when testing a connection toward IBM Db2 server.
Therefore may I suggest replacing current code with this one:
Here is the reference I used:
IBM doc for error 534
Disclaimer: I've never tried to contribute to such a project. shall I provide pull request? Anything else ?
The text was updated successfully, but these errors were encountered: