ohai 7.6.0.rc.1 → 8.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/lib/ohai/version.rb +1 -1
  3. data/spec/functional/plugins/powershell_spec.rb +4 -4
  4. data/spec/functional/plugins/root_group_spec.rb +1 -1
  5. data/spec/ohai_spec.rb +1 -1
  6. data/spec/spec_helper.rb +12 -12
  7. data/spec/unit/dsl/plugin_spec.rb +40 -40
  8. data/spec/unit/hints_spec.rb +3 -3
  9. data/spec/unit/loader_spec.rb +16 -16
  10. data/spec/unit/mixin/cloudstack_metadata_spec.rb +1 -1
  11. data/spec/unit/mixin/command_spec.rb +6 -6
  12. data/spec/unit/mixin/ec2_metadata_spec.rb +8 -8
  13. data/spec/unit/plugins/aix/cpu_spec.rb +15 -15
  14. data/spec/unit/plugins/aix/filesystem_spec.rb +15 -15
  15. data/spec/unit/plugins/aix/hostname_spec.rb +3 -3
  16. data/spec/unit/plugins/aix/kernel_spec.rb +14 -14
  17. data/spec/unit/plugins/aix/network_spec.rb +43 -43
  18. data/spec/unit/plugins/aix/platform_spec.rb +5 -5
  19. data/spec/unit/plugins/aix/uptime_spec.rb +7 -7
  20. data/spec/unit/plugins/aix/virtualization_spec.rb +3 -3
  21. data/spec/unit/plugins/azure_spec.rb +18 -18
  22. data/spec/unit/plugins/c_spec.rb +52 -52
  23. data/spec/unit/plugins/chef_spec.rb +1 -1
  24. data/spec/unit/plugins/cloud_spec.rb +31 -31
  25. data/spec/unit/plugins/cloud_v2_spec.rb +33 -33
  26. data/spec/unit/plugins/cloudstack_spec.rb +6 -6
  27. data/spec/unit/plugins/darwin/cpu_spec.rb +19 -19
  28. data/spec/unit/plugins/darwin/hostname_spec.rb +6 -6
  29. data/spec/unit/plugins/darwin/kernel_spec.rb +14 -14
  30. data/spec/unit/plugins/darwin/memory_spec.rb +7 -7
  31. data/spec/unit/plugins/darwin/network_spec.rb +358 -358
  32. data/spec/unit/plugins/darwin/platform_spec.rb +10 -10
  33. data/spec/unit/plugins/darwin/system_profiler_spec.rb +4 -4
  34. data/spec/unit/plugins/dmi_spec.rb +3 -3
  35. data/spec/unit/plugins/ec2_spec.rb +80 -80
  36. data/spec/unit/plugins/erlang_spec.rb +7 -7
  37. data/spec/unit/plugins/eucalyptus_spec.rb +28 -28
  38. data/spec/unit/plugins/fail_spec.rb +8 -8
  39. data/spec/unit/plugins/freebsd/cpu_spec.rb +10 -10
  40. data/spec/unit/plugins/freebsd/hostname_spec.rb +4 -4
  41. data/spec/unit/plugins/freebsd/kernel_spec.rb +6 -6
  42. data/spec/unit/plugins/freebsd/os_spec.rb +3 -3
  43. data/spec/unit/plugins/freebsd/platform_spec.rb +5 -5
  44. data/spec/unit/plugins/freebsd/virtualization_spec.rb +20 -20
  45. data/spec/unit/plugins/gce_spec.rb +18 -18
  46. data/spec/unit/plugins/go_spec.rb +5 -5
  47. data/spec/unit/plugins/groovy_spec.rb +5 -5
  48. data/spec/unit/plugins/hostname_spec.rb +24 -24
  49. data/spec/unit/plugins/init_package_spec.rb +5 -5
  50. data/spec/unit/plugins/ip_scopes_spec.rb +1 -1
  51. data/spec/unit/plugins/java_spec.rb +23 -23
  52. data/spec/unit/plugins/joyent_spec.rb +13 -13
  53. data/spec/unit/plugins/kernel_spec.rb +20 -20
  54. data/spec/unit/plugins/linode_spec.rb +18 -18
  55. data/spec/unit/plugins/linux/cpu_spec.rb +25 -25
  56. data/spec/unit/plugins/linux/filesystem_spec.rb +61 -60
  57. data/spec/unit/plugins/linux/hostname_spec.rb +7 -7
  58. data/spec/unit/plugins/linux/kernel_spec.rb +5 -5
  59. data/spec/unit/plugins/linux/lsb_spec.rb +23 -23
  60. data/spec/unit/plugins/linux/mdadm_spec.rb +11 -11
  61. data/spec/unit/plugins/linux/platform_spec.rb +167 -167
  62. data/spec/unit/plugins/linux/uptime_spec.rb +6 -6
  63. data/spec/unit/plugins/linux/virtualization_spec.rb +156 -156
  64. data/spec/unit/plugins/lua_spec.rb +5 -5
  65. data/spec/unit/plugins/mono_spec.rb +5 -5
  66. data/spec/unit/plugins/netbsd/hostname_spec.rb +6 -6
  67. data/spec/unit/plugins/netbsd/kernel_spec.rb +6 -6
  68. data/spec/unit/plugins/netbsd/platform_spec.rb +5 -5
  69. data/spec/unit/plugins/network_spec.rb +116 -116
  70. data/spec/unit/plugins/nodejs_spec.rb +5 -5
  71. data/spec/unit/plugins/ohai_spec.rb +1 -1
  72. data/spec/unit/plugins/ohai_time_spec.rb +5 -5
  73. data/spec/unit/plugins/openbsd/hostname_spec.rb +6 -6
  74. data/spec/unit/plugins/openbsd/kernel_spec.rb +6 -6
  75. data/spec/unit/plugins/openbsd/platform_spec.rb +4 -4
  76. data/spec/unit/plugins/openstack_spec.rb +8 -8
  77. data/spec/unit/plugins/os_spec.rb +5 -5
  78. data/spec/unit/plugins/passwd_spec.rb +13 -13
  79. data/spec/unit/plugins/perl_spec.rb +8 -8
  80. data/spec/unit/plugins/php_spec.rb +7 -7
  81. data/spec/unit/plugins/platform_spec.rb +9 -9
  82. data/spec/unit/plugins/powershell_spec.rb +10 -10
  83. data/spec/unit/plugins/rackspace_spec.rb +72 -70
  84. data/spec/unit/plugins/root_group_spec.rb +14 -14
  85. data/spec/unit/plugins/ruby_spec.rb +1 -1
  86. data/spec/unit/plugins/sigar/network_route_spec.rb +17 -17
  87. data/spec/unit/plugins/solaris2/cpu_spec.rb +18 -18
  88. data/spec/unit/plugins/solaris2/hostname_spec.rb +4 -4
  89. data/spec/unit/plugins/solaris2/kernel_spec.rb +8 -8
  90. data/spec/unit/plugins/solaris2/memory_spec.rb +3 -3
  91. data/spec/unit/plugins/solaris2/network_spec.rb +13 -13
  92. data/spec/unit/plugins/solaris2/platform_spec.rb +14 -14
  93. data/spec/unit/plugins/solaris2/virtualization_spec.rb +24 -24
  94. data/spec/unit/plugins/solaris2/zpools_spec.rb +6 -6
  95. data/spec/unit/plugins/ssh_host_keys_spec.rb +18 -18
  96. data/spec/unit/runner_spec.rb +26 -26
  97. data/spec/unit/system_spec.rb +54 -54
  98. data/spec/unit/util/file_helper_spec.rb +2 -2
  99. metadata +50 -95
@@ -413,7 +413,7 @@ net.smb.fs.tcprcvbuf: 261120
413
413
  DARWIN_SYSCTL
414
414
 
415
415
  @plugin = get_plugin("darwin/network")
416
- @plugin.stub(:collect_os).and_return(:darwin)
416
+ allow(@plugin).to receive(:collect_os).and_return(:darwin)
417
417
 
418
418
  # @stdin_ifconfig = StringIO.new
419
419
  # @stdin_arp = StringIO.new
@@ -425,426 +425,426 @@ net.smb.fs.tcprcvbuf: 261120
425
425
  # @netstat_lines = darwin_netstat.split("\n")
426
426
  # @sysctl_lines = darwin_sysctl.split("\n")
427
427
 
428
- @plugin.stub(:shell_out).with("route -n get default").and_return(mock_shell_out(0, @darwin_route, ""))
429
- @plugin.stub(:shell_out).with("netstat -i -d -l -b -n")
428
+ allow(@plugin).to receive(:shell_out).with("route -n get default").and_return(mock_shell_out(0, @darwin_route, ""))
429
+ allow(@plugin).to receive(:shell_out).with("netstat -i -d -l -b -n")
430
430
  end
431
431
 
432
432
  describe "gathering IP layer address info" do
433
433
  before(:each) do
434
- @plugin.stub(:shell_out).with("arp -an").and_return(mock_shell_out(0, @darwin_arp, ""))
435
- @plugin.stub(:shell_out).with("ifconfig -a").and_return(mock_shell_out(0, @darwin_ifconfig, ""))
436
- @plugin.stub(:shell_out).with("netstat -i -d -l -b -n").and_return(mock_shell_out(0, @darwin_netstat, ""))
437
- @plugin.stub(:shell_out).with("sysctl net").and_return(mock_shell_out(0, @darwin_sysctl, ""))
434
+ allow(@plugin).to receive(:shell_out).with("arp -an").and_return(mock_shell_out(0, @darwin_arp, ""))
435
+ allow(@plugin).to receive(:shell_out).with("ifconfig -a").and_return(mock_shell_out(0, @darwin_ifconfig, ""))
436
+ allow(@plugin).to receive(:shell_out).with("netstat -i -d -l -b -n").and_return(mock_shell_out(0, @darwin_netstat, ""))
437
+ allow(@plugin).to receive(:shell_out).with("sysctl net").and_return(mock_shell_out(0, @darwin_sysctl, ""))
438
438
  @plugin.run
439
439
  end
440
440
 
441
441
  it "completes the run" do
442
- @plugin['network'].should_not be_nil
442
+ expect(@plugin['network']).not_to be_nil
443
443
  end
444
444
 
445
445
  it "detects the interfaces" do
446
- @plugin['network']['interfaces'].keys.sort.should == ["en0", "en1", "fw0", "gif0", "lo0", "p2p0", "stf0", "utun0"]
446
+ expect(@plugin['network']['interfaces'].keys.sort).to eq(["en0", "en1", "fw0", "gif0", "lo0", "p2p0", "stf0", "utun0"])
447
447
  end
448
448
 
449
449
  it "detects the ipv4 addresses of the ethernet interface" do
450
- @plugin['network']['interfaces']['en1']['addresses'].keys.should include('10.20.10.144')
451
- @plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['netmask'].should == '255.255.255.0'
452
- @plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['broadcast'].should == '10.20.10.255'
453
- @plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['family'].should == 'inet'
450
+ expect(@plugin['network']['interfaces']['en1']['addresses'].keys).to include('10.20.10.144')
451
+ expect(@plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['netmask']).to eq('255.255.255.0')
452
+ expect(@plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['broadcast']).to eq('10.20.10.255')
453
+ expect(@plugin['network']['interfaces']['en1']['addresses']['10.20.10.144']['family']).to eq('inet')
454
454
  end
455
455
 
456
456
  it "detects the ipv6 addresses of the ethernet interface" do
457
- @plugin['network']['interfaces']['en1']['addresses'].keys.should include('fe80::ba8d:12ff:fe3a:32de')
458
- @plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['scope'].should == 'Link'
459
- @plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['prefixlen'].should == '64'
460
- @plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['family'].should == 'inet6'
461
-
462
- @plugin['network']['interfaces']['en1']['addresses'].keys.should include('2001:44b8:4186:1100:ba8d:12ff:fe3a:32de')
463
- @plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['scope'].should == 'Global'
464
- @plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['prefixlen'].should == '64'
465
- @plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['family'].should == 'inet6'
457
+ expect(@plugin['network']['interfaces']['en1']['addresses'].keys).to include('fe80::ba8d:12ff:fe3a:32de')
458
+ expect(@plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['scope']).to eq('Link')
459
+ expect(@plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['prefixlen']).to eq('64')
460
+ expect(@plugin['network']['interfaces']['en1']['addresses']['fe80::ba8d:12ff:fe3a:32de']['family']).to eq('inet6')
461
+
462
+ expect(@plugin['network']['interfaces']['en1']['addresses'].keys).to include('2001:44b8:4186:1100:ba8d:12ff:fe3a:32de')
463
+ expect(@plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['scope']).to eq('Global')
464
+ expect(@plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['prefixlen']).to eq('64')
465
+ expect(@plugin['network']['interfaces']['en1']['addresses']['2001:44b8:4186:1100:ba8d:12ff:fe3a:32de']['family']).to eq('inet6')
466
466
  end
467
467
 
468
468
  it "detects the mac addresses of the ethernet interface" do
469
- @plugin['network']['interfaces']['en1']['addresses'].keys.should include('b8:8d:12:3a:32:de')
470
- @plugin['network']['interfaces']['en1']['addresses']['b8:8d:12:3a:32:de']['family'].should == 'lladdr'
469
+ expect(@plugin['network']['interfaces']['en1']['addresses'].keys).to include('b8:8d:12:3a:32:de')
470
+ expect(@plugin['network']['interfaces']['en1']['addresses']['b8:8d:12:3a:32:de']['family']).to eq('lladdr')
471
471
  end
472
472
 
473
473
  it "detects the encapsulation type of the ethernet interface" do
474
- @plugin['network']['interfaces']['en1']['encapsulation'].should == 'Ethernet'
474
+ expect(@plugin['network']['interfaces']['en1']['encapsulation']).to eq('Ethernet')
475
475
  end
476
476
 
477
477
  it "detects the flags of the ethernet interface" do
478
- @plugin['network']['interfaces']['en1']['flags'].sort.should == ["BROADCAST", "MULTICAST", "RUNNING", "SIMPLEX", "SMART", "UP"]
478
+ expect(@plugin['network']['interfaces']['en1']['flags'].sort).to eq(["BROADCAST", "MULTICAST", "RUNNING", "SIMPLEX", "SMART", "UP"])
479
479
  end
480
480
 
481
481
 
482
482
  it "detects the mtu of the ethernet interface" do
483
- @plugin['network']['interfaces']['en1']['mtu'].should == "1500"
483
+ expect(@plugin['network']['interfaces']['en1']['mtu']).to eq("1500")
484
484
  end
485
485
 
486
486
  it "detects the ipv4 addresses of the loopback interface" do
487
- @plugin['network']['interfaces']['lo0']['addresses'].keys.should include('127.0.0.1')
488
- @plugin['network']['interfaces']['lo0']['addresses']['127.0.0.1']['netmask'].should == '255.0.0.0'
489
- @plugin['network']['interfaces']['lo0']['addresses']['127.0.0.1']['family'].should == 'inet'
487
+ expect(@plugin['network']['interfaces']['lo0']['addresses'].keys).to include('127.0.0.1')
488
+ expect(@plugin['network']['interfaces']['lo0']['addresses']['127.0.0.1']['netmask']).to eq('255.0.0.0')
489
+ expect(@plugin['network']['interfaces']['lo0']['addresses']['127.0.0.1']['family']).to eq('inet')
490
490
  end
491
491
 
492
492
  it "detects the ipv6 addresses of the loopback interface" do
493
- @plugin['network']['interfaces']['lo0']['addresses'].keys.should include('::1')
494
- @plugin['network']['interfaces']['lo0']['addresses']['::1']['scope'].should == 'Node'
495
- @plugin['network']['interfaces']['lo0']['addresses']['::1']['prefixlen'].should == '128'
496
- @plugin['network']['interfaces']['lo0']['addresses']['::1']['family'].should == 'inet6'
493
+ expect(@plugin['network']['interfaces']['lo0']['addresses'].keys).to include('::1')
494
+ expect(@plugin['network']['interfaces']['lo0']['addresses']['::1']['scope']).to eq('Node')
495
+ expect(@plugin['network']['interfaces']['lo0']['addresses']['::1']['prefixlen']).to eq('128')
496
+ expect(@plugin['network']['interfaces']['lo0']['addresses']['::1']['family']).to eq('inet6')
497
497
  end
498
498
 
499
499
  it "detects the encapsulation type of the loopback interface" do
500
- @plugin['network']['interfaces']['lo0']['encapsulation'].should == 'Loopback'
500
+ expect(@plugin['network']['interfaces']['lo0']['encapsulation']).to eq('Loopback')
501
501
  end
502
502
 
503
503
  it "detects the flags of the ethernet interface" do
504
- @plugin['network']['interfaces']['lo0']['flags'].sort.should == ["LOOPBACK", "MULTICAST", "RUNNING", "UP"]
504
+ expect(@plugin['network']['interfaces']['lo0']['flags'].sort).to eq(["LOOPBACK", "MULTICAST", "RUNNING", "UP"])
505
505
  end
506
506
 
507
507
  it "detects the mtu of the loopback interface" do
508
- @plugin['network']['interfaces']['lo0']['mtu'].should == "16384"
508
+ expect(@plugin['network']['interfaces']['lo0']['mtu']).to eq("16384")
509
509
  end
510
510
 
511
511
  it "detects the arp entries" do
512
- @plugin['network']['interfaces']['en1']['arp']['10.20.10.1'].should == '0:4:ed:de:41:bf'
512
+ expect(@plugin['network']['interfaces']['en1']['arp']['10.20.10.1']).to eq('0:4:ed:de:41:bf')
513
513
  end
514
514
 
515
515
  it "detects the ethernet counters" do
516
- @plugin['counters']['network']['interfaces']['en1']['tx']['bytes'].should == "18228234970"
517
- @plugin['counters']['network']['interfaces']['en1']['tx']['packets'].should == "14314573"
518
- @plugin['counters']['network']['interfaces']['en1']['tx']['collisions'].should == "0"
519
- @plugin['counters']['network']['interfaces']['en1']['tx']['errors'].should == "0"
520
- @plugin['counters']['network']['interfaces']['en1']['tx']['carrier'].should == 0
521
- @plugin['counters']['network']['interfaces']['en1']['tx']['drop'].should == 0
522
-
523
- @plugin['counters']['network']['interfaces']['en1']['rx']['bytes'].should == "2530556736"
524
- @plugin['counters']['network']['interfaces']['en1']['rx']['packets'].should == "5921903"
525
- @plugin['counters']['network']['interfaces']['en1']['rx']['errors'].should == "0"
526
- @plugin['counters']['network']['interfaces']['en1']['rx']['overrun'].should == 0
527
- @plugin['counters']['network']['interfaces']['en1']['rx']['drop'].should == 0
516
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['bytes']).to eq("18228234970")
517
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['packets']).to eq("14314573")
518
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['collisions']).to eq("0")
519
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['errors']).to eq("0")
520
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['carrier']).to eq(0)
521
+ expect(@plugin['counters']['network']['interfaces']['en1']['tx']['drop']).to eq(0)
522
+
523
+ expect(@plugin['counters']['network']['interfaces']['en1']['rx']['bytes']).to eq("2530556736")
524
+ expect(@plugin['counters']['network']['interfaces']['en1']['rx']['packets']).to eq("5921903")
525
+ expect(@plugin['counters']['network']['interfaces']['en1']['rx']['errors']).to eq("0")
526
+ expect(@plugin['counters']['network']['interfaces']['en1']['rx']['overrun']).to eq(0)
527
+ expect(@plugin['counters']['network']['interfaces']['en1']['rx']['drop']).to eq(0)
528
528
  end
529
529
 
530
530
  it "detects the loopback counters" do
531
- @plugin['counters']['network']['interfaces']['lo0']['tx']['bytes'].should == "25774844"
532
- @plugin['counters']['network']['interfaces']['lo0']['tx']['packets'].should == "174982"
533
- @plugin['counters']['network']['interfaces']['lo0']['tx']['collisions'].should == "0"
534
- @plugin['counters']['network']['interfaces']['lo0']['tx']['errors'].should == "0"
535
- @plugin['counters']['network']['interfaces']['lo0']['tx']['carrier'].should == 0
536
- @plugin['counters']['network']['interfaces']['lo0']['tx']['drop'].should == 0
537
-
538
- @plugin['counters']['network']['interfaces']['lo0']['rx']['bytes'].should == "25774844"
539
- @plugin['counters']['network']['interfaces']['lo0']['rx']['packets'].should == "174982"
540
- @plugin['counters']['network']['interfaces']['lo0']['rx']['errors'].should == "0"
541
- @plugin['counters']['network']['interfaces']['lo0']['rx']['overrun'].should == 0
542
- @plugin['counters']['network']['interfaces']['lo0']['rx']['drop'].should == 0
531
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['bytes']).to eq("25774844")
532
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['packets']).to eq("174982")
533
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['collisions']).to eq("0")
534
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['errors']).to eq("0")
535
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['carrier']).to eq(0)
536
+ expect(@plugin['counters']['network']['interfaces']['lo0']['tx']['drop']).to eq(0)
537
+
538
+ expect(@plugin['counters']['network']['interfaces']['lo0']['rx']['bytes']).to eq("25774844")
539
+ expect(@plugin['counters']['network']['interfaces']['lo0']['rx']['packets']).to eq("174982")
540
+ expect(@plugin['counters']['network']['interfaces']['lo0']['rx']['errors']).to eq("0")
541
+ expect(@plugin['counters']['network']['interfaces']['lo0']['rx']['overrun']).to eq(0)
542
+ expect(@plugin['counters']['network']['interfaces']['lo0']['rx']['drop']).to eq(0)
543
543
  end
544
544
 
545
545
  it "finds the default interface by asking which iface has the default route" do
546
- @plugin['network'][:default_interface].should == 'en1'
546
+ expect(@plugin['network'][:default_interface]).to eq('en1')
547
547
  end
548
548
 
549
549
  it "finds the default interface by asking which iface has the default route" do
550
- @plugin['network'][:default_gateway].should == '10.20.10.1'
550
+ expect(@plugin['network'][:default_gateway]).to eq('10.20.10.1')
551
551
  end
552
552
 
553
553
  it "should detect network settings" do
