pax_global_header00006660000000000000000000000064124001500440014500gustar00rootroot0000000000000052 comment=65944fb7a518dc659bacaf80cf235a0352fc6a7e anytun-0.3.5/000077500000000000000000000000001240015004400130235ustar00rootroot00000000000000anytun-0.3.5/AUTHORS000066400000000000000000000002111240015004400140650ustar00rootroot00000000000000Markus Grüneis Othmar Gsenger Erwin Nindl Christian Pointner anytun-0.3.5/ChangeLog000066400000000000000000000051241240015004400145770ustar00rootroot000000000000002014.08.26 -- Version 0.3.5 * added an exception to the license which allows linking with OpenSSL * added support for clang * added libnettle as additional crypto library option * fixed mutli-threading support for libgcrypt 1.6.0 and newer 2011.12.30 -- Version 0.3.4 * Service Release: several build fixes for newer versions of libboost and gcc * formatting cleanups 2010.2.16 -- Version 0.3.3 * Security fix: packet length check errors * fixed dropping of priveleges on FreeBSD * added sysExec for Windows * added multi socket support which allows simultanous usage of IPv4 and IPv6 even on operating systems without V4_MAPPED address support * added workaround for signalhandling on Debian GNU/kFreebsd * added -v|--version option * added prebuilt manpage to release tarball (less build deps) 2009.12.02 -- Version 0.3.2 * added 64bit build target to windows build system * added install target to build system * cleaned up manpages * moved to new svn location 2009.10.28 -- Version 0.3.1 svn852 * switched to GPLv3 or higher * Changed Windows TAP driver version to support 64-bit windows * fixed some memory errors * improved logging * improved post up script execution * builds on FreeBSD now 2009.5.1 -- Version 0.3 svn834 * updated to new protocol specification (extended label and crypto role) Due to this changes this version is incompatible to version 0.2 and prior * the auth tag length can now be configured * added extended logging support (syslog, file stdout and stderr) * changed -n|--ifconfig parameter to new behavior tun and tap devices now use the same syntax * added seperate resolver thread * fixed packet length errors * dropping privileges is now possible wihtout chroot * full ipv6 support - ipv6 multiple connection routing - syncronisation over ipv6 - 4in6,6in6 tunnels * replaced several dependencies with boost libs * ported basic functionality to Windows * dropped OpenBSD Port due to multi threading issues * code cleanup 2008.6.20 -- Version 0.2.1svn556 * finished own tun/tap devices and removed openvpn source code currently there are tun/tap devices for Linux, FreeBSD, OpenBSD and NetBSD * several fixes for building on OpenBSD * added manpages for all binaries * switched to GPLv3 2008.4.12 -- Version 0.2svn490 * updated to Internet Draft Revision 02 Mind that the this version is incompatible to version 0.1 However this is only the case if you use encryption. There shouldn't be any Problem with NULL cipher * several fixes for tunneling IPv6 2008.3.18 -- Version 0.1svn441 * Initial release. * IPv4 tunnel over UDP, with AES-CTR cipher and SHA1 HMAC signature. anytun-0.3.5/LICENSE000066400000000000000000001106321240015004400140330ustar00rootroot00000000000000/* * anytun * * The secure anycast tunneling protocol (satp) defines a protocol used * for communication between any combination of unicast and anycast * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel * mode and allows tunneling of every ETHER TYPE protocol (e.g. * ethernet, ip, arp ...). satp directly includes cryptography and * message authentication based on the methods used by SRTP. It is * intended to deliver a generic, scaleable and secure solution for * tunneling and relaying of packets of any protocol. * * * Copyright (C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. * * Anytun is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Anytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Anytun. If not, see . * * In addition, as a special exception, the copyright holders give * permission to link the code of portions of this program with the * OpenSSL library under certain conditions as described in each * individual source file, and distribute linked combinations * including the two. * You must obey the GNU General Public License in all respects * for all of the code used other than OpenSSL. If you modify * file(s) with this exception, you may extend this exception to your * version of the file(s), but you are not obligated to do so. If you * do not wish to do so, delete this exception statement from your * version. If you delete this exception statement from all source * files in the program, then also delete it here. */ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . anytun-0.3.5/LICENSE.OpenSSL000066400000000000000000000215771240015004400153260ustar00rootroot00000000000000/* * anytun * * The secure anycast tunneling protocol (satp) defines a protocol used * for communication between any combination of unicast and anycast * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel * mode and allows tunneling of every ETHER TYPE protocol (e.g. * ethernet, ip, arp ...). satp directly includes cryptography and * message authentication based on the methods used by SRTP. It is * intended to deliver a generic, scaleable and secure solution for * tunneling and relaying of packets of any protocol. * * * Copyright (C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl, * Christian Pointner * * This file is part of Anytun. * * Anytun is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * Anytun is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Anytun. If not, see . * * In addition, as a special exception, the copyright holders give * permission to link the code of portions of this program with the * OpenSSL library under certain conditions as described in each * individual source file, and distribute linked combinations * including the two. * You must obey the GNU General Public License in all respects * for all of the code used other than OpenSSL. If you modify * file(s) with this exception, you may extend this exception to your * version of the file(s), but you are not obligated to do so. If you * do not wish to do so, delete this exception statement from your * version. If you delete this exception statement from all source * files in the program, then also delete it here. */ Certain source files in this program permit linking with the OpenSSL library (http://www.openssl.org), which otherwise wouldn't be allowed under the GPL. For purposes of identifying OpenSSL, most source files giving this permission limit it to versions of OpenSSL having a license identical to that listed in this file (LICENSE.OpenSSL). It is not necessary for the copyright years to match between this file and the OpenSSL version in question. However, note that because this file is an extension of the license statements of these source files, this file may not be changed except with permission from all copyright holders of source files in this program which reference this file. LICENSE ISSUES ============== The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the OpenSSL License and the original SSLeay license apply to the toolkit. See below for the actual license texts. Actually both licenses are BSD-style Open Source licenses. In case of any license issues related to OpenSSL please contact openssl-core@openssl.org. OpenSSL License --------------- /* ==================================================================== * Copyright (c) 1998-2011 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.] */ anytun-0.3.5/README000066400000000000000000000112231240015004400137020ustar00rootroot00000000000000Dependencies ============ Anytun can be built by using either libgcrypt, libnettle or the openssl-crypto library. The latter is more performant in most cases but there are some license issues when using this library. Linux ----- (this includes Debian with FreeBSD Kernel) using libgcrypt: libgcrypt11-dev using ssl crypto library: libssl-dev using nettle crypto library: nettle-dev common: build-essential libboost-serialization-dev libboost-thread-dev libboost-system-dev libboost-regex-dev if you want clang as compiler clang if you want to rebuild the manpage: asciidoc Freebsd ------- using libgcrypt: security/libgcrypt using ssl crypto lib: common: devel/boost (boost-libs on newer versions of the ports tree) devel/gmake if you want to rebuild the manpage: textproc/asciidoc textproc/libxslt textproc/docbook-xsl sysutils/readlink misc/getopt Windows ------- Crosscompiling with MinGW under Debian/Ubuntu: ---------------------------------------------- # sudo apt-get install mingw-w64 # cd contrib/ # ./build-boost-mingw-cross.sh # ./build-openssl-mingw-cross.sh # ./build-anytun-mingw-cross.sh The compiled binaries can be found in anytun-w32 and anytun-w64 (32 and 64Bit). You can create a ZIP archive containing all needed files by calling: # ./make-mingw-release.sh Using MS Visual C++: -------------------- OpenSSL Developer: http://www.slproweb.com/download/Win32OpenSSL-1_0_1h.exe Runtime Only: http://www.slproweb.com/download/Win32OpenSSL_Light-1_0_1h.exe Boost http://sourceforge.net/projects/boost/files/boost-binaries/ As it can take some time to install everything from boost here is a complete list of libraries which have to be installed in order to build anytun: * Serialization * Thread * date_time * System * regex Microsoft Visual C++ 2008 Redistributable Package (x86): http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Installation ============ Getting the source via subversion: ---------------------------------- svn co http://svn.anytun.org/anytun/trunk anytun cd anytun Building from source -------------------- using libgcrypt: # cd src # ./configure # make using ssl crypto library: # cd src # ./configure --use-ssl-crypto # make Notes: - try './configure --help' for further information - if using openssl pre 0.9.8 you have to disable passphrase because openssl had no SHA256 implementation prior to this version - on FreeBSD you have to use gmake instead of make - the FreeBSD port has some issues concering daemonizing and signal handling Installing ---------- # sudo make install This will install anytun under the --prefix defined with configure. Uninstalling ------------ # sudo make remove This removes everything except for the config files # sudo make purge This also removes the config files Usage: ====== init.d script ------------- The init.d script can be used to start anytun at boot time. It searches for configuration files which reside at $CONFIG_DIR. For each instance of anytun which should be started there must be a directory containing at least a file named config. This file must contain all command line parameter which should be used when starting the daemon. One line for each parameter. Empty lines and lines starting with # are ignored. Besides the config file there may be a script named post-up.sh which will be called when the tun/tap device comes up. Furthermore there may be a directory called conf.d containing config files for anytun-config. The syntax of this files is quite the same as those for anytun. These files are used to configure a multi connection setup using anytun-config and anytun-controld This is an example of how the script can be used to start anytun: # /etc/init.d/anytun start client1 p2p-a In this case the script will start 2 instances of anytun using the config files $CONFIG_DIR/client1/config and $CONFIG_DIR/p2p-a/config. If no instance name is specified the script will use the file $CONFIG_DIR/autostart to determine which instances to start or stop. This file must contain a list of instance names which should be used when no names are specified at the command line. One line for each name. Empty lines and lines starting with # are ignored. Errors: ======= Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) Cannot open TUN/TAP dev /dev/anytun0: No such file or directory (errno=2) Solution: Enabling tun/tap device ------------------------------------ modprobe tun cd /dev ./MAKEDEV tun edit /etc/modules and add the line tun to load the module automatically anytun-0.3.5/contrib/000077500000000000000000000000001240015004400144635ustar00rootroot00000000000000anytun-0.3.5/contrib/anytun-example.bat000066400000000000000000000006351240015004400201260ustar00rootroot00000000000000@rem Point to point example @rem please make sure to keep the remote-host parameter, even if it's wrong, to avoid problems with windows firewall @rem anytun --interface 0.0.0.0 --passphrase lala --type tap --ifconfig 5.0.225.2/8 --remote-host 1.1.1.2 --remote-port 4444 anytun --interface 0.0.0.0 --passphrase lala --type tap --ifconfig 5.0.225.1/8 --remote-host 1.1.1.1 --remote-port 4444 --role right pause anytun-0.3.5/contrib/boost_project-config.patch000066400000000000000000000007421240015004400216260ustar00rootroot00000000000000--- boost_1_48_0/project-config.jam 2012-01-05 22:25:47.000000000 +0100 +++ project-config.jam 2012-01-05 22:14:39.000000000 +0100 @@ -7,10 +7,8 @@ # Compiler configuration. This definition will be used unless # you already have defined some toolsets in your user-config.jam # file. -if ! gcc in [ feature.values ] -{ - using gcc ; -} +using gcc : w32 : i686-w64-mingw32-g++ ; +using gcc : w64 : x86_64-w64-mingw32-g++ ; project : default-build gcc ; anytun-0.3.5/contrib/build-anytun-mingw-cross.sh000077500000000000000000000007031240015004400217030ustar00rootroot00000000000000#!/bin/sh set -e BASE=`pwd` cd ../src for target in w32 w64; do if [ "$target" = "w32" ]; then target_name=i686 else target_name=x86_64 fi make distclean ./configure --target=mingw --use-ssl-crypto --with-boost=../contrib/boost-$target --with-openssl=../contrib/openssl-$target --cross-prefix=$target_name-w64-mingw32- make make strip mkdir -p $BASE/anytun-$target cp *.exe $BASE/anytun-$target done cd ../contrib exit 0 anytun-0.3.5/contrib/build-boost-mingw-cross.sh000077500000000000000000000014131240015004400215120ustar00rootroot00000000000000#!/bin/sh set -e BOOST=1.55.0 BOOST_DASH=`echo $BOOST | perl -ne 's/\./_/g; print'` echo $BOOST_DASH wget http://downloads.sourceforge.net/project/boost/boost/$BOOST/boost_${BOOST_DASH}.tar.bz2 -O - | tar xj cd boost_${BOOST_DASH} ./bootstrap.sh patch -p1 < ../boost_project-config.patch for target in w32 w64; do ./b2 --layout=system variant=release threading=multi link=shared runtime-link=shared toolset=gcc-$target target-os=windows threadapi=win32 stage || true mkdir -p ../boost-$target/include mv stage/lib ../boost-$target/ cp -r boost ../boost-$target/include ./b2 --layout=system variant=release threading=multi link=shared runtime-link=shared toolset=gcc-$target target-os=windows threadapi=win32 stage --clean || true done rm -rf ../boost_${BOOST_DASH} anytun-0.3.5/contrib/build-openssl-mingw-cross.sh000077500000000000000000000007431240015004400220540ustar00rootroot00000000000000#!/bin/sh set -e OPENSSL=openssl-1.0.1h BASE=`pwd` wget http://openssl.org/source/$OPENSSL.tar.gz -O - | tar xz cd $OPENSSL if [ -e ../$OPENSSL\-configure.patch ]; then patch -p1 < ../$OPENSSL\-configure.patch fi ./config --cross-compile-prefix=x86_64-w64-mingw32- shared mingw64 --prefix=$BASE/openssl-w64/ make make install make clean ./config --cross-compile-prefix=i686-w64-mingw32- shared mingw --prefix=$BASE/openssl-w32/ make make install make clean cd .. rm -rf $OPENSSL anytun-0.3.5/contrib/make-mingw-release.sh000077500000000000000000000020751240015004400205000ustar00rootroot00000000000000#!/bin/bash VER=`cat ../version` for target in w32 w64; do if [ "$target" = "w32" ]; then LIBGCC_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libgcc_s_sjlj-1.dll LIBSTDCPP_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libstdc++-6.dll else LIBGCC_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libgcc_s_sjlj-1.dll LIBSTDCPP_DLL=/usr/lib/gcc/i686-w64-mingw32/`i686-w64-mingw32-g++ -dumpversion`/libstdc++-6.dll fi mkdir anytun-$VER-$target cp anytun-$target/*.exe anytun-$VER-$target cp $LIBGCC_DLL $LIBSTDCPP_DLL anytun-$VER-$target cp boost-$target/lib/libboost_{date_time,serialization,system,thread_win32,chrono}.dll anytun-$VER-$target cp openssl-$target/bin/libeay32.dll anytun-$VER-$target cp anytun-example.bat anytun-$VER-$target cp ../{AUTHORS,ChangeLog,LICENSE,README,version} anytun-$VER-$target cp -r tap?? anytun-$VER-$target rm -rf anytun-$VER-$target/tap*/.svn zip -r anytun-$VER-$target.zip anytun-$VER-$target rm -rf anytun-$VER-$target done exit 0 anytun-0.3.5/contrib/openssl-1.0.0f-configure.patch000066400000000000000000000055551240015004400217600ustar00rootroot00000000000000diff -u openssl-1.0.0f.orig/config openssl-1.0.0f//config --- openssl-1.0.0f.orig/config 2011-07-15 21:59:18.000000000 +0200 +++ openssl-1.0.0f//config 2012-01-05 01:32:27.619235053 +0100 @@ -825,9 +825,9 @@ # options="$options -DATALLA" #fi -($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \ - grep \\--noexecstack) 2>&1 > /dev/null && \ - options="$options -Wa,--noexecstack" +#($CC -Wa,--help -c -o /dev/null -x assembler /dev/null 2>&1 | \ +# grep \\--noexecstack) 2>&1 > /dev/null && \ +# options="$options -Wa,--noexecstack" # gcc < 2.8 does not support -march=ultrasparc if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ] diff -u openssl-1.0.0f.orig/Configure openssl-1.0.0f//Configure --- openssl-1.0.0f.orig/Configure 2011-12-19 18:04:38.000000000 +0100 +++ openssl-1.0.0f//Configure 2012-01-05 01:21:18.723239740 +0100 @@ -505,7 +505,7 @@ "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", # MinGW -"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin:.dll.a", +"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -Wl,--export-all -shared:.dll.a", # As for OPENSSL_USE_APPLINK. Applink makes it possible to use .dll # compiled with one compiler with application compiled with another # compiler. It's possible to engage Applink support in mingw64 build, @@ -513,7 +513,7 @@ # handling, one can't seriously consider its binaries for using with # non-mingw64 run-time environment. And as mingw64 is always consistent # with itself, Applink is never engaged and can as well be omitted. -"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a", +"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin -Wl,--export-all -shared:.dll.a", # UWIN "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", @@ -869,7 +869,7 @@ } else { - die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); + #die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); $target=$_; } anytun-0.3.5/contrib/openssl-1.0.1c-configure.patch000066400000000000000000000061241240015004400217470ustar00rootroot00000000000000diff -ur openssl-1.0.1c.orig/config openssl-1.0.1c/config --- openssl-1.0.1c.orig/config 2011-11-14 22:12:53.000000000 +0100 +++ openssl-1.0.1c/config 2012-07-18 00:29:49.145918677 +0200 @@ -857,11 +857,11 @@ # options="$options -DATALLA" #fi -if expr "$options" : '.*no\-asm' > /dev/null; then :; else - sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ - grep \\--noexecstack >/dev/null && \ - options="$options -Wa,--noexecstack" -fi +#if expr "$options" : '.*no\-asm' > /dev/null; then :; else +# sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ +# grep \\--noexecstack >/dev/null && \ +# options="$options -Wa,--noexecstack" +#fi # gcc < 2.8 does not support -march=ultrasparc if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ] diff -ur openssl-1.0.1c.orig/Configure openssl-1.0.1c/Configure --- openssl-1.0.1c.orig/Configure 2012-03-14 23:20:40.000000000 +0100 +++ openssl-1.0.1c/Configure 2012-07-18 00:25:25.278997860 +0200 @@ -531,7 +531,7 @@ "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", # MinGW -"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin:.dll.a", +"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -Wl,--export-all -shared:.dll.a", # As for OPENSSL_USE_APPLINK. Applink makes it possible to use .dll # compiled with one compiler with application compiled with another # compiler. It's possible to engage Applink support in mingw64 build, @@ -539,7 +539,7 @@ # handling, one can't seriously consider its binaries for using with # non-mingw64 run-time environment. And as mingw64 is always consistent # with itself, Applink is never engaged and can as well be omitted. -"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a", +"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin -Wl,--export-all -shared:.dll.a", # UWIN "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", @@ -931,7 +931,7 @@ } else { - die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); + #die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); $target=$_; } anytun-0.3.5/contrib/openssl-1.0.1h-configure.patch000066400000000000000000000061261240015004400217560ustar00rootroot00000000000000diff -Nur openssl-1.0.1h.orig/config openssl-1.0.1h/config --- openssl-1.0.1h.orig/config 2014-06-05 11:44:33.000000000 +0200 +++ openssl-1.0.1h/config 2014-06-29 03:58:01.297328864 +0200 @@ -857,11 +857,11 @@ # options="$options -DATALLA" #fi -if expr "$options" : '.*no\-asm' > /dev/null; then :; else - sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ - grep \\--noexecstack >/dev/null && \ - options="$options -Wa,--noexecstack" -fi +#if expr "$options" : '.*no\-asm' > /dev/null; then :; else +# sh -c "$CROSS_COMPILE${CC:-gcc} -Wa,--help -c -o /tmp/null.$$.o -x assembler /dev/null && rm /tmp/null.$$.o" 2>&1 | \ +# grep \\--noexecstack >/dev/null && \ +# options="$options -Wa,--noexecstack" +#fi # gcc < 2.8 does not support -march=ultrasparc if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ] diff -Nur openssl-1.0.1h.orig/Configure openssl-1.0.1h/Configure --- openssl-1.0.1h.orig/Configure 2014-06-05 11:44:33.000000000 +0200 +++ openssl-1.0.1h/Configure 2014-06-29 03:58:01.297328864 +0200 @@ -533,7 +533,7 @@ "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", # MinGW -"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin:.dll.a", +"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -Wl,--export-all -shared:.dll.a", # As for OPENSSL_USE_APPLINK. Applink makes it possible to use .dll # compiled with one compiler with application compiled with another # compiler. It's possible to engage Applink support in mingw64 build, @@ -541,7 +541,7 @@ # handling, one can't seriously consider its binaries for using with # non-mingw64 run-time environment. And as mingw64 is always consistent # with itself, Applink is never engaged and can as well be omitted. -"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a", +"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin -Wl,--export-all -shared:.dll.a", # UWIN "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", @@ -933,7 +933,7 @@ } else { - die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); + #die "target already defined - $target (offending arg: $_)\n" if ($target ne ""); $target=$_; } anytun-0.3.5/contrib/tap32/000077500000000000000000000000001240015004400154145ustar00rootroot00000000000000anytun-0.3.5/contrib/tap32/OemWin2k.inf000066400000000000000000000161111240015004400175450ustar00rootroot00000000000000; **************************************************************************** ; * Copyright (C) 2002-2008 OpenVPN Technologies, Inc. * ; * This program is free software; you can redistribute it and/or modify * ; * it under the terms of the GNU General Public License version 2 * ; * as published by the Free Software Foundation. * ; **************************************************************************** ; SYNTAX CHECKER ; cd \WINDDK\3790\tools\chkinf ; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf ; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm ; INSTALL/REMOVE DRIVER ; tapinstall install OemWin2k.inf TAP0901 ; tapinstall update OemWin2k.inf TAP0901 ; tapinstall remove TAP0901 ;********************************************************* ; Note to Developers: ; ; If you are bundling the TAP-Win32 driver with your app, ; you should try to rename it in such a way that it will ; not collide with other instances of TAP-Win32 defined ; by other apps. Multiple versions of the TAP-Win32 ; driver, each installed by different apps, can coexist ; on the same machine if you follow these guidelines. ; NOTE: these instructions assume you are editing the ; generated OemWin2k.inf file, not the source ; OemWin2k.inf.in file which is preprocessed by winconfig ; and uses macro definitions from settings.in. ; ; (1) Rename all tapXXXX instances in this file to ; something different (use at least 5 characters ; for this name!) ; (2) Change the "!define TAP" definition in openvpn.nsi ; to match what you changed tapXXXX to. ; (3) Change TARGETNAME in SOURCES to match what you ; changed tapXXXX to. ; (4) Change TAP_COMPONENT_ID in common.h to match what ; you changed tapXXXX to. ; (5) Change SZDEPENDENCIES in service.h to match what ; you changed tapXXXX to. ; (6) Change DeviceDescription and Provider strings. ; (7) Change PRODUCT_STRING in constants.h to what you ; set DeviceDescription to. ; ;********************************************************* [Version] Signature = "$Windows NT$" CatalogFile = tap0901.cat ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Provider% Class = Net ; This version number should match the version ; number given in SOURCES. DriverVer=01/22/2008,9.00.00.4 [Strings] DeviceDescription = "TAP-Win32 Adapter V9" Provider = "TAP-Win32 Provider V9" ;---------------------------------------------------------------- ; Manufacturer + Product Section (Done) ;---------------------------------------------------------------- [Manufacturer] %Provider% = tap0901 [tap0901] %DeviceDescription% = tap0901.ndi, tap0901 ;--------------------------------------------------------------- ; Driver Section (Done) ;--------------------------------------------------------------- ;----------------- Characteristics ------------ ; NCF_PHYSICAL = 0x04 ; NCF_VIRTUAL = 0x01 ; NCF_SOFTWARE_ENUMERATED = 0x02 ; NCF_HIDDEN = 0x08 ; NCF_NO_SERVICE = 0x10 ; NCF_HAS_UI = 0x80 ;----------------- Characteristics ------------ [tap0901.ndi] CopyFiles = tap0901.driver, tap0901.files AddReg = tap0901.reg AddReg = tap0901.params.reg Characteristics = 0x81 [tap0901.ndi.Services] AddService = tap0901, 2, tap0901.service [tap0901.reg] HKR, Ndi, Service, 0, "tap0901" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" HKR, , Manufacturer, 0, "%Provider%" HKR, , ProductName, 0, "%DeviceDescription%" [tap0901.params.reg] HKR, Ndi\params\MTU, ParamDesc, 0, "MTU" HKR, Ndi\params\MTU, Type, 0, "int" HKR, Ndi\params\MTU, Default, 0, "1500" HKR, Ndi\params\MTU, Optional, 0, "0" HKR, Ndi\params\MTU, Min, 0, "100" HKR, Ndi\params\MTU, Max, 0, "1500" HKR, Ndi\params\MTU, Step, 0, "1" HKR, Ndi\params\MediaStatus, ParamDesc, 0, "Media Status" HKR, Ndi\params\MediaStatus, Type, 0, "enum" HKR, Ndi\params\MediaStatus, Default, 0, "0" HKR, Ndi\params\MediaStatus, Optional, 0, "0" HKR, Ndi\params\MediaStatus\enum, "0", 0, "Application Controlled" HKR, Ndi\params\MediaStatus\enum, "1", 0, "Always Connected" HKR, Ndi\params\MAC, ParamDesc, 0, "MAC Address" HKR, Ndi\params\MAC, Type, 0, "edit" HKR, Ndi\params\MAC, Optional, 0, "1" HKR, Ndi\params\AllowNonAdmin, ParamDesc, 0, "Non-Admin Access" HKR, Ndi\params\AllowNonAdmin, Type, 0, "enum" HKR, Ndi\params\AllowNonAdmin, Default, 0, "1" HKR, Ndi\params\AllowNonAdmin, Optional, 0, "0" HKR, Ndi\params\AllowNonAdmin\enum, "0", 0, "Not Allowed" HKR, Ndi\params\AllowNonAdmin\enum, "1", 0, "Allowed" ;---------------------------------------------------------------- ; Service Section ;---------------------------------------------------------------- ;---------- Service Type ------------- ; SERVICE_KERNEL_DRIVER = 0x01 ; SERVICE_WIN32_OWN_PROCESS = 0x10 ;---------- Service Type ------------- ;---------- Start Mode --------------- ; SERVICE_BOOT_START = 0x0 ; SERVICE_SYSTEM_START = 0x1 ; SERVICE_AUTO_START = 0x2 ; SERVICE_DEMAND_START = 0x3 ; SERVICE_DISABLED = 0x4 ;---------- Start Mode --------------- [tap0901.service] DisplayName = %DeviceDescription% ServiceType = 1 StartType = 3 ErrorControl = 1 LoadOrderGroup = NDIS ServiceBinary = %12%\tap0901.sys ;----------------------------------------------------------------- ; File Installation ;----------------------------------------------------------------- ;----------------- Copy Flags ------------ ; COPYFLG_NOSKIP = 0x02 ; COPYFLG_NOVERSIONCHECK = 0x04 ;----------------- Copy Flags ------------ ; SourceDisksNames ; diskid = description[, [tagfile] [, , subdir]] ; 1 = "Intel Driver Disk 1",e100bex.sys,, [SourceDisksNames] 1 = %DeviceDescription%, tap0901.sys ; SourceDisksFiles ; filename_on_source = diskID[, [subdir][, size]] ; e100bex.sys = 1,, ; on distribution disk 1 [SourceDisksFiles] tap0901.sys = 1 [DestinationDirs] tap0901.files = 11 tap0901.driver = 12 [tap0901.files] ; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK ; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK [tap0901.driver] tap0901.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK ;--------------------------------------------------------------- ; End ;--------------------------------------------------------------- anytun-0.3.5/contrib/tap32/tap0901.cat000066400000000000000000000166331240015004400172140ustar00rootroot000000000000000 *H 01 0 +0  +7 00  +7 껄K8HVѫ 081119182241Z0 +7 0|0R1360963AB18BA2A70FDBEC11754CB4898BB97A501e0: +7 1,0*Filetap0901.sys0X +7 1J0H OSAttr22:5.00,2:5.1,2:5.2,2:6.00b +7 1T0RL{C689AAB8-8E78-11D0-8C47-00C04FC295EE}0i +71[0Y04 +70& <<<Obsolete>>>0!0 +`:uLzP0R69B73D4F7784A2B5CE9578CFC5CA45980ECF4A741_0< +7 1.0,Fileoemwin2k.inf0X +7 1J0H OSAttr22:5.00,2:5.1,2:5.2,2:6.00a +71S0Q0, +7<<<Obsolete>>>0!0 +i=OwΕxEJt0b +7 1T0RL{DE351A42-8E59-11D0-8C47-00C04FC295EE}80604 +7 &0$ HWID1tap09010z0b8%a&Z0  *H 0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0 070615000000Z 120614235959Z0\1 0 UUS10U VeriSign, Inc.1402U+VeriSign Time Stamping Services Signer - G200  *H 0ĵR`)J[/Kk5TX56^bMRQ4q{f*j 7٘tvJcEG.k NK+XJ,XB-uލǎlLgrIž`<cxi{-004+(0&0$+0http://ocsp.verisign.com0 U003U,0*0(&$"http://crl.verisign.com/tss-ca.crl0U% 0 +0U0U0010 UTSA1-20  *H PK$ $- 7 ,Za񑑳V@뒾89u6t:O7ʕBǠWdB5N3M'L8MxSݤ^ ⥾`߭(ǥKd[98"3/!?DA e$HDT\y>]r},CS}=*:Om ]^SWp`+nx'4[^I2300-GߍRFCmH 10  *H 01 0 UZA10U Western Cape10U Durbanville10 U Thawte10U Thawte Certification10UThawte Timestamping CA0 031204000000Z 131203235959Z0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0"0  *H 0 ʲ }uNgadڻ30X~k6xw~o< hlʽR-H=]_/kLR`@~ ?Ǵ߇_zj1.G 1s W-x43h/Š*Ë!fXWou<&]'x1"ijGC_^|}bM "Vͮv M٠h;004+(0&0$+0http://ocsp.verisign.com0U00AU:0806420http://crl.verisign.com/ThawteTimestampingCA.crl0U% 0 +0U0$U0010U TSA2048-1-530  *H JkXD1y+LͰXn)^ʓR G'/8ɓN"b?7!Op18UN$ҩ'NzaA*^ݻ+>W~ +;R8'?J00(AZ9xIef8Lu0  *H 0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authority0 040716000000Z 140715235959Z01 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CA0"0  *H 0 ~7O8Ҍ} kBRH%czQeӪ;+f$n96Уv"'$l8'I%,0q(wJQTom dc-N'm)G|-Wg32 #m„Kvhq,]! &-+UMm5(k\٪_̓c";Bi:^,(Sݵ Qp7HRHo8l{D00U00DU =0;09 `HE0*0(+https://www.verisign.com/rpa01U*0(0&$" http://crl.verisign.com/pca3.crl0U%0++0U0 `HB0)U"0 010UClass3CA2048-1-430UQ==d6|h[x߹70U#y0wca0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authorityp)48{̺0  *H :J{UdU@IA.x#h2و8?Ӊ?Z.&|n H @yg#$P.̀lROuU"Au/cU}TZY4_^z00̠qw17XA0  *H 01 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CA0 080313000000Z 100313235959Z01 0 UUS10U California10U Pleasanton10U  OpenVPN, Inc.1>0<U 5Digital ID Class 3 - Microsoft Software Validation v210U OpenVPN, Inc.00  *H 0OiTTg`=vJwh6O? @İzC %tp$9`qAw}?.] \|(}0'UD϶\\ip}geum΀-h>3qUq'yڿ.R~ rbPw0$.w%Ƨ~3 ;^?pP. 0:N F-kN,[H00 a 0  *H 01 0 UUS10U Washington10URedmond10U Microsoft Corporation1)0'U Microsoft Code Verification Root0 060523170129Z 160523171129Z0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authority00  *H 0\Y@WjE@ 3X%*Dx#}֬cEr'Luq9OBu Ǝ o#_p)6Ɇ籚 S=}$E3vqdLe.hE#00U  00U 06 +7)0'+7щNלӿn0 U0U00U{wߞ ?.iw0 +7CrossCA0U#0b ![Cn TPkҖq0UUN0L0JHFDhttp://crl.microsoft.com/pki/crl/products/MicrosoftCodeVerifRoot.crl0  *H F;Eu~_CFˊGAt9QG{W2|?B!JCJo\KџLUn %qNg˂׎U7>n.aAHu,(I$s%<̈ (LeT^,Q:G<5ITJK}yϿ5\9QDD4*\;)N7~uմ nl#qgqNt LX^m9ˆ?2mב6Gx'*hONg?-@aH1s FVI) ڣ`TY(TfLۦg.Q{49AŒh&$ 灎 -/HoSIdx] U&ﺍѥ/Zka3b$v/C|4$(UuN1+gc׫s Y?*Eb[/9_sG*CbU==&}bU֔4Me1d0`001 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CAqw17XA0 +o0 +7 100 *H  1  +7 0 +7 10  +70# *H  1Z {)_KE0  *H !` bަ8y7+V{/Xr=>@n%;_^] F_^] ̋UE UE ExE u.Vqwfu f!^] @^] ̋UE MEExEMu0QwUfUf#] @] ̋UE V3~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t;|;s؃ځfڋu3ۃ} Dž9~ u!u t-RPSW09~N뽍E+Fft_t΀90tT0@,1F t ffDžc@t9} u ;t30T*jEPE Puu } j*XXT ;tE 3^_]̋Ujuuu u\]VD$ u(L$D$ 3؋D$d$ȋd$Gȋ\$T$ D$ ud$ȋD$r;T$ wr;D$v N+D$T$3+D$T$ ؃ʋӋًȋ^%Q%Q% QTAP-Win32 Adapter V9c:\src\21\tap-win32\tapdrvr.cState=%s Err=[%s/%d] #O=%d Tx=[%d,%d] Rx=[%d,%d] IrpQ=[%d,%d,%d] PktQ=[%d,%d,%d]\DosDevices\Global\%s%s%s\Device\.tapMACAllowNonAdminMediaStatusMTUNdisVersionMiniportName`XLX8XYYYtY\YBYYYXXXXXZZ|X,YX XWWWWzWlWVWLW2WWWVVV:ZFZRZfY$I=RR     (null)(null)EEE50P( 8PP700WP `h````xpxxppInvalid parameter passed to C runtime function. HTSRSDS'yOuic:\src\21\tap-win32\i386\tap0901.pdb?BRXIO ,,i3o333N@DQQ us.UE MVWjPQhLTPJjj`j`FF 9F 'F,PF8`F0'F$pF4LTVRP tu LTjQLTjR tLTjPPj`Vcu LThQP_^]@TthP1@T_^]̋UTN@t;uP5TTuTУT]V*XP4VtXPDV0ZP`XLX8XYYYtY\YBYYYXXXXXZZ|X,YX XWWWWzWlWVWLW2WWWVVV:ZFZRZmemsetmemcpyPRtlFreeAnsiStringTRtlFreeUnicodeStringIofCompleteRequestjIoReleaseCancelSpinLockZwCloseiZwSetSecurityObject?ZwOpenFile RtlCreateSecurityDescriptorPMmMapLockedPagesQMmMapLockedPagesSpecifyCacheRtlAnsiStringToUnicodeStringRtlUnicodeStringToAnsiString KeTickCountKeBugCheckExntoskrnl.exeDKeGetCurrentIrqlRKfReleaseSpinLockOKfAcquireSpinLockHAL.dll*NdisAllocateMemoryWithTagtNdisFreeMemoryNdisMSleepNdisMDeregisterAdapterShutdownHandlerNdisMDeregisterDeviceNdisMIndicateStatusCompleteNdisMIndicateStatusNdisMRegisterDevice@NdisCloseConfigurationNdisReadConfigurationNdisOpenConfigurationNdisMRegisterAdapterShutdownHandlerNdisMSetAttributesExNdisMRegisterUnloadHandlerNdisTerminateWrapperNdisMRegisterMiniportNdisInitializeWrapperNDIS.SYSRtlUnwind-DbgPrintRtlUnicodeToMultiByteN0 HZdd4VS_VERSION_INFO  ?StringFileInfo040904B0HCompanyNameThe OpenVPN Projectj!FileDescriptionTAP-Win32 Virtual Network Driver\FileVersion2.1_rc15 9/4 built by: WinDDK8 InternalNametap0901.sysZLegalCopyrightOpenVPN Technologies, Inc.@ OriginalFilenametap0901.sysb!ProductNameTAP-Win32 Virtual Network Driver> ProductVersion2.1_rc15 9/4DVarFileInfo$Translation 5552666672!2f2223=3W334,4445(5|55566<7888888888888888888888888888#:d:: ;$;(;,;H;M;_;;;;< <&p>>>>T?X?^? C0M0Q0d0o0y0}00000000111(1,1(73777=77777788999P9T9Z9;M;p;;;X<]c>m>>>>L?Z?i?m????00'0+000000011161:1@1q1~11111 2-2X2}222222q33334,404M4c4444445'5[5j5555555 66/6X6\6`6d6h6l6666666666677777777;888899999 :':I:V::::::1;;;<&?@H0#122)33*44447=869<<<<<<===#=,=Q=\===>>>Pd22,303L3P3l3p3x3|3333333334 4444444455 55/5:5H5Q5c5h5o5|55555555anytun-0.3.5/contrib/tap32/tap_install.bat000066400000000000000000000000621240015004400204140ustar00rootroot00000000000000tapinstall.exe install OemWin2k.inf TAP0901 pauseanytun-0.3.5/contrib/tap32/tap_remove.bat000066400000000000000000000000611240015004400202420ustar00rootroot00000000000000tapinstall.exe remove OemWin2k.inf TAP0901 pauseanytun-0.3.5/contrib/tap32/tapinstall.exe000066400000000000000000002310001240015004400202660ustar00rootroot00000000000000MZ@ !L!This program cannot be run in DOS mode. $ AɕAɕAɲɒAɲɗAɲAbɘAɕA,AɲɁAɲɔAɲɔAɲɔARichAPEL~Y$I jc`Z@ lHP  @.texthj `.data8n@.rsrcHt@@.reloc P (@Bnnnoo,o:oLo^otoooooooopp*p8pJpZpppppppxx~xhxXx>x*x xwwwxFurrzw\w@w wwvvvvvhvHv4vvvuuuuxubu~r0uuttttthtHt,ttsssssjsHs.ssrrwww*rppp>rdq rqqqqqqqqqqvqnqZqPqDq8q,q qq qpLrbr`8bf~Y$IPhh SeShutdownPrivilege:={}(?)MEM : %08I64x-%08I64x IO : %04I64x-%04I64x DMA : %u IRQ : %u %s DriverDescInfSectionProviderNameInfPathLowerFiltersUpperFiltersDriverVerClassGUIDVersionProvider%-60s: %s ?dp_enumdp_deletedp_addupdateniupdatestatusstacksethwidrestartresourcesrescanremoverebootlistclassinstallhwidshelpfindallfindenabledrivernodesdriverfilesdisableclassesclassfilter UpdateDriverForPlugAndPlayDevicesWnewdev.dllSetupSetNonInteractiveModesetupapi.dlllowerupper %s,%-60s: SetupUninstallOEMInfW%-20s: %s \INF\OEM*.INF^`PEEE00P('8PW700PP (```hhhxppwppHRSDS jv$ApzUc:\src\21\tapinstall\objfre_w2k_x86\i386\tapinstall.pdb(dRh̋UQQVWEE3EPWEPWu }Wh 49}tV;tIS3ۋE pQPl t uNC;[tM6f Mf|uu|YYu0_^̋UVu~ Ph<NYYu^]̋Uuh`@P ]̋Uu uhb@P]̋Uu uha@P]̋UVEPj <P 3tHEPhDVt+EVEEVVEEPVuEEu8hjVVVV^̋UQQV3jZ QaIYtuSW=EPh@@zu\}uV]V!I3j@Z QIYYt7EPSVEPuu uׅtEf$F_[^ tVHY3̋Uj u u8u Pu u(]̋UE Vufff8@W=hu PF׉f8'uP׉j*PYYF_^]̋USVuW3f9>tSD\CGf;u3jZG Q H؅Yt+3t3f9>tV4DtFGf>u$_^[]̋UVuttPGYVGY^]̋UQQV3jZ Q~GYSW=EPh A@zue}u_]V:G@3j@Z Q,GYYt?EPSVEPuu uׅtEFf f`Vu tVFY3_[^ ̋U V3jZ QFYW=E B@=ug}uaEVEoFE@3j@Z Q`FYYt=EPVEPju uׅuEFf f`Vu tVFY3_^̋UW} Gu7uYY@S]+PQS t3Vw+t$ua6h >YYu3@3^]̋USVW3GWu u7ju u(e ۋ5Et(;t#W} hփ PQYYSj_Et*8t%W} hփ P"YYuj.} uWhփ PYYSlud_^[]̋U츬B03ʼnEE xS]VW,WjP80VjP$0PWSu3PWStjWS 5|PjjWS$3Cx3C|hj _P j"PPP(u @zu>S PhPw SPhPX SPhP9 SPhP SPhP TPPLtDhPjTPShHtSHPhP jPWPShj _PgdPPDždjhhP jlhP fltjuhPYYfltjRhPYY|P|j$jS,xujhփ PJYYxM_^3[,̋U43ʼnEES] QPDž&\ffVWj#PjhCP5t=hPt,?t!j%hփ PYYWjWjS t,?t!jhփ PBYYWjPWjSjh փ P YYtf?tjWh jvh փ PYYtW+YtNhpt,?t!j.h փ PYYWjWjS t,?t!jh փ P?YYWjMW3_@^M3[q*̋U0 |*3ʼnEEVQj3VPu@SWQhhPt:VWPjPӅt"5Phփ Pf 5hփ PKYYPhhtkjWPjPӅtRPP|:3PPPWPPtPhփ P hփ PYYPhht|jWPjPӅtPhփ PZ hփ PEYYjWPjPӅt.Phփ P $hփ PYYhփ PYY_[M39^3(̋U3ʼnEES]Vu WDQPDž@DžD&\tXljWPv`th WlPO@ۍltSPh Ph YYM@_^3[P' ̋UVWu u^Vu utV'Y_^]̋V3ҋtf9tFFJuuW^t |+ʉÃ'̋UW3t;U vWt| E'_]̋USVW؋33t!9E tftfAACCNM GuuIIOzf!Mt9_^[]̋UQVW3339}}tq9=S]t<03YYtG90u u E3;[tPuV Puv5Pu39}Pփ PK39=tD3ɋt"0Qփ Pփ PhG8u_3^̋UVu~uu uS]W} jWStjFtWSF@tWS$FtWSFtWSFtWSFtWS=FtWSF tWSs_[3^]̋U}ujXveeVu WEPh=uujVuBuE9EVuV P uV P_^̋UW39}ujXsSVu EPh=u}u}WVu;uE9}VuV PN uV P,^[_̋U}ujXyeVu WEPh=uEujVuuE9EVuV P uV P_^̋U}ujXyeVu WEPh=uEujVuuE9EVuV P# uV P_^̋UV39uujXl9u uWEPh=uuuE jVu;u99uVuh P uh Pv_^̋UV39uujXl9u uWEPh=uuuE!jVud;u99uVuh P uh P_^̋U}ujXyeVu WEPh=uEujVuuE9EVuV Px uV PV_^̋U}ujXyeVu WEPh=uEujVuFuE9EVuV P uV P_^̋UD3ʼnES] VuNHW}DžDžtR3@jPSWt SWjFDžDžjPSWDžtWSWjtIPSWDž,tftvSWF v SW vSWM_^33[̋U3ʼnEME S]W39}ujX;uV5pjPPh Wօt*jP\Ph WօtjPPh WօujX\ Ph*C3uFjWS;u]9uh P{YY=9uhX PUhW P?ރ ^M_3[}̋U3ʼnEME S]W39}ujX;uV5pjPPh WօtjP\Ph WօujXjPPh WjX\ Qh*CuPWS~;ua9uh PYYA9uh P h P3 F^M_3[̋U3ʼnEME S]W39}ujX;uV5pjPPh Wօt*jP\Ph WօtjPPh WօujX\ Ph*CDžujWS ;ua9uh PYYA9uh  P h P3 F^M_3[̋U} tjX$h P@YY{@@]̋U3ʼnEEWj39} YtjX9M|f99tSXf9;ujXVWPVQ`;;P\hX;ljhPT;ljt`5PShփ PJPjPSWt#hփ P39YYPjX^[M3_6̋UWhXu_]VhWTu WP^Sjuuuu u^SEWPE[^_]̋U3ʼnES]VuW} DPSDžD&\XljhPw`!jPWSDžDž DžtIWSjt;PWSDž,tft FFF FPlPh M_^33[̋U3ʼnEME S]W39}ujX ;uV5pjPPh Wօt*jP\Ph WօtjPPh WօujX\ PhrJujWS;ua9uh PYYYA9uh P3 h P3 F^M_3[W̋UQQSW39} j[}tEPu uguEWWPuF9} V5vPփ PYYuWuuhxփ PYY3^9}t u_[̋UD3ʼnEM EMVWj^39uMEȉu}Ef98WQMQjMQPLu@z9}5S]h<sօYYu Ěh0sօYY>Ep}~3ju jPEPE%uP}EuPjX9EEEȋMԍ8=EuE@@E3f9|@#!+u;}39t @9 uEƉE-@;M|uhju(؅#huS$tV S 39]t C<u]3jZC QY39E~E܋׋+։E Mu];ËMЉ }L@;|dVdVYiWLuEhu;tuPYYtFu8)@u E2 PA8uW؅W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; uQL$+#ȋ%;r Y$-%SVWT$D$L$URPQQh(dd53ĉD$d%D$0XL$,3p t;T$4t;v.4v\ H {uhCJC\d_^[ËL$At3D$H3Uhp pp> ]D$T$UL$)qqq( ]UVWS33333[_^]Ëj33333USVWjjhdQ_^[]Ul$RQt$ ]̋UES]Vs30WEE{t N3 8U N V3 :U E@fMK[ EEEt`[LɍDEEt E|<CEu΀}t t N3 8U N V3 :U E_^[]E͋E8csmu)=0t h0tMjQ0ME9X tURWӋEMH t N3 8U N V3 :U EHN9S WMQWg&̋UE8csmu+xu%@= t=!t="t=@ux3]hwf3%̋UMf9MZt3]ËA<8PEu3fx ]̋UEH<ASVq3҅WDv} H ;r X;r (;r3_^[]jhk}eRZYt=E+PRYYt+@$ЃE E3=ËeE3c%%hRhd5D$l$l$+SVW1E3PeuEEEEdËMd Y__^[]Q̋Uuuu uh-ch~]hhYY3j hlL3MtAtx*x xwwwxFurrzw\w@w wwvvvvvhvHv4vvvuuuuxubu~r0uuttttthtHt,ttsssssjsHs.ssrrwww*rppp>rdq rqqqqqqqqqqvqnqZqPqDq8q,q qq qpLrbrInitiateSystemShutdownExWAdjustTokenPrivilegesLookupPrivilegeValueWnOpenProcessTokenRegQueryValueExWRegCloseKeyRegDeleteValueWRegSetValueExW:CloseServiceHandlerOpenServiceWpOpenSCManagerWADVAPI32.dllLocalFreeFormatMessageWCloseHandle GetCurrentProcess1GetLastError:lstrlenWGetDateFormatWFileTimeToSystemTimeFreeLibraryWGetProcAddressLoadLibraryW'GetFileAttributesW.GetFullPathNameWFindCloseFindNextFileWFindFirstFileWGetWindowsDirectoryWKERNEL32.dllfputwsfputs??3@YAXPAX@Z??2@YAPAXI@ZQwcschr;towlower<towupperiswalpha_wcsnicmp_wcsicmp`wcsrchrpwprintfmemset_iob__wgetmainargs_cexitb_exitj_XcptFilterexit_initterm_amsg_exit__setusermatherr_adjust_fdiv__p__commode__p__fmode__set_app_typemsvcrt.dll7?terminate@@YAXXZ'_controlfpRtlUnwindntdll.dllCLSIDFromStringole32.dll_SetupDiGetDeviceRegistryPropertyW:SetupDiDestroyDeviceInfoList=SetupDiEnumDeviceInfoOCM_Get_Device_ID_ExWVSetupDiGetDeviceInfoListDetailWSetupDiOpenDeviceInfoWLSetupDiGetClassDevsExW/SetupDiCreateDeviceInfoListExW$SetupDiClassGuidsFromNameExWKCM_Get_DevNode_Status_Ex{CM_Get_Res_Des_Data_Ex}CM_Get_Res_Des_Data_Size_Ex6CM_Free_Res_Des_HandlewCM_Get_Next_Res_Des_Ex2CM_Free_Log_Conf_HandlegCM_Get_First_Log_Conf_Ex;SetupDiDestroyDriverInfoListaSetupDiGetDriverInfoDetailW@SetupDiEnumDriverInfoWSetupDiBuildDriverInfoListSetupDiSetDeviceInstallParamsW}SetupDiOpenDevRegKeyXSetupDiGetDeviceInstallParamsWSetupCloseFileQueue SetupScanFileQueueWSetupDiCallClassInstallerSetupOpenFileQueueSetupDiSetSelectedDriverWcSetupDiGetDriverInstallParamsW|SetupDiOpenClassRegKeyExWSetupCloseInfFileFSetupDiGetClassDescriptionExWSetupGetStringFieldWSetupFindFirstLineWSetupOpenInfFileWSetupDiSetClassInstallParamsW$CM_Disconnect_MachineCM_Reenumerate_DevNode_ExCM_Locate_DevNode_ExWCM_Connect_MachineWSetupDiSetDeviceRegistryPropertyWSetupCopyOEMInfW(SetupDiClassNameFromGuidExWSetupDiBuildClassInfoListExW0SetupDiCreateDeviceInfoW-SetupDiCreateDeviceInfoListlSetupDiGetINFClassWSETUPAPI.dll*CharPrevW'CharNextWLoadStringWUSER32.dllInterlockedExchangeSleepInterlockedCompareExchangeSetUnhandledExceptionFilter>GetModuleHandleA/QueryPerformanceCounterGetTickCountGetCurrentThreadIdGetCurrentProcessIdzGetSystemTimeAsFileTimeTerminateProcessUnhandledExceptionFilterzM=<X)(Eh@PuA@`DUT4>$.?< B]IH^ZwHKLutU@GdUxBh?XHDJ4;V W^_ <N@D 5 @ @@@@ @P@$@@ @4@N@ p+ŝi@]%O@qוC)@D@<զIx@oGAkU'9p|Bݎ~QCv)/&D(DJzEeǑF e uuvHMXB䧓9;5SM]=];Z] T7aZ%]g']݀nLɛ R`%u?q= ףp= ף?Zd;On?,eX?#GGŧ?@il7?3=BzՔ?aw̫?/L[Mľ?S;uD?g9Eϔ?$#⼺;1az?aUY~S|_?/D?$?9'*?}d|FU>c{#Tw=:zc%C1] <command> [<arg>...] For more information, type: %1 help %1 failed. %1: Invalid use of %2. For more information, type: %1 help %2 Device Console Help: %1 [-r] [-m:\\<machine>] <command> [<arg>...] -r Reboots the system only when a restart or reboot is required. <machine> Specifies a remote computer. <command> Specifies a Devcon command (see command list below). <arg>... One or more arguments that modify a command. For help with a specific command, type: %1 help <command> D%1!-20s! Display Devcon help. ,Unknown command. 4Devcon Classes Command Lists all device setup classes. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <machine> Specifies a remote computer. Class entries have the format <name>: <descr> where <name> is the class name and <descr> is the class description. X%1!-20s! List all device setup classes. PListing %1!u! setup classes on %2. DListing %1!u! setup classes. Devcon Listclass Command Lists all devices in the specified setup classes. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <class> [<class>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Device entries have the format <instance>: <descr> where <instance> is a unique instance of the device and <descr> is the device description. `%1!-20s! List all devices in a setup class. tListing %1!u! devices in setup class "%2" (%3) on %4. hListing %1!u! devices in setup class "%2" (%3). PThere is no "%1" setup class on %2. pThere is no "%1" setup class on the local machine. tThere are no devices in setup class "%1" (%2) on %3. hThere are no devices in setup class "%1" (%2). Devcon Find Command Finds devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) Device entries have the format <instance>: <descr> where <instance> is the unique instance of the device and <descr> is the device description. 8%1!-20s! Find devices. LNo matching devices found on %1. @No matching devices found. T%1!u! matching device(s) found on %2. H%1!u! matching device(s) found. Devcon Findall Command Finds devices with the specified hardware or instance ID, including devices that are not currently attached. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) Device entries have the format <instance>: <descr> where <instance> is the unique instance of the device and <descr> is the description. %1!-20s! Find devices, including those that are not currently attached. Devcon Status Command Lists the running status of devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) \%1!-20s! List running status of devices. Devcon Driverfiles Command List installed driver files for devices with the specified hardware or instance ID. Valid only on the local computer. %1 %2 <id> [<id>...] %1 %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) l%1!-20s! List installed driver files for devices. Devcon Resources Command Lists hardware resources of devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) d%1!-20s! List hardware resources for devices. Devcon Hwids Command Lists hardware IDs of all devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) X%1!-20s! List hardware IDs of devices. 0Devcon Stack Command Lists the expected driver stack of devices with the specified hardware or instance ID. PnP calls each driver's AddDevice routine when building the device stack. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) l%1!-20s! List expected driver stack for devices. Devcon Enable Command Enables devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necessary, include -r.) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] -r Reboots the system only when a restart or reboot is required. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Enable devices. No devices were enabled, either because the devices were not found, or because the devices could not be enabled. The %1!u! device(s) are ready to be enabled. To enable the devices, restart the devices or reboot the system . D%1!u! device(s) are enabled. Devcon Disable Command Disables devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] -r Reboots the system only when a restart or reboot is required. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Disable devices. No devices were disabled, either because the devices were not found, or because the devices could not be disabled. The %1!u! device(s) are ready to be disabled. To disable the devices, restart the devices or reboot the system . <%1!u! device(s) disabled. 0Devcon Restart Command Restarts devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Restart devices. No devices were restarted, either because the devices were not found, or because the devices could not be restarted. The %1!u! device(s) are ready to be restarted. To restart the devices, reboot the system. @%1!u! device(s) restarted. %1 %2 Reboots the local computer as part of a planned hardware installation. P%1!-20s! Reboot the local computer. DRebooting the local computer. dThe device has the following problem: %1!02u! hThe driver reported a problem with the device. 0Driver is running. 0Device is disabled. DDevice is currently stopped. PDevice is not using any resources. LDevice has no reserved resources. pDevice is currently using the following resources: dDevice has the following reserved resources: Driver installed from %2 [%3]. %1!u! file(s) used by driver: Driver installed from %2 [%3]. The driver is not using any files. hNo driver information available for the device. $Hardware IDs: (Compatible IDs: lNo hardware/compatible IDs found for this device. XNo driver nodes found for this device. 0Driver node #%1!u!: (Inf file is %1 ,Inf section is %1 <Driver description is %1 8Manufacturer name is %1 0Provider name is %1 ,Driver date is %1 \Driver version is %1!u!.%2!u!.%3!u!.%4!u! <Driver node rank is %1!u! DDriver node flags are %1!08X! @Inf came from the Internet @Driver node is marked "BAD" 8Inf is digitally signed tInf was installed by using F6 during text mode setup Driver provides basic functionality when no signed driver is available. 4Upper class filters: (Upper filters: 4Controlling service: (none) 4Class lower filters: (Lower filters: 0Setup Class: %1 %2 4Device is not set up. Name: %1 8Device is not present. TError retrieving the device's status. Devcon Install Command Installs the specified device manually. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <inf> <hwid> <inf> Specifies an INF file with installation information for the device. <hwid> Specifies a hardware ID for the device. -r Reboots the system only when a restart or reboot is required. P%1!-20s! Install a device manually. Device node created. Install is complete when drivers are installed... @Devcon Update Command Updates drivers for all devices with the specified hardware ID (<hwid>). Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <inf> <hwid> -r Reboots the system only when a restart or reboot is required. <inf> Specifies an INF file with installation information for the devices. <hwid> Specifies the hardware ID of the devices. P%1!-20s! Update a device manually. LUpdating drivers for %1 from %2. <Updating drivers for %1. |%1 [-r] %2 <inf> <hwid> Update drivers for devices (Non Interactive). This command will only work for local machine. Specify -r to reboot automatically if needed. <inf> is an INF to use to install the device. All devices that match <hwid> are updated. Unsigned installs will fail. No UI will be presented. t%1!-20s! Manually update a device (non interactive). HDrivers installed successfully. %1 %2 <inf> Adds (installs) a third-party (OEM) driver package. This command will only work on the local machine. <inf> is a full path to the INF of the Driver Package that will be installed on this machine. %1!-20s! Adds (installs) a third-party (OEM) driver package. p%1 [-f] %2 <inf> Deletes a third-party (OEM) driver package. This command will only work on the local machine. [-f] will force delete the driver package, even if it is in use by a device. <inf> is the name of a published INF on the local machine. This is the value returned from dp_add and dp_enum. t%1!-20s! Deletes a third-party (OEM) driver package. %1 %2 Lists the third-party (OEM) driver packages installed on this machine. This command will only work on the local machine. Values returned from dp_enum can be sent to dp_delete to be removed from the machine. %1!-20s! Lists the third-party (OEM) driver packages installed on this machine. TThe specified INF path is not valid. Adding the specified driver package to the machine failed. @Driver package '%1' added. Deleting the specified driver package from the machine failed. Deleting the specified driver package from the machine failed because it is in use by a device. Deleting the specified driver package from the machine failed because it is not an third-party package. DDriver package '%1' deleted. |There are no third-party driver packages on this machine. The following third-party driver packages are installed on this computer: %1 , Provider: %1 4 Provider: unknown $ Class: %1 0 Class: unknown ( Version: %1 4 Version: unknown $ Date: %1 , Date: unknown ( Signer: %1 0 Signer: unknown ,Devcon Remove Command Removes devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Remove devices. <No devices were removed. The %1!u! device(s) are ready to be removed. To remove the devices, reboot the system. D%1!u! device(s) were removed. dDevcon Rescan Command Directs Plug and Play to scan for new hardware. Valid on a local or remote computer. %1 [-m:\\<machine>] <machine> Specifies a remote computer. H%1!-20s! Scan for new hardware. @Scanning for new hardware. LScanning for new hardware on %1. 0Scanning completed. Devcon Drivernodes Command Lists driver nodes for devices with the specified hardware or instance ID. Valid only on the local computer. %1 %2 <id> [<id>...] %1 %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) X%1!-20s! List driver nodes of devices. xDevcon Classfilter Command Lists, adds, deletes, and reorders upper and lower filter drivers for a device setup class. Changes do not take effect until the affected devices are restarted or the machine is rebooted. %1 %2 [-r] <class> {upper | lower} [<operator><filter> [<operator><filter>...]] <class> Specifies a device setup class. <operator> Specifies an operation (listed below). <filter> Specifies a class filter driver. upper Identifies an upper filter driver. lower Identifies a lower filter driver. To list the upper/lower filter drivers for a class, type: devcon classfilter <class> {upper | lower} The Devcon classfilter command uses subcommands, which consist of an operator (=, @, -, +, !) and a filter driver name. The Devcon classfilter command uses a virtual cursor to move through the list of filter drivers. The cursor starts at the beginning of the list (before the first filter). Unless returned to the starting position, the cursor always moves forward. Operators = Move the cursor to the beginning of the filter driver list (before the first filter driver). @ Position the cursor on the next instance of the specified filter. - Add before. Insert the specified filter before the filter on which the cursor is positioned. If the cursor is not positioned on a filter, insert the new filter at the beginning of the list. When the subcommand completes, the cursor is positioned on the newly-added filter. + Add after. Insert the specified filter after the filter on which the cursor is positioned. If the cursor is not positioned on a filter, Devcon inserts the new filter at the end of the list. When the subcommand completes, the cursor cursor is positioned on the newly-added filter. ! Deletes the next occurrence of the specified filter. When the subcommand completes, the cursor occupies the position of the deleted filter. Subsequent - or + subcommands insert a new filter at the cursor position. Examples: If the upper filters for setup class "foo" are A,B,C,B,D,B,E: %1 %2 foo upper @D !B - deletes the third 'B'. %1 %2 foo upper !B !B !B - deletes all three instances of 'B'. %1 %2 foo upper =!B =!A - deletes the first 'B' and the first 'A'. %1 %2 foo upper !C +CC - replaces 'C' with 'CC'. %1 %2 foo upper @D -CC - inserts 'CC' before 'D'. %1 %2 foo upper @D +CC - inserts 'CC' after 'D'. %1 %2 foo upper -CC - inserts 'CC' before 'A'. %1 %2 foo upper +CC - inserts 'CC' after 'E'. %1 %2 foo upper @D +X +Y - inserts 'X' after 'D' and 'Y' after 'X'. %1 %2 foo upper @D -X -Y - inserts 'X' before 'D' and 'Y' before 'X'. %1 %2 foo upper @D -X +Y - inserts 'X' before 'D' and 'Y' between 'X' and 'D'. l%1!-20s! Add, delete, and reorder class filters. Class filters changed. Restart the devices or reboot the system to make the change effective. <Class filters unchanged. %1 [-m:\\<machine>] %2 <id> [<id>...] := <subcmds> %1 [-m:\\<machine>] %2 =<class> [<id>...] := <subcmds> Modifies the hardware ID's of the listed devices. This command will only work for root-enumerated devices. This command will work for a remote machine. Examples of <id> are: * - All devices (not recommended) ISAPNP\PNP0601 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ROOT\*\* - Instance ID with wildcards (@ prefixes instance ID) <class> is a setup class name as obtained from the classes command. <subcmds> consists of one or more: =hwid - Clear hardware ID list and set it to hwid. +hwid - Add or move hardware ID to head of list (better match). -hwid - Add or move hardware ID to end of list (worse match). !hwid - Remove hardware ID from list. hwid - each additional hardware id is inserted after the previous. %1!-20s! Modify Hardware ID's of listed root-enumerated devices. @No hardware ID's modified. Skipped %1!u! non-root device(s), modified the hardware ID on %2!u! device(s). dModified the Hardware ID on %1!u! device(s). HSkipping (Not root-enumerated). 4VS_VERSION_INFOBqBq?StringFileInfo040904B0v+CompanyNameWindows (R) Codename Longhorn DDK providerLFileDescriptionWindows Setup API` FileVersion6.0.6001.17121 built by: WinDDK: InternalNameSETUPAPI.DLL.LegalCopyright Microsoft Corporation. All rights reserved.B OriginalFilenameSETUPAPI.DLLr)ProductNameWindows (R) Codename Longhorn DDK driverBProductVersion6.0.6001.17121DVarFileInfo$Translation  Installs or removes TAP devices PAPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXt2 22666\7`78 8V8a8}888889.959D9K9z99999:::4;;;{<<+=J=w====== >>H>Q>f>>>$??? 01T1w1 23/3u334(40494N444q55?666667A7c777788889<9Q99999:H:n:|:;0;];;;;<.>6?Q?y??0!0+0b0p000011Z111122c23|3333354?4455P6m6667 7-7778h8889!9&9-959Z9|9999998:=:I::*;];;;;;;;<==#=4=<=Y=m=======>>?M????@080v000 1<1X1111!2V2x222 3633333 4l445S5y5555s6666%7U77 838L888979E9K9^9e9u99: : :':4:_:~::: ;;4;f;l;;;>>*>P>;?T?a?h?P%00001)1H1111212J2P2]2222234r45>55566G666667f77777778&8888`99999:j::;;;;=~>>>>>??>?j??????` 60A0_0000000000000 11)13181=1_1d1m1r11111111111112222)2;2H2N222222222222223$3/333345556666n7|77778d8i8889G9g9t99999999999999:::::#:+:3:;:G:P:U:[:e:n:y::::::O;X;;;;;;<<p0000 0$00040@0D0P0T0`0d0p0t000000000000000001111 1$10141@1D1P1T1`1d1p1t11111anytun-0.3.5/contrib/tap64/000077500000000000000000000000001240015004400154215ustar00rootroot00000000000000anytun-0.3.5/contrib/tap64/OemWin2k.inf000066400000000000000000000161321240015004400175550ustar00rootroot00000000000000; **************************************************************************** ; * Copyright (C) 2002-2008 OpenVPN Technologies, Inc. * ; * This program is free software; you can redistribute it and/or modify * ; * it under the terms of the GNU General Public License version 2 * ; * as published by the Free Software Foundation. * ; **************************************************************************** ; SYNTAX CHECKER ; cd \WINDDK\3790\tools\chkinf ; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf ; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm ; INSTALL/REMOVE DRIVER ; tapinstall install OemWin2k.inf TAP0901 ; tapinstall update OemWin2k.inf TAP0901 ; tapinstall remove TAP0901 ;********************************************************* ; Note to Developers: ; ; If you are bundling the TAP-Win32 driver with your app, ; you should try to rename it in such a way that it will ; not collide with other instances of TAP-Win32 defined ; by other apps. Multiple versions of the TAP-Win32 ; driver, each installed by different apps, can coexist ; on the same machine if you follow these guidelines. ; NOTE: these instructions assume you are editing the ; generated OemWin2k.inf file, not the source ; OemWin2k.inf.in file which is preprocessed by winconfig ; and uses macro definitions from settings.in. ; ; (1) Rename all tapXXXX instances in this file to ; something different (use at least 5 characters ; for this name!) ; (2) Change the "!define TAP" definition in openvpn.nsi ; to match what you changed tapXXXX to. ; (3) Change TARGETNAME in SOURCES to match what you ; changed tapXXXX to. ; (4) Change TAP_COMPONENT_ID in common.h to match what ; you changed tapXXXX to. ; (5) Change SZDEPENDENCIES in service.h to match what ; you changed tapXXXX to. ; (6) Change DeviceDescription and Provider strings. ; (7) Change PRODUCT_STRING in constants.h to what you ; set DeviceDescription to. ; ;********************************************************* [Version] Signature = "$Windows NT$" CatalogFile = tap0901.cat ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Provider% Class = Net ; This version number should match the version ; number given in SOURCES. DriverVer=01/22/2008,9.00.00.4 [Strings] DeviceDescription = "TAP-Win32 Adapter V9" Provider = "TAP-Win32 Provider V9" ;---------------------------------------------------------------- ; Manufacturer + Product Section (Done) ;---------------------------------------------------------------- [Manufacturer] %Provider% = tap0901, NTamd64 [tap0901.NTamd64] %DeviceDescription% = tap0901.ndi, tap0901 ;--------------------------------------------------------------- ; Driver Section (Done) ;--------------------------------------------------------------- ;----------------- Characteristics ------------ ; NCF_PHYSICAL = 0x04 ; NCF_VIRTUAL = 0x01 ; NCF_SOFTWARE_ENUMERATED = 0x02 ; NCF_HIDDEN = 0x08 ; NCF_NO_SERVICE = 0x10 ; NCF_HAS_UI = 0x80 ;----------------- Characteristics ------------ [tap0901.ndi] CopyFiles = tap0901.driver, tap0901.files AddReg = tap0901.reg AddReg = tap0901.params.reg Characteristics = 0x81 [tap0901.ndi.Services] AddService = tap0901, 2, tap0901.service [tap0901.reg] HKR, Ndi, Service, 0, "tap0901" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" HKR, , Manufacturer, 0, "%Provider%" HKR, , ProductName, 0, "%DeviceDescription%" [tap0901.params.reg] HKR, Ndi\params\MTU, ParamDesc, 0, "MTU" HKR, Ndi\params\MTU, Type, 0, "int" HKR, Ndi\params\MTU, Default, 0, "1500" HKR, Ndi\params\MTU, Optional, 0, "0" HKR, Ndi\params\MTU, Min, 0, "100" HKR, Ndi\params\MTU, Max, 0, "1500" HKR, Ndi\params\MTU, Step, 0, "1" HKR, Ndi\params\MediaStatus, ParamDesc, 0, "Media Status" HKR, Ndi\params\MediaStatus, Type, 0, "enum" HKR, Ndi\params\MediaStatus, Default, 0, "0" HKR, Ndi\params\MediaStatus, Optional, 0, "0" HKR, Ndi\params\MediaStatus\enum, "0", 0, "Application Controlled" HKR, Ndi\params\MediaStatus\enum, "1", 0, "Always Connected" HKR, Ndi\params\MAC, ParamDesc, 0, "MAC Address" HKR, Ndi\params\MAC, Type, 0, "edit" HKR, Ndi\params\MAC, Optional, 0, "1" HKR, Ndi\params\AllowNonAdmin, ParamDesc, 0, "Non-Admin Access" HKR, Ndi\params\AllowNonAdmin, Type, 0, "enum" HKR, Ndi\params\AllowNonAdmin, Default, 0, "1" HKR, Ndi\params\AllowNonAdmin, Optional, 0, "0" HKR, Ndi\params\AllowNonAdmin\enum, "0", 0, "Not Allowed" HKR, Ndi\params\AllowNonAdmin\enum, "1", 0, "Allowed" ;---------------------------------------------------------------- ; Service Section ;---------------------------------------------------------------- ;---------- Service Type ------------- ; SERVICE_KERNEL_DRIVER = 0x01 ; SERVICE_WIN32_OWN_PROCESS = 0x10 ;---------- Service Type ------------- ;---------- Start Mode --------------- ; SERVICE_BOOT_START = 0x0 ; SERVICE_SYSTEM_START = 0x1 ; SERVICE_AUTO_START = 0x2 ; SERVICE_DEMAND_START = 0x3 ; SERVICE_DISABLED = 0x4 ;---------- Start Mode --------------- [tap0901.service] DisplayName = %DeviceDescription% ServiceType = 1 StartType = 3 ErrorControl = 1 LoadOrderGroup = NDIS ServiceBinary = %12%\tap0901.sys ;----------------------------------------------------------------- ; File Installation ;----------------------------------------------------------------- ;----------------- Copy Flags ------------ ; COPYFLG_NOSKIP = 0x02 ; COPYFLG_NOVERSIONCHECK = 0x04 ;----------------- Copy Flags ------------ ; SourceDisksNames ; diskid = description[, [tagfile] [, , subdir]] ; 1 = "Intel Driver Disk 1",e100bex.sys,, [SourceDisksNames] 1 = %DeviceDescription%, tap0901.sys ; SourceDisksFiles ; filename_on_source = diskID[, [subdir][, size]] ; e100bex.sys = 1,, ; on distribution disk 1 [SourceDisksFiles] tap0901.sys = 1 [DestinationDirs] tap0901.files = 11 tap0901.driver = 12 [tap0901.files] ; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK ; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK [tap0901.driver] tap0901.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK ;--------------------------------------------------------------- ; End ;--------------------------------------------------------------- anytun-0.3.5/contrib/tap64/tap0901.cat000066400000000000000000000165771240015004400172300ustar00rootroot000000000000000{ *H l0h1 0 +0 +7 00  +7 zM* E ] 081119182242Z0 +7 0`0RCED9C70C66E38BF5D3E87DAF0446CFE9579283381Q0< +7 1.0,Fileoemwin2k.inf0J +7 1<0: OSAttr$2:5.1,2:5.2,2:6.00a +71S0Q0, +7<<<Obsolete>>>0!0 + f}FW80b +7 1T0RL{DE351A42-8E59-11D0-8C47-00C04FC295EE}0RE91D321F1EF60C9BB651057FF83E5A500E1C47281W0: +7 1,0*Filetap0901.sys0J +7 1<0: OSAttr$2:5.1,2:5.2,2:6.00b +7 1T0RL{C689AAB8-8E78-11D0-8C47-00C04FC295EE}0i +71[0Y04 +70& <<<Obsolete>>>0!0 +2 Q>ZPG(80604 +7 &0$ HWID1tap09010z0b8%a&Z0  *H 0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0 070615000000Z 120614235959Z0\1 0 UUS10U VeriSign, Inc.1402U+VeriSign Time Stamping Services Signer - G200  *H 0ĵR`)J[/Kk5TX56^bMRQ4q{f*j 7٘tvJcEG.k NK+XJ,XB-uލǎlLgrIž`<cxi{-004+(0&0$+0http://ocsp.verisign.com0 U003U,0*0(&$"http://crl.verisign.com/tss-ca.crl0U% 0 +0U0U0010 UTSA1-20  *H PK$ $- 7 ,Za񑑳V@뒾89u6t:O7ʕBǠWdB5N3M'L8MxSݤ^ ⥾`߭(ǥKd[98"3/!?DA e$HDT\y>]r},CS}=*:Om ]^SWp`+nx'4[^I2300-GߍRFCmH 10  *H 01 0 UZA10U Western Cape10U Durbanville10 U Thawte10U Thawte Certification10UThawte Timestamping CA0 031204000000Z 131203235959Z0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA0"0  *H 0 ʲ }uNgadڻ30X~k6xw~o< hlʽR-H=]_/kLR`@~ ?Ǵ߇_zj1.G 1s W-x43h/Š*Ë!fXWou<&]'x1"ijGC_^|}bM "Vͮv M٠h;004+(0&0$+0http://ocsp.verisign.com0U00AU:0806420http://crl.verisign.com/ThawteTimestampingCA.crl0U% 0 +0U0$U0010U TSA2048-1-530  *H JkXD1y+LͰXn)^ʓR G'/8ɓN"b?7!Op18UN$ҩ'NzaA*^ݻ+>W~ +;R8'?J00(AZ9xIef8Lu0  *H 0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authority0 040716000000Z 140715235959Z01 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CA0"0  *H 0 ~7O8Ҍ} kBRH%czQeӪ;+f$n96Уv"'$l8'I%,0q(wJQTom dc-N'm)G|-Wg32 #m„Kvhq,]! &-+UMm5(k\٪_̓c";Bi:^,(Sݵ Qp7HRHo8l{D00U00DU =0;09 `HE0*0(+https://www.verisign.com/rpa01U*0(0&$" http://crl.verisign.com/pca3.crl0U%0++0U0 `HB0)U"0 010UClass3CA2048-1-430UQ==d6|h[x߹70U#y0wca0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authorityp)48{̺0  *H :J{UdU@IA.x#h2و8?Ӊ?Z.&|n H @yg#$P.̀lROuU"Au/cU}TZY4_^z00̠qw17XA0  *H 01 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CA0 080313000000Z 100313235959Z01 0 UUS10U California10U Pleasanton10U  OpenVPN, Inc.1>0<U 5Digital ID Class 3 - Microsoft Software Validation v210U OpenVPN, Inc.00  *H 0OiTTg`=vJwh6O? @İzC %tp$9`qAw}?.] \|(}0'UD϶\\ip}geum΀-h>3qUq'yڿ.R~ rbPw0$.w%Ƨ~3 ;^?pP. 0:N F-kN,[H00 a 0  *H 01 0 UUS10U Washington10URedmond10U Microsoft Corporation1)0'U Microsoft Code Verification Root0 060523170129Z 160523171129Z0_1 0 UUS10U VeriSign, Inc.1705U .Class 3 Public Primary Certification Authority00  *H 0\Y@WjE@ 3X%*Dx#}֬cEr'Luq9OBu Ǝ o#_p)6Ɇ籚 S=}$E3vqdLe.hE#00U  00U 06 +7)0'+7щNלӿn0 U0U00U{wߞ ?.iw0 +7CrossCA0U#0b ![Cn TPkҖq0UUN0L0JHFDhttp://crl.microsoft.com/pki/crl/products/MicrosoftCodeVerifRoot.crl0  *H F;Eu~_CFˊGAt9QG{W2|?B!JCJo\KџLUn %qNg˂׎U7>n.aAHu,(I$s%<̈ (LeT^,Q:G<5ITJK}yϿ5\9QDD4*\;)N7~uմ nl#qgqNt LX^m9ˆ?2mב6Gx'*hONg?-@aH1s FVI) ڣ`TY(TfLۦg.Q{49AŒh&$ 灎 -/HoSIdx] U&ﺍѥ/Zka3b$v/C|4$(UuN1+gc׫s Y?*Eb[/9_sG*CbU==&}bU֔4Me1d0`001 0 UUS10U VeriSign, Inc.10U VeriSign Trust Network1;09U 2Terms of use at https://www.verisign.com/rpa (c)041.0,U%VeriSign Class 3 Code Signing 2004 CAqw17XA0 +o0 +7 100 *H  1  +7 0 +7 10  +70# *H  1 hCۤ.=80  *H 焗1xlӍ@ܮi}Iԯ zѥ *G8h{X#Web5a46\ W:?evב5u갑D'> 0; _abx_T67+FB1a,/)50{ *H  1l0h0g0S1 0 UUS10U VeriSign, Inc.1+0)U"VeriSign Time Stamping Services CA8%a&Z0 +]0 *H  1  *H 0 *H  1 081119182245Z0# *H  1& Ԡhp@i0  *H i%#xnyTKЅ1 _7wJ\ Xa@7 vE@ҦMD( ~jOz2]%v4gwɓ4:0)'v0pyZdpֆanytun-0.3.5/contrib/tap64/tap0901.sys000066400000000000000000000720001240015004400172560ustar00rootroot00000000000000MZ@ !L!This program cannot be run in DOS mode. $GpppUpUpqēp p pUpU ppUpU pUpRichpPEdkY$I" Zԡz0< 0qp(.textQR h.rdatap V@H.datax`@.pdatab@HINITf .rsrcn@B.reloc<r@BHHPHHUVWH`$IIHPHHAE3x>H$H$DHD$0H$3AH\$XHD$8->t.H$ HH$H$H$Hu,H$8H9$ DËL$H$H$LD$@HD$ HD$@=HL$@H$H$L HH+LL$0HD$8xH s>Hv8DHI<H$ H$HtH$H$y<t(Ht#H$HD$8LL$0E3|$(HD$ q;yuHt HD$0HEHtHD$8HH\$XH`_^]H\$Ht$WH 3H\$@tBATAPAHL$@]u"@tL3HL$@>H\$@ H\$@H\$@3HH\$0Ht$8H _H(Htt E3]H(̋Au3DDIAPA;щrA+щ;A AvA JDH\$H|$E33HDfDGDC2EDLLffffffffHA:A-A.A0|A9~AA|AF~ A@A@wAA@wAA@Dà DFAs_uE;)A;IALA2AD;DM2ɸLDE=B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$HBH|$@GHL$0H|$0T$8HHtl$8x HD$0 HT$03+H\$pH`_H8LL$ E3CH8fffffffHIrSIII@rHكtL+HHMI?Iu9MIItfffHHIuMt HIuffffffffIs0HHQHQH@HQHQIHQHQHQuffffHHQHQH@HQHQIHQHQHQu $T̃J @SH B@It HzuA(BxHHu H [̅~MH\$Hl$Ht$WH II@LH@̓|?tH\$0Hl$8Ht$@H _H\$Hl$Ht$WH A@@IIHt IxuA8~4MLHփH?u=.*uLHֱ?H\$0Hl$8Ht$@H _@SUVWATAUAWHHG.H3H$xd$`3E3!t$P!t$DE3ME3HLLHL$XDd$HDL$@DT$0uH!t$ E333Y9HtA?!t$433@l$8H\$XAIH $GrX(null)(null)EEE50P( 8PP700WP `h````xpxxppInvalid parameter passed to C runtime function.      RSDSE@@,c:\src\21\tap-win32\amd64\tap0901.pdb t dT42BdT42p  4 pbdT42p$ P p`P0Zx20  R04p r0\KeKeK  4 2p 2p`0\wEEEEEE!/l1(t!l11t!  t 4 l11t!T /l1(tB`1 d/T-4,&pZ   t4 B\ d42 p\?!xt!4 xtp ` P! I4Ju! I4Ju T 4 2 p `d42p!`Pu!4`Pud T2 p4!@lu!4@lu!@FFFXs!FFuFu!TFFuFu!  td@FFFXs, d#4" pl_ >j>j>>??!#pv!#\v!4#\v!t#pvT `!((w!((w!()v!)!*v!t)!*v!()v!T((w  `0! t4 !w!t4 !w! !E!w!E!B#|w! E!B#|w!t !E!w!4 !w  `P!`x!..td`x!d`x!d`x  r P0 d4 p\2356566!PXs!tdPXs!tdPXs2-+] f`qPqus.xtxt t tht5\t@lulxuhu N`u`c\t#pv#\v9Hv9A8vAS(v`xwFwFFwFUw`Pun ProductVersion2.1_rc15 9/4DVarFileInfo$Translation  anytun-0.3.5/contrib/tap64/tap_install.bat000066400000000000000000000000621240015004400204210ustar00rootroot00000000000000tapinstall.exe install OemWin2k.inf TAP0901 pauseanytun-0.3.5/contrib/tap64/tap_remove.bat000066400000000000000000000000611240015004400202470ustar00rootroot00000000000000tapinstall.exe remove OemWin2k.inf TAP0901 pauseanytun-0.3.5/contrib/tap64/tapinstall.exe000066400000000000000000002410001240015004400202740ustar00rootroot00000000000000MZ@ !L!This program cannot be run in DOS mode. $t*\0K2Q0K2Q0K2QOQ2K2Q_QK2Q\Q K2QIQ2K2QFIQ=K2Q0K3QK2QF_Q1K2Q@Q4K2QLQ1K2QNQ1K2QJQ1K2QRich0K2QPEdY$I" |prZ@ h|HTp0.text{| `.datax @.pdataT@@.rsrcH@@.relocpp@@B 8Plzā &4@R`pւ ЊzfH(ʉv`H( ؈dL0Ƈ^D(†xV@"ȅlL". *6BNVdzpRH<(΃znڄxoqsY$IT EEE00P('8PW700PP (```hhhxppwpp SeShutdownPrivilege:=?%-60s: %s %s (?){}MEM : %08I64x-%08I64x IO : %04I64x-%04I64x DMA : %u IRQ : %u InfPathProviderNameInfSectionDriverDescUpperFiltersLowerFiltersProviderVersionClassGUIDsetupapi.dllSetupVerifyInfFileDriverVerdp_enumdp_deletedp_addupdateniupdatestatusstacksethwidrestartresourcesrescanremoverebootlistclassinstallhwidshelpfindallfindenabledrivernodesdriverfilesdisableclassesclassfilter %-20s: %s newdev.dllUpdateDriverForPlugAndPlayDevicesWSetupSetNonInteractiveModeupperlower%-60s: ,%s SetupUninstallOEMInfW\INF\OEM*.INFRSDS Oo`c:\src\21\tapinstall\objfre_wnet_amd64\amd64\tapinstall.pdbT$LMCMK SVWHPIcICHICICDICȃd$(ICE33ҹ ICHL$@HɋtctY3HQT t u HL$@څtHD$@fH HD$@Kf$HHL$@H^HL$@HP_^[̅~)SH #H HP0 HuH [HHNLD$P Ht^LD$XH3HL$Pt;HD$XHd$(Hd$ LD$0E33HD$4D$0D$<HL$PE3E333D$(D$ yHHH\$Hl$Ht$WATAVHPHHIAHI@HVHHu3H$HD$0D$(bWz|$@D$HVMܸIIII@HoVHHtH$HD$0Dd$(LL$@DHHH\$ t$Hf$CHL\$PI[ Ik(Is0IA^A\_H.HU!H\$Hl$Ht$W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CH LL$HLD$PӤtn=sgHD$@E3HL$PHD$8Hd$0H$`EA3D$(HD$ Gu զ(ȦLD$@HH0赭3HH0蝭H$pH3#HĀ[H\$Ht$WHPH[$H3H$@Hd$ H$3EAuGH LL$ LD$0ˣH9\$ H HHHXHHHL$ E3ЅuA-==u O=<u 5(|LD$ HH0i3_HH0QHt HӢH$@H3L$PI[IsI_H\$WHH"H3H$EɻtC,H$p HH$pf9t HHuHH׹H+H+HTpt8L HL+HtEfEtfDHHHuHuH+ùzf HT$ H$pHHuHH0RHH0LD$LHH0HL$LHT$ HuH3ۋH$H3?H$HĐ_H8R'D G'L '.'H''H'H &HD$ ң'H8Ht$H|$Ld$AUH0eH%0HxE33H=p,tH;u DԠ׿?,;u ]),uM=,L-أH5Ht$(D$ I;suHHtщD$ HHt$(ޅt=>&+;uHaH J?+Eu 3H+H=+tH +tE3AP3+L%H% %菹%=%uD=%u =%-%=l%u &̃=z%u h%Ht$@H|$HLd$PH0A]@UH HHHыTH ]H(f=WMZt3OHc HCHȁ9PEuA= t= u3v93ytv 9$ZH $IL"*L#*H $=u H 3H(H(;H(FfffffffH; YuHfuH%ܠ%@SH EHLAALtA@McPLHcL#IcJHCHHKAt AHLL3IH []H(MA8HIH(H(H8csmu,xu&@ = t=!t="t=@uv3H(H(H _3H(%%3f9MZuHcQ<< PEu f|  LcACloseServiceHandleOpenSCManagerWOpenServiceWRegDeleteValueWRegSetValueExWADVAPI32.dllEGetCurrentProcessFormatMessageWlstrlenWsGetLastError6CloseHandleXLocalFreeKGetDateFormatWFreeLibraryQLoadLibraryWFileTimeToSystemTimeGetProcAddressmGetFullPathNameWFindFirstFileWdGetFileAttributesWFindCloseFindNextFileWGetWindowsDirectoryW\SleepKERNEL32.dllwcschry_wcsicmptowlower_wcsnicmp6fputss__iob_funcwcsrchr]iswalpha??3@YAXPEAX@Z8fputwstowupper??2@YAPEAX_K@Zwprintf__wgetmainargsS__C_specific_handlerR_XcptFilter_exit_cexit exitl_initterm_amsg_exit__setusermatherr_commode_fmode__set_app_typemsvcrt.dllmemset0?terminate@@YAXXZRtlVirtualUnwindRtlLookupFunctionEntryRtlCaptureContextntdll.dll CLSIDFromStringole32.dllPCM_Get_Device_ID_ExW3SetupDiGetClassDevsExWJSetupDiGetDeviceRegistryPropertyWSetupDiDestroyDeviceInfoList SetupDiEnumDeviceInfoSetupDiCreateDeviceInfoListExWASetupDiGetDeviceInfoListDetailWjSetupDiOpenDeviceInfoWSetupDiClassGuidsFromNameExW-SetupDiGetClassDescriptionExWLSetupDiGetDriverInfoDetailWSetupFindFirstLineW{SetupDiSetDeviceInstallParamsWhCM_Get_First_Log_Conf_Ex3CM_Free_Res_Des_HandleSetupOpenInfFileWSetupDiDestroyDriverInfoListSetupDiCallClassInstallerSetupOpenFileQueueSetupCloseInfFilegSetupDiOpenClassRegKeyExW|CM_Get_Res_Des_Data_ExNSetupDiGetDriverInstallParamsWSetupCloseFileQueuexCM_Get_Next_Res_Des_ExSetupScanFileQueueW/CM_Free_Log_Conf_Handle#SetupDiEnumDriverInfoW~CM_Get_Res_Des_Data_Size_ExSetupGetStringFieldWSetupDiSetSelectedDriverWhSetupDiOpenDevRegKeyCSetupDiGetDeviceInstallParamsWSetupDiBuildDriverInfoListLCM_Get_DevNode_Status_ExCM_Locate_DevNode_ExWCM_Connect_MachineWSetupDiCreateDeviceInfoListSetupDiCreateDeviceInfoWSetupDiBuildClassInfoListExW!CM_Disconnect_MachineWSetupDiGetINFClassW~SetupDiSetDeviceRegistryPropertyWSetupCopyOEMInfWCM_Reenumerate_DevNode_Ex SetupDiClassNameFromGuidExWwSetupDiSetClassInstallParamsWSETUPAPI.dll/CharPrevW,CharNextWLoadStringWUSER32.dllPSetUnhandledExceptionFilterGetModuleHandleWQueryPerformanceCounterGetTickCountIGetCurrentThreadIdFGetCurrentProcessIdGetSystemTimeAsFileTimedTerminateProcesstUnhandledExceptionFilter2-+] fu5 @ @@@@ @P@$@@ @4@N@ p+ŝi@]%O@qוC)@D@<զIx@oGAkU'9p|Bݎ~QCv)/&D(DJzEeǑF e uuvHMXB䧓9;5SM]=];Z] T7aZ%]g']݀nLɛ R`%u?q= ףp= ף?Zd;On?,eX?#GGŧ?@il7?3=BzՔ?aw̫?/L[Mľ?S;uD?g9Eϔ?$#⼺;1az?aUY~S|_?/D?$?9'*?}d|FU>c{#Tw=:zc%C1y>@zAjDypDEyEGzHK|L1M|8MML|NNL|NOL|OUPL|\PPD|QQD|QiRL|pR5SL|] <command> [<arg>...] For more information, type: %1 help %1 failed. %1: Invalid use of %2. For more information, type: %1 help %2 Device Console Help: %1 [-r] [-m:\\<machine>] <command> [<arg>...] -r Reboots the system only when a restart or reboot is required. <machine> Specifies a remote computer. <command> Specifies a Devcon command (see command list below). <arg>... One or more arguments that modify a command. For help with a specific command, type: %1 help <command> D%1!-20s! Display Devcon help. ,Unknown command. 4Devcon Classes Command Lists all device setup classes. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <machine> Specifies a remote computer. Class entries have the format <name>: <descr> where <name> is the class name and <descr> is the class description. X%1!-20s! List all device setup classes. PListing %1!u! setup classes on %2. DListing %1!u! setup classes. Devcon Listclass Command Lists all devices in the specified setup classes. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <class> [<class>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Device entries have the format <instance>: <descr> where <instance> is a unique instance of the device and <descr> is the device description. `%1!-20s! List all devices in a setup class. tListing %1!u! devices in setup class "%2" (%3) on %4. hListing %1!u! devices in setup class "%2" (%3). PThere is no "%1" setup class on %2. pThere is no "%1" setup class on the local machine. tThere are no devices in setup class "%1" (%2) on %3. hThere are no devices in setup class "%1" (%2). Devcon Find Command Finds devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) Device entries have the format <instance>: <descr> where <instance> is the unique instance of the device and <descr> is the device description. 8%1!-20s! Find devices. LNo matching devices found on %1. @No matching devices found. T%1!u! matching device(s) found on %2. H%1!u! matching device(s) found. Devcon Findall Command Finds devices with the specified hardware or instance ID, including devices that are not currently attached. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) Device entries have the format <instance>: <descr> where <instance> is the unique instance of the device and <descr> is the description. %1!-20s! Find devices, including those that are not currently attached. Devcon Status Command Lists the running status of devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) \%1!-20s! List running status of devices. Devcon Driverfiles Command List installed driver files for devices with the specified hardware or instance ID. Valid only on the local computer. %1 %2 <id> [<id>...] %1 %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) l%1!-20s! List installed driver files for devices. Devcon Resources Command Lists hardware resources of devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) d%1!-20s! List hardware resources for devices. Devcon Hwids Command Lists hardware IDs of all devices with the specified hardware or instance ID. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) X%1!-20s! List hardware IDs of devices. 0Devcon Stack Command Lists the expected driver stack of devices with the specified hardware or instance ID. PnP calls each driver's AddDevice routine when building the device stack. Valid on local and remote computers. %1 [-m:\\<machine>] %2 <id> [<id>...] %1 [-m:\\<machine>] %2 =<class> [<id>...] <machine> Specifies a remote computer. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) l%1!-20s! List expected driver stack for devices. Devcon Enable Command Enables devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necessary, include -r.) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] -r Reboots the system only when a restart or reboot is required. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Enable devices. No devices were enabled, either because the devices were not found, or because the devices could not be enabled. The %1!u! device(s) are ready to be enabled. To enable the devices, restart the devices or reboot the system . D%1!u! device(s) are enabled. Devcon Disable Command Disables devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] -r Reboots the system only when a restart or reboot is required. <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Disable devices. No devices were disabled, either because the devices were not found, or because the devices could not be disabled. The %1!u! device(s) are ready to be disabled. To disable the devices, restart the devices or reboot the system . <%1!u! device(s) disabled. 0Devcon Restart Command Restarts devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Restart devices. No devices were restarted, either because the devices were not found, or because the devices could not be restarted. The %1!u! device(s) are ready to be restarted. To restart the devices, reboot the system. @%1!u! device(s) restarted. %1 %2 Reboots the local computer as part of a planned hardware installation. P%1!-20s! Reboot the local computer. DRebooting the local computer. dThe device has the following problem: %1!02u! hThe driver reported a problem with the device. 0Driver is running. 0Device is disabled. DDevice is currently stopped. PDevice is not using any resources. LDevice has no reserved resources. pDevice is currently using the following resources: dDevice has the following reserved resources: Driver installed from %2 [%3]. %1!u! file(s) used by driver: Driver installed from %2 [%3]. The driver is not using any files. hNo driver information available for the device. $Hardware IDs: (Compatible IDs: lNo hardware/compatible IDs found for this device. XNo driver nodes found for this device. 0Driver node #%1!u!: (Inf file is %1 ,Inf section is %1 <Driver description is %1 8Manufacturer name is %1 0Provider name is %1 ,Driver date is %1 \Driver version is %1!u!.%2!u!.%3!u!.%4!u! <Driver node rank is %1!u! DDriver node flags are %1!08X! @Inf came from the Internet @Driver node is marked "BAD" 8Inf is digitally signed tInf was installed by using F6 during text mode setup Driver provides basic functionality when no signed driver is available. 4Upper class filters: (Upper filters: 4Controlling service: (none) 4Class lower filters: (Lower filters: 0Setup Class: %1 %2 4Device is not set up. Name: %1 8Device is not present. TError retrieving the device's status. Devcon Install Command Installs the specified device manually. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <inf> <hwid> <inf> Specifies an INF file with installation information for the device. <hwid> Specifies a hardware ID for the device. -r Reboots the system only when a restart or reboot is required. P%1!-20s! Install a device manually. Device node created. Install is complete when drivers are installed... @Devcon Update Command Updates drivers for all devices with the specified hardware ID (<hwid>). Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <inf> <hwid> -r Reboots the system only when a restart or reboot is required. <inf> Specifies an INF file with installation information for the devices. <hwid> Specifies the hardware ID of the devices. P%1!-20s! Update a device manually. LUpdating drivers for %1 from %2. <Updating drivers for %1. |%1 [-r] %2 <inf> <hwid> Update drivers for devices (Non Interactive). This command will only work for local machine. Specify -r to reboot automatically if needed. <inf> is an INF to use to install the device. All devices that match <hwid> are updated. Unsigned installs will fail. No UI will be presented. t%1!-20s! Manually update a device (non interactive). HDrivers installed successfully. %1 %2 <inf> Adds (installs) a third-party (OEM) driver package. This command will only work on the local machine. <inf> is a full path to the INF of the Driver Package that will be installed on this machine. %1!-20s! Adds (installs) a third-party (OEM) driver package. p%1 [-f] %2 <inf> Deletes a third-party (OEM) driver package. This command will only work on the local machine. [-f] will force delete the driver package, even if it is in use by a device. <inf> is the name of a published INF on the local machine. This is the value returned from dp_add and dp_enum. t%1!-20s! Deletes a third-party (OEM) driver package. %1 %2 Lists the third-party (OEM) driver packages installed on this machine. This command will only work on the local machine. Values returned from dp_enum can be sent to dp_delete to be removed from the machine. %1!-20s! Lists the third-party (OEM) driver packages installed on this machine. TThe specified INF path is not valid. Adding the specified driver package to the machine failed. @Driver package '%1' added. Deleting the specified driver package from the machine failed. Deleting the specified driver package from the machine failed because it is in use by a device. Deleting the specified driver package from the machine failed because it is not an third-party package. DDriver package '%1' deleted. |There are no third-party driver packages on this machine. The following third-party driver packages are installed on this computer: %1 , Provider: %1 4 Provider: unknown $ Class: %1 0 Class: unknown ( Version: %1 4 Version: unknown $ Date: %1 , Date: unknown ( Signer: %1 0 Signer: unknown ,Devcon Remove Command Removes devices with the specified hardware or instance ID. Valid only on the local computer. (To reboot when necesary, Include -r .) %1 [-r] %2 <id> [<id>...] %1 [-r] %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) <%1!-20s! Remove devices. <No devices were removed. The %1!u! device(s) are ready to be removed. To remove the devices, reboot the system. D%1!u! device(s) were removed. dDevcon Rescan Command Directs Plug and Play to scan for new hardware. Valid on a local or remote computer. %1 [-m:\\<machine>] <machine> Specifies a remote computer. H%1!-20s! Scan for new hardware. @Scanning for new hardware. LScanning for new hardware on %1. 0Scanning completed. Devcon Drivernodes Command Lists driver nodes for devices with the specified hardware or instance ID. Valid only on the local computer. %1 %2 <id> [<id>...] %1 %2 =<class> [<id>...] <class> Specifies a device setup class. Examples of <id>: * - All devices ISAPNP\PNP0501 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ISAPNP\*\* - Instance ID with wildcards (@ prefixes instance ID) '*PNP0501 - Hardware ID with apostrophe (' prefixes literal match - matches exactly as typed, including the asterisk.) X%1!-20s! List driver nodes of devices. xDevcon Classfilter Command Lists, adds, deletes, and reorders upper and lower filter drivers for a device setup class. Changes do not take effect until the affected devices are restarted or the machine is rebooted. %1 %2 [-r] <class> {upper | lower} [<operator><filter> [<operator><filter>...]] <class> Specifies a device setup class. <operator> Specifies an operation (listed below). <filter> Specifies a class filter driver. upper Identifies an upper filter driver. lower Identifies a lower filter driver. To list the upper/lower filter drivers for a class, type: devcon classfilter <class> {upper | lower} The Devcon classfilter command uses subcommands, which consist of an operator (=, @, -, +, !) and a filter driver name. The Devcon classfilter command uses a virtual cursor to move through the list of filter drivers. The cursor starts at the beginning of the list (before the first filter). Unless returned to the starting position, the cursor always moves forward. Operators = Move the cursor to the beginning of the filter driver list (before the first filter driver). @ Position the cursor on the next instance of the specified filter. - Add before. Insert the specified filter before the filter on which the cursor is positioned. If the cursor is not positioned on a filter, insert the new filter at the beginning of the list. When the subcommand completes, the cursor is positioned on the newly-added filter. + Add after. Insert the specified filter after the filter on which the cursor is positioned. If the cursor is not positioned on a filter, Devcon inserts the new filter at the end of the list. When the subcommand completes, the cursor cursor is positioned on the newly-added filter. ! Deletes the next occurrence of the specified filter. When the subcommand completes, the cursor occupies the position of the deleted filter. Subsequent - or + subcommands insert a new filter at the cursor position. Examples: If the upper filters for setup class "foo" are A,B,C,B,D,B,E: %1 %2 foo upper @D !B - deletes the third 'B'. %1 %2 foo upper !B !B !B - deletes all three instances of 'B'. %1 %2 foo upper =!B =!A - deletes the first 'B' and the first 'A'. %1 %2 foo upper !C +CC - replaces 'C' with 'CC'. %1 %2 foo upper @D -CC - inserts 'CC' before 'D'. %1 %2 foo upper @D +CC - inserts 'CC' after 'D'. %1 %2 foo upper -CC - inserts 'CC' before 'A'. %1 %2 foo upper +CC - inserts 'CC' after 'E'. %1 %2 foo upper @D +X +Y - inserts 'X' after 'D' and 'Y' after 'X'. %1 %2 foo upper @D -X -Y - inserts 'X' before 'D' and 'Y' before 'X'. %1 %2 foo upper @D -X +Y - inserts 'X' before 'D' and 'Y' between 'X' and 'D'. l%1!-20s! Add, delete, and reorder class filters. Class filters changed. Restart the devices or reboot the system to make the change effective. <Class filters unchanged. %1 [-m:\\<machine>] %2 <id> [<id>...] := <subcmds> %1 [-m:\\<machine>] %2 =<class> [<id>...] := <subcmds> Modifies the hardware ID's of the listed devices. This command will only work for root-enumerated devices. This command will work for a remote machine. Examples of <id> are: * - All devices (not recommended) ISAPNP\PNP0601 - Hardware ID *PNP* - Hardware ID with wildcards (* matches anything) @ROOT\*\* - Instance ID with wildcards (@ prefixes instance ID) <class> is a setup class name as obtained from the classes command. <subcmds> consists of one or more: =hwid - Clear hardware ID list and set it to hwid. +hwid - Add or move hardware ID to head of list (better match). -hwid - Add or move hardware ID to end of list (worse match). !hwid - Remove hardware ID from list. hwid - each additional hardware id is inserted after the previous. %1!-20s! Modify Hardware ID's of listed root-enumerated devices. @No hardware ID's modified. Skipped %1!u! non-root device(s), modified the hardware ID on %2!u! device(s). dModified the Hardware ID on %1!u! device(s). HSkipping (Not root-enumerated). 4VS_VERSION_INFOBqBq?StringFileInfo040904B0v+CompanyNameWindows (R) Codename Longhorn DDK providerLFileDescriptionWindows Setup API` FileVersion6.0.6001.17121 built by: WinDDK: InternalNameSETUPAPI.DLL.LegalCopyright Microsoft Corporation. All rights reserved.B OriginalFilenameSETUPAPI.DLLr)ProductNameWindows (R) Codename Longhorn DDK driverBProductVersion6.0.6001.17121DVarFileInfo$Translation  Installs or removes TAP devices PAPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXXPADDINGPADDINGXPXp(0@HX`pxФؤ 08HP`hxȥإ (8@PXhpanytun-0.3.5/contrib/tap64/tapinstall.exe.minifest.txt000066400000000000000000000013171240015004400227340ustar00rootroot00000000000000 Installs or removes TAP devices anytun-0.3.5/doc/000077500000000000000000000000001240015004400135705ustar00rootroot00000000000000anytun-0.3.5/doc/Makefile000066400000000000000000000052471240015004400152400ustar00rootroot00000000000000## ## anytun ## ## The secure anycast tunneling protocol (satp) defines a protocol used ## for communication between any combination of unicast and anycast ## tunnel endpoints. It has less protocol overhead than IPSec in Tunnel ## mode and allows tunneling of every ETHER TYPE protocol (e.g. ## ethernet, ip, arp ...). satp directly includes cryptography and ## message authentication based on the methods used by SRTP. It is ## intended to deliver a generic, scaleable and secure solution for ## tunneling and relaying of packets of any protocol. ## ## ## Copyright (C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl, ## Christian Pointner ## ## This file is part of Anytun. ## ## Anytun is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## any later version. ## ## Anytun is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Anytun. If not, see . ## ## In addition, as a special exception, the copyright holders give ## permission to link the code of portions of this program with the ## OpenSSL library under certain conditions as described in each ## individual source file, and distribute linked combinations ## including the two. ## You must obey the GNU General Public License in all respects ## for all of the code used other than OpenSSL. If you modify ## file(s) with this exception, you may extend this exception to your ## version of the file(s), but you are not obligated to do so. If you ## do not wish to do so, delete this exception statement from your ## version. If you delete this exception statement from all source ## files in the program, then also delete it here. ## VERSION=$(shell cat ../version) MANPAGES := anytun.8 anytun-controld.8 anytun-config.8 anytun-showtables.8 #anyrtpproxy.8 XML := $(MANPAGES:%.8=%.8.xml) .PHONY: clean realclean all: manpage define create-manpage a2x -f manpage $(1) @ sed -i -e 's/\[FIXME: source\]/anytun ${VERSION}/' $(2) @ sed -i -e 's/\[FIXME: manual\]/$(2:.8=) user manual/' $(2) @ sed -i -e 's/^\($(subst -,\\-,$(2:.8=))\)$$/\\fB\1\\fR/' $(2) @ sed -i -e 's/^ \[ \([^ ]*\)/ [ \\fB\1\\fR/' $(2) endef %.8: %.8.txt $(call create-manpage,$<,$@) manpage: $(MANPAGES) clean: rm -f $(XML) realclean: rm -f $(MANPAGES) anytun-0.3.5/doc/anyrtpproxy.8.txt000066400000000000000000000113621240015004400171210ustar00rootroot00000000000000anyrtpproxy(8) ============== NAME ---- anyrtpproxy - anycast rtpproxy SYNOPSIS -------- .... anyrtpproxy [ -h|--help ] [ -D|--nodaemonize ] [ -C|--chroot ] [ -u|--username ] [ -H|--chroot-dir ] [ -P|--write-pid ] [ -i|--interface ] [ -s|--control [:] ] [ -p|--port-range ] [ -n|--nat ] [ -o|--no-nat-once ] [ -S|--sync-port port> ] [ -M|--sync-hosts :[,:[...]] ] .... DESCRIPTION ----------- *anyrtpproxy* is a rtpproxy which can be used in combination with anycast. It uses the same control protocol than rtpproxy though it can be controled through the nathelper plugin of openser. *anyrtpproxy* uses the same synchronisation protocol than *Anytun* to sync the session information among all anycast instances. OPTIONS ------- *-D, --nodaemonize*:: This option instructs *anyrtpproxy* to run in the foreground instead of becoming a daemon. *-C, --chroot*:: chroot and drop privileges *-u, --username *:: if chroot change to this user *-H, --chroot-dir *:: chroot to this directory *-P, --write-pid *:: write pid to this file *-i, --interface *:: The local interface to listen on for RTP packets *-s, --control [:]*:: The local address and port to listen on for control messages from openser *-p, --port-range *:: A pool of ports which should be used by *anyrtpproxy* to relay RTP packets. The range may not overlap between the anycast instances *-n, --nat*:: Allow to learn the remote address and port in order to handle clients behind nat. This option should only be enabled if the source is authenticated (i.e. through *anytun*) *-o, --no-nat-once*:: Disable learning of remote address and port in case the first packet does not come from the client which is specified by openser during configuration. Invoking this parameter increases the security level of the system but in case of nat needs a working nat transversal such as stun. *-S, --sync-port *:: local unicast(sync) port to bind to + This port is used by anycast hosts to synchronize information about tunnel endpoints. No payload data is transmitted via this port. + It is possible to obtain a list of active connections by telnetting into this port. This port is read-only and unprotected by default. It is advised to protect this port using firewall rules and, eventually, IPsec. *-M, --sync-hosts :,[:[...]]*:: remote hosts to sync with + Here, one has to specify all unicast IP addresses of all other anycast hosts that comprise the anycast tunnel endpoint. EXAMPLES -------- Anycast Setup with 3 instances: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On the host with unicast hostname unicast1.anycast.anytun.org and anycast hostname anycast.anytun.org: -------------------------------------------------------------------------------------- # anyrtpproxy -i anycast.anytun.org -p 20000 25000 -S 2342 \ -M unicast2.anycast.anytun.org:2342,unicast3.anycast.anytun.org:2342 -------------------------------------------------------------------------------------- On the host with unicast hostname unicast2.anycast.anytun.org and anycast hostname anycast.anytun.org: -------------------------------------------------------------------------------------- # anyrtpproxy -i anycast.anytun.org -p 25000 30000 -S 2342 \ -M unicast1.anycast.anytun.org:2342,unicast3.anycast.anytun.org:2342 -------------------------------------------------------------------------------------- On the host with unicast hostname unicast3.anycast.anytun.org and anycast hostname anycast.anytun.org: -------------------------------------------------------------------------------------- # anyrtpproxy -i anycast.anytun.org -p 30000 35000 -S 2342 \ -M unicast1.anycast.anytun.org:2342,unicast2.anycast.anytun.org:2342 -------------------------------------------------------------------------------------- BUGS ---- Most likely there are some bugs in *anyrtpproxy*. If you find a bug, please let the developers know at satp@anytun.org. Of course, patches are preferred. SEE ALSO -------- anytun(8) AUTHORS ------- Othmar Gsenger Erwin Nindl Christian Pointner RESOURCES --------- Main web site: http://www.anytun.org/ COPYING ------- Copyright \(C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. anytun-0.3.5/doc/anytun-config.8000066400000000000000000000176461240015004400164600ustar00rootroot00000000000000'\" t .\" Title: anytun-config .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 08/26/2014 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "ANYTUN\-CONFIG" "8" "08/26/2014" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" anytun-config \- anycast tunneling configuration utility .SH "SYNOPSIS" .sp .nf \fBanytun\-config\fR [ \fB\-h|\-\-help\fR ] [ \fB\-L|\-\-log\fR :[,[,[\&.\&.]]] [ \fB\-U|\-\-debug\fR ] [ \fB\-r|\-\-remote\-host\fR ] [ \fB\-o|\-\-remote\-port\fR ] [ \fB\-4|\-\-ipv4\-only\fR ] [ \fB\-6|\-\-ipv6\-only\fR ] [ \fB\-R|\-\-route\fR / ] [ \fB\-m|\-\-mux\fR ] [ \fB\-w|\-\-window\-size\fR ] [ \fB\-k|\-\-kd\-prf\fR ] [ \fB\-e|\-\-role\fR ] [ \fB\-E|\-\-passphrase\fR ] [ \fB\-K|\-\-key\fR ] [ \fB\-A|\-\-salt\fR ] .fi .SH "DESCRIPTION" .sp \fBanytun\-config\fR writes routing/connection table entries, that can be read by \fBanytun\-controld\fR\&. .SH "OPTIONS" .PP \fB\-L, \-\-log \fR\fB\fI:[,[,[\&.\&.]]]\fR\fR .RS 4 add log target to logging system\&. This can be invoked several times in order to log to different targets at the same time\&. Every target hast its own log level which is a number between 0 and 5\&. Where 0 means disabling log and 5 means debug messages are enabled\&. The file target can be used more the once with different levels\&. If no target is provided at the command line a single target with the config \fIsyslog:3,anytun\-config,daemon\fR is added\&. The following targets are supported: .PP \fIsyslog\fR .RS 4 log to syslog daemon, parameters [,[,]] .RE .PP \fIfile\fR .RS 4 log to file, parameters [,] .RE .PP \fIstdout\fR .RS 4 log to standard output, parameters .RE .PP \fIstderr\fR .RS 4 log to standard error, parameters .RE .RE .PP \fB\-U, \-\-debug\fR .RS 4 This option instructs \fBAnytun\fR to run in debug mode\&. It implicits \fB\-D\fR (don\(cqt daemonize) and adds a log target with the configuration \fIstdout:5\fR (logging with maximum level)\&. In future releases there might be additional output when this option is supplied\&. .RE .PP \fB\-r, \-\-remote\-host \fR\fB\fI\fR\fR .RS 4 This option can be used to specify the remote tunnel endpoint\&. In case of anycast tunnel endpoints, the anycast IP address has to be used\&. If you do not specify an address, it is automatically determined after receiving the first data packet\&. .RE .PP \fB\-o, \-\-remote\-port \fR\fB\fI\fR\fR .RS 4 The UDP port used for payload data by the remote host (specified with \-p on the remote host)\&. If you do not specify a port, it is automatically determined after receiving the first data packet\&. .RE .PP \fB\-4, \-\-ipv4\-only\fR .RS 4 Resolv to IPv4 addresses only\&. The default is to resolv both IPv4 and IPv6 addresses\&. .RE .PP \fB\-6, \-\-ipv6\-only\fR .RS 4 Resolv to IPv6 addresses only\&. The default is to resolv both IPv4 and IPv6 addresses\&. .RE .PP \fB\-R, \-\-route \fR\fB\fI/\fR\fR .RS 4 add a route to connection\&. This can be invoked several times\&. .RE .PP \fB\-m, \-\-mux \fR\fB\fI\fR\fR .RS 4 the multiplex id to use\&. default: 0 .RE .PP \fB\-w, \-\-window\-size \fR\fB\fI\fR\fR .RS 4 seqence window size Sometimes, packets arrive out of order on the receiver side\&. This option defines the size of a list of received packets\*(Aq sequence numbers\&. If, according to this list, a received packet has been previously received or has been transmitted in the past, and is therefore not in the list anymore, this is interpreted as a replay attack and the packet is dropped\&. A value of 0 deactivates this list and, as a consequence, the replay protection employed by filtering packets according to their secuence number\&. By default the sequence window is disabled and therefore a window size of 0 is used\&. .RE .PP \fB\-k, \-\-kd\(emprf \fR\fB\fI\fR\fR .RS 4 key derivation pseudo random function The pseudo random function which is used for calculating the session keys and session salt\&. Possible values: .PP \fInull\fR .RS 4 no random function, keys and salt are set to 0\&.\&.00 .RE .PP \fIaes\-ctr\fR .RS 4 AES in counter mode with 128 Bits, default value .RE .PP \fIaes\-ctr\-128\fR .RS 4 AES in counter mode with 128 Bits .RE .PP \fIaes\-ctr\-192\fR .RS 4 AES in counter mode with 192 Bits .RE .PP \fIaes\-ctr\-256\fR .RS 4 AES in counter mode with 256 Bits .RE .RE .PP \fB\-e, \-\-role \fR\fB\fI\fR\fR .RS 4 SATP uses different session keys for inbound and outbound traffic\&. The role parameter is used to determine which keys to use for outbound or inbound packets\&. On both sides of a vpn connection different roles have to be used\&. Possible values are \fBleft\fR and \fBright\fR\&. You may also use \fBalice\fR or \fBserver\fR as a replacement for \fBleft\fR and \fBbob\fR or \fBclient\fR as a replacement for \fBright\fR\&. By default \fBleft\fR is used\&. .RE .PP \fB\-E, \-\-passphrase \fR\fB\fI\fR\fR .RS 4 This passphrase is used to generate the master key and master salt\&. For the master key the last n bits of the SHA256 digest of the passphrase (where n is the length of the master key in bits) is used\&. The master salt gets generated with the SHA1 digest\&. You may force a specific key and or salt by using \fB\-\-key\fR and \fB\-\-salt\fR\&. .RE .PP \fB\-K, \-\-key \fR\fB\fI\fR\fR .RS 4 master key to use for key derivation Master key in hexadecimal notation, e\&.g\&. 01a2b3c4d5e6f708a9b0cadbecfd0fa1, with a mandatory length of 32, 48 or 64 characters (128, 192 or 256 bits)\&. .RE .PP \fB\-A, \-\-salt \fR\fB\fI\fR\fR .RS 4 master salt to use for key derivation Master salt in hexadecimal notation, e\&.g\&. 01a2b3c4d5e6f708a9b0cadbecfd, with a mandatory length of 28 characters (14 bytes)\&. .RE .SH "EXAMPLES" .sp Add a client with Connection ID (Mux) 12 and add 2 Routes to this client .sp .if n \{\ .RS 4 .\} .nf # anytun\-config \-w 0 \-m 12 \-K 0123456789ABCDEFFEDCBA9876543210 \-A 0123456789ABCDDCBA9876543210 \e \-R 192\&.0\&.2\&.0/24 \-R 192\&.168\&.1\&.1/32 \-e server >> routingtable .fi .if n \{\ .RE .\} .SH "BUGS" .sp Most likely there are some bugs in \fBAnytun\fR\&. If you find a bug, please let the developers know at satp@anytun\&.org\&. Of course, patches are preferred\&. .SH "SEE ALSO" .sp anytun(8), anytun\-controld(8), anytun\-showtables(8) .SH "AUTHORS" .sp Othmar Gsenger Erwin Nindl Christian Pointner .SH "RESOURCES" .sp Main web site: http://www\&.anytun\&.org/ .SH "COPYING" .sp Copyright (C) 2007\-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner\&. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version\&. anytun-0.3.5/doc/anytun-config.8.txt000066400000000000000000000144301240015004400172620ustar00rootroot00000000000000anytun-config(8) ================ NAME ---- anytun-config - anycast tunneling configuration utility SYNOPSIS -------- .... anytun-config [ -h|--help ] [ -L|--log :[,[,[..]]] [ -U|--debug ] [ -r|--remote-host ] [ -o|--remote-port ] [ -4|--ipv4-only ] [ -6|--ipv6-only ] [ -R|--route / ] [ -m|--mux ] [ -w|--window-size ] [ -k|--kd-prf ] [ -e|--role ] [ -E|--passphrase ] [ -K|--key ] [ -A|--salt ] .... DESCRIPTION ----------- *anytun-config* writes routing/connection table entries, that can be read by *anytun-controld*. OPTIONS ------- *-L, --log ':[,[,[..]]]'*:: add log target to logging system. This can be invoked several times in order to log to different targets at the same time. Every target hast its own log level which is a number between 0 and 5. Where 0 means disabling log and 5 means debug messages are enabled. + The file target can be used more the once with different levels. If no target is provided at the command line a single target with the config 'syslog:3,anytun-config,daemon' is added. + The following targets are supported: 'syslog';; log to syslog daemon, parameters [,[,]] 'file';; log to file, parameters [,] 'stdout';; log to standard output, parameters 'stderr';; log to standard error, parameters *-U, --debug*:: This option instructs *Anytun* to run in debug mode. It implicits *-D* (don't daemonize) and adds a log target with the configuration 'stdout:5' (logging with maximum level). In future releases there might be additional output when this option is supplied. *-r, --remote-host ''*:: This option can be used to specify the remote tunnel endpoint. In case of anycast tunnel endpoints, the anycast IP address has to be used. If you do not specify an address, it is automatically determined after receiving the first data packet. *-o, --remote-port ''*:: The UDP port used for payload data by the remote host (specified with -p on the remote host). If you do not specify a port, it is automatically determined after receiving the first data packet. *-4, --ipv4-only*:: Resolv to IPv4 addresses only. The default is to resolv both IPv4 and IPv6 addresses. *-6, --ipv6-only*:: Resolv to IPv6 addresses only. The default is to resolv both IPv4 and IPv6 addresses. *-R, --route '/'*:: add a route to connection. This can be invoked several times. *-m, --mux ''*:: the multiplex id to use. default: 0 *-w, --window-size ''*:: seqence window size + Sometimes, packets arrive out of order on the receiver side. This option defines the size of a list of received packets' sequence numbers. If, according to this list, a received packet has been previously received or has been transmitted in the past, and is therefore not in the list anymore, this is interpreted as a replay attack and the packet is dropped. A value of 0 deactivates this list and, as a consequence, the replay protection employed by filtering packets according to their secuence number. By default the sequence window is disabled and therefore a window size of 0 is used. *-k, --kd--prf ''*:: key derivation pseudo random function + The pseudo random function which is used for calculating the session keys and session salt. + Possible values: 'null';; no random function, keys and salt are set to 0..00 'aes-ctr';; AES in counter mode with 128 Bits, default value 'aes-ctr-128';; AES in counter mode with 128 Bits 'aes-ctr-192';; AES in counter mode with 192 Bits 'aes-ctr-256';; AES in counter mode with 256 Bits *-e, --role ''*:: SATP uses different session keys for inbound and outbound traffic. The role parameter is used to determine which keys to use for outbound or inbound packets. On both sides of a vpn connection different roles have to be used. Possible values are *left* and *right*. You may also use *alice* or *server* as a replacement for *left* and *bob* or *client* as a replacement for *right*. By default *left* is used. *-E, --passphrase ''*:: This passphrase is used to generate the master key and master salt. For the master key the last n bits of the SHA256 digest of the passphrase (where n is the length of the master key in bits) is used. The master salt gets generated with the SHA1 digest. You may force a specific key and or salt by using *--key* and *--salt*. *-K, --key ''*:: master key to use for key derivation + Master key in hexadecimal notation, e.g. 01a2b3c4d5e6f708a9b0cadbecfd0fa1, with a mandatory length of 32, 48 or 64 characters (128, 192 or 256 bits). *-A, --salt ''*:: master salt to use for key derivation + Master salt in hexadecimal notation, e.g. 01a2b3c4d5e6f708a9b0cadbecfd, with a mandatory length of 28 characters (14 bytes). EXAMPLES -------- Add a client with Connection ID (Mux) 12 and add 2 Routes to this client ------------------------------------------------------------------------------------------------ # anytun-config -w 0 -m 12 -K 0123456789ABCDEFFEDCBA9876543210 -A 0123456789ABCDDCBA9876543210 \ -R 192.0.2.0/24 -R 192.168.1.1/32 -e server >> routingtable ------------------------------------------------------------------------------------------------ BUGS ---- Most likely there are some bugs in *Anytun*. If you find a bug, please let the developers know at satp@anytun.org. Of course, patches are preferred. SEE ALSO -------- anytun(8), anytun-controld(8), anytun-showtables(8) AUTHORS ------- Othmar Gsenger Erwin Nindl Christian Pointner RESOURCES --------- Main web site: http://www.anytun.org/ COPYING ------- Copyright \(C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. anytun-0.3.5/doc/anytun-controld.8000066400000000000000000000127171240015004400170310ustar00rootroot00000000000000'\" t .\" Title: anytun-controld .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 08/26/2014 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "ANYTUN\-CONTROLD" "8" "08/26/2014" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" anytun-controld \- anycast tunneling control daemon .SH "SYNOPSIS" .sp .nf \fBanytun\-controld\fR [ \fB\-h|\-\-help\fR ] [ \fB\-D|\-\-nodaemonize\fR ] [ \fB\-u|\-\-username\fR ] [ \fB\-g|\-\-groupname\fR ] [ \fB\-C|\-\-chroot\fR ] [ \fB\-P|\-\-write\-pid\fR ] [ \fB\-L|\-\-log\fR :[,[,[\&.\&.]]] ] [ \fB\-U|\-\-debug\fR ] [ \fB\-f|\-\-file\fR ] [ \fB\-X|\-\-control\-host\fR < [:port>] | : > ] .fi .SH "DESCRIPTION" .sp \fBanytun\-controld\fR configures the multi\-connection support for \fBAnytun\fR\&. It reads a connection/routing table and outputs it via a tcp socket to all connected \fBAnytun\fR servers\&. When the control daemon is restarted with a new connection/routing table all \fBAnytun\fR servers automatically load the new configuration\&. Please make sure to protect that information as it contains the connection keys\&. .SH "OPTIONS" .PP \fB\-D, \-\-nodaemonize\fR .RS 4 This option instructs \fBanytun\-controld\fR to run in foreground instead of becoming a daemon which is the default\&. .RE .PP \fB\-u, \-\-username \fR\fB\fI\fR\fR .RS 4 run as this user\&. If no group is specified (\fB\-g\fR) the default group of the user is used\&. The default is to not drop privileges\&. .RE .PP \fB\-g, \-\-groupname \fR\fB\fI\fR\fR .RS 4 run as this group\&. If no username is specified (\fB\-u\fR) this gets ignored\&. The default is to not drop privileges\&. .RE .PP \fB\-C, \-\-chroot \fR\fB\fI\fR\fR .RS 4 Instruct \fBanytun\-controld\fR to run in a chroot jail\&. The default is to not run in chroot\&. .RE .PP \fB\-P, \-\-write\-pid \fR\fB\fI\fR\fR .RS 4 Instruct \fBanytun\-controld\fR to write it\(cqs pid to this file\&. The default is to not create a pid file\&. .RE .PP \fB\-L, \-\-log \fR\fB\fI:[,[,[\&.\&.]]]\fR\fR .RS 4 add log target to logging system\&. This can be invoked several times in order to log to different targets at the same time\&. Every target hast its own log level which is a number between 0 and 5\&. Where 0 means disabling log and 5 means debug messages are enabled\&. The file target can be used more the once with different levels\&. If no target is provided at the command line a single target with the config \fIsyslog:3,anytun\-controld,daemon\fR is added\&. The following targets are supported: .PP \fIsyslog\fR .RS 4 log to syslog daemon, parameters [,[,]] .RE .PP \fIfile\fR .RS 4 log to file, parameters [,] .RE .PP \fIstdout\fR .RS 4 log to standard output, parameters .RE .PP \fIstderr\fR .RS 4 log to standard error, parameters .RE .RE .PP \fB\-U, \-\-debug\fR .RS 4 This option instructs \fBAnytun\fR to run in debug mode\&. It implicits \fB\-D\fR (don\(cqt daemonize) and adds a log target with the configuration \fIstdout:5\fR (logging with maximum level)\&. In future releases there might be additional output when this option is supplied\&. .RE .PP \fB\-f, \-\-file \fR\fB\fI\fR\fR .RS 4 The path to the file which holds the sync information\&. .RE .PP \fB\-X, \-\-control\-host \fR\fB\fI[:]\fR\fR .RS 4 fetch the config from this host\&. The default is not to use a control host and therefore this is empty\&. Mind that the port can be omitted in which case port 2323 is used\&. If you want to specify an ipv6 address and a port you have to use [ and ] to separate the address from the port, eg\&.: [::1]:1234\&. If you want to use the default port [ and ] can be omitted\&. .RE .SH "BUGS" .sp Most likely there are some bugs in \fBAnytun\fR\&. If you find a bug, please let the developers know at satp@anytun\&.org\&. Of course, patches are preferred\&. .SH "SEE ALSO" .sp anytun(8), anytun\-config(8), anytun\-showtables(8) .SH "AUTHORS" .sp Othmar Gsenger Erwin Nindl Christian Pointner .SH "RESOURCES" .sp Main web site: http://www\&.anytun\&.org/ .SH "COPYING" .sp Copyright (C) 2007\-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner\&. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version\&. anytun-0.3.5/doc/anytun-controld.8.txt000066400000000000000000000076161240015004400176510ustar00rootroot00000000000000anytun-controld(8) ================== NAME ---- anytun-controld - anycast tunneling control daemon SYNOPSIS -------- .... anytun-controld [ -h|--help ] [ -D|--nodaemonize ] [ -u|--username ] [ -g|--groupname ] [ -C|--chroot ] [ -P|--write-pid ] [ -L|--log :[,[,[..]]] ] [ -U|--debug ] [ -f|--file ] [ -X|--control-host < [:port>] | : > ] .... DESCRIPTION ----------- *anytun-controld* configures the multi-connection support for *Anytun*. It reads a connection/routing table and outputs it via a tcp socket to all connected *Anytun* servers. When the control daemon is restarted with a new connection/routing table all *Anytun* servers automatically load the new configuration. Please make sure to protect that information as it contains the connection keys. OPTIONS ------- *-D, --nodaemonize*:: This option instructs *anytun-controld* to run in foreground instead of becoming a daemon which is the default. *-u, --username ''*:: run as this user. If no group is specified (*-g*) the default group of the user is used. The default is to not drop privileges. *-g, --groupname ''*:: run as this group. If no username is specified (*-u*) this gets ignored. The default is to not drop privileges. *-C, --chroot ''*:: Instruct *anytun-controld* to run in a chroot jail. The default is to not run in chroot. *-P, --write-pid ''*:: Instruct *anytun-controld* to write it's pid to this file. The default is to not create a pid file. *-L, --log ':[,[,[..]]]'*:: add log target to logging system. This can be invoked several times in order to log to different targets at the same time. Every target hast its own log level which is a number between 0 and 5. Where 0 means disabling log and 5 means debug messages are enabled. + The file target can be used more the once with different levels. If no target is provided at the command line a single target with the config 'syslog:3,anytun-controld,daemon' is added. + The following targets are supported: 'syslog';; log to syslog daemon, parameters [,[,]] 'file';; log to file, parameters [,] 'stdout';; log to standard output, parameters 'stderr';; log to standard error, parameters *-U, --debug*:: This option instructs *Anytun* to run in debug mode. It implicits *-D* (don't daemonize) and adds a log target with the configuration 'stdout:5' (logging with maximum level). In future releases there might be additional output when this option is supplied. *-f, --file ''*:: The path to the file which holds the sync information. *-X, --control-host '[:]'*:: fetch the config from this host. The default is not to use a control host and therefore this is empty. Mind that the port can be omitted in which case port 2323 is used. If you want to specify an ipv6 address and a port you have to use [ and ] to separate the address from the port, eg.: [::1]:1234. If you want to use the default port [ and ] can be omitted. BUGS ---- Most likely there are some bugs in *Anytun*. If you find a bug, please let the developers know at satp@anytun.org. Of course, patches are preferred. SEE ALSO -------- anytun(8), anytun-config(8), anytun-showtables(8) AUTHORS ------- Othmar Gsenger Erwin Nindl Christian Pointner RESOURCES --------- Main web site: http://www.anytun.org/ COPYING ------- Copyright \(C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. anytun-0.3.5/doc/anytun-showtables.8000066400000000000000000000054751240015004400173630ustar00rootroot00000000000000'\" t .\" Title: anytun-showtables .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 08/26/2014 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "ANYTUN\-SHOWTABLES" "8" "08/26/2014" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" anytun-showtables \- anycast tunneling routing table visualization utility .SH "SYNOPSIS" .sp .nf \fBanytun\-showtables\fR .fi .SH "DESCRIPTION" .sp \fBanytun\-showtables\fR displays routing and connection tables used by \fBAnytun\fR\&. It can be used to display a saved routing/connection table used by \fBanytun\-controld\fR or to connect to a the sync port of \fBAnytun\fR\&. .SH "OPTIONS" .sp This Tool does not take any options\&. It takes the sync information from the standard input and prints the routing table to the standard output\&. .SH "EXAMPLES" .sp Print routing table stored in local file .sp .if n \{\ .RS 4 .\} .nf # perl \-ne \*(Aqchomp; print\*(Aq < routingtable | \&./anytun\-showtables .fi .if n \{\ .RE .\} .sp Print current routing table and watch changes .sp .if n \{\ .RS 4 .\} .nf # nc unicast1\&.anycast\&.anytun\&.org 23 | \&./anytun\-showtables .fi .if n \{\ .RE .\} .SH "BUGS" .sp Most likely there are some bugs in \fBAnytun\fR\&. If you find a bug, please let the developers know at satp@anytun\&.org\&. Of course, patches are preferred\&. .SH "SEE ALSO" .sp anytun(8), anytun\-controld(8), anytun\-config(8) .SH "AUTHORS" .sp Othmar Gsenger Erwin Nindl Christian Pointner .SH "RESOURCES" .sp Main web site: http://www\&.anytun\&.org/ .SH "COPYING" .sp Copyright (C) 2007\-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner\&. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version\&. anytun-0.3.5/doc/anytun-showtables.8.txt000066400000000000000000000035361240015004400201750ustar00rootroot00000000000000anytun-showtables(8) ==================== NAME ---- anytun-showtables - anycast tunneling routing table visualization utility SYNOPSIS -------- .... anytun-showtables .... DESCRIPTION ----------- *anytun-showtables* displays routing and connection tables used by *Anytun*. It can be used to display a saved routing/connection table used by *anytun-controld* or to connect to a the sync port of *Anytun*. OPTIONS ------- This Tool does not take any options. It takes the sync information from the standard input and prints the routing table to the standard output. EXAMPLES -------- Print routing table stored in local file ----------------------------------------------------------------------------------- # perl -ne 'chomp; print' < routingtable | ./anytun-showtables ----------------------------------------------------------------------------------- Print current routing table and watch changes ----------------------------------------------------------------------------------- # nc unicast1.anycast.anytun.org 23 | ./anytun-showtables ----------------------------------------------------------------------------------- BUGS ---- Most likely there are some bugs in *Anytun*. If you find a bug, please let the developers know at satp@anytun.org. Of course, patches are preferred. SEE ALSO -------- anytun(8), anytun-controld(8), anytun-config(8) AUTHORS ------- Othmar Gsenger Erwin Nindl Christian Pointner RESOURCES --------- Main web site: http://www.anytun.org/ COPYING ------- Copyright \(C) 2007-2014 Markus Grüneis, Othmar Gsenger, Erwin Nindl and Christian Pointner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. anytun-0.3.5/doc/anytun.8000066400000000000000000000415701240015004400152060ustar00rootroot00000000000000'\" t .\" Title: anytun .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 08/26/2014 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "ANYTUN" "8" "08/26/2014" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" anytun \- anycast tunneling daemon .SH "SYNOPSIS" .sp .nf \fBanytun\fR [ \fB\-h|\-\-help\fR ] [ \fB\-D|\-\-nodaemonize\fR ] [ \fB\-u|\-\-username\fR ] [ \fB\-g|\-\-groupname\fR ] [ \fB\-C|\-\-chroot\fR ] [ \fB\-P|\-\-write\-pid\fR ] [ \fB\-L|\-\-log\fR :[,[,[\&.\&.]]] ] [ \fB\-U|\-\-debug\fR ] [ \fB\-i|\-\-interface\fR ] [ \fB\-p|\-\-port\fR ] [ \fB\-r|\-\-remote\-host\fR ] [ \fB\-o|\-\-remote\-port\fR ] [ \fB\-4|\-\-ipv4\-only\fR ] [ \fB\-6|\-\-ipv6\-only\fR ] [ \fB\-I|\-\-sync\-interface\fR ] [ \fB\-S|\-\-sync\-port\fR port> ] [ \fB\-M|\-\-sync\-hosts\fR [:][,[:][\&.\&.\&.]] ] [ \fB\-X|\-\-control\-host\fR [:] [ \fB\-d|\-\-dev\fR ] [ \fB\-t|\-\-type\fR ] [ \fB\-n|\-\-ifconfig\fR / ] [ \fB\-x|\-\-post\-up\-script\fR