inspec/lib/resources
Adam Leff 037f08beb2 Fixing port check with v4 IPs in a v6 netstat line
On Linux, netstat may show a tcp6/udp6 protocol line but include a
v4 address. This happens with AF_INET6 sockets that can accept
both v4 and v6 traffic. The port check was not properly handling
this situation and trying to pass a v4 address to URI bracketed as
if it was a v6 address.

Signed-off-by: Adam Leff <adam@leff.co>
2017-03-06 22:03:41 -07:00
..
apache.rb Update inspec for os[:family] change in Train 2016-08-04 13:32:35 +01:00
apache_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
apt.rb improved regex for matching deb sources 2016-11-09 11:10:46 -06:00
audit_policy.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
auditd_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
auditd_rules.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
bash.rb remodel bash and shell wrappers 2016-04-18 11:48:42 -04:00
bond.rb rename internal File -> FileResource 2016-03-09 10:48:48 +01:00
bridge.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
command.rb Update inspec for os[:family] change in Train 2016-08-04 13:32:35 +01:00
crontab.rb Adding new crontab resource 2017-02-10 09:33:31 -05:00
csv.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
directory.rb rename internal File -> FileResource 2016-03-09 10:48:48 +01:00
etc_group.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
file.rb Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
gem.rb making the examples in the code consistent with rst docs 2016-09-21 11:33:17 +05:30
groups.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
grub_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
host.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
http.rb switch to faraday as http backend 2017-02-02 22:13:36 +01:00
iis_site.rb add fallback syntax for serverspec tests 2016-12-15 16:16:17 +01:00
inetd_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
ini.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
interface.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
iptables.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
json.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
kernel_module.rb Remove os.family from kernel_module 2017-02-24 23:30:00 +03:00
kernel_parameter.rb Use only strings in resource examples, docs and tests 2016-05-03 23:27:18 +01:00
limits_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
login_def.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
mount.rb Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
mssql_session.rb fixing rubocop error 2016-07-17 14:22:04 -04:00
mysql.rb fix os exception 2016-09-02 15:24:50 +01:00
mysql_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
mysql_session.rb Use only strings in resource examples, docs and tests 2016-05-03 23:27:18 +01:00
npm.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
ntp_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
oneget.rb making the examples in the code consistent with rst docs 2016-09-21 11:33:17 +05:30
os.rb making the examples in the code consistent with rst docs 2016-09-21 11:33:17 +05:30
os_env.rb Update inspec for os[:family] change in Train 2016-08-04 13:32:35 +01:00
package.rb Switch package resource to os.redhat detection and use two spaces as fileds delimited 2017-02-15 11:07:10 +00:00
packages.rb Switch package resource to os.redhat detection and use two spaces as fileds delimited 2017-02-15 11:07:10 +00:00
parse_config.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
passwd.rb expose deprecated fields in passwd 2016-05-04 15:27:58 +02:00
pip.rb fix double-space in pip to_s resource 2016-09-21 12:02:36 +02:00
port.rb Fixing port check with v4 IPs in a v6 netstat line 2017-03-06 22:03:41 -07:00
postgres.rb Improve detection of postgresql conf dir and data dir 2016-08-10 18:44:15 +02:00
postgres_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
postgres_session.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
powershell.rb fix integration tests for usage with winrm v2 2016-09-05 13:36:48 +02:00
processes.rb deprecate .list 2017-02-03 08:28:46 +00:00
registry_key.rb Remove extra ' in registry key examples 2016-11-21 10:18:01 -06:00
security_policy.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
service.rb Added oracle linux to rhel platform section. 2017-03-02 22:07:16 +11:00
shadow.rb fix the shadow password example now that cmp can handle arrays 2016-04-20 11:57:34 -04:00
ssh_conf.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
ssl.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
sys_info.rb Fix minor typo in sys_info documentation 2016-09-26 10:56:16 +01:00
users.rb Skip packages resource for unsupported OS 2017-02-10 10:34:01 +00:00
vbscript.rb fix integration tests for usage with winrm v2 2016-09-05 13:36:48 +02:00
windows_feature.rb Update inspec for os[:family] change in Train 2016-08-04 13:32:35 +01:00
windows_task.rb Fixing errors reported in Travis 2016-11-20 20:32:48 +00:00
wmi.rb improve wmi resource 2016-06-19 23:40:45 +02:00
xinetd.rb Address rubocop violations 2017-02-08 16:49:16 -06:00
yaml.rb Placing all resources in the Inspec::Resources namespace 2016-03-08 13:40:16 -05:00
yum.rb Yum.repo should show correct name 2017-01-04 11:10:38 +09:00
zfs_dataset.rb Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00
zfs_pool.rb Add FreeBSD support for ZFS datasets and pools 2017-02-22 10:29:49 -07:00