📄 readme-windows.txt
字号:
("A" == "access allowed", "GA" == GENERIC_ALL == all permissions, and"BA" == "builtin administrators" == the local admins. The empty fieldsare for flags and object GUIDs, none of which should be required in thiscase.)(local admins and the local "power users" group have permissions,but nobody else):ctrl_interface=SDDL=D:(A;;GA;;;BA)(A;;GA;;;PU)(One ACCESS_ALLOWED ACE for GENERIC_ALL for builtin administrators, andone ACCESS_ALLOWED ACE for GENERIC_ALL for power users.)(close to wide open, but you have to be a valid user onthe machine):ctrl_interface=SDDL=D:(A;;GA;;;AU)(One ACCESS_ALLOWED ACE for GENERIC_ALL for the "authenticated users"group.)This one would allow absolutely everyone (including anonymoususers) -- this is *not* recommended, since named pipes can be attachedto from anywhere on the network (i.e. there's no "this machine only"like there is with 127.0.0.1 sockets):ctrl_interface=SDDL=D:(A;;GA;;;BU)(A;;GA;;;AN)(BU == "builtin users", "AN" == "anonymous")See also [1] for the format of ACEs, and [2] for the possible stringsthat can be used for principal names.[1]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/ace_strings.asp[2]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/sid_strings.aspStarting wpa_supplicant as a Windows service (wpasvc.exe)---------------------------------------------------------wpa_supplicant can be started as a Windows service by using wpasvc.exeprogram that is alternative build of wpa_supplicant.exe. Most of thecore functionality of wpasvc.exe is identical to wpa_supplicant.exe,but it is using Windows registry for configuration information insteadof a text file and command line parameters. In addition, it can beregistered as a service that can be started automatically or manuallylike any other Windows service.The root of wpa_supplicant configuration in registry isHKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant. This level includes globalparameters and a 'interfaces' subkey with all the interface configuration(adapter to confname mapping). Each such mapping is a subkey that has'adapter', 'config', and 'ctrl_interface' values.This program can be run either as a normal command line application,e.g., for debugging, with 'wpasvc.exe app' or as a Windows service.Service need to be registered with 'wpasvc.exe reg <full path towpasvc.exe>'. Alternatively, 'wpasvc.exe reg' can be used to registerthe service with the current location of wpasvc.exe. After this, wpasvccan be started like any other Windows service (e.g., 'net start wpasvc')or it can be configured to start automatically through the Services toolin administrative tasks. The service can be unregistered with'wpasvc.exe unreg'.If the service is set to start during system bootup to make thenetwork connection available before any user has logged in, there maybe a long (half a minute or so) delay in starting up wpa_supplicantdue to WinPcap needing a driver called "Network Monitor Driver" whichis started by default on demand.To speed up wpa_supplicant start during system bootup, "NetworkMonitor Driver" can be configured to be started sooner by setting itsstartup type to System instead of the default Demand. To do this, openup Device Manager, select Show Hidden Devices, expand the "NonPlug-and-Play devices" branch, double click "Network Monitor Driver",go to the Driver tab, and change the Demand setting to System instead.Configuration data is in HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configskey. Each configuration profile has its own key under this. In terms of textfiles, each profile would map to a separate text file with possibly multiplenetworks. Under each profile, there is a networks key that lists allnetworks as a subkey. Each network has set of values in the same way asnetwork block in the configuration file. In addition, blobs subkey haspossible blobs as values.HKEY_LOCAL_MACHINE\SOFTWARE\wpa_supplicant\configs\test\networks\0000 ssid="example" key_mgmt=WPA-PSKSee win_example.reg for an example on how to setup wpasvc.exeparameters in registry. It can also be imported to registry as astarting point for the configuration.License information for third party software used in this product: OpenSSL License ---------------/* ==================================================================== * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. All advertising materials mentioning features or use of this * software must display the following acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" * * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to * endorse or promote products derived from this software without * prior written permission. For written permission, please contact * openssl-core@openssl.org. * * 5. Products derived from this software may not be called "OpenSSL" * nor may "OpenSSL" appear in their names without prior written * permission of the OpenSSL Project. * * 6. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by the OpenSSL Project * for use in the OpenSSL Toolkit (http://www.openssl.org/)" * * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * ==================================================================== * * This product includes cryptographic software written by Eric Young * (eay@cryptsoft.com). This product includes software written by Tim * Hudson (tjh@cryptsoft.com). * */ Original SSLeay License -----------------------/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to. The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code. The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). * * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * "This product includes cryptographic software written by * Eric Young (eay@cryptsoft.com)" * The word 'cryptographic' can be left out if the rouines from the library * being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from * the apps directory (application code) you must include an acknowledgement: * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" * * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed. i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -