1 <?xml version="1.0"?> 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3 <!-- 4 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 5 Copyright 2012, Nexenta Systems, Inc. All rights reserved. 6 7 CDDL HEADER START 8 9 The contents of this file are subject to the terms of the 10 Common Development and Distribution License (the "License"). 11 You may not use this file except in compliance with the License. 12 13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14 or http://www.opensolaris.org/os/licensing. 15 See the License for the specific language governing permissions 16 and limitations under the License. 17 18 When distributing Covered Code, include this CDDL HEADER in each 19 file and include the License file at usr/src/OPENSOLARIS.LICENSE. 20 If applicable, add the following below this CDDL HEADER, with the 21 fields enclosed by brackets "[]" replaced with your own identifying 22 information: Portions Copyright [yyyy] [name of copyright owner] 23 24 CDDL HEADER END 25 26 NOTE: This service manifest is not editable; its contents will 27 be overwritten by package or patch operations, including 28 operating system upgrade. Make customizations in a different 29 file. 30 --> 31 32 <service_bundle type='manifest' name='SUNWcs:socket-filter-kssl'> 33 34 <service 35 name='network/socket-filter' 36 type='service' 37 version='1'> 38 39 <instance name='kssl' enabled='false'> 40 <dependency 41 name='kssl-filter-filesystem-root' 42 grouping='require_all' 43 restart_on='none' 44 type='service'> 45 <service_fmri value='svc:/system/filesystem/root' /> 46 </dependency> 47 48 <exec_method 49 type='method' 50 name='start' 51 exec='/lib/svc/method/svc-sockfilter start' 52 timeout_seconds='60' /> 53 54 <exec_method 55 type='method' 56 name='stop' 57 exec='/lib/svc/method/svc-sockfilter stop' 58 timeout_seconds='60' /> 59 60 <property_group name='startd' type='framework'> 61 <propval name='duration' type='astring' 62 value='transient' /> 63 </property_group> 64 65 <property_group name='socket-filter' type='framework'> 66 <propval name='name' type='astring' value='ksslf' /> 67 <propval name='module_name' type='astring' 68 value='ksslf' /> 69 <propval name='attach_semantics' type='astring' 70 value='auto' /> 71 <propval name='socket_tuples' type='astring' 72 value='2:2:0,2:2:6,26:2:0,26:2:6' /> 73 </property_group> 74 75 <template> 76 <common_name> 77 <loctext xml:lang='C'> 78 kernel SSL socket filter 79 </loctext> 80 </common_name> 81 <documentation> 82 <manpage title='ksslcfg' section='1M' 83 manpath='/usr/share/man' /> 84 </documentation> 85 </template> 86 </instance> 87 88 <instance name='http' enabled='false'> 89 <dependency 90 name='http-filter-filesystem-root' 91 grouping='require_all' 92 restart_on='none' 93 type='service'> 94 <service_fmri value='svc:/system/filesystem/root' /> 95 </dependency> 96 97 <exec_method 98 type='method' 99 name='start' 100 exec='/lib/svc/method/svc-sockfilter start' 101 timeout_seconds='60' /> 102 103 <exec_method 104 type='method' 105 name='stop' 106 exec='/lib/svc/method/svc-sockfilter stop' 107 timeout_seconds='60' /> 108 109 <property_group name='startd' type='framework'> 110 <propval name='duration' type='astring' 111 value='transient' /> 112 </property_group> 113 114 <property_group name='socket-filter' type='framework'> 115 <propval name='name' type='astring' value='httpfilt' /> 116 <propval name='module_name' type='astring' 117 value='httpfilt' /> 118 <propval name='attach_semantics' type='astring' 119 value='prog' /> 120 <propval name='socket_tuples' type='astring' 121 value='2:2:0,2:2:6,26:2:0,26:2:6' /> 122 </property_group> 123 124 <template> 125 <common_name> 126 <loctext xml:lang='C'> 127 kernel inbound HTTP request socket filter 128 </loctext> 129 </common_name> 130 <!-- 131 <documentation> 132 <manpage title='ksslcfg' section='1M' 133 manpath='/usr/share/man' /> 134 </documentation> 135 --> 136 </template> 137 </instance> 138 139 <instance name='data' enabled='false'> 140 <dependency 141 name='data-filter-filesystem-root' 142 grouping='require_all' 143 restart_on='none' 144 type='service'> 145 <service_fmri value='svc:/system/filesystem/root' /> 146 </dependency> 147 148 <exec_method 149 type='method' 150 name='start' 151 exec='/lib/svc/method/svc-sockfilter start' 152 timeout_seconds='60' /> 153 154 <exec_method 155 type='method' 156 name='stop' 157 exec='/lib/svc/method/svc-sockfilter stop' 158 timeout_seconds='60' /> 159 160 <property_group name='startd' type='framework'> 161 <propval name='duration' type='astring' 162 value='transient' /> 163 </property_group> 164 165 <property_group name='socket-filter' type='framework'> 166 <propval name='name' type='astring' value='datafilt' /> 167 <propval name='module_name' type='astring' 168 value='datafilt' /> 169 <propval name='attach_semantics' type='astring' 170 value='prog' /> 171 <propval name='socket_tuples' type='astring' 172 value='2:2:0,2:2:6,26:2:0,26:2:6' /> 173 </property_group> 174 175 <template> 176 <common_name> 177 <loctext xml:lang='C'> 178 TCP inbound data socket filter 179 </loctext> 180 </common_name> 181 <!-- 182 <documentation> 183 <manpage title='ksslcfg' section='1M' 184 manpath='/usr/share/man' /> 185 </documentation> 186 --> 187 </template> 188 </instance> 189 190 <stability value='Unstable' /> 191 </service> 192 193 </service_bundle>