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
control'server-1.0'doimpact1.0title'Access to my server'desc'builders should be able to access my server'describehost('www.example.com',port: 443,proto: 'tcp')doit{shouldbe_reachable}endend
Possible Solutions
host could use netcat when proto is 'tcp' or 'udp'
tcp
The text was updated successfully, but these errors were encountered:
scboucher
changed the title
be_reacheable matcher for host resource should not always use ping
be_reacheable matcher for host resource should not always use ping on linux
Feb 23, 2017
@scboucher Thanks for submitting this issue! It does appear we could offer better transparency and better functionality here.
Since this enhancement is already requested in #1439 as you've indicated, I'm going to close this issue as a duplicate of that one. Please feel free to subscribe to that one for further updates. In addition, as a friendly reminder, Pull Requests are always welcome. 😄
Description
host resource always use ping on linux. When the proto is set to tcp or udp it should at least warning the use it is going to use ping instead.
See also #1439
InSpec and Platform Version
inspec --version
1.14.1
linux debian
Replication Case
Here is an example of control that
Possible Solutions
host could use netcat when proto is 'tcp' or 'udp'
tcp
or
udp
Stacktrace
The text was updated successfully, but these errors were encountered: