ohai 14.2.0 → 14.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/lib/ohai/application.rb +29 -29
- data/lib/ohai/common/dmi.rb +5 -5
- data/lib/ohai/dsl/plugin.rb +3 -3
- data/lib/ohai/dsl/plugin/versionvii.rb +3 -3
- data/lib/ohai/mixin/azure_metadata.rb +2 -2
- data/lib/ohai/mixin/do_metadata.rb +3 -3
- data/lib/ohai/mixin/ec2_metadata.rb +8 -8
- data/lib/ohai/mixin/gce_metadata.rb +2 -2
- data/lib/ohai/mixin/network_constants.rb +1 -1
- data/lib/ohai/mixin/scaleway_metadata.rb +3 -3
- data/lib/ohai/mixin/softlayer_metadata.rb +1 -1
- data/lib/ohai/mixin/string.rb +2 -2
- data/lib/ohai/plugins/aix/cpu.rb +3 -3
- data/lib/ohai/plugins/aix/filesystem.rb +1 -1
- data/lib/ohai/plugins/aix/kernel.rb +1 -1
- data/lib/ohai/plugins/aix/memory.rb +1 -1
- data/lib/ohai/plugins/aix/network.rb +3 -3
- data/lib/ohai/plugins/bsd/virtualization.rb +1 -1
- data/lib/ohai/plugins/cloud.rb +1 -1
- data/lib/ohai/plugins/darwin/hardware.rb +1 -1
- data/lib/ohai/plugins/darwin/network.rb +5 -5
- data/lib/ohai/plugins/darwin/platform.rb +1 -1
- data/lib/ohai/plugins/dmi.rb +6 -6
- data/lib/ohai/plugins/filesystem.rb +5 -5
- data/lib/ohai/plugins/hostname.rb +5 -5
- data/lib/ohai/plugins/kernel.rb +8 -8
- data/lib/ohai/plugins/linux/lspci.rb +4 -4
- data/lib/ohai/plugins/linux/memory.rb +4 -4
- data/lib/ohai/plugins/linux/network.rb +16 -16
- data/lib/ohai/plugins/linux/platform.rb +7 -1
- data/lib/ohai/plugins/netbsd/network.rb +1 -1
- data/lib/ohai/plugins/network.rb +5 -5
- data/lib/ohai/plugins/openbsd/network.rb +1 -1
- data/lib/ohai/plugins/packages.rb +1 -1
- data/lib/ohai/plugins/passwd.rb +4 -4
- data/lib/ohai/plugins/ruby.rb +13 -13
- data/lib/ohai/plugins/solaris2/dmi.rb +3 -3
- data/lib/ohai/plugins/solaris2/filesystem.rb +6 -6
- data/lib/ohai/plugins/solaris2/memory.rb +2 -2
- data/lib/ohai/plugins/solaris2/network.rb +36 -36
- data/lib/ohai/plugins/windows/network.rb +2 -2
- data/lib/ohai/util/win32/group_helper.rb +1 -1
- data/lib/ohai/version.rb +1 -1
- data/spec/functional/application_spec.rb +6 -6
- data/spec/functional/loader_spec.rb +4 -4
- data/spec/functional/plugins/windows/uptime_spec.rb +1 -2
- data/spec/spec_helper.rb +5 -5
- data/spec/unit/application_spec.rb +11 -11
- data/spec/unit/config_spec.rb +5 -5
- data/spec/unit/dsl/plugin_spec.rb +5 -5
- data/spec/unit/hints_spec.rb +2 -2
- data/spec/unit/loader_spec.rb +41 -41
- data/spec/unit/mixin/azure_metadata_spec.rb +3 -3
- data/spec/unit/mixin/command_spec.rb +64 -64
- data/spec/unit/mixin/ec2_metadata_spec.rb +6 -6
- data/spec/unit/mixin/softlayer_metadata_spec.rb +1 -1
- data/spec/unit/plugin_config_spec.rb +9 -9
- data/spec/unit/plugins/abort_spec.rb +6 -6
- data/spec/unit/plugins/aix/cpu_spec.rb +16 -16
- data/spec/unit/plugins/aix/filesystem_spec.rb +57 -57
- data/spec/unit/plugins/aix/network_spec.rb +35 -35
- data/spec/unit/plugins/aix/virtualization_spec.rb +210 -210
- data/spec/unit/plugins/azure_spec.rb +49 -49
- data/spec/unit/plugins/bsd/filesystem_spec.rb +13 -13
- data/spec/unit/plugins/bsd/virtualization_spec.rb +10 -10
- data/spec/unit/plugins/c_spec.rb +54 -54
- data/spec/unit/plugins/chef_spec.rb +3 -3
- data/spec/unit/plugins/darwin/cpu_spec.rb +54 -54
- data/spec/unit/plugins/darwin/filesystem_spec.rb +34 -34
- data/spec/unit/plugins/darwin/hardware_system_profiler_output.rb +1070 -1070
- data/spec/unit/plugins/darwin/memory_spec.rb +16 -16
- data/spec/unit/plugins/darwin/network_spec.rb +382 -382
- data/spec/unit/plugins/digital_ocean_spec.rb +7 -7
- data/spec/unit/plugins/dmi_spec.rb +83 -83
- data/spec/unit/plugins/docker_spec.rb +2 -2
- data/spec/unit/plugins/ec2_spec.rb +156 -156
- data/spec/unit/plugins/eucalyptus_spec.rb +19 -19
- data/spec/unit/plugins/fail_spec.rb +14 -14
- data/spec/unit/plugins/freebsd/cpu_spec.rb +18 -18
- data/spec/unit/plugins/freebsd/kernel_spec.rb +1 -1
- data/spec/unit/plugins/gce_spec.rb +1 -1
- data/spec/unit/plugins/init_package_spec.rb +1 -1
- data/spec/unit/plugins/java_spec.rb +4 -4
- data/spec/unit/plugins/joyent_spec.rb +9 -9
- data/spec/unit/plugins/linux/block_device_spec.rb +1 -1
- data/spec/unit/plugins/linux/cpu_spec.rb +155 -155
- data/spec/unit/plugins/linux/filesystem_spec.rb +229 -229
- data/spec/unit/plugins/linux/kernel_spec.rb +9 -9
- data/spec/unit/plugins/linux/lsb_spec.rb +18 -18
- data/spec/unit/plugins/linux/lspci_spec.rb +58 -58
- data/spec/unit/plugins/linux/mdadm_spec.rb +54 -54
- data/spec/unit/plugins/linux/memory_spec.rb +35 -35
- data/spec/unit/plugins/linux/network_spec.rb +464 -464
- data/spec/unit/plugins/linux/platform_spec.rb +84 -68
- data/spec/unit/plugins/linux/systemd_paths_spec.rb +40 -40
- data/spec/unit/plugins/linux/uptime_spec.rb +1 -1
- data/spec/unit/plugins/linux/virtualization_spec.rb +197 -197
- data/spec/unit/plugins/mono_spec.rb +11 -11
- data/spec/unit/plugins/netbsd/kernel_spec.rb +1 -1
- data/spec/unit/plugins/network_spec.rb +2 -2
- data/spec/unit/plugins/openstack_spec.rb +43 -43
- data/spec/unit/plugins/os_spec.rb +1 -1
- data/spec/unit/plugins/passwd_spec.rb +9 -9
- data/spec/unit/plugins/php_spec.rb +22 -22
- data/spec/unit/plugins/powershell_spec.rb +13 -13
- data/spec/unit/plugins/rackspace_spec.rb +38 -38
- data/spec/unit/plugins/ruby_spec.rb +14 -14
- data/spec/unit/plugins/scaleway_spec.rb +6 -6
- data/spec/unit/plugins/scsi_spec.rb +7 -7
- data/spec/unit/plugins/solaris2/cpu_spec.rb +2594 -2594
- data/spec/unit/plugins/solaris2/dmi_spec.rb +91 -91
- data/spec/unit/plugins/solaris2/filesystem.rb +8 -8
- data/spec/unit/plugins/solaris2/kernel_spec.rb +1 -1
- data/spec/unit/plugins/solaris2/network_spec.rb +92 -93
- data/spec/unit/plugins/solaris2/platform_spec.rb +24 -24
- data/spec/unit/plugins/solaris2/virtualization_spec.rb +22 -22
- data/spec/unit/plugins/ssh_host_keys_spec.rb +12 -12
- data/spec/unit/plugins/sysconf_spec.rb +321 -321
- data/spec/unit/plugins/virtualbox_spec.rb +27 -27
- data/spec/unit/plugins/windows/cpu_spec.rb +9 -9
- data/spec/unit/plugins/windows/kernel_spec.rb +12 -12
- data/spec/unit/plugins/windows/uptime_spec.rb +1 -1
- data/spec/unit/plugins/zpools_spec.rb +41 -41
- data/spec/unit/runner_spec.rb +2 -2
- data/spec/unit/system_spec.rb +55 -55
- metadata +3 -4
- data/docs/man/man1/ohai.1 +0 -97
@@ -20,23 +20,23 @@ require_relative "../../../spec_helper.rb"
|
|
20
20
|
|
21
21
|
describe Ohai::System, "Darwin Memory Plugin" do
|
22
22
|
before(:each) do
|
23
|
-
darwin_memsize =
|
24
|
-
17179869184
|
23
|
+
darwin_memsize = <<~DARWIN_MEMSIZE
|
24
|
+
17179869184
|
25
25
|
DARWIN_MEMSIZE
|
26
|
-
darwin_vm_stat =
|
27
|
-
Mach Virtual Memory Statistics: (page size of 4096 bytes)
|
28
|
-
Pages free: 2155305.
|
29
|
-
Pages active: 924164.
|
30
|
-
Pages inactive: 189127.
|
31
|
-
Pages speculative: 531321.
|
32
|
-
Pages wired down: 391749.
|
33
|
-
"Translation faults": 14107520.
|
34
|
-
Pages copy-on-write: 810071.
|
35
|
-
Pages zero filled: 6981505.
|
36
|
-
Pages reactivated: 1397.
|
37
|
-
Pageins: 630064.
|
38
|
-
Pageouts: 0.
|
39
|
-
Object cache: 12 hits of 139872 lookups (0% hit rate)
|
26
|
+
darwin_vm_stat = <<~DARWIN_VM_STAT
|
27
|
+
Mach Virtual Memory Statistics: (page size of 4096 bytes)
|
28
|
+
Pages free: 2155305.
|
29
|
+
Pages active: 924164.
|
30
|
+
Pages inactive: 189127.
|
31
|
+
Pages speculative: 531321.
|
32
|
+
Pages wired down: 391749.
|
33
|
+
"Translation faults": 14107520.
|
34
|
+
Pages copy-on-write: 810071.
|
35
|
+
Pages zero filled: 6981505.
|
36
|
+
Pages reactivated: 1397.
|
37
|
+
Pageins: 630064.
|
38
|
+
Pageouts: 0.
|
39
|
+
Object cache: 12 hits of 139872 lookups (0% hit rate)
|
40
40
|
DARWIN_VM_STAT
|
41
41
|
|
42
42
|
@plugin = get_plugin("darwin/memory")
|
@@ -20,396 +20,396 @@ require_relative "../../../spec_helper.rb"
|
|
20
20
|
|
21
21
|
describe Ohai::System, "Darwin Network Plugin" do
|
22
22
|
before(:each) do
|
23
|
-
@darwin_ifconfig =
|
24
|
-
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
31
|
-
stf0: flags=0<> mtu 1280
|
32
|
-
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
fw0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 4078
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
54
|
-
|
55
|
-
|
23
|
+
@darwin_ifconfig = <<~DARWIN_IFCONFIG
|
24
|
+
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
|
25
|
+
options=3<RXCSUM,TXCSUM>
|
26
|
+
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
|
27
|
+
inet 127.0.0.1 netmask 0xff000000
|
28
|
+
inet6 ::1 prefixlen 128
|
29
|
+
inet6 fd54:185f:37df:cad2:ba8d:12ff:fe3a:32de prefixlen 128
|
30
|
+
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
31
|
+
stf0: flags=0<> mtu 1280
|
32
|
+
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
33
|
+
ether b8:8d:12:3a:32:de
|
34
|
+
inet6 fe80::ba8d:12ff:fe3a:32de%en1 prefixlen 64 scopeid 0x4
|
35
|
+
inet 10.20.10.144 netmask 0xffffff00 broadcast 10.20.10.255
|
36
|
+
inet6 2001:44b8:4186:1100:ba8d:12ff:fe3a:32de prefixlen 64 autoconf
|
37
|
+
inet6 2001:44b8:4186:1100:7dba:7a60:97a:e14a prefixlen 64 autoconf temporary
|
38
|
+
media: autoselect
|
39
|
+
status: active
|
40
|
+
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
|
41
|
+
ether 0a:8d:12:3a:32:de
|
42
|
+
media: autoselect
|
43
|
+
status: inactive
|
44
|
+
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
|
45
|
+
options=2b<RXCSUM,TXCSUM,VLAN_HWTAGGING,TSO4>
|
46
|
+
ether 3c:07:54:4e:0e:35
|
47
|
+
media: autoselect (none)
|
48
|
+
status: inactive
|
49
|
+
fw0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 4078
|
50
|
+
lladdr a4:b1:97:ff:fe:b9:3a:d4
|
51
|
+
media: autoselect <full-duplex>
|
52
|
+
status: inactive
|
53
|
+
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1380
|
54
|
+
inet6 fe80::ba8d:12ff:fe3a:32de%utun0 prefixlen 64 scopeid 0x8
|
55
|
+
inet6 fd00:6587:52d7:c87:ba8d:12ff:fe3a:32de prefixlen 64
|
56
56
|
DARWIN_IFCONFIG
|
57
57
|
|
58
|
-
@darwin_arp =
|
59
|
-
? (10.20.10.1) at 0:4:ed:de:41:bf on en1 ifscope [ethernet]
|
60
|
-
? (10.20.10.2) at 0:1e:c9:55:7e:ee on en1 ifscope [ethernet]
|
61
|
-
? (10.20.10.6) at 34:15:9e:18:a1:20 on en1 ifscope [ethernet]
|
62
|
-
? (10.20.10.57) at cc:8:e0:e0:8a:2 on en1 ifscope [ethernet]
|
63
|
-
? (10.20.10.61) at 28:37:37:12:5:77 on en1 ifscope [ethernet]
|
64
|
-
? (10.20.10.73) at e0:f8:47:8:86:2 on en1 ifscope [ethernet]
|
65
|
-
? (10.20.10.130) at 68:a8:6d:da:2b:24 on en1 ifscope [ethernet]
|
66
|
-
? (10.20.10.138) at 8:0:37:8c:d2:23 on en1 ifscope [ethernet]
|
67
|
-
? (10.20.10.141) at b8:8d:12:28:c5:90 on en1 ifscope [ethernet]
|
68
|
-
? (10.20.10.166) at 0:1b:63:a0:1:3a on en1 ifscope [ethernet]
|
69
|
-
? (10.20.10.174) at 98:d6:bb:bd:37:ad on en1 ifscope [ethernet]
|
70
|
-
? (10.20.10.178) at 24:ab:81:2d:a3:c5 on en1 ifscope [ethernet]
|
71
|
-
? (10.20.10.181) at 78:a3:e4:e4:16:32 on en1 ifscope [ethernet]
|
72
|
-
? (10.20.10.185) at 0:26:8:9a:e8:a3 on en1 ifscope [ethernet]
|
73
|
-
? (10.20.10.200) at b8:8d:12:55:7f:7f on en1 ifscope [ethernet]
|
74
|
-
? (10.20.10.255) at ff:ff:ff:ff:ff:ff on en1 ifscope [ethernet]
|
58
|
+
@darwin_arp = <<~DARWIN_ARP
|
59
|
+
? (10.20.10.1) at 0:4:ed:de:41:bf on en1 ifscope [ethernet]
|
60
|
+
? (10.20.10.2) at 0:1e:c9:55:7e:ee on en1 ifscope [ethernet]
|
61
|
+
? (10.20.10.6) at 34:15:9e:18:a1:20 on en1 ifscope [ethernet]
|
62
|
+
? (10.20.10.57) at cc:8:e0:e0:8a:2 on en1 ifscope [ethernet]
|
63
|
+
? (10.20.10.61) at 28:37:37:12:5:77 on en1 ifscope [ethernet]
|
64
|
+
? (10.20.10.73) at e0:f8:47:8:86:2 on en1 ifscope [ethernet]
|
65
|
+
? (10.20.10.130) at 68:a8:6d:da:2b:24 on en1 ifscope [ethernet]
|
66
|
+
? (10.20.10.138) at 8:0:37:8c:d2:23 on en1 ifscope [ethernet]
|
67
|
+
? (10.20.10.141) at b8:8d:12:28:c5:90 on en1 ifscope [ethernet]
|
68
|
+
? (10.20.10.166) at 0:1b:63:a0:1:3a on en1 ifscope [ethernet]
|
69
|
+
? (10.20.10.174) at 98:d6:bb:bd:37:ad on en1 ifscope [ethernet]
|
70
|
+
? (10.20.10.178) at 24:ab:81:2d:a3:c5 on en1 ifscope [ethernet]
|
71
|
+
? (10.20.10.181) at 78:a3:e4:e4:16:32 on en1 ifscope [ethernet]
|
72
|
+
? (10.20.10.185) at 0:26:8:9a:e8:a3 on en1 ifscope [ethernet]
|
73
|
+
? (10.20.10.200) at b8:8d:12:55:7f:7f on en1 ifscope [ethernet]
|
74
|
+
? (10.20.10.255) at ff:ff:ff:ff:ff:ff on en1 ifscope [ethernet]
|
75
75
|
DARWIN_ARP
|
76
76
|
|
77
|
-
@darwin_route =
|
78
|
-
|
79
|
-
destination: default
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
77
|
+
@darwin_route = <<~DARWIN_ROUTE
|
78
|
+
route to: default
|
79
|
+
destination: default
|
80
|
+
mask: default
|
81
|
+
gateway: 10.20.10.1
|
82
|
+
interface: en1
|
83
|
+
flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
|
84
|
+
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
85
|
+
0 0 0 0 0 0 1500 0
|
86
86
|
DARWIN_ROUTE
|
87
87
|
|
88
|
-
@darwin_netstat =
|
89
|
-
Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll Drop
|
90
|
-
lo0 16384 <Link#1> 174982 0 25774844 174982 0 25774844 0
|
91
|
-
lo0 16384 fe80::1%lo0 fe80:1::1 174982 - 25774844 174982 - 25774844 - -
|
92
|
-
lo0 16384 127 127.0.0.1 174982 - 25774844 174982 - 25774844 - -
|
93
|
-
lo0 16384 ::1/128 ::1 174982 - 25774844 174982 - 25774844 - -
|
94
|
-
lo0 16384 fd54:185f:3 fd54:185f:37df:ca 174982 - 25774844 174982 - 25774844 - -
|
95
|
-
gif0* 1280 <Link#2> 0 0 0 0 0 0 0
|
96
|
-
stf0* 1280 <Link#3> 0 0 0 0 0 0 0
|
97
|
-
en1 1500 <Link#4> b8:8d:12:3a:32:de 5921903 0 2530556736 14314573 0 18228234970 0
|
98
|
-
en1 1500 fe80::ba8d: fe80:4::ba8d:12ff 5921903 - 2530556736 14314573 - 18228234970 - -
|
99
|
-
en1 1500 10.20.10/24 10.20.10.144 5921903 - 2530556736 14314573 - 18228234970 - -
|
100
|
-
en1 1500 2001:44b8:4 2001:44b8:4186:11 5921903 - 2530556736 14314573 - 18228234970 - -
|
101
|
-
en1 1500 2001:44b8:4 2001:44b8:4186:11 5921903 - 2530556736 14314573 - 18228234970 - -
|
102
|
-
p2p0 2304 <Link#5> 0a:8d:12:3a:32:de 0 0 0 0 0 0 0
|
103
|
-
en0 1500 <Link#6> 3c:07:54:4e:0e:35 0 0 0 0 0 2394 0
|
104
|
-
fw0* 4078 <Link#7> a4:b1:97:ff:fe:b9:3a:d4 0 0 0 0 0 1038 0
|
105
|
-
utun0 1380 <Link#8> 5 0 324 13 0 740 0
|
106
|
-
utun0 1380 fe80::ba8d: fe80:8::ba8d:12ff 5 - 324 13 - 740 - -
|
107
|
-
utun0 1380 fd00:6587:5 fd00:6587:52d7:c8 5 - 324 13 - 740 - -
|
88
|
+
@darwin_netstat = <<~DARWIN_NETSTAT
|
89
|
+
Name Mtu Network Address Ipkts Ierrs Ibytes Opkts Oerrs Obytes Coll Drop
|
90
|
+
lo0 16384 <Link#1> 174982 0 25774844 174982 0 25774844 0
|
91
|
+
lo0 16384 fe80::1%lo0 fe80:1::1 174982 - 25774844 174982 - 25774844 - -
|
92
|
+
lo0 16384 127 127.0.0.1 174982 - 25774844 174982 - 25774844 - -
|
93
|
+
lo0 16384 ::1/128 ::1 174982 - 25774844 174982 - 25774844 - -
|
94
|
+
lo0 16384 fd54:185f:3 fd54:185f:37df:ca 174982 - 25774844 174982 - 25774844 - -
|
95
|
+
gif0* 1280 <Link#2> 0 0 0 0 0 0 0
|
96
|
+
stf0* 1280 <Link#3> 0 0 0 0 0 0 0
|
97
|
+
en1 1500 <Link#4> b8:8d:12:3a:32:de 5921903 0 2530556736 14314573 0 18228234970 0
|
98
|
+
en1 1500 fe80::ba8d: fe80:4::ba8d:12ff 5921903 - 2530556736 14314573 - 18228234970 - -
|
99
|
+
en1 1500 10.20.10/24 10.20.10.144 5921903 - 2530556736 14314573 - 18228234970 - -
|
100
|
+
en1 1500 2001:44b8:4 2001:44b8:4186:11 5921903 - 2530556736 14314573 - 18228234970 - -
|
101
|
+
en1 1500 2001:44b8:4 2001:44b8:4186:11 5921903 - 2530556736 14314573 - 18228234970 - -
|
102
|
+
p2p0 2304 <Link#5> 0a:8d:12:3a:32:de 0 0 0 0 0 0 0
|
103
|
+
en0 1500 <Link#6> 3c:07:54:4e:0e:35 0 0 0 0 0 2394 0
|
104
|
+
fw0* 4078 <Link#7> a4:b1:97:ff:fe:b9:3a:d4 0 0 0 0 0 1038 0
|
105
|
+
utun0 1380 <Link#8> 5 0 324 13 0 740 0
|
106
|
+
utun0 1380 fe80::ba8d: fe80:8::ba8d:12ff 5 - 324 13 - 740 - -
|
107
|
+
utun0 1380 fd00:6587:5 fd00:6587:52d7:c8 5 - 324 13 - 740 - -
|
108
108
|
DARWIN_NETSTAT
|
109
109
|
|
110
|
-
@darwin_sysctl =
|
111
|
-
net.local.stream.sendspace: 8192
|
112
|
-
net.local.stream.recvspace: 8192
|
113
|
-
net.local.stream.tracemdns: 0
|
114
|
-
net.local.dgram.maxdgram: 2048
|
115
|
-
net.local.dgram.recvspace: 4096
|
116
|
-
net.local.inflight: 0
|
117
|
-
net.inet.ip.portrange.lowfirst: 1023
|
118
|
-
net.inet.ip.portrange.lowlast: 600
|
119
|
-
net.inet.ip.portrange.first: 49152
|
120
|
-
net.inet.ip.portrange.last: 65535
|
121
|
-
net.inet.ip.portrange.hifirst: 49152
|
122
|
-
net.inet.ip.portrange.hilast: 65535
|
123
|
-
net.inet.ip.forwarding: 1
|
124
|
-
net.inet.ip.redirect: 1
|
125
|
-
net.inet.ip.ttl: 64
|
126
|
-
net.inet.ip.rtexpire: 12
|
127
|
-
net.inet.ip.rtminexpire: 10
|
128
|
-
net.inet.ip.rtmaxcache: 128
|
129
|
-
net.inet.ip.sourceroute: 0
|
130
|
-
net.inet.ip.intr_queue_maxlen: 50
|
131
|
-
net.inet.ip.intr_queue_drops: 0
|
132
|
-
net.inet.ip.accept_sourceroute: 0
|
133
|
-
net.inet.ip.keepfaith: 0
|
134
|
-
net.inet.ip.gifttl: 30
|
135
|
-
net.inet.ip.subnets_are_local: 0
|
136
|
-
net.inet.ip.mcast.maxgrpsrc: 512
|
137
|
-
net.inet.ip.mcast.maxsocksrc: 128
|
138
|
-
net.inet.ip.mcast.loop: 1
|
139
|
-
net.inet.ip.check_route_selfref: 1
|
140
|
-
net.inet.ip.use_route_genid: 1
|
141
|
-
net.inet.ip.dummynet.hash_size: 64
|
142
|
-
net.inet.ip.dummynet.curr_time: 0
|
143
|
-
net.inet.ip.dummynet.ready_heap: 0
|
144
|
-
net.inet.ip.dummynet.extract_heap: 0
|
145
|
-
net.inet.ip.dummynet.searches: 0
|
146
|
-
net.inet.ip.dummynet.search_steps: 0
|
147
|
-
net.inet.ip.dummynet.expire: 1
|
148
|
-
net.inet.ip.dummynet.max_chain_len: 16
|
149
|
-
net.inet.ip.dummynet.red_lookup_depth: 256
|
150
|
-
net.inet.ip.dummynet.red_avg_pkt_size: 512
|
151
|
-
net.inet.ip.dummynet.red_max_pkt_size: 1500
|
152
|
-
net.inet.ip.dummynet.debug: 0
|
153
|
-
net.inet.ip.fw.enable: 1
|
154
|
-
net.inet.ip.fw.autoinc_step: 100
|
155
|
-
net.inet.ip.fw.one_pass: 0
|
156
|
-
net.inet.ip.fw.debug: 0
|
157
|
-
net.inet.ip.fw.verbose: 0
|
158
|
-
net.inet.ip.fw.verbose_limit: 0
|
159
|
-
net.inet.ip.fw.dyn_buckets: 256
|
160
|
-
net.inet.ip.fw.curr_dyn_buckets: 256
|
161
|
-
net.inet.ip.fw.dyn_count: 0
|
162
|
-
net.inet.ip.fw.dyn_max: 4096
|
163
|
-
net.inet.ip.fw.static_count: 2
|
164
|
-
net.inet.ip.fw.dyn_ack_lifetime: 300
|
165
|
-
net.inet.ip.fw.dyn_syn_lifetime: 20
|
166
|
-
net.inet.ip.fw.dyn_fin_lifetime: 1
|
167
|
-
net.inet.ip.fw.dyn_rst_lifetime: 1
|
168
|
-
net.inet.ip.fw.dyn_udp_lifetime: 10
|
169
|
-
net.inet.ip.fw.dyn_short_lifetime: 5
|
170
|
-
net.inet.ip.fw.dyn_keepalive: 1
|
171
|
-
net.inet.ip.maxfragpackets: 1536
|
172
|
-
net.inet.ip.maxfragsperpacket: 128
|
173
|
-
net.inet.ip.maxfrags: 3072
|
174
|
-
net.inet.ip.scopedroute: 1
|
175
|
-
net.inet.ip.check_interface: 0
|
176
|
-
net.inet.ip.linklocal.in.allowbadttl: 1
|
177
|
-
net.inet.ip.random_id: 1
|
178
|
-
net.inet.ip.maxchainsent: 0
|
179
|
-
net.inet.ip.select_srcif_debug: 0
|
180
|
-
net.inet.icmp.maskrepl: 0
|
181
|
-
net.inet.icmp.icmplim: 250
|
182
|
-
net.inet.icmp.timestamp: 0
|
183
|
-
net.inet.icmp.drop_redirect: 0
|
184
|
-
net.inet.icmp.log_redirect: 0
|
185
|
-
net.inet.icmp.bmcastecho: 1
|
186
|
-
net.inet.igmp.recvifkludge: 1
|
187
|
-
net.inet.igmp.sendra: 1
|
188
|
-
net.inet.igmp.sendlocal: 1
|
189
|
-
net.inet.igmp.v1enable: 1
|
190
|
-
net.inet.igmp.v2enable: 1
|
191
|
-
net.inet.igmp.legacysupp: 0
|
192
|
-
net.inet.igmp.default_version: 3
|
193
|
-
net.inet.igmp.gsrdelay: 10
|
194
|
-
net.inet.igmp.debug: 0
|
195
|
-
net.inet.tcp.rfc1323: 1
|
196
|
-
net.inet.tcp.rfc1644: 0
|
197
|
-
net.inet.tcp.mssdflt: 512
|
198
|
-
net.inet.tcp.keepidle: 7200000
|
199
|
-
net.inet.tcp.keepintvl: 75000
|
200
|
-
net.inet.tcp.sendspace: 65536
|
201
|
-
net.inet.tcp.recvspace: 65536
|
202
|
-
net.inet.tcp.keepinit: 75000
|
203
|
-
net.inet.tcp.v6mssdflt: 1024
|
204
|
-
net.inet.tcp.log_in_vain: 0
|
205
|
-
net.inet.tcp.blackhole: 0
|
206
|
-
net.inet.tcp.delayed_ack: 3
|
207
|
-
net.inet.tcp.tcp_lq_overflow: 1
|
208
|
-
net.inet.tcp.recvbg: 0
|
209
|
-
net.inet.tcp.drop_synfin: 1
|
210
|
-
net.inet.tcp.reass.maxsegments: 3072
|
211
|
-
net.inet.tcp.reass.cursegments: 0
|
212
|
-
net.inet.tcp.reass.overflows: 0
|
213
|
-
net.inet.tcp.slowlink_wsize: 8192
|
214
|
-
net.inet.tcp.maxseg_unacked: 8
|
215
|
-
net.inet.tcp.rfc3465: 1
|
216
|
-
net.inet.tcp.rfc3465_lim2: 1
|
217
|
-
net.inet.tcp.rtt_samples_per_slot: 20
|
218
|
-
net.inet.tcp.recv_allowed_iaj: 5
|
219
|
-
net.inet.tcp.acc_iaj_high_thresh: 100
|
220
|
-
net.inet.tcp.rexmt_thresh: 2
|
221
|
-
net.inet.tcp.path_mtu_discovery: 1
|
222
|
-
net.inet.tcp.slowstart_flightsize: 1
|
223
|
-
net.inet.tcp.local_slowstart_flightsize: 8
|
224
|
-
net.inet.tcp.tso: 1
|
225
|
-
net.inet.tcp.ecn_initiate_out: 0
|
226
|
-
net.inet.tcp.ecn_negotiate_in: 0
|
227
|
-
net.inet.tcp.packetchain: 50
|
228
|
-
net.inet.tcp.socket_unlocked_on_output: 1
|
229
|
-
net.inet.tcp.rfc3390: 1
|
230
|
-
net.inet.tcp.min_iaj_win: 4
|
231
|
-
net.inet.tcp.acc_iaj_react_limit: 200
|
232
|
-
net.inet.tcp.sack: 1
|
233
|
-
net.inet.tcp.sack_maxholes: 128
|
234
|
-
net.inet.tcp.sack_globalmaxholes: 65536
|
235
|
-
net.inet.tcp.sack_globalholes: 0
|
236
|
-
net.inet.tcp.minmss: 216
|
237
|
-
net.inet.tcp.minmssoverload: 0
|
238
|
-
net.inet.tcp.do_tcpdrain: 0
|
239
|
-
net.inet.tcp.pcbcount: 86
|
240
|
-
net.inet.tcp.icmp_may_rst: 1
|
241
|
-
net.inet.tcp.strict_rfc1948: 0
|
242
|
-
net.inet.tcp.isn_reseed_interval: 0
|
243
|
-
net.inet.tcp.background_io_enabled: 1
|
244
|
-
net.inet.tcp.rtt_min: 100
|
245
|
-
net.inet.tcp.rexmt_slop: 200
|
246
|
-
net.inet.tcp.randomize_ports: 0
|
247
|
-
net.inet.tcp.newreno_sockets: 81
|
248
|
-
net.inet.tcp.background_sockets: -1
|
249
|
-
net.inet.tcp.tcbhashsize: 4096
|
250
|
-
net.inet.tcp.background_io_trigger: 5
|
251
|
-
net.inet.tcp.msl: 15000
|
252
|
-
net.inet.tcp.max_persist_timeout: 0
|
253
|
-
net.inet.tcp.always_keepalive: 0
|
254
|
-
net.inet.tcp.timer_fastmode_idlemax: 20
|
255
|
-
net.inet.tcp.broken_peer_syn_rxmit_thres: 7
|
256
|
-
net.inet.tcp.tcp_timer_advanced: 5
|
257
|
-
net.inet.tcp.tcp_resched_timerlist: 12209
|
258
|
-
net.inet.tcp.pmtud_blackhole_detection: 1
|
259
|
-
net.inet.tcp.pmtud_blackhole_mss: 1200
|
260
|
-
net.inet.tcp.timer_fastquantum: 100
|
261
|
-
net.inet.tcp.timer_slowquantum: 500
|
262
|
-
net.inet.tcp.win_scale_factor: 3
|
263
|
-
net.inet.tcp.in_sw_cksum: 5658081
|
264
|
-
net.inet.tcp.in_sw_cksum_bytes: 2198681467
|
265
|
-
net.inet.tcp.out_sw_cksum: 14166053
|
266
|
-
net.inet.tcp.out_sw_cksum_bytes: 17732561863
|
267
|
-
net.inet.tcp.sockthreshold: 64
|
268
|
-
net.inet.tcp.bg_target_qdelay: 100
|
269
|
-
net.inet.tcp.bg_allowed_increase: 2
|
270
|
-
net.inet.tcp.bg_tether_shift: 1
|
271
|
-
net.inet.tcp.bg_ss_fltsz: 2
|
272
|
-
net.inet.udp.checksum: 1
|
273
|
-
net.inet.udp.maxdgram: 9216
|
274
|
-
net.inet.udp.recvspace: 42080
|
275
|
-
net.inet.udp.in_sw_cksum: 19639
|
276
|
-
net.inet.udp.in_sw_cksum_bytes: 3928092
|
277
|
-
net.inet.udp.out_sw_cksum: 17436
|
278
|
-
net.inet.udp.out_sw_cksum_bytes: 2495444
|
279
|
-
net.inet.udp.log_in_vain: 0
|
280
|
-
net.inet.udp.blackhole: 0
|
281
|
-
net.inet.udp.pcbcount: 72
|
282
|
-
net.inet.udp.randomize_ports: 1
|
283
|
-
net.inet.ipsec.def_policy: 1
|
284
|
-
net.inet.ipsec.esp_trans_deflev: 1
|
285
|
-
net.inet.ipsec.esp_net_deflev: 1
|
286
|
-
net.inet.ipsec.ah_trans_deflev: 1
|
287
|
-
net.inet.ipsec.ah_net_deflev: 1
|
288
|
-
net.inet.ipsec.ah_cleartos: 1
|
289
|
-
net.inet.ipsec.ah_offsetmask: 0
|
290
|
-
net.inet.ipsec.dfbit: 0
|
291
|
-
net.inet.ipsec.ecn: 0
|
292
|
-
net.inet.ipsec.debug: 0
|
293
|
-
net.inet.ipsec.esp_randpad: -1
|
294
|
-
net.inet.ipsec.bypass: 0
|
295
|
-
net.inet.ipsec.esp_port: 4500
|
296
|
-
net.inet.raw.maxdgram: 8192
|
297
|
-
net.inet.raw.recvspace: 8192
|
298
|
-
net.link.generic.system.ifcount: 10
|
299
|
-
net.link.generic.system.dlil_verbose: 0
|
300
|
-
net.link.generic.system.multi_threaded_input: 1
|
301
|
-
net.link.generic.system.dlil_input_sanity_check: 0
|
302
|
-
net.link.ether.inet.prune_intvl: 300
|
303
|
-
net.link.ether.inet.max_age: 1200
|
304
|
-
net.link.ether.inet.host_down_time: 20
|
305
|
-
net.link.ether.inet.apple_hwcksum_tx: 1
|
306
|
-
net.link.ether.inet.apple_hwcksum_rx: 1
|
307
|
-
net.link.ether.inet.arp_llreach_base: 30
|
308
|
-
net.link.ether.inet.maxtries: 5
|
309
|
-
net.link.ether.inet.useloopback: 1
|
310
|
-
net.link.ether.inet.proxyall: 0
|
311
|
-
net.link.ether.inet.sendllconflict: 0
|
312
|
-
net.link.ether.inet.log_arp_warnings: 0
|
313
|
-
net.link.ether.inet.keep_announcements: 1
|
314
|
-
net.link.ether.inet.send_conflicting_probes: 1
|
315
|
-
net.link.bridge.log_stp: 0
|
316
|
-
net.link.bridge.debug: 0
|
317
|
-
net.key.debug: 0
|
318
|
-
net.key.spi_trycnt: 1000
|
319
|
-
net.key.spi_minval: 256
|
320
|
-
net.key.spi_maxval: 268435455
|
321
|
-
net.key.int_random: 60
|
322
|
-
net.key.larval_lifetime: 30
|
323
|
-
net.key.blockacq_count: 10
|
324
|
-
net.key.blockacq_lifetime: 20
|
325
|
-
net.key.esp_keymin: 256
|
326
|
-
net.key.esp_auth: 0
|
327
|
-
net.key.ah_keymin: 128
|
328
|
-
net.key.prefered_oldsa: 0
|
329
|
-
net.key.natt_keepalive_interval: 20
|
330
|
-
net.inet6.ip6.forwarding: 0
|
331
|
-
net.inet6.ip6.redirect: 1
|
332
|
-
net.inet6.ip6.hlim: 64
|
333
|
-
net.inet6.ip6.maxfragpackets: 1536
|
334
|
-
net.inet6.ip6.accept_rtadv: 0
|
335
|
-
net.inet6.ip6.keepfaith: 0
|
336
|
-
net.inet6.ip6.log_interval: 5
|
337
|
-
net.inet6.ip6.hdrnestlimit: 15
|
338
|
-
net.inet6.ip6.dad_count: 1
|
339
|
-
net.inet6.ip6.auto_flowlabel: 1
|
340
|
-
net.inet6.ip6.defmcasthlim: 1
|
341
|
-
net.inet6.ip6.gifhlim: 0
|
342
|
-
net.inet6.ip6.kame_version: 2009/apple-darwin
|
343
|
-
net.inet6.ip6.use_deprecated: 1
|
344
|
-
net.inet6.ip6.rr_prune: 5
|
345
|
-
net.inet6.ip6.v6only: 0
|
346
|
-
net.inet6.ip6.rtexpire: 3600
|
347
|
-
net.inet6.ip6.rtminexpire: 10
|
348
|
-
net.inet6.ip6.rtmaxcache: 128
|
349
|
-
net.inet6.ip6.use_tempaddr: 1
|
350
|
-
net.inet6.ip6.temppltime: 86400
|
351
|
-
net.inet6.ip6.tempvltime: 604800
|
352
|
-
net.inet6.ip6.auto_linklocal: 1
|
353
|
-
net.inet6.ip6.prefer_tempaddr: 1
|
354
|
-
net.inet6.ip6.use_defaultzone: 0
|
355
|
-
net.inet6.ip6.maxfrags: 12288
|
356
|
-
net.inet6.ip6.mcast_pmtu: 0
|
357
|
-
net.inet6.ip6.neighborgcthresh: 1024
|
358
|
-
net.inet6.ip6.maxifprefixes: 16
|
359
|
-
net.inet6.ip6.maxifdefrouters: 16
|
360
|
-
net.inet6.ip6.maxdynroutes: 1024
|
361
|
-
net.inet6.ip6.fw.enable: 1
|
362
|
-
net.inet6.ip6.fw.debug: 0
|
363
|
-
net.inet6.ip6.fw.verbose: 0
|
364
|
-
net.inet6.ip6.fw.verbose_limit: 0
|
365
|
-
net.inet6.ip6.scopedroute: 1
|
366
|
-
net.inet6.ip6.select_srcif_debug: 0
|
367
|
-
net.inet6.ip6.mcast.maxgrpsrc: 512
|
368
|
-
net.inet6.ip6.mcast.maxsocksrc: 128
|
369
|
-
net.inet6.ip6.mcast.loop: 1
|
370
|
-
net.inet6.ip6.only_allow_rfc4193_prefixes: 0
|
371
|
-
net.inet6.ipsec6.def_policy: 1
|
372
|
-
net.inet6.ipsec6.esp_trans_deflev: 1
|
373
|
-
net.inet6.ipsec6.esp_net_deflev: 1
|
374
|
-
net.inet6.ipsec6.ah_trans_deflev: 1
|
375
|
-
net.inet6.ipsec6.ah_net_deflev: 1
|
376
|
-
net.inet6.ipsec6.ecn: 0
|
377
|
-
net.inet6.ipsec6.debug: 0
|
378
|
-
net.inet6.ipsec6.esp_randpad: -1
|
379
|
-
net.inet6.icmp6.rediraccept: 1
|
380
|
-
net.inet6.icmp6.redirtimeout: 600
|
381
|
-
net.inet6.icmp6.nd6_prune: 1
|
382
|
-
net.inet6.icmp6.nd6_delay: 5
|
383
|
-
net.inet6.icmp6.nd6_umaxtries: 3
|
384
|
-
net.inet6.icmp6.nd6_mmaxtries: 3
|
385
|
-
net.inet6.icmp6.nd6_useloopback: 1
|
386
|
-
net.inet6.icmp6.nodeinfo: 3
|
387
|
-
net.inet6.icmp6.errppslimit: 500
|
388
|
-
net.inet6.icmp6.nd6_maxnudhint: 0
|
389
|
-
net.inet6.icmp6.nd6_debug: 0
|
390
|
-
net.inet6.icmp6.nd6_accept_6to4: 1
|
391
|
-
net.inet6.icmp6.nd6_onlink_ns_rfc4861: 0
|
392
|
-
net.inet6.icmp6.nd6_llreach_base: 30
|
393
|
-
net.inet6.mld.gsrdelay: 10
|
394
|
-
net.inet6.mld.v1enable: 1
|
395
|
-
net.inet6.mld.use_allow: 1
|
396
|
-
net.inet6.mld.debug: 0
|
397
|
-
net.idle.route.expire_timeout: 30
|
398
|
-
net.idle.route.drain_interval: 10
|
399
|
-
net.statistics: 1
|
400
|
-
net.alf.loglevel: 55
|
401
|
-
net.alf.perm: 0
|
402
|
-
net.alf.defaultaction: 1
|
403
|
-
net.alf.mqcount: 0
|
404
|
-
net.smb.fs.version: 107000
|
405
|
-
net.smb.fs.loglevel: 0
|
406
|
-
net.smb.fs.kern_ntlmssp: 0
|
407
|
-
net.smb.fs.kern_deprecatePreXPServers: 1
|
408
|
-
net.smb.fs.kern_deadtimer: 60
|
409
|
-
net.smb.fs.kern_hard_deadtimer: 600
|
410
|
-
net.smb.fs.kern_soft_deadtimer: 30
|
411
|
-
net.smb.fs.tcpsndbuf: 261120
|
412
|
-
net.smb.fs.tcprcvbuf: 261120
|
110
|
+
@darwin_sysctl = <<~DARWIN_SYSCTL
|
111
|
+
net.local.stream.sendspace: 8192
|
112
|
+
net.local.stream.recvspace: 8192
|
113
|
+
net.local.stream.tracemdns: 0
|
114
|
+
net.local.dgram.maxdgram: 2048
|
115
|
+
net.local.dgram.recvspace: 4096
|
116
|
+
net.local.inflight: 0
|
117
|
+
net.inet.ip.portrange.lowfirst: 1023
|
118
|
+
net.inet.ip.portrange.lowlast: 600
|
119
|
+
net.inet.ip.portrange.first: 49152
|
120
|
+
net.inet.ip.portrange.last: 65535
|
121
|
+
net.inet.ip.portrange.hifirst: 49152
|
122
|
+
net.inet.ip.portrange.hilast: 65535
|
123
|
+
net.inet.ip.forwarding: 1
|
124
|
+
net.inet.ip.redirect: 1
|
125
|
+
net.inet.ip.ttl: 64
|
126
|
+
net.inet.ip.rtexpire: 12
|
127
|
+
net.inet.ip.rtminexpire: 10
|
128
|
+
net.inet.ip.rtmaxcache: 128
|
129
|
+
net.inet.ip.sourceroute: 0
|
130
|
+
net.inet.ip.intr_queue_maxlen: 50
|
131
|
+
net.inet.ip.intr_queue_drops: 0
|
132
|
+
net.inet.ip.accept_sourceroute: 0
|
133
|
+
net.inet.ip.keepfaith: 0
|
134
|
+
net.inet.ip.gifttl: 30
|
135
|
+
net.inet.ip.subnets_are_local: 0
|
136
|
+
net.inet.ip.mcast.maxgrpsrc: 512
|
137
|
+
net.inet.ip.mcast.maxsocksrc: 128
|
138
|
+
net.inet.ip.mcast.loop: 1
|
139
|
+
net.inet.ip.check_route_selfref: 1
|
140
|
+
net.inet.ip.use_route_genid: 1
|
141
|
+
net.inet.ip.dummynet.hash_size: 64
|
142
|
+
net.inet.ip.dummynet.curr_time: 0
|
143
|
+
net.inet.ip.dummynet.ready_heap: 0
|
144
|
+
net.inet.ip.dummynet.extract_heap: 0
|
145
|
+
net.inet.ip.dummynet.searches: 0
|
146
|
+
net.inet.ip.dummynet.search_steps: 0
|
147
|
+
net.inet.ip.dummynet.expire: 1
|
148
|
+
net.inet.ip.dummynet.max_chain_len: 16
|
149
|
+
net.inet.ip.dummynet.red_lookup_depth: 256
|
150
|
+
net.inet.ip.dummynet.red_avg_pkt_size: 512
|
151
|
+
net.inet.ip.dummynet.red_max_pkt_size: 1500
|
152
|
+
net.inet.ip.dummynet.debug: 0
|
153
|
+
net.inet.ip.fw.enable: 1
|
154
|
+
net.inet.ip.fw.autoinc_step: 100
|
155
|
+
net.inet.ip.fw.one_pass: 0
|
156
|
+
net.inet.ip.fw.debug: 0
|
157
|
+
net.inet.ip.fw.verbose: 0
|
158
|
+
net.inet.ip.fw.verbose_limit: 0
|
159
|
+
net.inet.ip.fw.dyn_buckets: 256
|
160
|
+
net.inet.ip.fw.curr_dyn_buckets: 256
|
161
|
+
net.inet.ip.fw.dyn_count: 0
|
162
|
+
net.inet.ip.fw.dyn_max: 4096
|
163
|
+
net.inet.ip.fw.static_count: 2
|
164
|
+
net.inet.ip.fw.dyn_ack_lifetime: 300
|
165
|
+
net.inet.ip.fw.dyn_syn_lifetime: 20
|
166
|
+
net.inet.ip.fw.dyn_fin_lifetime: 1
|
167
|
+
net.inet.ip.fw.dyn_rst_lifetime: 1
|
168
|
+
net.inet.ip.fw.dyn_udp_lifetime: 10
|
169
|
+
net.inet.ip.fw.dyn_short_lifetime: 5
|
170
|
+
net.inet.ip.fw.dyn_keepalive: 1
|
171
|
+
net.inet.ip.maxfragpackets: 1536
|
172
|
+
net.inet.ip.maxfragsperpacket: 128
|
173
|
+
net.inet.ip.maxfrags: 3072
|
174
|
+
net.inet.ip.scopedroute: 1
|
175
|
+
net.inet.ip.check_interface: 0
|
176
|
+
net.inet.ip.linklocal.in.allowbadttl: 1
|
177
|
+
net.inet.ip.random_id: 1
|
178
|
+
net.inet.ip.maxchainsent: 0
|
179
|
+
net.inet.ip.select_srcif_debug: 0
|
180
|
+
net.inet.icmp.maskrepl: 0
|
181
|
+
net.inet.icmp.icmplim: 250
|
182
|
+
net.inet.icmp.timestamp: 0
|
183
|
+
net.inet.icmp.drop_redirect: 0
|
184
|
+
net.inet.icmp.log_redirect: 0
|
185
|
+
net.inet.icmp.bmcastecho: 1
|
186
|
+
net.inet.igmp.recvifkludge: 1
|
187
|
+
net.inet.igmp.sendra: 1
|
188
|
+
net.inet.igmp.sendlocal: 1
|
189
|
+
net.inet.igmp.v1enable: 1
|
190
|
+
net.inet.igmp.v2enable: 1
|
191
|
+
net.inet.igmp.legacysupp: 0
|
192
|
+
net.inet.igmp.default_version: 3
|
193
|
+
net.inet.igmp.gsrdelay: 10
|
194
|
+
net.inet.igmp.debug: 0
|
195
|
+
net.inet.tcp.rfc1323: 1
|
196
|
+
net.inet.tcp.rfc1644: 0
|
197
|
+
net.inet.tcp.mssdflt: 512
|
198
|
+
net.inet.tcp.keepidle: 7200000
|
199
|
+
net.inet.tcp.keepintvl: 75000
|
200
|
+
net.inet.tcp.sendspace: 65536
|
201
|
+
net.inet.tcp.recvspace: 65536
|
202
|
+
net.inet.tcp.keepinit: 75000
|
203
|
+
net.inet.tcp.v6mssdflt: 1024
|
204
|
+
net.inet.tcp.log_in_vain: 0
|
205
|
+
net.inet.tcp.blackhole: 0
|
206
|
+
net.inet.tcp.delayed_ack: 3
|
207
|
+
net.inet.tcp.tcp_lq_overflow: 1
|
208
|
+
net.inet.tcp.recvbg: 0
|
209
|
+
net.inet.tcp.drop_synfin: 1
|
210
|
+
net.inet.tcp.reass.maxsegments: 3072
|
211
|
+
net.inet.tcp.reass.cursegments: 0
|
212
|
+
net.inet.tcp.reass.overflows: 0
|
213
|
+
net.inet.tcp.slowlink_wsize: 8192
|
214
|
+
net.inet.tcp.maxseg_unacked: 8
|
215
|
+
net.inet.tcp.rfc3465: 1
|
216
|
+
net.inet.tcp.rfc3465_lim2: 1
|
217
|
+
net.inet.tcp.rtt_samples_per_slot: 20
|
218
|
+
net.inet.tcp.recv_allowed_iaj: 5
|
219
|
+
net.inet.tcp.acc_iaj_high_thresh: 100
|
220
|
+
net.inet.tcp.rexmt_thresh: 2
|
221
|
+
net.inet.tcp.path_mtu_discovery: 1
|
222
|
+
net.inet.tcp.slowstart_flightsize: 1
|
223
|
+
net.inet.tcp.local_slowstart_flightsize: 8
|
224
|
+
net.inet.tcp.tso: 1
|
225
|
+
net.inet.tcp.ecn_initiate_out: 0
|
226
|
+
net.inet.tcp.ecn_negotiate_in: 0
|
227
|
+
net.inet.tcp.packetchain: 50
|
228
|
+
net.inet.tcp.socket_unlocked_on_output: 1
|
229
|
+
net.inet.tcp.rfc3390: 1
|
230
|
+
net.inet.tcp.min_iaj_win: 4
|
231
|
+
net.inet.tcp.acc_iaj_react_limit: 200
|
232
|
+
net.inet.tcp.sack: 1
|
233
|
+
net.inet.tcp.sack_maxholes: 128
|
234
|
+
net.inet.tcp.sack_globalmaxholes: 65536
|
235
|
+
net.inet.tcp.sack_globalholes: 0
|
236
|
+
net.inet.tcp.minmss: 216
|
237
|
+
net.inet.tcp.minmssoverload: 0
|
238
|
+
net.inet.tcp.do_tcpdrain: 0
|
239
|
+
net.inet.tcp.pcbcount: 86
|
240
|
+
net.inet.tcp.icmp_may_rst: 1
|
241
|
+
net.inet.tcp.strict_rfc1948: 0
|
242
|
+
net.inet.tcp.isn_reseed_interval: 0
|
243
|
+
net.inet.tcp.background_io_enabled: 1
|
244
|
+
net.inet.tcp.rtt_min: 100
|
245
|
+
net.inet.tcp.rexmt_slop: 200
|
246
|
+
net.inet.tcp.randomize_ports: 0
|
247
|
+
net.inet.tcp.newreno_sockets: 81
|
248
|
+
net.inet.tcp.background_sockets: -1
|
249
|
+
net.inet.tcp.tcbhashsize: 4096
|
250
|
+
net.inet.tcp.background_io_trigger: 5
|
251
|
+
net.inet.tcp.msl: 15000
|
252
|
+
net.inet.tcp.max_persist_timeout: 0
|
253
|
+
net.inet.tcp.always_keepalive: 0
|
254
|
+
net.inet.tcp.timer_fastmode_idlemax: 20
|
255
|
+
net.inet.tcp.broken_peer_syn_rxmit_thres: 7
|
256
|
+
net.inet.tcp.tcp_timer_advanced: 5
|
257
|
+
net.inet.tcp.tcp_resched_timerlist: 12209
|
258
|
+
net.inet.tcp.pmtud_blackhole_detection: 1
|
259
|
+
net.inet.tcp.pmtud_blackhole_mss: 1200
|
260
|
+
net.inet.tcp.timer_fastquantum: 100
|
261
|
+
net.inet.tcp.timer_slowquantum: 500
|
262
|
+
net.inet.tcp.win_scale_factor: 3
|
263
|
+
net.inet.tcp.in_sw_cksum: 5658081
|
264
|
+
net.inet.tcp.in_sw_cksum_bytes: 2198681467
|
265
|
+
net.inet.tcp.out_sw_cksum: 14166053
|
266
|
+
net.inet.tcp.out_sw_cksum_bytes: 17732561863
|
267
|
+
net.inet.tcp.sockthreshold: 64
|
268
|
+
net.inet.tcp.bg_target_qdelay: 100
|
269
|
+
net.inet.tcp.bg_allowed_increase: 2
|
270
|
+
net.inet.tcp.bg_tether_shift: 1
|
271
|
+
net.inet.tcp.bg_ss_fltsz: 2
|
272
|
+
net.inet.udp.checksum: 1
|
273
|
+
net.inet.udp.maxdgram: 9216
|
274
|
+
net.inet.udp.recvspace: 42080
|
275
|
+
net.inet.udp.in_sw_cksum: 19639
|
276
|
+
net.inet.udp.in_sw_cksum_bytes: 3928092
|
277
|
+
net.inet.udp.out_sw_cksum: 17436
|
278
|
+
net.inet.udp.out_sw_cksum_bytes: 2495444
|
279
|
+
net.inet.udp.log_in_vain: 0
|
280
|
+
net.inet.udp.blackhole: 0
|
281
|
+
net.inet.udp.pcbcount: 72
|
282
|
+
net.inet.udp.randomize_ports: 1
|
283
|
+
net.inet.ipsec.def_policy: 1
|
284
|
+
net.inet.ipsec.esp_trans_deflev: 1
|
285
|
+
net.inet.ipsec.esp_net_deflev: 1
|
286
|
+
net.inet.ipsec.ah_trans_deflev: 1
|
287
|
+
net.inet.ipsec.ah_net_deflev: 1
|
288
|
+
net.inet.ipsec.ah_cleartos: 1
|
289
|
+
net.inet.ipsec.ah_offsetmask: 0
|
290
|
+
net.inet.ipsec.dfbit: 0
|
291
|
+
net.inet.ipsec.ecn: 0
|
292
|
+
net.inet.ipsec.debug: 0
|
293
|
+
net.inet.ipsec.esp_randpad: -1
|
294
|
+
net.inet.ipsec.bypass: 0
|
295
|
+
net.inet.ipsec.esp_port: 4500
|
296
|
+
net.inet.raw.maxdgram: 8192
|
297
|
+
net.inet.raw.recvspace: 8192
|
298
|
+
net.link.generic.system.ifcount: 10
|
299
|
+
net.link.generic.system.dlil_verbose: 0
|
300
|
+
net.link.generic.system.multi_threaded_input: 1
|
301
|
+
net.link.generic.system.dlil_input_sanity_check: 0
|
302
|
+
net.link.ether.inet.prune_intvl: 300
|
303
|
+
net.link.ether.inet.max_age: 1200
|
304
|
+
net.link.ether.inet.host_down_time: 20
|
305
|
+
net.link.ether.inet.apple_hwcksum_tx: 1
|
306
|
+
net.link.ether.inet.apple_hwcksum_rx: 1
|
307
|
+
net.link.ether.inet.arp_llreach_base: 30
|
308
|
+
net.link.ether.inet.maxtries: 5
|
309
|
+
net.link.ether.inet.useloopback: 1
|
310
|
+
net.link.ether.inet.proxyall: 0
|
311
|
+
net.link.ether.inet.sendllconflict: 0
|
312
|
+
net.link.ether.inet.log_arp_warnings: 0
|
313
|
+
net.link.ether.inet.keep_announcements: 1
|
314
|
+
net.link.ether.inet.send_conflicting_probes: 1
|
315
|
+
net.link.bridge.log_stp: 0
|
316
|
+
net.link.bridge.debug: 0
|
317
|
+
net.key.debug: 0
|
318
|
+
net.key.spi_trycnt: 1000
|
319
|
+
net.key.spi_minval: 256
|
320
|
+
net.key.spi_maxval: 268435455
|
321
|
+
net.key.int_random: 60
|
322
|
+
net.key.larval_lifetime: 30
|
323
|
+
net.key.blockacq_count: 10
|
324
|
+
net.key.blockacq_lifetime: 20
|
325
|
+
net.key.esp_keymin: 256
|
326
|
+
net.key.esp_auth: 0
|
327
|
+
net.key.ah_keymin: 128
|
328
|
+
net.key.prefered_oldsa: 0
|
329
|
+
net.key.natt_keepalive_interval: 20
|
330
|
+
net.inet6.ip6.forwarding: 0
|
331
|
+
net.inet6.ip6.redirect: 1
|
332
|
+
net.inet6.ip6.hlim: 64
|
333
|
+
net.inet6.ip6.maxfragpackets: 1536
|
334
|
+
net.inet6.ip6.accept_rtadv: 0
|
335
|
+
net.inet6.ip6.keepfaith: 0
|
336
|
+
net.inet6.ip6.log_interval: 5
|
337
|
+
net.inet6.ip6.hdrnestlimit: 15
|
338
|
+
net.inet6.ip6.dad_count: 1
|
339
|
+
net.inet6.ip6.auto_flowlabel: 1
|
340
|
+
net.inet6.ip6.defmcasthlim: 1
|
341
|
+
net.inet6.ip6.gifhlim: 0
|
342
|
+
net.inet6.ip6.kame_version: 2009/apple-darwin
|
343
|
+
net.inet6.ip6.use_deprecated: 1
|
344
|
+
net.inet6.ip6.rr_prune: 5
|
345
|
+
net.inet6.ip6.v6only: 0
|
346
|
+
net.inet6.ip6.rtexpire: 3600
|
347
|
+
net.inet6.ip6.rtminexpire: 10
|
348
|
+
net.inet6.ip6.rtmaxcache: 128
|
349
|
+
net.inet6.ip6.use_tempaddr: 1
|
350
|
+
net.inet6.ip6.temppltime: 86400
|
351
|
+
net.inet6.ip6.tempvltime: 604800
|
352
|
+
net.inet6.ip6.auto_linklocal: 1
|
353
|
+
net.inet6.ip6.prefer_tempaddr: 1
|
354
|
+
net.inet6.ip6.use_defaultzone: 0
|
355
|
+
net.inet6.ip6.maxfrags: 12288
|
356
|
+
net.inet6.ip6.mcast_pmtu: 0
|
357
|
+
net.inet6.ip6.neighborgcthresh: 1024
|
358
|
+
net.inet6.ip6.maxifprefixes: 16
|
359
|
+
net.inet6.ip6.maxifdefrouters: 16
|
360
|
+
net.inet6.ip6.maxdynroutes: 1024
|
361
|
+
net.inet6.ip6.fw.enable: 1
|
362
|
+
net.inet6.ip6.fw.debug: 0
|
363
|
+
net.inet6.ip6.fw.verbose: 0
|
364
|
+
net.inet6.ip6.fw.verbose_limit: 0
|
365
|
+
net.inet6.ip6.scopedroute: 1
|
366
|
+
net.inet6.ip6.select_srcif_debug: 0
|
367
|
+
net.inet6.ip6.mcast.maxgrpsrc: 512
|
368
|
+
net.inet6.ip6.mcast.maxsocksrc: 128
|
369
|
+
net.inet6.ip6.mcast.loop: 1
|
370
|
+
net.inet6.ip6.only_allow_rfc4193_prefixes: 0
|
371
|
+
net.inet6.ipsec6.def_policy: 1
|
372
|
+
net.inet6.ipsec6.esp_trans_deflev: 1
|
373
|
+
net.inet6.ipsec6.esp_net_deflev: 1
|
374
|
+
net.inet6.ipsec6.ah_trans_deflev: 1
|
375
|
+
net.inet6.ipsec6.ah_net_deflev: 1
|
376
|
+
net.inet6.ipsec6.ecn: 0
|
377
|
+
net.inet6.ipsec6.debug: 0
|
378
|
+
net.inet6.ipsec6.esp_randpad: -1
|
379
|
+
net.inet6.icmp6.rediraccept: 1
|
380
|
+
net.inet6.icmp6.redirtimeout: 600
|
381
|
+
net.inet6.icmp6.nd6_prune: 1
|
382
|
+
net.inet6.icmp6.nd6_delay: 5
|
383
|
+
net.inet6.icmp6.nd6_umaxtries: 3
|
384
|
+
net.inet6.icmp6.nd6_mmaxtries: 3
|
385
|
+
net.inet6.icmp6.nd6_useloopback: 1
|
386
|
+
net.inet6.icmp6.nodeinfo: 3
|
387
|
+
net.inet6.icmp6.errppslimit: 500
|
388
|
+
net.inet6.icmp6.nd6_maxnudhint: 0
|
389
|
+
net.inet6.icmp6.nd6_debug: 0
|
390
|
+
net.inet6.icmp6.nd6_accept_6to4: 1
|
391
|
+
net.inet6.icmp6.nd6_onlink_ns_rfc4861: 0
|
392
|
+
net.inet6.icmp6.nd6_llreach_base: 30
|
393
|
+
net.inet6.mld.gsrdelay: 10
|
394
|
+
net.inet6.mld.v1enable: 1
|
395
|
+
net.inet6.mld.use_allow: 1
|
396
|
+
net.inet6.mld.debug: 0
|
397
|
+
net.idle.route.expire_timeout: 30
|
398
|
+
net.idle.route.drain_interval: 10
|
399
|
+
net.statistics: 1
|
400
|
+
net.alf.loglevel: 55
|
401
|
+
net.alf.perm: 0
|
402
|
+
net.alf.defaultaction: 1
|
403
|
+
net.alf.mqcount: 0
|
404
|
+
net.smb.fs.version: 107000
|
405
|
+
net.smb.fs.loglevel: 0
|
406
|
+
net.smb.fs.kern_ntlmssp: 0
|
407
|
+
net.smb.fs.kern_deprecatePreXPServers: 1
|
408
|
+
net.smb.fs.kern_deadtimer: 60
|
409
|
+
net.smb.fs.kern_hard_deadtimer: 600
|
410
|
+
net.smb.fs.kern_soft_deadtimer: 30
|
411
|
+
net.smb.fs.tcpsndbuf: 261120
|
412
|
+
net.smb.fs.tcprcvbuf: 261120
|
413
413
|
DARWIN_SYSCTL
|
414
414
|
|
415
415
|
@plugin = get_plugin("darwin/network")
|