554
- @plugin['network']['settings']['net.local.stream.sendspace'].should == '8192'
555
- @plugin["network"]["settings"]['net.local.stream.recvspace'].should == '8192'
556
- @plugin["network"]["settings"]['net.local.stream.tracemdns'].should == '0'
557
- @plugin["network"]["settings"]['net.local.dgram.maxdgram'].should == '2048'
558
- @plugin["network"]["settings"]['net.local.dgram.recvspace'].should == '4096'
559
- @plugin["network"]["settings"]['net.local.inflight'].should == '0'
560
- @plugin["network"]["settings"]['net.inet.ip.portrange.lowfirst'].should == '1023'
561
- @plugin["network"]["settings"]['net.inet.ip.portrange.lowlast'].should == '600'
562
- @plugin["network"]["settings"]['net.inet.ip.portrange.first'].should == '49152'
563
- @plugin["network"]["settings"]['net.inet.ip.portrange.last'].should == '65535'
564
- @plugin["network"]["settings"]['net.inet.ip.portrange.hifirst'].should == '49152'
565
- @plugin["network"]["settings"]['net.inet.ip.portrange.hilast'].should == '65535'
566
- @plugin["network"]["settings"]['net.inet.ip.forwarding'].should == '1'
567
- @plugin["network"]["settings"]['net.inet.ip.redirect'].should == '1'
568
- @plugin["network"]["settings"]['net.inet.ip.ttl'].should == '64'
569
- @plugin["network"]["settings"]['net.inet.ip.rtexpire'].should == '12'
570
- @plugin["network"]["settings"]['net.inet.ip.rtminexpire'].should == '10'
571
- @plugin["network"]["settings"]['net.inet.ip.rtmaxcache'].should == '128'
572
- @plugin["network"]["settings"]['net.inet.ip.sourceroute'].should == '0'
573
- @plugin["network"]["settings"]['net.inet.ip.intr_queue_maxlen'].should == '50'
574
- @plugin["network"]["settings"]['net.inet.ip.intr_queue_drops'].should == '0'
575
- @plugin["network"]["settings"]['net.inet.ip.accept_sourceroute'].should == '0'
576
- @plugin["network"]["settings"]['net.inet.ip.keepfaith'].should == '0'
577
- @plugin["network"]["settings"]['net.inet.ip.gifttl'].should == '30'
578
- @plugin["network"]["settings"]['net.inet.ip.subnets_are_local'].should == '0'
579
- @plugin["network"]["settings"]['net.inet.ip.mcast.maxgrpsrc'].should == '512'
580
- @plugin["network"]["settings"]['net.inet.ip.mcast.maxsocksrc'].should == '128'
581
- @plugin["network"]["settings"]['net.inet.ip.mcast.loop'].should == '1'
582
- @plugin["network"]["settings"]['net.inet.ip.check_route_selfref'].should == '1'
583
- @plugin["network"]["settings"]['net.inet.ip.use_route_genid'].should == '1'
584
- @plugin["network"]["settings"]['net.inet.ip.dummynet.hash_size'].should == '64'
585
- @plugin["network"]["settings"]['net.inet.ip.dummynet.curr_time'].should == '0'
586
- @plugin["network"]["settings"]['net.inet.ip.dummynet.ready_heap'].should == '0'
587
- @plugin["network"]["settings"]['net.inet.ip.dummynet.extract_heap'].should == '0'
588
- @plugin["network"]["settings"]['net.inet.ip.dummynet.searches'].should == '0'
589
- @plugin["network"]["settings"]['net.inet.ip.dummynet.search_steps'].should == '0'
590
- @plugin["network"]["settings"]['net.inet.ip.dummynet.expire'].should == '1'
591
- @plugin["network"]["settings"]['net.inet.ip.dummynet.max_chain_len'].should == '16'
592
- @plugin["network"]["settings"]['net.inet.ip.dummynet.red_lookup_depth'].should == '256'
593
- @plugin["network"]["settings"]['net.inet.ip.dummynet.red_avg_pkt_size'].should == '512'
594
- @plugin["network"]["settings"]['net.inet.ip.dummynet.red_max_pkt_size'].should == '1500'
595
- @plugin["network"]["settings"]['net.inet.ip.dummynet.debug'].should == '0'
596
- @plugin["network"]["settings"]['net.inet.ip.fw.enable'].should == '1'
597
- @plugin["network"]["settings"]['net.inet.ip.fw.autoinc_step'].should == '100'
598
- @plugin["network"]["settings"]['net.inet.ip.fw.one_pass'].should == '0'
599
- @plugin["network"]["settings"]['net.inet.ip.fw.debug'].should == '0'
600
- @plugin["network"]["settings"]['net.inet.ip.fw.verbose'].should == '0'
601
- @plugin["network"]["settings"]['net.inet.ip.fw.verbose_limit'].should == '0'
602
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_buckets'].should == '256'
603
- @plugin["network"]["settings"]['net.inet.ip.fw.curr_dyn_buckets'].should == '256'
604
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_count'].should == '0'
605
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_max'].should == '4096'
606
- @plugin["network"]["settings"]['net.inet.ip.fw.static_count'].should == '2'
607
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_ack_lifetime'].should == '300'
608
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_syn_lifetime'].should == '20'
609
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_fin_lifetime'].should == '1'
610
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_rst_lifetime'].should == '1'
611
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_udp_lifetime'].should == '10'
612
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_short_lifetime'].should == '5'
613
- @plugin["network"]["settings"]['net.inet.ip.fw.dyn_keepalive'].should == '1'
614
- @plugin["network"]["settings"]['net.inet.ip.maxfragpackets'].should == '1536'
615
- @plugin["network"]["settings"]['net.inet.ip.maxfragsperpacket'].should == '128'
616
- @plugin["network"]["settings"]['net.inet.ip.maxfrags'].should == '3072'
617
- @plugin["network"]["settings"]['net.inet.ip.scopedroute'].should == '1'
618
- @plugin["network"]["settings"]['net.inet.ip.check_interface'].should == '0'
619
- @plugin["network"]["settings"]['net.inet.ip.linklocal.in.allowbadttl'].should == '1'
620
- @plugin["network"]["settings"]['net.inet.ip.random_id'].should == '1'
621
- @plugin["network"]["settings"]['net.inet.ip.maxchainsent'].should == '0'
622
- @plugin["network"]["settings"]['net.inet.ip.select_srcif_debug'].should == '0'
623
- @plugin["network"]["settings"]['net.inet.icmp.maskrepl'].should == '0'
624
- @plugin["network"]["settings"]['net.inet.icmp.icmplim'].should == '250'
625
- @plugin["network"]["settings"]['net.inet.icmp.timestamp'].should == '0'
626
- @plugin["network"]["settings"]['net.inet.icmp.drop_redirect'].should == '0'
627
- @plugin["network"]["settings"]['net.inet.icmp.log_redirect'].should == '0'
628
- @plugin["network"]["settings"]['net.inet.icmp.bmcastecho'].should == '1'
629
- @plugin["network"]["settings"]['net.inet.igmp.recvifkludge'].should == '1'
630
- @plugin["network"]["settings"]['net.inet.igmp.sendra'].should == '1'
631
- @plugin["network"]["settings"]['net.inet.igmp.sendlocal'].should == '1'
632
- @plugin["network"]["settings"]['net.inet.igmp.v1enable'].should == '1'
633
- @plugin["network"]["settings"]['net.inet.igmp.v2enable'].should == '1'
634
- @plugin["network"]["settings"]['net.inet.igmp.legacysupp'].should == '0'
635
- @plugin["network"]["settings"]['net.inet.igmp.default_version'].should == '3'
636
- @plugin["network"]["settings"]['net.inet.igmp.gsrdelay'].should == '10'
637
- @plugin["network"]["settings"]['net.inet.igmp.debug'].should == '0'
638
- @plugin["network"]["settings"]['net.inet.tcp.rfc1323'].should == '1'
639
- @plugin["network"]["settings"]['net.inet.tcp.rfc1644'].should == '0'
640
- @plugin["network"]["settings"]['net.inet.tcp.mssdflt'].should == '512'
641
- @plugin["network"]["settings"]['net.inet.tcp.keepidle'].should == '7200000'
642
- @plugin["network"]["settings"]['net.inet.tcp.keepintvl'].should == '75000'
643
- @plugin["network"]["settings"]['net.inet.tcp.sendspace'].should == '65536'
644
- @plugin["network"]["settings"]['net.inet.tcp.recvspace'].should == '65536'
645
- @plugin["network"]["settings"]['net.inet.tcp.keepinit'].should == '75000'
646
- @plugin["network"]["settings"]['net.inet.tcp.v6mssdflt'].should == '1024'
647
- @plugin["network"]["settings"]['net.inet.tcp.log_in_vain'].should == '0'
648
- @plugin["network"]["settings"]['net.inet.tcp.blackhole'].should == '0'
649
- @plugin["network"]["settings"]['net.inet.tcp.delayed_ack'].should == '3'
650
- @plugin["network"]["settings"]['net.inet.tcp.tcp_lq_overflow'].should == '1'
651
- @plugin["network"]["settings"]['net.inet.tcp.recvbg'].should == '0'
652
- @plugin["network"]["settings"]['net.inet.tcp.drop_synfin'].should == '1'
653
- @plugin["network"]["settings"]['net.inet.tcp.reass.maxsegments'].should == '3072'
654
- @plugin["network"]["settings"]['net.inet.tcp.reass.cursegments'].should == '0'
655
- @plugin["network"]["settings"]['net.inet.tcp.reass.overflows'].should == '0'
656
- @plugin["network"]["settings"]['net.inet.tcp.slowlink_wsize'].should == '8192'
657
- @plugin["network"]["settings"]['net.inet.tcp.maxseg_unacked'].should == '8'
658
- @plugin["network"]["settings"]['net.inet.tcp.rfc3465'].should == '1'
659
- @plugin["network"]["settings"]['net.inet.tcp.rfc3465_lim2'].should == '1'
660
- @plugin["network"]["settings"]['net.inet.tcp.rtt_samples_per_slot'].should == '20'
661
- @plugin["network"]["settings"]['net.inet.tcp.recv_allowed_iaj'].should == '5'
662
- @plugin["network"]["settings"]['net.inet.tcp.acc_iaj_high_thresh'].should == '100'
663
- @plugin["network"]["settings"]['net.inet.tcp.rexmt_thresh'].should == '2'
664
- @plugin["network"]["settings"]['net.inet.tcp.path_mtu_discovery'].should == '1'
665
- @plugin["network"]["settings"]['net.inet.tcp.slowstart_flightsize'].should == '1'
666
- @plugin["network"]["settings"]['net.inet.tcp.local_slowstart_flightsize'].should == '8'
667
- @plugin["network"]["settings"]['net.inet.tcp.tso'].should == '1'
668
- @plugin["network"]["settings"]['net.inet.tcp.ecn_initiate_out'].should == '0'
669
- @plugin["network"]["settings"]['net.inet.tcp.ecn_negotiate_in'].should == '0'
670
- @plugin["network"]["settings"]['net.inet.tcp.packetchain'].should == '50'
671
- @plugin["network"]["settings"]['net.inet.tcp.socket_unlocked_on_output'].should == '1'
672
- @plugin["network"]["settings"]['net.inet.tcp.rfc3390'].should == '1'
673
- @plugin["network"]["settings"]['net.inet.tcp.min_iaj_win'].should == '4'
674
- @plugin["network"]["settings"]['net.inet.tcp.acc_iaj_react_limit'].should == '200'
675
- @plugin["network"]["settings"]['net.inet.tcp.sack'].should == '1'
676
- @plugin["network"]["settings"]['net.inet.tcp.sack_maxholes'].should == '128'
677
- @plugin["network"]["settings"]['net.inet.tcp.sack_globalmaxholes'].should == '65536'
678
- @plugin["network"]["settings"]['net.inet.tcp.sack_globalholes'].should == '0'
679
- @plugin["network"]["settings"]['net.inet.tcp.minmss'].should == '216'
680
- @plugin["network"]["settings"]['net.inet.tcp.minmssoverload'].should == '0'
681
- @plugin["network"]["settings"]['net.inet.tcp.do_tcpdrain'].should == '0'
682
- @plugin["network"]["settings"]['net.inet.tcp.pcbcount'].should == '86'
683
- @plugin["network"]["settings"]['net.inet.tcp.icmp_may_rst'].should == '1'
684
- @plugin["network"]["settings"]['net.inet.tcp.strict_rfc1948'].should == '0'
685
- @plugin["network"]["settings"]['net.inet.tcp.isn_reseed_interval'].should == '0'
686
- @plugin["network"]["settings"]['net.inet.tcp.background_io_enabled'].should == '1'
687
- @plugin["network"]["settings"]['net.inet.tcp.rtt_min'].should == '100'
688
- @plugin["network"]["settings"]['net.inet.tcp.rexmt_slop'].should == '200'
689
- @plugin["network"]["settings"]['net.inet.tcp.randomize_ports'].should == '0'
690
- @plugin["network"]["settings"]['net.inet.tcp.newreno_sockets'].should == '81'
691
- @plugin["network"]["settings"]['net.inet.tcp.background_sockets'].should == '-1'
692
- @plugin["network"]["settings"]['net.inet.tcp.tcbhashsize'].should == '4096'
693
- @plugin["network"]["settings"]['net.inet.tcp.background_io_trigger'].should == '5'
694
- @plugin["network"]["settings"]['net.inet.tcp.msl'].should == '15000'
695
- @plugin["network"]["settings"]['net.inet.tcp.max_persist_timeout'].should == '0'
696
- @plugin["network"]["settings"]['net.inet.tcp.always_keepalive'].should == '0'
697
- @plugin["network"]["settings"]['net.inet.tcp.timer_fastmode_idlemax'].should == '20'
698
- @plugin["network"]["settings"]['net.inet.tcp.broken_peer_syn_rxmit_thres'].should == '7'
699
- @plugin["network"]["settings"]['net.inet.tcp.tcp_timer_advanced'].should == '5'
700
- @plugin["network"]["settings"]['net.inet.tcp.tcp_resched_timerlist'].should == '12209'
701
- @plugin["network"]["settings"]['net.inet.tcp.pmtud_blackhole_detection'].should == '1'
702
- @plugin["network"]["settings"]['net.inet.tcp.pmtud_blackhole_mss'].should == '1200'
703
- @plugin["network"]["settings"]['net.inet.tcp.timer_fastquantum'].should == '100'
704
- @plugin["network"]["settings"]['net.inet.tcp.timer_slowquantum'].should == '500'
705
- @plugin["network"]["settings"]['net.inet.tcp.win_scale_factor'].should == '3'
706
- @plugin["network"]["settings"]['net.inet.tcp.sockthreshold'].should == '64'
707
- @plugin["network"]["settings"]['net.inet.tcp.bg_target_qdelay'].should == '100'
708
- @plugin["network"]["settings"]['net.inet.tcp.bg_allowed_increase'].should == '2'
709
- @plugin["network"]["settings"]['net.inet.tcp.bg_tether_shift'].should == '1'
710
- @plugin["network"]["settings"]['net.inet.tcp.bg_ss_fltsz'].should == '2'
711
- @plugin["network"]["settings"]['net.inet.udp.checksum'].should == '1'
712
- @plugin["network"]["settings"]['net.inet.udp.maxdgram'].should == '9216'
713
- @plugin["network"]["settings"]['net.inet.udp.recvspace'].should == '42080'
714
- @plugin["network"]["settings"]['net.inet.udp.log_in_vain'].should == '0'
715
- @plugin["network"]["settings"]['net.inet.udp.blackhole'].should == '0'
716
- @plugin["network"]["settings"]['net.inet.udp.pcbcount'].should == '72'
717
- @plugin["network"]["settings"]['net.inet.udp.randomize_ports'].should == '1'
718
- @plugin["network"]["settings"]['net.inet.ipsec.def_policy'].should == '1'
719
- @plugin["network"]["settings"]['net.inet.ipsec.esp_trans_deflev'].should == '1'
720
- @plugin["network"]["settings"]['net.inet.ipsec.esp_net_deflev'].should == '1'
721
- @plugin["network"]["settings"]['net.inet.ipsec.ah_trans_deflev'].should == '1'
722
- @plugin["network"]["settings"]['net.inet.ipsec.ah_net_deflev'].should == '1'
723
- @plugin["network"]["settings"]['net.inet.ipsec.ah_cleartos'].should == '1'
724
- @plugin["network"]["settings"]['net.inet.ipsec.ah_offsetmask'].should == '0'
725
- @plugin["network"]["settings"]['net.inet.ipsec.dfbit'].should == '0'
726
- @plugin["network"]["settings"]['net.inet.ipsec.ecn'].should == '0'
727
- @plugin["network"]["settings"]['net.inet.ipsec.debug'].should == '0'
728
- @plugin["network"]["settings"]['net.inet.ipsec.esp_randpad'].should == '-1'
729
- @plugin["network"]["settings"]['net.inet.ipsec.bypass'].should == '0'
730
- @plugin["network"]["settings"]['net.inet.ipsec.esp_port'].should == '4500'
731
- @plugin["network"]["settings"]['net.inet.raw.maxdgram'].should == '8192'
732
- @plugin["network"]["settings"]['net.inet.raw.recvspace'].should == '8192'
733
- @plugin["network"]["settings"]['net.link.generic.system.ifcount'].should == '10'
734
- @plugin["network"]["settings"]['net.link.generic.system.dlil_verbose'].should == '0'
735
- @plugin["network"]["settings"]['net.link.generic.system.multi_threaded_input'].should == '1'
736
- @plugin["network"]["settings"]['net.link.generic.system.dlil_input_sanity_check'].should == '0'
737
- @plugin["network"]["settings"]['net.link.ether.inet.prune_intvl'].should == '300'
738
- @plugin["network"]["settings"]['net.link.ether.inet.max_age'].should == '1200'
739
- @plugin["network"]["settings"]['net.link.ether.inet.host_down_time'].should == '20'
740
- @plugin["network"]["settings"]['net.link.ether.inet.apple_hwcksum_tx'].should == '1'
741
- @plugin["network"]["settings"]['net.link.ether.inet.apple_hwcksum_rx'].should == '1'
742
- @plugin["network"]["settings"]['net.link.ether.inet.arp_llreach_base'].should == '30'
743
- @plugin["network"]["settings"]['net.link.ether.inet.maxtries'].should == '5'
744
- @plugin["network"]["settings"]['net.link.ether.inet.useloopback'].should == '1'
745
- @plugin["network"]["settings"]['net.link.ether.inet.proxyall'].should == '0'
746
- @plugin["network"]["settings"]['net.link.ether.inet.sendllconflict'].should == '0'
747
- @plugin["network"]["settings"]['net.link.ether.inet.log_arp_warnings'].should == '0'
748
- @plugin["network"]["settings"]['net.link.ether.inet.keep_announcements'].should == '1'
749
- @plugin["network"]["settings"]['net.link.ether.inet.send_conflicting_probes'].should == '1'
750
- @plugin["network"]["settings"]['net.link.bridge.log_stp'].should == '0'
751
- @plugin["network"]["settings"]['net.link.bridge.debug'].should == '0'
752
- @plugin["network"]["settings"]['net.key.debug'].should == '0'
753
- @plugin["network"]["settings"]['net.key.spi_trycnt'].should == '1000'
754
- @plugin["network"]["settings"]['net.key.spi_minval'].should == '256'
755
- @plugin["network"]["settings"]['net.key.spi_maxval'].should == '268435455'
756
- @plugin["network"]["settings"]['net.key.int_random'].should == '60'
757
- @plugin["network"]["settings"]['net.key.larval_lifetime'].should == '30'
758
- @plugin["network"]["settings"]['net.key.blockacq_count'].should == '10'
759
- @plugin["network"]["settings"]['net.key.blockacq_lifetime'].should == '20'
760
- @plugin["network"]["settings"]['net.key.esp_keymin'].should == '256'
761
- @plugin["network"]["settings"]['net.key.esp_auth'].should == '0'
762
- @plugin["network"]["settings"]['net.key.ah_keymin'].should == '128'
763
- @plugin["network"]["settings"]['net.key.prefered_oldsa'].should == '0'
764
- @plugin["network"]["settings"]['net.key.natt_keepalive_interval'].should == '20'
765
- @plugin["network"]["settings"]['net.inet6.ip6.forwarding'].should == '0'
766
- @plugin["network"]["settings"]['net.inet6.ip6.redirect'].should == '1'
767
- @plugin["network"]["settings"]['net.inet6.ip6.hlim'].should == '64'
768
- @plugin["network"]["settings"]['net.inet6.ip6.maxfragpackets'].should == '1536'
769
- @plugin["network"]["settings"]['net.inet6.ip6.accept_rtadv'].should == '0'
770
- @plugin["network"]["settings"]['net.inet6.ip6.keepfaith'].should == '0'
771
- @plugin["network"]["settings"]['net.inet6.ip6.log_interval'].should == '5'
772
- @plugin["network"]["settings"]['net.inet6.ip6.hdrnestlimit'].should == '15'
773
- @plugin["network"]["settings"]['net.inet6.ip6.dad_count'].should == '1'
774
- @plugin["network"]["settings"]['net.inet6.ip6.auto_flowlabel'].should == '1'
775
- @plugin["network"]["settings"]['net.inet6.ip6.defmcasthlim'].should == '1'
776
- @plugin["network"]["settings"]['net.inet6.ip6.gifhlim'].should == '0'
777
- @plugin["network"]["settings"]['net.inet6.ip6.kame_version'].should == '2009/apple-darwin'
778
- @plugin["network"]["settings"]['net.inet6.ip6.use_deprecated'].should == '1'
779
- @plugin["network"]["settings"]['net.inet6.ip6.rr_prune'].should == '5'
780
- @plugin["network"]["settings"]['net.inet6.ip6.v6only'].should == '0'
781
- @plugin["network"]["settings"]['net.inet6.ip6.rtexpire'].should == '3600'
782
- @plugin["network"]["settings"]['net.inet6.ip6.rtminexpire'].should == '10'
783
- @plugin["network"]["settings"]['net.inet6.ip6.rtmaxcache'].should == '128'
784
- @plugin["network"]["settings"]['net.inet6.ip6.use_tempaddr'].should == '1'
785
- @plugin["network"]["settings"]['net.inet6.ip6.temppltime'].should == '86400'
786
- @plugin["network"]["settings"]['net.inet6.ip6.tempvltime'].should == '604800'
787
- @plugin["network"]["settings"]['net.inet6.ip6.auto_linklocal'].should == '1'
788
- @plugin["network"]["settings"]['net.inet6.ip6.prefer_tempaddr'].should == '1'
789
- @plugin["network"]["settings"]['net.inet6.ip6.use_defaultzone'].should == '0'
790
- @plugin["network"]["settings"]['net.inet6.ip6.maxfrags'].should == '12288'
791
- @plugin["network"]["settings"]['net.inet6.ip6.mcast_pmtu'].should == '0'
792
- @plugin["network"]["settings"]['net.inet6.ip6.neighborgcthresh'].should == '1024'
793
- @plugin["network"]["settings"]['net.inet6.ip6.maxifprefixes'].should == '16'
794
- @plugin["network"]["settings"]['net.inet6.ip6.maxifdefrouters'].should == '16'
795
- @plugin["network"]["settings"]['net.inet6.ip6.maxdynroutes'].should == '1024'
796
- @plugin["network"]["settings"]['net.inet6.ip6.fw.enable'].should == '1'
797
- @plugin["network"]["settings"]['net.inet6.ip6.fw.debug'].should == '0'
798
- @plugin["network"]["settings"]['net.inet6.ip6.fw.verbose'].should == '0'
799
- @plugin["network"]["settings"]['net.inet6.ip6.fw.verbose_limit'].should == '0'
800
- @plugin["network"]["settings"]['net.inet6.ip6.scopedroute'].should == '1'
801
- @plugin["network"]["settings"]['net.inet6.ip6.select_srcif_debug'].should == '0'
802
- @plugin["network"]["settings"]['net.inet6.ip6.mcast.maxgrpsrc'].should == '512'
803
- @plugin["network"]["settings"]['net.inet6.ip6.mcast.maxsocksrc'].should == '128'
804
- @plugin["network"]["settings"]['net.inet6.ip6.mcast.loop'].should == '1'
805
- @plugin["network"]["settings"]['net.inet6.ip6.only_allow_rfc4193_prefixes'].should == '0'
806
- @plugin["network"]["settings"]['net.inet6.ipsec6.def_policy'].should == '1'
807
- @plugin["network"]["settings"]['net.inet6.ipsec6.esp_trans_deflev'].should == '1'
808
- @plugin["network"]["settings"]['net.inet6.ipsec6.esp_net_deflev'].should == '1'
809
- @plugin["network"]["settings"]['net.inet6.ipsec6.ah_trans_deflev'].should == '1'
810
- @plugin["network"]["settings"]['net.inet6.ipsec6.ah_net_deflev'].should == '1'
811
- @plugin["network"]["settings"]['net.inet6.ipsec6.ecn'].should == '0'
812
- @plugin["network"]["settings"]['net.inet6.ipsec6.debug'].should == '0'
813
- @plugin["network"]["settings"]['net.inet6.ipsec6.esp_randpad'].should == '-1'
814
- @plugin["network"]["settings"]['net.inet6.icmp6.rediraccept'].should == '1'
815
- @plugin["network"]["settings"]['net.inet6.icmp6.redirtimeout'].should == '600'
816
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_prune'].should == '1'
817
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_delay'].should == '5'
818
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_umaxtries'].should == '3'
819
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_mmaxtries'].should == '3'
820
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_useloopback'].should == '1'
821
- @plugin["network"]["settings"]['net.inet6.icmp6.nodeinfo'].should == '3'
822
- @plugin["network"]["settings"]['net.inet6.icmp6.errppslimit'].should == '500'
823
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_maxnudhint'].should == '0'
824
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_debug'].should == '0'
825
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_accept_6to4'].should == '1'
826
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_onlink_ns_rfc4861'].should == '0'
827
- @plugin["network"]["settings"]['net.inet6.icmp6.nd6_llreach_base'].should == '30'
828
- @plugin["network"]["settings"]['net.inet6.mld.gsrdelay'].should == '10'
829
- @plugin["network"]["settings"]['net.inet6.mld.v1enable'].should == '1'
830
- @plugin["network"]["settings"]['net.inet6.mld.use_allow'].should == '1'
831
- @plugin["network"]["settings"]['net.inet6.mld.debug'].should == '0'
832
- @plugin["network"]["settings"]['net.idle.route.expire_timeout'].should == '30'
833
- @plugin["network"]["settings"]['net.idle.route.drain_interval'].should == '10'
834
- @plugin["network"]["settings"]['net.statistics'].should == '1'
835
- @plugin["network"]["settings"]['net.alf.loglevel'].should == '55'
836
- @plugin["network"]["settings"]['net.alf.perm'].should == '0'
837
- @plugin["network"]["settings"]['net.alf.defaultaction'].should == '1'
838
- @plugin["network"]["settings"]['net.alf.mqcount'].should == '0'
839
- @plugin["network"]["settings"]['net.smb.fs.version'].should == '107000'
840
- @plugin["network"]["settings"]['net.smb.fs.loglevel'].should == '0'
841
- @plugin["network"]["settings"]['net.smb.fs.kern_ntlmssp'].should == '0'
842
- @plugin["network"]["settings"]['net.smb.fs.kern_deprecatePreXPServers'].should == '1'
843
- @plugin["network"]["settings"]['net.smb.fs.kern_deadtimer'].should == '60'
844
- @plugin["network"]["settings"]['net.smb.fs.kern_hard_deadtimer'].should == '600'
845
- @plugin["network"]["settings"]['net.smb.fs.kern_soft_deadtimer'].should == '30'
846
- @plugin["network"]["settings"]['net.smb.fs.tcpsndbuf'].should == '261120'
847
- @plugin["network"]["settings"]['net.smb.fs.tcprcvbuf'].should == '261120'
554
+ expect(@plugin['network']['settings']['net.local.stream.sendspace']).to eq('8192')
555
+ expect(@plugin["network"]["settings"]['net.local.stream.recvspace']).to eq('8192')
556
+ expect(@plugin["network"]["settings"]['net.local.stream.tracemdns']).to eq('0')
557
+ expect(@plugin["network"]["settings"]['net.local.dgram.maxdgram']).to eq('2048')
558
+ expect(@plugin["network"]["settings"]['net.local.dgram.recvspace']).to eq('4096')
559
+ expect(@plugin["network"]["settings"]['net.local.inflight']).to eq('0')
560
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.lowfirst']).to eq('1023')
561
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.lowlast']).to eq('600')
562
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.first']).to eq('49152')
563
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.last']).to eq('65535')
564
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.hifirst']).to eq('49152')
565
+ expect(@plugin["network"]["settings"]['net.inet.ip.portrange.hilast']).to eq('65535')
566
+ expect(@plugin["network"]["settings"]['net.inet.ip.forwarding']).to eq('1')
567
+ expect(@plugin["network"]["settings"]['net.inet.ip.redirect']).to eq('1')
568
+ expect(@plugin["network"]["settings"]['net.inet.ip.ttl']).to eq('64')
569
+ expect(@plugin["network"]["settings"]['net.inet.ip.rtexpire']).to eq('12')
570
+ expect(@plugin["network"]["settings"]['net.inet.ip.rtminexpire']).to eq('10')
571
+ expect(@plugin["network"]["settings"]['net.inet.ip.rtmaxcache']).to eq('128')
572
+ expect(@plugin["network"]["settings"]['net.inet.ip.sourceroute']).to eq('0')
573
+ expect(@plugin["network"]["settings"]['net.inet.ip.intr_queue_maxlen']).to eq('50')
574
+ expect(@plugin["network"]["settings"]['net.inet.ip.intr_queue_drops']).to eq('0')
575
+ expect(@plugin["network"]["settings"]['net.inet.ip.accept_sourceroute']).to eq('0')
576
+ expect(@plugin["network"]["settings"]['net.inet.ip.keepfaith']).to eq('0')
577
+ expect(@plugin["network"]["settings"]['net.inet.ip.gifttl']).to eq('30')
578
+ expect(@plugin["network"]["settings"]['net.inet.ip.subnets_are_local']).to eq('0')
579
+ expect(@plugin["network"]["settings"]['net.inet.ip.mcast.maxgrpsrc']).to eq('512')
580
+ expect(@plugin["network"]["settings"]['net.inet.ip.mcast.maxsocksrc']).to eq('128')
581
+ expect(@plugin["network"]["settings"]['net.inet.ip.mcast.loop']).to eq('1')
582
+ expect(@plugin["network"]["settings"]['net.inet.ip.check_route_selfref']).to eq('1')
583
+ expect(@plugin["network"]["settings"]['net.inet.ip.use_route_genid']).to eq('1')
584
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.hash_size']).to eq('64')
585
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.curr_time']).to eq('0')
586
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.ready_heap']).to eq('0')
587
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.extract_heap']).to eq('0')
588
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.searches']).to eq('0')
589
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.search_steps']).to eq('0')
590
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.expire']).to eq('1')
591
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.max_chain_len']).to eq('16')
592
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.red_lookup_depth']).to eq('256')
593
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.red_avg_pkt_size']).to eq('512')
594
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.red_max_pkt_size']).to eq('1500')
595
+ expect(@plugin["network"]["settings"]['net.inet.ip.dummynet.debug']).to eq('0')
596
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.enable']).to eq('1')
597
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.autoinc_step']).to eq('100')
598
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.one_pass']).to eq('0')
599
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.debug']).to eq('0')
600
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.verbose']).to eq('0')
601
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.verbose_limit']).to eq('0')
602
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_buckets']).to eq('256')
603
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.curr_dyn_buckets']).to eq('256')
604
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_count']).to eq('0')
605
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_max']).to eq('4096')
606
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.static_count']).to eq('2')
607
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_ack_lifetime']).to eq('300')
608
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_syn_lifetime']).to eq('20')
609
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_fin_lifetime']).to eq('1')
610
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_rst_lifetime']).to eq('1')
611
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_udp_lifetime']).to eq('10')
612
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_short_lifetime']).to eq('5')
613
+ expect(@plugin["network"]["settings"]['net.inet.ip.fw.dyn_keepalive']).to eq('1')
614
+ expect(@plugin["network"]["settings"]['net.inet.ip.maxfragpackets']).to eq('1536')
615
+ expect(@plugin["network"]["settings"]['net.inet.ip.maxfragsperpacket']).to eq('128')
616
+ expect(@plugin["network"]["settings"]['net.inet.ip.maxfrags']).to eq('3072')
617
+ expect(@plugin["network"]["settings"]['net.inet.ip.scopedroute']).to eq('1')
618
+ expect(@plugin["network"]["settings"]['net.inet.ip.check_interface']).to eq('0')
619
+ expect(@plugin["network"]["settings"]['net.inet.ip.linklocal.in.allowbadttl']).to eq('1')
620
+ expect(@plugin["network"]["settings"]['net.inet.ip.random_id']).to eq('1')
621
+ expect(@plugin["network"]["settings"]['net.inet.ip.maxchainsent']).to eq('0')
622
+ expect(@plugin["network"]["settings"]['net.inet.ip.select_srcif_debug']).to eq('0')
623
+ expect(@plugin["network"]["settings"]['net.inet.icmp.maskrepl']).to eq('0')
624
+ expect(@plugin["network"]["settings"]['net.inet.icmp.icmplim']).to eq('250')
625
+ expect(@plugin["network"]["settings"]['net.inet.icmp.timestamp']).to eq('0')
626
+ expect(@plugin["network"]["settings"]['net.inet.icmp.drop_redirect']).to eq('0')
627
+ expect(@plugin["network"]["settings"]['net.inet.icmp.log_redirect']).to eq('0')
628
+ expect(@plugin["network"]["settings"]['net.inet.icmp.bmcastecho']).to eq('1')
629
+ expect(@plugin["network"]["settings"]['net.inet.igmp.recvifkludge']).to eq('1')
630
+ expect(@plugin["network"]["settings"]['net.inet.igmp.sendra']).to eq('1')
631
+ expect(@plugin["network"]["settings"]['net.inet.igmp.sendlocal']).to eq('1')
632
+ expect(@plugin["network"]["settings"]['net.inet.igmp.v1enable']).to eq('1')
633
+ expect(@plugin["network"]["settings"]['net.inet.igmp.v2enable']).to eq('1')
634
+ expect(@plugin["network"]["settings"]['net.inet.igmp.legacysupp']).to eq('0')
635
+ expect(@plugin["network"]["settings"]['net.inet.igmp.default_version']).to eq('3')
636
+ expect(@plugin["network"]["settings"]['net.inet.igmp.gsrdelay']).to eq('10')
637
+ expect(@plugin["network"]["settings"]['net.inet.igmp.debug']).to eq('0')
638
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rfc1323']).to eq('1')
639
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rfc1644']).to eq('0')
640
+ expect(@plugin["network"]["settings"]['net.inet.tcp.mssdflt']).to eq('512')
641
+ expect(@plugin["network"]["settings"]['net.inet.tcp.keepidle']).to eq('7200000')
642
+ expect(@plugin["network"]["settings"]['net.inet.tcp.keepintvl']).to eq('75000')
643
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sendspace']).to eq('65536')
644
+ expect(@plugin["network"]["settings"]['net.inet.tcp.recvspace']).to eq('65536')
645
+ expect(@plugin["network"]["settings"]['net.inet.tcp.keepinit']).to eq('75000')
646
+ expect(@plugin["network"]["settings"]['net.inet.tcp.v6mssdflt']).to eq('1024')
647
+ expect(@plugin["network"]["settings"]['net.inet.tcp.log_in_vain']).to eq('0')
648
+ expect(@plugin["network"]["settings"]['net.inet.tcp.blackhole']).to eq('0')
649
+ expect(@plugin["network"]["settings"]['net.inet.tcp.delayed_ack']).to eq('3')
650
+ expect(@plugin["network"]["settings"]['net.inet.tcp.tcp_lq_overflow']).to eq('1')
651
+ expect(@plugin["network"]["settings"]['net.inet.tcp.recvbg']).to eq('0')
652
+ expect(@plugin["network"]["settings"]['net.inet.tcp.drop_synfin']).to eq('1')
653
+ expect(@plugin["network"]["settings"]['net.inet.tcp.reass.maxsegments']).to eq('3072')
654
+ expect(@plugin["network"]["settings"]['net.inet.tcp.reass.cursegments']).to eq('0')
655
+ expect(@plugin["network"]["settings"]['net.inet.tcp.reass.overflows']).to eq('0')
656
+ expect(@plugin["network"]["settings"]['net.inet.tcp.slowlink_wsize']).to eq('8192')
657
+ expect(@plugin["network"]["settings"]['net.inet.tcp.maxseg_unacked']).to eq('8')
658
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rfc3465']).to eq('1')
659
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rfc3465_lim2']).to eq('1')
660
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rtt_samples_per_slot']).to eq('20')
661
+ expect(@plugin["network"]["settings"]['net.inet.tcp.recv_allowed_iaj']).to eq('5')
662
+ expect(@plugin["network"]["settings"]['net.inet.tcp.acc_iaj_high_thresh']).to eq('100')
663
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rexmt_thresh']).to eq('2')
664
+ expect(@plugin["network"]["settings"]['net.inet.tcp.path_mtu_discovery']).to eq('1')
665
+ expect(@plugin["network"]["settings"]['net.inet.tcp.slowstart_flightsize']).to eq('1')
666
+ expect(@plugin["network"]["settings"]['net.inet.tcp.local_slowstart_flightsize']).to eq('8')
667
+ expect(@plugin["network"]["settings"]['net.inet.tcp.tso']).to eq('1')
668
+ expect(@plugin["network"]["settings"]['net.inet.tcp.ecn_initiate_out']).to eq('0')
669
+ expect(@plugin["network"]["settings"]['net.inet.tcp.ecn_negotiate_in']).to eq('0')
670
+ expect(@plugin["network"]["settings"]['net.inet.tcp.packetchain']).to eq('50')
671
+ expect(@plugin["network"]["settings"]['net.inet.tcp.socket_unlocked_on_output']).to eq('1')
672
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rfc3390']).to eq('1')
673
+ expect(@plugin["network"]["settings"]['net.inet.tcp.min_iaj_win']).to eq('4')
674
+ expect(@plugin["network"]["settings"]['net.inet.tcp.acc_iaj_react_limit']).to eq('200')
675
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sack']).to eq('1')
676
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sack_maxholes']).to eq('128')
677
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sack_globalmaxholes']).to eq('65536')
678
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sack_globalholes']).to eq('0')
679
+ expect(@plugin["network"]["settings"]['net.inet.tcp.minmss']).to eq('216')
680
+ expect(@plugin["network"]["settings"]['net.inet.tcp.minmssoverload']).to eq('0')
681
+ expect(@plugin["network"]["settings"]['net.inet.tcp.do_tcpdrain']).to eq('0')
682
+ expect(@plugin["network"]["settings"]['net.inet.tcp.pcbcount']).to eq('86')
683
+ expect(@plugin["network"]["settings"]['net.inet.tcp.icmp_may_rst']).to eq('1')
684
+ expect(@plugin["network"]["settings"]['net.inet.tcp.strict_rfc1948']).to eq('0')
685
+ expect(@plugin["network"]["settings"]['net.inet.tcp.isn_reseed_interval']).to eq('0')
686
+ expect(@plugin["network"]["settings"]['net.inet.tcp.background_io_enabled']).to eq('1')
687
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rtt_min']).to eq('100')
688
+ expect(@plugin["network"]["settings"]['net.inet.tcp.rexmt_slop']).to eq('200')
689
+ expect(@plugin["network"]["settings"]['net.inet.tcp.randomize_ports']).to eq('0')
690
+ expect(@plugin["network"]["settings"]['net.inet.tcp.newreno_sockets']).to eq('81')
691
+ expect(@plugin["network"]["settings"]['net.inet.tcp.background_sockets']).to eq('-1')
692
+ expect(@plugin["network"]["settings"]['net.inet.tcp.tcbhashsize']).to eq('4096')
693
+ expect(@plugin["network"]["settings"]['net.inet.tcp.background_io_trigger']).to eq('5')
694
+ expect(@plugin["network"]["settings"]['net.inet.tcp.msl']).to eq('15000')
695
+ expect(@plugin["network"]["settings"]['net.inet.tcp.max_persist_timeout']).to eq('0')
696
+ expect(@plugin["network"]["settings"]['net.inet.tcp.always_keepalive']).to eq('0')
697
+ expect(@plugin["network"]["settings"]['net.inet.tcp.timer_fastmode_idlemax']).to eq('20')
698
+ expect(@plugin["network"]["settings"]['net.inet.tcp.broken_peer_syn_rxmit_thres']).to eq('7')
699
+ expect(@plugin["network"]["settings"]['net.inet.tcp.tcp_timer_advanced']).to eq('5')
700
+ expect(@plugin["network"]["settings"]['net.inet.tcp.tcp_resched_timerlist']).to eq('12209')
701
+ expect(@plugin["network"]["settings"]['net.inet.tcp.pmtud_blackhole_detection']).to eq('1')
702
+ expect(@plugin["network"]["settings"]['net.inet.tcp.pmtud_blackhole_mss']).to eq('1200')
703
+ expect(@plugin["network"]["settings"]['net.inet.tcp.timer_fastquantum']).to eq('100')
704
+ expect(@plugin["network"]["settings"]['net.inet.tcp.timer_slowquantum']).to eq('500')
705
+ expect(@plugin["network"]["settings"]['net.inet.tcp.win_scale_factor']).to eq('3')
706
+ expect(@plugin["network"]["settings"]['net.inet.tcp.sockthreshold']).to eq('64')
707
+ expect(@plugin["network"]["settings"]['net.inet.tcp.bg_target_qdelay']).to eq('100')
708
+ expect(@plugin["network"]["settings"]['net.inet.tcp.bg_allowed_increase']).to eq('2')
709
+ expect(@plugin["network"]["settings"]['net.inet.tcp.bg_tether_shift']).to eq('1')
710
+ expect(@plugin["network"]["settings"]['net.inet.tcp.bg_ss_fltsz']).to eq('2')
711
+ expect(@plugin["network"]["settings"]['net.inet.udp.checksum']).to eq('1')
712
+ expect(@plugin["network"]["settings"]['net.inet.udp.maxdgram']).to eq('9216')
713
+ expect(@plugin["network"]["settings"]['net.inet.udp.recvspace']).to eq('42080')
714
+ expect(@plugin["network"]["settings"]['net.inet.udp.log_in_vain']).to eq('0')
715
+ expect(@plugin["network"]["settings"]['net.inet.udp.blackhole']).to eq('0')
716
+ expect(@plugin["network"]["settings"]['net.inet.udp.pcbcount']).to eq('72')
717
+ expect(@plugin["network"]["settings"]['net.inet.udp.randomize_ports']).to eq('1')
718
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.def_policy']).to eq('1')
719
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.esp_trans_deflev']).to eq('1')
720
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.esp_net_deflev']).to eq('1')
721
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.ah_trans_deflev']).to eq('1')
722
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.ah_net_deflev']).to eq('1')
723
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.ah_cleartos']).to eq('1')
724
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.ah_offsetmask']).to eq('0')
725
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.dfbit']).to eq('0')
726
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.ecn']).to eq('0')
727
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.debug']).to eq('0')
728
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.esp_randpad']).to eq('-1')
729
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.bypass']).to eq('0')
730
+ expect(@plugin["network"]["settings"]['net.inet.ipsec.esp_port']).to eq('4500')
731
+ expect(@plugin["network"]["settings"]['net.inet.raw.maxdgram']).to eq('8192')
732
+ expect(@plugin["network"]["settings"]['net.inet.raw.recvspace']).to eq('8192')
733
+ expect(@plugin["network"]["settings"]['net.link.generic.system.ifcount']).to eq('10')
734
+ expect(@plugin["network"]["settings"]['net.link.generic.system.dlil_verbose']).to eq('0')
735
+ expect(@plugin["network"]["settings"]['net.link.generic.system.multi_threaded_input']).to eq('1')
736
+ expect(@plugin["network"]["settings"]['net.link.generic.system.dlil_input_sanity_check']).to eq('0')
737
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.prune_intvl']).to eq('300')
738
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.max_age']).to eq('1200')
739
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.host_down_time']).to eq('20')
740
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.apple_hwcksum_tx']).to eq('1')
741
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.apple_hwcksum_rx']).to eq('1')
742
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.arp_llreach_base']).to eq('30')
743
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.maxtries']).to eq('5')
744
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.useloopback']).to eq('1')
745
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.proxyall']).to eq('0')
746
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.sendllconflict']).to eq('0')
747
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.log_arp_warnings']).to eq('0')
748
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.keep_announcements']).to eq('1')
749
+ expect(@plugin["network"]["settings"]['net.link.ether.inet.send_conflicting_probes']).to eq('1')
750
+ expect(@plugin["network"]["settings"]['net.link.bridge.log_stp']).to eq('0')
751
+ expect(@plugin["network"]["settings"]['net.link.bridge.debug']).to eq('0')
752
+ expect(@plugin["network"]["settings"]['net.key.debug']).to eq('0')
753
+ expect(@plugin["network"]["settings"]['net.key.spi_trycnt']).to eq('1000')
754
+ expect(@plugin["network"]["settings"]['net.key.spi_minval']).to eq('256')
755
+ expect(@plugin["network"]["settings"]['net.key.spi_maxval']).to eq('268435455')
756
+ expect(@plugin["network"]["settings"]['net.key.int_random']).to eq('60')
757
+ expect(@plugin["network"]["settings"]['net.key.larval_lifetime']).to eq('30')
758
+ expect(@plugin["network"]["settings"]['net.key.blockacq_count']).to eq('10')
759
+ expect(@plugin["network"]["settings"]['net.key.blockacq_lifetime']).to eq('20')
760
+ expect(@plugin["network"]["settings"]['net.key.esp_keymin']).to eq('256')
761
+ expect(@plugin["network"]["settings"]['net.key.esp_auth']).to eq('0')
762
+ expect(@plugin["network"]["settings"]['net.key.ah_keymin']).to eq('128')
763
+ expect(@plugin["network"]["settings"]['net.key.prefered_oldsa']).to eq('0')
764
+ expect(@plugin["network"]["settings"]['net.key.natt_keepalive_interval']).to eq('20')
765
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.forwarding']).to eq('0')
766
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.redirect']).to eq('1')
767
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.hlim']).to eq('64')
768
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.maxfragpackets']).to eq('1536')
769
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.accept_rtadv']).to eq('0')
770
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.keepfaith']).to eq('0')
771
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.log_interval']).to eq('5')
772
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.hdrnestlimit']).to eq('15')
773
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.dad_count']).to eq('1')
774
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.auto_flowlabel']).to eq('1')
775
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.defmcasthlim']).to eq('1')
776
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.gifhlim']).to eq('0')
777
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.kame_version']).to eq('2009/apple-darwin')
778
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.use_deprecated']).to eq('1')
779
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.rr_prune']).to eq('5')
780
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.v6only']).to eq('0')
781
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.rtexpire']).to eq('3600')
782
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.rtminexpire']).to eq('10')
783
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.rtmaxcache']).to eq('128')
784
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.use_tempaddr']).to eq('1')
785
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.temppltime']).to eq('86400')
786
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.tempvltime']).to eq('604800')
787
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.auto_linklocal']).to eq('1')
788
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.prefer_tempaddr']).to eq('1')
789
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.use_defaultzone']).to eq('0')
790
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.maxfrags']).to eq('12288')
791
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.mcast_pmtu']).to eq('0')
792
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.neighborgcthresh']).to eq('1024')
793
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.maxifprefixes']).to eq('16')
794
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.maxifdefrouters']).to eq('16')
795
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.maxdynroutes']).to eq('1024')
796
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.fw.enable']).to eq('1')
797
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.fw.debug']).to eq('0')
798
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.fw.verbose']).to eq('0')
799
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.fw.verbose_limit']).to eq('0')
800
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.scopedroute']).to eq('1')
801
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.select_srcif_debug']).to eq('0')
802
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.mcast.maxgrpsrc']).to eq('512')
803
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.mcast.maxsocksrc']).to eq('128')
804
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.mcast.loop']).to eq('1')
805
+ expect(@plugin["network"]["settings"]['net.inet6.ip6.only_allow_rfc4193_prefixes']).to eq('0')
806
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.def_policy']).to eq('1')
807
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.esp_trans_deflev']).to eq('1')
808
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.esp_net_deflev']).to eq('1')
809
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.ah_trans_deflev']).to eq('1')
810
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.ah_net_deflev']).to eq('1')
811
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.ecn']).to eq('0')
812
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.debug']).to eq('0')
813
+ expect(@plugin["network"]["settings"]['net.inet6.ipsec6.esp_randpad']).to eq('-1')
814
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.rediraccept']).to eq('1')
815
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.redirtimeout']).to eq('600')
816
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_prune']).to eq('1')
817
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_delay']).to eq('5')
818
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_umaxtries']).to eq('3')
819
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_mmaxtries']).to eq('3')
820
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_useloopback']).to eq('1')
821
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nodeinfo']).to eq('3')
822
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.errppslimit']).to eq('500')
823
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_maxnudhint']).to eq('0')
824
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_debug']).to eq('0')
825
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_accept_6to4']).to eq('1')
826
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_onlink_ns_rfc4861']).to eq('0')
827
+ expect(@plugin["network"]["settings"]['net.inet6.icmp6.nd6_llreach_base']).to eq('30')
828
+ expect(@plugin["network"]["settings"]['net.inet6.mld.gsrdelay']).to eq('10')
829
+ expect(@plugin["network"]["settings"]['net.inet6.mld.v1enable']).to eq('1')
830
+ expect(@plugin["network"]["settings"]['net.inet6.mld.use_allow']).to eq('1')
831
+ expect(@plugin["network"]["settings"]['net.inet6.mld.debug']).to eq('0')
832
+ expect(@plugin["network"]["settings"]['net.idle.route.expire_timeout']).to eq('30')
833
+ expect(@plugin["network"]["settings"]['net.idle.route.drain_interval']).to eq('10')
834
+ expect(@plugin["network"]["settings"]['net.statistics']).to eq('1')
835
+ expect(@plugin["network"]["settings"]['net.alf.loglevel']).to eq('55')
836
+ expect(@plugin["network"]["settings"]['net.alf.perm']).to eq('0')
837
+ expect(@plugin["network"]["settings"]['net.alf.defaultaction']).to eq('1')
838
+ expect(@plugin["network"]["settings"]['net.alf.mqcount']).to eq('0')
839
+ expect(@plugin["network"]["settings"]['net.smb.fs.version']).to eq('107000')
840
+ expect(@plugin["network"]["settings"]['net.smb.fs.loglevel']).to eq('0')
841
+ expect(@plugin["network"]["settings"]['net.smb.fs.kern_ntlmssp']).to eq('0')
842
+ expect(@plugin["network"]["settings"]['net.smb.fs.kern_deprecatePreXPServers']).to eq('1')
843
+ expect(@plugin["network"]["settings"]['net.smb.fs.kern_deadtimer']).to eq('60')
844
+ expect(@plugin["network"]["settings"]['net.smb.fs.kern_hard_deadtimer']).to eq('600')
845
+ expect(@plugin["network"]["settings"]['net.smb.fs.kern_soft_deadtimer']).to eq('30')
846
+ expect(@plugin["network"]["settings"]['net.smb.fs.tcpsndbuf']).to eq('261120')
847
+ expect(@plugin["network"]["settings"]['net.smb.fs.tcprcvbuf']).to eq('261120')
848
848
  end
849
849
  end
850
850
  end