yajl-ruby 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of yajl-ruby might be problematic. Click here for more details.

data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  Makefile
2
+ benchmark/subjects/contacts.*
2
3
  *.o
3
4
  *.dylib
4
5
  *.bundle
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.6 (June 19th, 2009)
4
+ * Added JSON.default_options hash to the JSON gem compatibility API
5
+ * Split out the JSON gem compatibility API's parsing and encoding methods into individually includable files
6
+ ** the use case here is if you *only* want parsing, or *only* want encoding
7
+ ** also, if you don't include encoding it won't include the #to_json overrides which tend to cause problems in some environments.
8
+ * Removed some large benchmark test files to reduce the size of the packaged gem by 1.5MB!
9
+
3
10
  ## 0.5.5 (June 17th, 2009)
4
- * Introduction of the JSON gem API compatibility layer
11
+ * Introduction of the JSON gem compatibility API
5
12
  ** NOTE: this isn't a 1:1 compatibility API, the goal was to be compatible with as many of the projects using the JSON gem as possible - not the JSON gem API itself
6
13
  ** the compatibility API must be explicitly enabled by requiring 'yajl/json_gem' in your project
7
14
  ** JSON.parse, JSON.generate, and the #to_json instance method extension to ruby's primitive classes are all included
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 5
4
- :patch: 5
4
+ :patch: 6
data/benchmark/encode.rb CHANGED
@@ -7,7 +7,7 @@ require 'json'
7
7
  # Can't use ActiveSuport::JSON.encode with the JSON gem loaded
8
8
  # require 'activesupport'
9
9
 
10
- filename = ARGV[0] || 'benchmark/subjects/contacts.json'
10
+ filename = ARGV[0] || 'benchmark/subjects/ohai.json'
11
11
  json = File.new(filename, 'r')
12
12
  hash = Yajl::Parser.new.parse(json)
13
13
  json.close
@@ -6,7 +6,7 @@ require 'stringio'
6
6
  require 'json'
7
7
 
8
8
  times = ARGV[0] ? ARGV[0].to_i : 1
9
- filename = 'benchmark/subjects/contacts.json'
9
+ filename = 'benchmark/subjects/ohai.json'
10
10
  json = File.new(filename, 'r')
11
11
  hash = Yajl::Parser.new.parse(json)
12
12
  json.close
@@ -6,7 +6,7 @@ require 'json'
6
6
  require 'yaml'
7
7
 
8
8
  # JSON Section
9
- filename = 'benchmark/subjects/contacts.json'
9
+ filename = 'benchmark/subjects/ohai.json'
10
10
  json = File.new(filename, 'r')
11
11
  hash = Yajl::Parser.new.parse(json)
12
12
  json.close
data/benchmark/parse.rb CHANGED
@@ -5,7 +5,7 @@ require 'yajl_ext'
5
5
  require 'json'
6
6
  require 'activesupport'
7
7
 
8
- filename = ARGV[0] || 'benchmark/subjects/contacts.json'
8
+ filename = ARGV[0] || 'benchmark/subjects/ohai.json'
9
9
  json = File.new(filename, 'r')
10
10
 
11
11
  # warm up the filesystem
@@ -5,8 +5,8 @@ require 'yajl_ext'
5
5
  require 'json'
6
6
 
7
7
  # JSON section
8
- filename = 'benchmark/subjects/contacts.json'
9
- marshal_filename = 'benchmark/subjects/contacts.marshal_dump'
8
+ filename = 'benchmark/subjects/ohai.json'
9
+ marshal_filename = 'benchmark/subjects/ohai.marshal_dump'
10
10
  json = File.new(filename, 'r')
11
11
  marshal_file = File.new(marshal_filename, 'r')
12
12
 
@@ -6,7 +6,7 @@ require 'json'
6
6
  require 'yaml'
7
7
 
8
8
  # JSON section
9
- filename = 'benchmark/subjects/contacts.json'
9
+ filename = 'benchmark/subjects/ohai.json'
10
10
  json = File.new(filename, 'r')
11
11
 
12
12
  # warm up the filesystem
@@ -0,0 +1,975 @@
1
+ ---
2
+ kernel:
3
+ name: Darwin
4
+ machine: i386
5
+ modules:
6
+ com.apple.driver.AppleAPIC:
7
+ size: 12288
8
+ version: "1.4"
9
+ index: "26"
10
+ refcount: "0"
11
+ com.apple.driver.AirPort.Atheros:
12
+ size: 593920
13
+ version: 318.8.3
14
+ index: "88"
15
+ refcount: "0"
16
+ com.apple.driver.AppleIntelCPUPowerManagement:
17
+ size: 102400
18
+ version: 59.0.1
19
+ index: "22"
20
+ refcount: "0"
21
+ com.apple.iokit.IOStorageFamily:
22
+ size: 98304
23
+ version: 1.5.5
24
+ index: "44"
25
+ refcount: "9"
26
+ com.apple.iokit.IOATAPIProtocolTransport:
27
+ size: 16384
28
+ version: 1.5.2
29
+ index: "52"
30
+ refcount: "0"
31
+ com.apple.iokit.IOPCIFamily:
32
+ size: 65536
33
+ version: "2.5"
34
+ index: "17"
35
+ refcount: "18"
36
+ org.virtualbox.kext.VBoxDrv:
37
+ size: 118784
38
+ version: 2.2.0
39
+ index: "114"
40
+ refcount: "3"
41
+ com.cisco.nke.ipsec:
42
+ size: 454656
43
+ version: 2.0.1
44
+ index: "111"
45
+ refcount: "0"
46
+ com.apple.driver.AppleHPET:
47
+ size: 12288
48
+ version: "1.3"
49
+ index: "33"
50
+ refcount: "0"
51
+ com.apple.driver.AppleUSBHub:
52
+ size: 49152
53
+ version: 3.2.7
54
+ index: "47"
55
+ refcount: "0"
56
+ com.apple.iokit.IOFireWireFamily:
57
+ size: 258048
58
+ version: 3.4.6
59
+ index: "49"
60
+ refcount: "2"
61
+ com.apple.driver.AppleUSBComposite:
62
+ size: 16384
63
+ version: 3.2.0
64
+ index: "60"
65
+ refcount: "1"
66
+ com.apple.driver.AppleIntelPIIXATA:
67
+ size: 36864
68
+ version: 2.0.0
69
+ index: "41"
70
+ refcount: "0"
71
+ com.apple.driver.AppleSmartBatteryManager:
72
+ size: 28672
73
+ version: 158.6.0
74
+ index: "32"
75
+ refcount: "0"
76
+ com.apple.filesystems.udf:
77
+ size: 233472
78
+ version: 2.0.2
79
+ index: "119"
80
+ refcount: "0"
81
+ com.apple.iokit.IOSMBusFamily:
82
+ size: 12288
83
+ version: "1.1"
84
+ index: "27"
85
+ refcount: "2"
86
+ com.apple.iokit.IOACPIFamily:
87
+ size: 16384
88
+ version: 1.2.0
89
+ index: "18"
90
+ refcount: "10"
91
+ foo.tap:
92
+ size: 24576
93
+ version: "1.0"
94
+ index: "113"
95
+ refcount: "0"
96
+ com.vmware.kext.vmx86:
97
+ size: 864256
98
+ version: 2.0.4
99
+ index: "104"
100
+ refcount: "0"
101
+ com.apple.iokit.CHUDUtils:
102
+ size: 28672
103
+ version: "200"
104
+ index: "98"
105
+ refcount: "0"
106
+ com.apple.driver.AppleACPIButtons:
107
+ size: 16384
108
+ version: 1.2.4
109
+ index: "30"
110
+ refcount: "0"
111
+ com.apple.driver.AppleFWOHCI:
112
+ size: 139264
113
+ version: 3.7.2
114
+ index: "50"
115
+ refcount: "0"
116
+ com.apple.iokit.IOSCSIArchitectureModelFamily:
117
+ size: 102400
118
+ version: 2.0.5
119
+ index: "51"
120
+ refcount: "4"
121
+ org.virtualbox.kext.VBoxNetAdp:
122
+ size: 8192
123
+ version: 2.2.0
124
+ index: "117"
125
+ refcount: "0"
126
+ com.apple.filesystems.autofs:
127
+ size: 45056
128
+ version: 2.0.1
129
+ index: "109"
130
+ refcount: "0"
131
+ com.vmware.kext.vmnet:
132
+ size: 36864
133
+ version: 2.0.4
134
+ index: "108"
135
+ refcount: "0"
136
+ com.apple.iokit.IOSCSIBlockCommandsDevice:
137
+ size: 90112
138
+ version: 2.0.5
139
+ index: "57"
140
+ refcount: "1"
141
+ com.apple.driver.AppleACPIPCI:
142
+ size: 12288
143
+ version: 1.2.4
144
+ index: "31"
145
+ refcount: "0"
146
+ com.apple.security.seatbelt:
147
+ size: 98304
148
+ version: "107.10"
149
+ index: "25"
150
+ refcount: "0"
151
+ com.apple.driver.AppleUpstreamUserClient:
152
+ size: 16384
153
+ version: 2.7.2
154
+ index: "100"
155
+ refcount: "0"
156
+ com.apple.kext.OSvKernDSPLib:
157
+ size: 12288
158
+ version: "1.1"
159
+ index: "79"
160
+ refcount: "1"
161
+ com.apple.iokit.IOBDStorageFamily:
162
+ size: 20480
163
+ version: "1.5"
164
+ index: "58"
165
+ refcount: "1"
166
+ com.apple.iokit.IOGraphicsFamily:
167
+ size: 118784
168
+ version: 1.7.1
169
+ index: "70"
170
+ refcount: "5"
171
+ com.apple.iokit.IONetworkingFamily:
172
+ size: 90112
173
+ version: 1.6.1
174
+ index: "82"
175
+ refcount: "4"
176
+ com.apple.iokit.IOATAFamily:
177
+ size: 53248
178
+ version: 2.0.0
179
+ index: "40"
180
+ refcount: "2"
181
+ com.apple.iokit.IOUSBHIDDriver:
182
+ size: 20480
183
+ version: 3.2.2
184
+ index: "63"
185
+ refcount: "2"
186
+ org.virtualbox.kext.VBoxUSB:
187
+ size: 28672
188
+ version: 2.2.0
189
+ index: "115"
190
+ refcount: "0"
191
+ com.apple.security.TMSafetyNet:
192
+ size: 12288
193
+ version: "3"
194
+ index: "23"
195
+ refcount: "0"
196
+ com.apple.iokit.IONDRVSupport:
197
+ size: 57344
198
+ version: 1.7.1
199
+ index: "71"
200
+ refcount: "3"
201
+ com.apple.BootCache:
202
+ size: 20480
203
+ version: "30.3"
204
+ index: "20"
205
+ refcount: "0"
206
+ com.vmware.kext.vmioplug:
207
+ size: 24576
208
+ version: 2.0.4
209
+ index: "107"
210
+ refcount: "0"
211
+ com.apple.iokit.IOUSBUserClient:
212
+ size: 8192
213
+ version: 3.2.4
214
+ index: "46"
215
+ refcount: "1"
216
+ com.apple.iokit.IOSCSIMultimediaCommandsDevice:
217
+ size: 90112
218
+ version: 2.0.5
219
+ index: "59"
220
+ refcount: "0"
221
+ com.apple.driver.AppleIRController:
222
+ size: 20480
223
+ version: "110"
224
+ index: "78"
225
+ refcount: "0"
226
+ com.apple.driver.AudioIPCDriver:
227
+ size: 16384
228
+ version: 1.0.5
229
+ index: "81"
230
+ refcount: "0"
231
+ com.apple.driver.AppleLPC:
232
+ size: 12288
233
+ version: 1.2.11
234
+ index: "73"
235
+ refcount: "0"
236
+ org.virtualbox.kext.VBoxNetFlt:
237
+ size: 16384
238
+ version: 2.2.0
239
+ index: "116"
240
+ refcount: "0"
241
+ com.apple.iokit.CHUDKernLib:
242
+ size: 20480
243
+ version: "196"
244
+ index: "93"
245
+ refcount: "2"
246
+ com.apple.iokit.CHUDProf:
247
+ size: 49152
248
+ version: "207"
249
+ index: "97"
250
+ refcount: "0"
251
+ com.apple.NVDAResman:
252
+ size: 2478080
253
+ version: 5.3.6
254
+ index: "90"
255
+ refcount: "2"
256
+ com.apple.driver.AppleACPIEC:
257
+ size: 20480
258
+ version: 1.2.4
259
+ index: "28"
260
+ refcount: "0"
261
+ foo.tun:
262
+ size: 24576
263
+ version: "1.0"
264
+ index: "118"
265
+ refcount: "0"
266
+ com.apple.iokit.IOSerialFamily:
267
+ size: 36864
268
+ version: "9.3"
269
+ index: "102"
270
+ refcount: "1"
271
+ com.apple.GeForce:
272
+ size: 622592
273
+ version: 5.3.6
274
+ index: "96"
275
+ refcount: "0"
276
+ com.apple.iokit.IOCDStorageFamily:
277
+ size: 32768
278
+ version: "1.5"
279
+ index: "55"
280
+ refcount: "3"
281
+ com.apple.driver.AppleUSBEHCI:
282
+ size: 73728
283
+ version: 3.2.5
284
+ index: "39"
285
+ refcount: "0"
286
+ com.apple.nvidia.nv50hal:
287
+ size: 2445312
288
+ version: 5.3.6
289
+ index: "91"
290
+ refcount: "0"
291
+ com.apple.driver.AppleSMBIOS:
292
+ size: 16384
293
+ version: 1.1.1
294
+ index: "29"
295
+ refcount: "0"
296
+ com.apple.driver.AppleBacklight:
297
+ size: 16384
298
+ version: 1.4.4
299
+ index: "72"
300
+ refcount: "0"
301
+ com.apple.driver.AppleACPIPlatform:
302
+ size: 253952
303
+ version: 1.2.4
304
+ index: "19"
305
+ refcount: "3"
306
+ com.apple.iokit.SCSITaskUserClient:
307
+ size: 24576
308
+ version: 2.0.5
309
+ index: "54"
310
+ refcount: "0"
311
+ com.apple.iokit.IOHIDFamily:
312
+ size: 233472
313
+ version: 1.5.3
314
+ index: "21"
315
+ refcount: "7"
316
+ com.apple.driver.DiskImages:
317
+ size: 65536
318
+ version: 195.2.2
319
+ index: "101"
320
+ refcount: "0"
321
+ com.apple.iokit.IODVDStorageFamily:
322
+ size: 24576
323
+ version: "1.5"
324
+ index: "56"
325
+ refcount: "2"
326
+ com.apple.iokit.IOFireWireIP:
327
+ size: 36864
328
+ version: 1.7.6
329
+ index: "83"
330
+ refcount: "0"
331
+ com.apple.driver.AppleRTC:
332
+ size: 20480
333
+ version: 1.2.3
334
+ index: "34"
335
+ refcount: "0"
336
+ com.apple.driver.XsanFilter:
337
+ size: 20480
338
+ version: 2.7.91
339
+ index: "53"
340
+ refcount: "0"
341
+ com.apple.driver.AppleEFIRuntime:
342
+ size: 12288
343
+ version: 1.2.0
344
+ index: "35"
345
+ refcount: "1"
346
+ com.apple.iokit.IOAHCIBlockStorage:
347
+ size: 69632
348
+ version: 1.2.0
349
+ index: "48"
350
+ refcount: "0"
351
+ com.apple.nke.applicationfirewall:
352
+ size: 32768
353
+ version: 1.0.77
354
+ index: "24"
355
+ refcount: "0"
356
+ com.apple.iokit.IO80211Family:
357
+ size: 126976
358
+ version: "215.1"
359
+ index: "87"
360
+ refcount: "1"
361
+ com.vmware.kext.vmci:
362
+ size: 45056
363
+ version: 2.0.4
364
+ index: "106"
365
+ refcount: "0"
366
+ com.apple.iokit.IOAHCIFamily:
367
+ size: 24576
368
+ version: 1.5.0
369
+ index: "42"
370
+ refcount: "2"
371
+ com.apple.driver.AppleUSBUHCI:
372
+ size: 57344
373
+ version: 3.2.5
374
+ index: "38"
375
+ refcount: "0"
376
+ com.apple.driver.AppleUSBMergeNub:
377
+ size: 12288
378
+ version: 3.2.4
379
+ index: "61"
380
+ refcount: "0"
381
+ com.apple.iokit.IOUSBFamily:
382
+ size: 167936
383
+ version: 3.2.7
384
+ index: "37"
385
+ refcount: "13"
386
+ com.apple.driver.AppleEFINVRAM:
387
+ size: 24576
388
+ version: 1.2.0
389
+ index: "36"
390
+ refcount: "0"
391
+ com.apple.driver.AppleAHCIPort:
392
+ size: 53248
393
+ version: 1.5.2
394
+ index: "43"
395
+ refcount: "0"
396
+ os: Darwin
397
+ version: "Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386"
398
+ release: 9.6.0
399
+ command:
400
+ ps: ps -ef
401
+ platform: mac_os_x
402
+ platform_version: 10.5.6
403
+ keys:
404
+ ssh:
405
+ host_dsa_public: private
406
+ host_rsa_public: private
407
+ ipaddress: 192.168.88.1
408
+ fqdn: local.local
409
+ network:
410
+ settings:
411
+ net.inet6.ip6.forwarding: "0"
412
+ net.inet.ip.dummynet.debug: "0"
413
+ net.inet.ip.rtexpire: "10"
414
+ net.inet6.ipsec6.esp_trans_deflev: "1"
415
+ net.inet.tcp.tcbhashsize: "4096"
416
+ net.key.esp_auth: "0"
417
+ net.inet6.ip6.hlim: "64"
418
+ net.inet.ip.fw.dyn_fin_lifetime: "1"
419
+ net.inet.ip.fw.dyn_udp_lifetime: "10"
420
+ net.inet.icmp.bmcastecho: "1"
421
+ net.athbgscan: 1 1
422
+ net.inet.tcp.reass.maxsegments: "2048"
423
+ net.athforceBias: 2 2
424
+ net.inet6.ip6.auto_flowlabel: "1"
425
+ net.inet6.ip6.rtmaxcache: "128"
426
+ net.inet.tcp.sendspace: "131072"
427
+ net.inet.tcp.keepinit: "75000"
428
+ net.inet.ip.dummynet.max_chain_len: "16"
429
+ net.inet.tcp.rfc1644: "0"
430
+ net.inet.ip.fw.curr_dyn_buckets: "256"
431
+ net.inet.ip.dummynet.ready_heap: "0"
432
+ net.inet.ip.portrange.first: "49152"
433
+ net.inet.tcp.background_io_trigger: "5"
434
+ net.link.ether.inet.host_down_time: "20"
435
+ net.inet6.ipsec6.def_policy: "1"
436
+ net.inet6.ipsec6.ecn: "0"
437
+ net.inet.ip.fastforwarding: "0"
438
+ net.inet6.ip6.v6only: "0"
439
+ net.inet.tcp.sack: "1"
440
+ net.inet6.ip6.rtexpire: "3600"
441
+ net.link.ether.inet.proxyall: "0"
442
+ net.athaddbaignore: 0 0
443
+ net.inet6.ip6.keepfaith: "0"
444
+ net.key.spi_trycnt: "1000"
445
+ net.link.ether.inet.prune_intvl: "300"
446
+ net.inet.tcp.ecn_initiate_out: "0"
447
+ net.inet.ip.fw.dyn_rst_lifetime: "1"
448
+ net.local.stream.sendspace: "8192"
449
+ net.inet.tcp.socket_unlocked_on_output: "1"
450
+ net.inet.ip.fw.verbose_limit: "0"
451
+ net.local.dgram.recvspace: "4096"
452
+ net.inet.ipsec.debug: "0"
453
+ net.link.ether.inet.log_arp_warnings: "0"
454
+ net.inet.tcp.ecn_negotiate_in: "0"
455
+ net.inet.tcp.rfc3465: "1"
456
+ net.inet.tcp.icmp_may_rst: "1"
457
+ net.link.ether.inet.sendllconflict: "0"
458
+ net.inet.ipsec.ah_offsetmask: "0"
459
+ net.key.blockacq_count: "10"
460
+ net.inet.tcp.delayed_ack: "3"
461
+ net.inet.ip.fw.verbose: "2"
462
+ net.inet.ip.fw.dyn_count: "0"
463
+ net.inet.tcp.slowlink_wsize: "8192"
464
+ net.inet6.ip6.fw.enable: "1"
465
+ net.inet.ip.portrange.hilast: "65535"
466
+ net.inet.icmp.maskrepl: "0"
467
+ net.link.ether.inet.apple_hwcksum_rx: "1"
468
+ net.inet.tcp.drop_synfin: "1"
469
+ net.key.spi_maxval: "268435455"
470
+ net.inet.ipsec.ecn: "0"
471
+ net.inet.ip.fw.dyn_keepalive: "1"
472
+ net.key.int_random: "60"
473
+ net.key.debug: "0"
474
+ net.inet.ip.dummynet.curr_time: "0"
475
+ net.inet.udp.blackhole: "0"
476
+ net.athaggrqmin: 1 1
477
+ net.inet.ip.fw.dyn_syn_lifetime: "20"
478
+ net.inet.tcp.keepidle: "7200000"
479
+ net.inet6.ip6.tempvltime: "604800"
480
+ net.inet.tcp.recvspace: "358400"
481
+ net.inet.udp.maxdgram: "9216"
482
+ net.inet.tcp.keepintvl: "75000"
483
+ net.inet.ip.maxchainsent: "0"
484
+ net.athppmenable: 1 1
485
+ net.inet.ipsec.esp_net_deflev: "1"
486
+ net.inet6.icmp6.nd6_useloopback: "1"
487
+ net.inet.tcp.slowstart_flightsize: "1"
488
+ net.inet.ip.fw.debug: "0"
489
+ net.inet.ip.linklocal.in.allowbadttl: "1"
490
+ net.key.spi_minval: "256"
491
+ net.inet.ip.forwarding: "0"
492
+ net.inet.tcp.v6mssdflt: "1024"
493
+ net.key.larval_lifetime: "30"
494
+ net.inet6.ip6.fw.verbose_limit: "0"
495
+ net.inet.ip.dummynet.red_lookup_depth: "256"
496
+ net.inet.tcp.pcbcount: "36"
497
+ net.inet.ip.fw.dyn_ack_lifetime: "300"
498
+ net.athCCAThreshold: 28 28
499
+ net.inet.ip.portrange.lowlast: "600"
500
+ net.link.ether.inet.useloopback: "1"
501
+ net.athqdepth: 0 0
502
+ net.inet.ip.ttl: "64"
503
+ net.inet.ip.rtmaxcache: "128"
504
+ net.inet.ipsec.bypass: "0"
505
+ net.inet6.icmp6.nd6_debug: "0"
506
+ net.inet.ip.use_route_genid: "1"
507
+ net.inet6.icmp6.rediraccept: "1"
508
+ net.inet.ip.fw.static_count: "1"
509
+ net.inet6.ip6.fw.debug: "0"
510
+ net.inet.udp.pcbcount: "104"
511
+ net.inet.ipsec.esp_randpad: "-1"
512
+ net.inet6.icmp6.nd6_maxnudhint: "0"
513
+ net.inet.tcp.always_keepalive: "0"
514
+ net.inet.udp.checksum: "1"
515
+ net.link.ether.inet.keep_announcements: "1"
516
+ net.athfixedDropThresh: 150 150
517
+ net.inet6.ip6.kame_version: 20010528/apple-darwin
518
+ net.inet.ip.fw.dyn_max: "4096"
519
+ net.inet.udp.log_in_vain: "0"
520
+ net.inet6.icmp6.nd6_mmaxtries: "3"
521
+ net.inet.ip.rtminexpire: "10"
522
+ net.inet.ip.fw.dyn_buckets: "256"
523
+ net.inet6.ip6.accept_rtadv: "0"
524
+ net.inet6.ip6.rr_prune: "5"
525
+ net.key.ah_keymin: "128"
526
+ net.inet.ip.redirect: "1"
527
+ net.inet.tcp.sack_globalmaxholes: "65536"
528
+ net.inet.ip.keepfaith: "0"
529
+ net.inet.ip.dummynet.expire: "1"
530
+ net.inet.ip.gifttl: "30"
531
+ net.inet.ip.portrange.last: "65535"
532
+ net.inet.ipsec.ah_net_deflev: "1"
533
+ net.inet6.icmp6.nd6_delay: "5"
534
+ net.inet.tcp.packetchain: "50"
535
+ net.inet6.ip6.hdrnestlimit: "50"
536
+ net.inet.tcp.newreno: "0"
537
+ net.inet6.ip6.dad_count: "1"
538
+ net.inet6.ip6.auto_linklocal: "1"
539
+ net.inet6.ip6.temppltime: "86400"
540
+ net.inet.tcp.strict_rfc1948: "0"
541
+ net.inet.ip.dummynet.red_max_pkt_size: "1500"
542
+ net.inet.ip.maxfrags: "2048"
543
+ net.inet.tcp.log_in_vain: "0"
544
+ net.athdupie: 1 1
545
+ net.inet.tcp.rfc1323: "1"
546
+ net.inet.ip.subnets_are_local: "0"
547
+ net.inet.ip.dummynet.search_steps: "0"
548
+ net.inet.icmp.icmplim: "250"
549
+ net.link.ether.inet.apple_hwcksum_tx: "1"
550
+ net.inet6.icmp6.redirtimeout: "600"
551
+ net.inet.ipsec.ah_cleartos: "1"
552
+ net.inet6.ip6.log_interval: "5"
553
+ net.link.ether.inet.max_age: "1200"
554
+ net.inet.ip.fw.enable: "1"
555
+ net.inet6.ip6.redirect: "1"
556
+ net.athaggrfmax: 28 28
557
+ net.inet.ip.maxfragsperpacket: "128"
558
+ net.inet6.ip6.use_deprecated: "1"
559
+ net.link.generic.system.dlil_input_sanity_check: "0"
560
+ net.inet.tcp.sack_globalholes: "0"
561
+ net.inet.tcp.reass.cursegments: "0"
562
+ net.inet6.icmp6.nodeinfo: "3"
563
+ net.local.inflight: "0"
564
+ net.inet.ip.dummynet.hash_size: "64"
565
+ net.inet.ip.dummynet.red_avg_pkt_size: "512"
566
+ net.inet.ipsec.dfbit: "0"
567
+ net.inet.tcp.reass.overflows: "0"
568
+ net.inet.tcp.rexmt_thresh: "2"
569
+ net.inet6.ip6.maxfrags: "8192"
570
+ net.inet6.ip6.rtminexpire: "10"
571
+ net.inet6.ipsec6.esp_net_deflev: "1"
572
+ net.inet.tcp.blackhole: "0"
573
+ net.key.esp_keymin: "256"
574
+ net.inet.ip.check_interface: "0"
575
+ net.inet.tcp.minmssoverload: "0"
576
+ net.link.ether.inet.maxtries: "5"
577
+ net.inet.tcp.do_tcpdrain: "0"
578
+ net.inet.ipsec.esp_port: "4500"
579
+ net.inet6.ipsec6.ah_net_deflev: "1"
580
+ net.inet.ip.dummynet.extract_heap: "0"
581
+ net.inet.tcp.path_mtu_discovery: "1"
582
+ net.inet.ip.intr_queue_maxlen: "50"
583
+ net.inet.ipsec.def_policy: "1"
584
+ net.inet.ip.fw.autoinc_step: "100"
585
+ net.inet.ip.accept_sourceroute: "0"
586
+ net.inet.raw.maxdgram: "8192"
587
+ net.inet.ip.maxfragpackets: "1024"
588
+ net.inet.ip.fw.one_pass: "0"
589
+ net.appletalk.routermix: "2000"
590
+ net.inet.tcp.tcp_lq_overflow: "1"
591
+ net.link.generic.system.ifcount: "9"
592
+ net.link.ether.inet.send_conflicting_probes: "1"
593
+ net.inet.tcp.background_io_enabled: "1"
594
+ net.inet6.ipsec6.debug: "0"
595
+ net.inet.tcp.win_scale_factor: "3"
596
+ net.key.natt_keepalive_interval: "20"
597
+ net.inet.tcp.msl: "15000"
598
+ net.inet.ip.portrange.hifirst: "49152"
599
+ net.inet.ipsec.ah_trans_deflev: "1"
600
+ net.inet.tcp.rtt_min: "1"
601
+ net.inet6.ip6.defmcasthlim: "1"
602
+ net.inet6.icmp6.nd6_prune: "1"
603
+ net.inet6.ip6.fw.verbose: "0"
604
+ net.inet.ip.portrange.lowfirst: "1023"
605
+ net.inet.tcp.maxseg_unacked: "8"
606
+ net.local.dgram.maxdgram: "2048"
607
+ net.key.blockacq_lifetime: "20"
608
+ net.inet.tcp.sack_maxholes: "128"
609
+ net.inet6.ip6.maxfragpackets: "1024"
610
+ net.inet6.ip6.use_tempaddr: "0"
611
+ net.athpowermode: 0 0
612
+ net.inet.udp.recvspace: "73728"
613
+ net.inet.tcp.isn_reseed_interval: "0"
614
+ net.inet.tcp.local_slowstart_flightsize: "8"
615
+ net.inet.ip.dummynet.searches: "0"
616
+ net.inet.ip.intr_queue_drops: "0"
617
+ net.link.generic.system.multi_threaded_input: "1"
618
+ net.inet.raw.recvspace: "8192"
619
+ net.inet.ipsec.esp_trans_deflev: "1"
620
+ net.key.prefered_oldsa: "0"
621
+ net.local.stream.recvspace: "8192"
622
+ net.inet.tcp.sockthreshold: "64"
623
+ net.inet6.icmp6.nd6_umaxtries: "3"
624
+ net.pstimeout: 20 20
625
+ net.inet.ip.sourceroute: "0"
626
+ net.inet.ip.fw.dyn_short_lifetime: "5"
627
+ net.inet.tcp.minmss: "216"
628
+ net.inet6.ip6.gifhlim: "0"
629
+ net.athvendorie: 1 1
630
+ net.inet.ip.check_route_selfref: "1"
631
+ net.inet.icmp.log_redirect: "0"
632
+ net.inet6.icmp6.errppslimit: "100"
633
+ net.inet.tcp.mssdflt: "512"
634
+ net.inet.icmp.drop_redirect: "0"
635
+ net.inet6.ipsec6.esp_randpad: "-1"
636
+ net.inet6.ipsec6.ah_trans_deflev: "1"
637
+ net.inet.ip.random_id: "1"
638
+ net.inet.icmp.timestamp: "0"
639
+ interfaces:
640
+ stf0:
641
+ flags: []
642
+
643
+ number: "0"
644
+ mtu: "1280"
645
+ type: stf
646
+ encapsulation: 6to4
647
+ vmnet1:
648
+ flags:
649
+ - UP
650
+ - BROADCAST
651
+ - SMART
652
+ - RUNNING
653
+ - SIMPLEX
654
+ - MULTICAST
655
+ number: "1"
656
+ addresses:
657
+ - broadcast: 192.168.88.255
658
+ netmask: 255.255.255.0
659
+ family: inet
660
+ address: 192.168.88.1
661
+ - family: lladdr
662
+ address: private
663
+ mtu: "1500"
664
+ type: vmnet
665
+ encapsulation: Ethernet
666
+ vboxnet0:
667
+ flags:
668
+ - BROADCAST
669
+ - RUNNING
670
+ - SIMPLEX
671
+ - MULTICAST
672
+ number: "0"
673
+ addresses:
674
+ - family: lladdr
675
+ address: private
676
+ mtu: "1500"
677
+ type: vboxnet
678
+ encapsulation: Ethernet
679
+ lo0:
680
+ flags:
681
+ - UP
682
+ - LOOPBACK
683
+ - RUNNING
684
+ - MULTICAST
685
+ number: "0"
686
+ addresses:
687
+ - scope: Link
688
+ prefixlen: "64"
689
+ family: inet6
690
+ address: fe80::1
691
+ - netmask: 255.0.0.0
692
+ family: inet
693
+ address: 127.0.0.1
694
+ - scope: Node
695
+ prefixlen: "128"
696
+ family: inet6
697
+ address: "::1"
698
+ - scope: Node
699
+ prefixlen: "128"
700
+ family: inet6
701
+ address: private
702
+ mtu: "16384"
703
+ type: lo
704
+ encapsulation: Loopback
705
+ vboxn:
706
+ counters:
707
+ tx:
708
+ packets: "0"
709
+ bytes: "0"
710
+ compressed: 0
711
+ collisions: "0"
712
+ carrier: 0
713
+ errors: "0"
714
+ drop: 0
715
+ overrun: 0
716
+ rx:
717
+ packets: "0"
718
+ bytes: "0"
719
+ compressed: 0
720
+ errors: "0"
721
+ drop: 0
722
+ overrun: 0
723
+ multicast: 0
724
+ frame: 0
725
+ gif0:
726
+ flags:
727
+ - POINTOPOINT
728
+ - MULTICAST
729
+ number: "0"
730
+ mtu: "1280"
731
+ type: gif
732
+ encapsulation: IPIP
733
+ vmnet:
734
+ counters:
735
+ tx:
736
+ packets: "0"
737
+ bytes: "0"
738
+ compressed: 0
739
+ collisions: "0"
740
+ carrier: 0
741
+ errors: "0"
742
+ drop: 0
743
+ overrun: 0
744
+ rx:
745
+ packets: "0"
746
+ bytes: "0"
747
+ compressed: 0
748
+ errors: "0"
749
+ drop: 0
750
+ overrun: 0
751
+ multicast: 0
752
+ frame: 0
753
+ en0:
754
+ flags:
755
+ - UP
756
+ - BROADCAST
757
+ - SMART
758
+ - RUNNING
759
+ - SIMPLEX
760
+ - MULTICAST
761
+ status: inactive
762
+ number: "0"
763
+ addresses:
764
+ - family: lladdr
765
+ address: private
766
+ mtu: "1500"
767
+ type: en
768
+ media:
769
+ supported:
770
+ - autoselect:
771
+ options: []
772
+
773
+ - 10baseT/UTP:
774
+ options:
775
+ - half-duplex
776
+ - 10baseT/UTP:
777
+ options:
778
+ - full-duplex
779
+ - 10baseT/UTP:
780
+ options:
781
+ - full-duplex
782
+ - hw-loopback
783
+ - 10baseT/UTP:
784
+ options:
785
+ - full-duplex
786
+ - flow-control
787
+ - 100baseTX:
788
+ options:
789
+ - half-duplex
790
+ - 100baseTX:
791
+ options:
792
+ - full-duplex
793
+ - 100baseTX:
794
+ options:
795
+ - full-duplex
796
+ - hw-loopback
797
+ - 100baseTX:
798
+ options:
799
+ - full-duplex
800
+ - flow-control
801
+ - 1000baseT:
802
+ options:
803
+ - full-duplex
804
+ - 1000baseT:
805
+ options:
806
+ - full-duplex
807
+ - hw-loopback
808
+ - 1000baseT:
809
+ options:
810
+ - full-duplex
811
+ - flow-control
812
+ - none:
813
+ options: []
814
+
815
+ selected:
816
+ - autoselect:
817
+ options: []
818
+
819
+ counters:
820
+ tx:
821
+ packets: "0"
822
+ bytes: "342"
823
+ compressed: 0
824
+ collisions: "0"
825
+ carrier: 0
826
+ errors: "0"
827
+ drop: 0
828
+ overrun: 0
829
+ rx:
830
+ packets: "0"
831
+ bytes: "0"
832
+ compressed: 0
833
+ errors: "0"
834
+ drop: 0
835
+ overrun: 0
836
+ multicast: 0
837
+ frame: 0
838
+ encapsulation: Ethernet
839
+ vmnet8:
840
+ flags:
841
+ - UP
842
+ - BROADCAST
843
+ - SMART
844
+ - RUNNING
845
+ - SIMPLEX
846
+ - MULTICAST
847
+ number: "8"
848
+ addresses:
849
+ - broadcast: 192.168.237.255
850
+ netmask: 255.255.255.0
851
+ family: inet
852
+ address: 192.168.237.1
853
+ - family: lladdr
854
+ address: private
855
+ mtu: "1500"
856
+ type: vmnet
857
+ encapsulation: Ethernet
858
+ en1:
859
+ flags:
860
+ - UP
861
+ - BROADCAST
862
+ - SMART
863
+ - RUNNING
864
+ - SIMPLEX
865
+ - MULTICAST
866
+ status: active
867
+ number: "1"
868
+ addresses:
869
+ - scope: Link
870
+ prefixlen: "64"
871
+ family: inet6
872
+ address: private
873
+ - broadcast: 192.168.1.255
874
+ netmask: 255.255.255.0
875
+ family: inet
876
+ address: 192.168.1.4
877
+ - family: lladdr
878
+ address: private
879
+ mtu: "1500"
880
+ type: en
881
+ media:
882
+ supported:
883
+ - autoselect:
884
+ options: []
885
+
886
+ selected:
887
+ - autoselect:
888
+ options: []
889
+
890
+ counters:
891
+ tx:
892
+ packets: "7041789"
893
+ bytes: "449206298"
894
+ compressed: 0
895
+ collisions: "0"
896
+ carrier: 0
897
+ errors: "95"
898
+ drop: 0
899
+ overrun: 0
900
+ rx:
901
+ packets: "19966002"
902
+ bytes: "13673879120"
903
+ compressed: 0
904
+ errors: "1655893"
905
+ drop: 0
906
+ overrun: 0
907
+ multicast: 0
908
+ frame: 0
909
+ encapsulation: Ethernet
910
+ arp:
911
+ 192.168.1.7: private
912
+ fw0:
913
+ flags:
914
+ - UP
915
+ - BROADCAST
916
+ - SMART
917
+ - RUNNING
918
+ - SIMPLEX
919
+ - MULTICAST
920
+ status: inactive
921
+ number: "0"
922
+ addresses:
923
+ - family: lladdr
924
+ address: private
925
+ mtu: "4078"
926
+ type: fw
927
+ media:
928
+ supported:
929
+ - autoselect:
930
+ options:
931
+ - full-duplex
932
+ selected:
933
+ - autoselect:
934
+ options:
935
+ - full-duplex
936
+ counters:
937
+ tx:
938
+ packets: "0"
939
+ bytes: "346"
940
+ compressed: 0
941
+ collisions: "0"
942
+ carrier: 0
943
+ errors: "0"
944
+ drop: 0
945
+ overrun: 0
946
+ rx:
947
+ packets: "0"
948
+ bytes: "0"
949
+ compressed: 0
950
+ errors: "0"
951
+ drop: 0
952
+ overrun: 0
953
+ multicast: 0
954
+ frame: 0
955
+ encapsulation: "1394"
956
+ os: darwin
957
+ domain: local
958
+ ohai_time: 1240624355.08575
959
+ platform_build: 9G55
960
+ os_version: 9.6.0
961
+ hostname: local
962
+ languages:
963
+ ruby:
964
+ target_os: darwin9.0
965
+ platform: universal-darwin9.0
966
+ host_vendor: apple
967
+ target_cpu: i686
968
+ target_vendor: apple
969
+ host_os: darwin9.0
970
+ version: 1.8.6
971
+ host_cpu: i686
972
+ host: i686-apple-darwin9.0
973
+ release_date: "2008-03-03"
974
+ target: i686-apple-darwin9.0
975
+ macaddress: private