├── .github └── workflows │ ├── codeql.yml │ └── geodata.yml ├── .gitignore ├── LICENCE ├── README.md ├── V2RayGen.py ├── XRayAgent.py ├── contents ├── content1.png ├── content2.png ├── content3.png └── content4.png ├── geodata ├── IranIPs.txt ├── ads.txt ├── clash_rules.yaml ├── iran.dat └── qv2ray-client.json └── utils └── geodata.py /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- 1 | # For most projects, this workflow file will not need changing; you simply need 2 | # to commit it to your repository. 3 | # 4 | # You may wish to alter this file to override the set of languages analyzed, 5 | # or to provide custom queries or build logic. 6 | # 7 | # ******** NOTE ******** 8 | # We have attempted to detect the languages in your repository. Please check 9 | # the `language` matrix defined below to confirm you have the correct set of 10 | # supported CodeQL languages. 11 | # 12 | name: "CodeQL" 13 | 14 | on: 15 | push: 16 | branches: [ "main" ] 17 | pull_request: 18 | # The branches below must be a subset of the branches above 19 | branches: [ "main" ] 20 | schedule: 21 | - cron: '19 18 * * 4' 22 | 23 | jobs: 24 | analyze: 25 | name: Analyze 26 | runs-on: ubuntu-latest 27 | permissions: 28 | actions: read 29 | contents: read 30 | security-events: write 31 | 32 | strategy: 33 | fail-fast: false 34 | matrix: 35 | language: [ 'python' ] 36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] 37 | # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support 38 | 39 | steps: 40 | - name: Checkout repository 41 | uses: actions/checkout@v3 42 | 43 | # Initializes the CodeQL tools for scanning. 44 | - name: Initialize CodeQL 45 | uses: github/codeql-action/init@v2 46 | with: 47 | languages: ${{ matrix.language }} 48 | # If you wish to specify custom queries, you can do so here or in a config file. 49 | # By default, queries listed here will override any specified in a config file. 50 | # Prefix the list here with "+" to use these queries and those in the config file. 51 | 52 | # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs 53 | # queries: security-extended,security-and-quality 54 | 55 | 56 | # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). 57 | # If this step fails, then you should remove it and run the build manually (see below) 58 | - name: Autobuild 59 | uses: github/codeql-action/autobuild@v2 60 | 61 | # ℹ️ Command-line programs to run using the OS shell. 62 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun 63 | 64 | # If the Autobuild fails above, remove it and uncomment the following three lines. 65 | # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. 66 | 67 | # - run: | 68 | # echo "Run, Build Application using script" 69 | # ./location_of_script_within_repo/buildscript.sh 70 | 71 | - name: Perform CodeQL Analysis 72 | uses: github/codeql-action/analyze@v2 73 | with: 74 | category: "/language:${{matrix.language}}" 75 | -------------------------------------------------------------------------------- /.github/workflows/geodata.yml: -------------------------------------------------------------------------------- 1 | name: Geodata 2 | 3 | on: 4 | schedule: 5 | - cron: "0 0 * * 0" 6 | workflow_dispatch: 7 | 8 | permissions: 9 | contents: write 10 | # packages: write 11 | # issues: write 12 | 13 | jobs: 14 | fetch: 15 | name: Build Geodata 16 | runs-on: ubuntu-latest 17 | 18 | steps: 19 | - uses: actions/checkout@v3 20 | - name: Set up Python 21 | uses: actions/setup-python@v2 22 | with: 23 | python-version: "3.10.9" 24 | 25 | - name: Setup Go 26 | uses: actions/setup-go@v3 27 | with: 28 | go-version: 1.21 29 | 30 | - name: Run python program 31 | run: | 32 | python utils/geodata.py raw 33 | python utils/geodata.py qv2ray 34 | python utils/geodata.py clash 35 | 36 | - name: Create .dat file 37 | run: | 38 | git clone https://github.com/v2fly/domain-list-community 39 | rm -rf domain-list-community/data/* 40 | 41 | cp geodata/IranIPs.txt domain-list-community/data/ir 42 | cp ads.txt domain-list-community/data/ads 43 | cd domain-list-community 44 | 45 | go run ./ --outputdir=../out 46 | cd ../out 47 | 48 | mv dlc.dat iran.dat 49 | mv iran.dat ../ 50 | cd ../ 51 | 52 | rm -rf domain-list-community 53 | mv *.dat *.txt *.json *.yaml geodata 54 | 55 | - uses: stefanzweifel/git-auto-commit-action@v4 56 | with: 57 | commit_message: Updated geodata 58 | file_pattern: "geodata/*.dat geodata/*.txt geodata/*.json geodata/*.yaml" 59 | repository: . 60 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Distribution / packaging 2 | .Python 3 | build/ 4 | develop-eggs/ 5 | dist/ 6 | downloads/ 7 | eggs/ 8 | .eggs/ 9 | lib/ 10 | lib64/ 11 | parts/ 12 | sdist/ 13 | var/ 14 | wheels/ 15 | pip-wheel-metadata/ 16 | share/python-wheels/ 17 | *.egg-info/ 18 | .installed.cfg 19 | *.egg 20 | MANIFEST 21 | 22 | # PyInstaller 23 | # Usually these files are written by a python script from a template 24 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 25 | *.manifest 26 | *.spec 27 | 28 | # Installer logs 29 | pip-log.txt 30 | pip-delete-this-directory.txt 31 | 32 | # Sphinx documentation 33 | docs/_build/ 34 | 35 | # PyBuilder 36 | target/ 37 | 38 | # pipenv 39 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 40 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 41 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 42 | # install all needed dependencies. 43 | #Pipfile.lock 44 | 45 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 46 | __pypackages__/ 47 | 48 | # Environments 49 | .env 50 | .venv 51 | env/ 52 | venv/ 53 | ENV/ 54 | env.bak/ 55 | venv.bak/ 56 | 57 | # Pyre type checker 58 | .pyre/ -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

XRayGen 2 | 3 | [![Contributors][contributors-shield]][contributors-url] 4 | [![Forks][forks-shield]][forks-url] 5 | [![Stargazers][stars-shield]][stars-url] 6 | [![Issues][issues-shield]][issues-url] 7 | [![Telegram][telegram-shield]][telegram-url] 8 | 9 |

10 | 11 |

V2RayGen/XRayGen: A Fast and Automated Script for XRay/V2Ray Server Setup

12 | 13 | [**Usage**](#usage) 14 | 15 | [**Quick Setup**](#quicksetup) 16 | 17 | [**Examples**](#examples) 18 | 19 | [**Options**](#options) 20 | 21 | [**Block List**](#blocklist) 22 | 23 | [**License**](#license) 24 | 25 | [**Donate Me**](#donateme) 26 | 27 | ## **Prerequisites & Dependencies** 28 | 29 | - `Python3` 30 | - `Docker` 31 | - `Docker Compose` 32 |

If your server lacks Docker and Docker-Compose, the script will install them and launch XRay-Core automatically.

33 | 34 | use **sudo** if your current user is not in the docker group or you don't have docker installed 35 | 36 | ## **How Does XRayGen Work?** 37 | 38 |

XRayGen uses Docker to retrieve the xray-core image from the Docker registry. It then generates a configuration file to launch the XRay container. 39 | 40 | A client-side configuration file is also created for use with XRay-core or V2Ray-core. 41 | 42 | The XRayAgent provides user management for XRay configuration, offering CRUD operations.

43 | 44 | ## **Usage** 45 | 46 | `curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | python3 - -h` 47 | 48 | ![Sample](contents/content1.png) 49 | 50 |
51 | 52 | ## **QuickSetup** 53 | 54 | You can use one of the following protocols for installation and change its settings according to your needs. 55 | 56 | | Protoctol | Argument | 57 | | ------------------- | -------------------- | 58 | | VMESS WS | --vmess | 59 | | VMESS WS TLS | --vmess --tls | 60 | | VMESS TCP | --vmess --tcp | 61 | | VMESS TCP TLS | --vmess --tcp --tls | 62 | | VLESS WS TLS | --vless | 63 | | VLESS TCP TLS | --vless --tcp | 64 | | VLESS TCP XTLS | --vless --tcp --xtls | 65 | | TROJAN WS TLS | --trojan | 66 | | TROJAN TCP TLS | --trojan --tcp | 67 | | TROJAN TCP XTLS | --trojan --xtls | 68 | | ShadowSocks TCP | --shadowsocks | 69 | | ShadowSocks TCP TLS | --shadowsocks --tls | 70 | 71 | ### **Quick `Xray` Setup with Default Setting** : 72 | 73 | ```bash 74 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess 75 | ``` 76 | 77 | OR 78 | 79 | ```bash 80 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py --output V2RayGen.py 81 | sudo python3 V2RayGen.py --vmess 82 | ``` 83 | 84 | ![Sample](contents/content3.png) 85 | 86 |

Use the provided link for your client, or use the client-side JSON configuration with XRay-Core or V2Ray-Core. If your server is on a domain, simply change the IP to your domain or subdomain after importing the link to your V2Ray client.

87 | 88 | # **Examples** 89 | 90 | **Setup XRAY / ShadowSocks :** 91 | 92 | VLESS : 93 | 94 | ```bash 95 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vless 96 | ``` 97 | 98 | VMESS + TLS with blocking option : 99 | 100 | ```bash 101 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess --tls --block 102 | ``` 103 | 104 | VMESS + TLS with blocking iranian domains and IPs option : 105 | 106 | ```bash 107 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess --tls --blockir 108 | ``` 109 | 110 | VMESS + Changing client-side HTTP and SOCKS port : 111 | 112 | ```bash 113 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess --chttp 4020 --csocks 8080 114 | ``` 115 | 116 | VMESS + TCP Network Stream : 117 | 118 | ```bash 119 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess --tcp 120 | ``` 121 | 122 | VMESS + TCP Network Stream + TLS and QRCode : 123 | 124 | ```bash 125 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vmess --tcp --tls --qrcode 126 | ``` 127 | 128 | VLESS + Using Google DNS : 129 | 130 | ```bash 131 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vless --dns google 132 | ``` 133 | 134 | VLESS + TCP + XTLS : 135 | 136 | ```bash 137 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --vless --tcp --xtls 138 | ``` 139 | 140 | ShadowSocks + adding shadowsocks port to server : 141 | 142 | ```bash 143 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | sudo python3 - --shadowsocks --firewall 144 | ``` 145 | 146 | **Parsing Configuration :** 147 | 148 | Parse & reading Configuration file : 149 | 150 | ```bash 151 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | python3 - --parseconfig config.json 152 | ``` 153 | 154 | Parse URL and read information : 155 | 156 | ```bash 157 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py | python3 - --parse vmess://eyJhZGQiOiIxMjcuMC4wLjEiLCJhaWQiOiIwIiwiaG9zdCI6IiIsImlkIjoiM2JlNjE2NzktOGQzOC00ZWJiLWJjOGItMTQ4ZjE0ZWY5ZTc3IiwibmV0Ijoid3MiLCJwYXRoIjoiL2dyYXBocWwiLCJwb3J0IjoiNDQzIiwicHMiOiJ4cmF5IiwidGxzIjoidGxzIiwidHlwZSI6Im5vbmUiLCJ2IjoiMiIgfQ== 158 | ``` 159 | 160 | --- 161 | 162 | # **XRayAgent** 163 | 164 | XRayAgent is a Simple User Management for XRay Configuration 165 | 166 | ### Download Script & Run With Python3: 167 | 168 | ```bash 169 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/V2RayGen.py --output /tmp/v.py && python3 /tmp/v.py --agent 170 | ``` 171 | 172 | OR 173 | 174 | ```bash 175 | curl https://raw.githubusercontent.com/SonyaCore/V2RayGen/main/XRayAgent.py --output XRayAgent.py 176 | python3 XRayAgent.py 177 | ``` 178 | 179 | > By default it loads `config.json` for loading configuration 180 | 181 | > For loading other configuration simply enter the name of the configuration after XRayAgent.py : 182 | 183 | ```bash 184 | python3 XRayAgent.py config.json 185 | ``` 186 | 187 | ## XRayAgent Commands : 188 | 189 | ```python3 190 | add, adduser Adding user 191 | update, updateuser Update existing user with their index ID 192 | del, deluser Delete existing user with ther index ID 193 | users, listusers List of users 194 | 195 | deliptables, deleteiptables Delete rules on server-side port 196 | climit , conlimit Add IP limitations on server-side port 197 | 198 | p, port Change server side port 199 | h, help Get help 200 | v, version Get version of program 201 | q, quit Exit program 202 | ``` 203 | 204 | after adding an user a index will be created for that user for example : 205 | 206 | ```bash 207 | Index : 0 {'id': '25ad6df8-9a54-4f6e-8c44-d5685359a7ce', 'level': 0, 'email': 'example@example.com'} 208 | Index : 1 {'id': '62bf2d5d-766b-4281-963a-544449a26b4f', 'level': 0, 'email': 'cLkx4WC0@protonmail.com'} 209 | ``` 210 | 211 | and now you can update that user with ther index ID : 212 | 213 | ```python3 214 | cmd > : update 1 215 | Index 1 Selected 216 | Leave the section empty if you don't want to modify that section 217 | New Email : test@gmail.com 218 | New ID : 62bf2d5d-766b-4281-963a-544449a26b4f 219 | Index 1 Updated 220 | vless://62bf2d5d-766b-4281-963a-544449a26b4f@127.0.0.1:443?path=/graphql&security=tls&encryption=none&type=ws#xray 221 | ``` 222 | 223 | > Use Index ID for `update` , `del` 224 | 225 | > For Showing list of Users and their Indexs use `users` or `listusers` command 226 | 227 |
228 | 229 | ### IPTABLES Section : 230 | 231 | using `climit` or `conlimit` limits the total connection ips on server side port 232 | 233 | for deleting the all rules on server side port use `deliptables` or `deleteiptables` 234 | 235 | --- 236 | 237 | # **Options** 238 | 239 | you can change server-side configuration with this options 240 | 241 | ## Server Side 242 | 243 | ### Protocols 244 | 245 | `vmess` Creating vmess with default options. 246 | 247 | `vless` Creating VLess with default options. 248 | 249 | `shadowsocks` Creating ShadowSocks with default options. 250 | 251 | > you can combine arguments with default options to change the behavior of your configuration for example : 252 | > 253 | > --vmess --port 8080 --tls --tcp --linkname TESTSERVER 254 | > 255 | > this will create a vmess with port 8080 and self-signed tls , then gives a link with TESTSERVER name 256 | 257 | ### Log & DNS Settings: 258 | 259 | `dns` for using custom dns instead system's default dns configuration. 260 | 261 | List of loglevels : 262 | 263 | ``` 264 | debug : Information for developers. All "Info" included. 265 | 266 | info : Running stats of XRay,no effect for the functions. All "Warning" 267 | included. 268 | 269 | warning : usually some external problem that does not affect V2Ray but possibly the user experience. 270 | 271 | error : XRay encountered a problem that needs to be resolved immediately. 272 | 273 | none : Nothing will be printed. 274 | ``` 275 | 276 | > ex : 277 | > 278 | > --loglevel debug will set your logging level to debug mode 279 | > 280 | > logs will be printed on your container docker. you can view the logs with `docker logs ` 281 | 282 | **Supported DNS providers:** 283 | 284 | > list of avaliable dns's. 285 | > 286 | > ex : --dns google will set your server side configuration dns to google 287 | 288 | | DNS | 289 | | ---------- | 290 | | google | 291 | | cloudflare | 292 | | opendns | 293 | | quad9 | 294 | | adguard | 295 | 296 | > https://www.v2ray.com/en/configuration/dns.html 297 | 298 | ### Routing Options 299 | 300 | `block` for adding blocking Bittorrent and Ads. 301 | 302 | `blockir` for Blocking Bittorrent, Ads and Iranian IPs in routing configuration. 303 | 304 | > The routing function module can send inbound data through different outbound connections according to different rules, so as to achieve the purpose of on-demand proxy. 305 | 306 | > For example, the common usage is to divert domestic and foreign traffic, Xray can judge the traffic in different regions through the internal mechanism, and then send them to different outbound proxies. 307 | 308 | > https://xtls.github.io/config/routing.html#routingobject 309 | 310 | ### Inbounds 311 | 312 | `tls` Using TLS in specified protocol 313 | 314 | > tls option can be used for any v2ray protocol for example : 315 | > 316 | > --vmess --tls will create a vmess with self-signed tls 317 | > 318 | > `it's important to enable allow insecure tls on your client` 319 | 320 | `xtls` Using XTLS in specified protocol 321 | 322 | > XTLS only supports (TCP, mKCP) so by default when you use --xtls argument tcp mode is being used for vless 323 | > 324 | > also xtls doesn't support vmess protocol 325 | 326 | `port` for changing configuration port. 327 | 328 | > if you want your v2ray to be listening on a different port use this option 329 | 330 | `uuid` for using custom uuid configuration. 331 | 332 | > by default random uuid will be generated. use this option if you want to have a custom uuid or existing uuid configuration 333 | > 334 | > ex : --uuid ca33b7a2-26d6-47b1-a3c4-471425d868b9 335 | 336 | `id` custom alterID. 337 | 338 | `insecure`, Disable Insecure Encryption. [deprecated] 339 | 340 | ### Stream Settings: 341 | 342 | stream settings is the network type of the stream transport. and by default this script will use websocket for using it with nginx and cdn 343 | 344 | `tcp` Using TCP network stream. 345 | 346 | `wspath` Changing default WebSocket path configuration. 347 | 348 | > default web socket path is /graphql change it with this option. 349 | > 350 | > ex : 351 | > 352 | > --wspath /myservice 353 | 354 | `header` Using custom header obfuscation configuration. 355 | 356 | > `Make sure your header file look like the below JSON` : 357 | 358 | ``` 359 | { 360 | "header": { 361 | "type": "http", 362 | "response": { 363 | "version": "1.1", 364 | "status": "200", 365 | "reason": "OK", 366 | "headers": { 367 | "Content-Type": [ 368 | "application/octet-stream", 369 | "application/x-msdownload", 370 | "text/html", 371 | "application/x-shockwave-flash" 372 | ], 373 | "Transfer-Encoding": ["chunked"], 374 | "Connection": ["keep-alive"], 375 | "Pragma": "no-cache" 376 | } 377 | } 378 | } 379 | } 380 | ``` 381 | 382 | > header argument is useful when needing another http request configuration you can pass your http request configuration with this option. 383 | > 384 | > --header request.json 385 | 386 | > Visit below site for HTTPRequest Object : 387 | > https://www.v2ray.com/en/configuration/transport/tcp.html#httprequestobject 388 | 389 | `linkname` for changing linkname after generating configuration. 390 | 391 | #### Link formats : 392 | 393 | ##### `VMess` : 394 | 395 | ```json 396 | vmess://{"add":"ip / domain ","aid":"alterid","host":"","id":"random-uuid","net":"ws","path":"websocket-path","port":"80","ps":"linkname","tls":"","type":"none","v":"2" } 397 | ``` 398 | 399 | ##### `VLess` : 400 | 401 | ```json 402 | vless://random-uuid@ip:port?path=websocketpath&security=type&encryption=none&type=ws#linkname 403 | ``` 404 | 405 | ##### `Trojan` : 406 | 407 | ```json 408 | trojan://password@ip:port?allowInsecure=insecure&security=&type=networkstream#linkname 409 | ``` 410 | 411 | ##### `ShadowSocks` : 412 | 413 | ```json 414 | ss://shadowsocks-security-method:random-uuid@domain/ip :port 415 | ``` 416 | 417 | ## Client Side 418 | 419 | after generating the configuration with desired protocol client-side configuration is also generated as well 420 | 421 | you can use client-side configuration directly with xray-core or v2ray-core 422 | 423 | `security` security method for client-side configuration. 424 | 425 | List of security methods : 426 | 427 | - `aes-128-gcm` 428 | - `chacha20-poly1305` 429 | - `auto` 430 | - `none` 431 | - `zero` 432 | 433 | `csocks` client-side SOCKS port . default: [10808] 434 | 435 | `chttp` client-side HTTP port . default: [10809] 436 | 437 | `qrcode` Generate QRCode for generated link. 438 | 439 | > if you want to import your configuration with qrcode use this argument. 440 | 441 | ## ShadowSocks 442 | 443 | shadowsocks are loaded with xray docker container and it uses tcp stream for passing traffic 444 | 445 | `sspass` set password for shadowsocks configuration file. by default, it uses a random password 446 | 447 | `ssmethod` Set cipher method for ShadowSocks . default cipher method is `2022-blake3-chacha20-poly1305` to provide better security hence it's only usable in xray-core. for using shadowsocks with v2ray core use one of the below cipher methods : 448 | 449 | V2Ray Cipher methods : 450 | 451 | - `2022-blake3-chacha20-poly1305` 452 | - `2022-blake3-aes-256-gcm` 453 | - `2022-blake3-aes-128-gcm` 454 | 455 | XRay Cipher methods : 456 | 457 | - `2022-blake3-chacha20-poly1305` 458 | - `2022-blake3-aes-256-gcm` 459 | - `2022-blake3-aes-128-gcm` 460 | - `xchacha20-ietf-poly1305` 461 | 462 | --- 463 | 464 | ## Parsing Configuration 465 | 466 | for parsing existed configuration or decoding vmess url use below options : 467 | 468 | `parse` for parsing encoded link. supported formats are [vmess://,ss://] 469 | 470 | `parseconfig` for reading the configuration file and parsing information 471 | 472 | > `--parseconfig config.json` will show the information of the configuration and generate a QR code for that 473 | 474 | --- 475 | 476 | ## **Block List** 477 | 478 | Block lists are files that can be used in V2Ray clients that allow users to block or direct individual connections. These lists can be used to blacklist specific IP addresses or domains, or to whitelist trusted ones. 479 | 480 | In some countries, such as Iran, authorities actively try to block access to VPN services by monitoring requests sent from foreign IP addresses to local servers. When such requests are detected, the associated IP addresses are added to a blacklist, effectively blocking access to VPNs. As a result, users in these countries may need to disable their VPN connection in order to access local websites without issue. Block lists can help circumvent these restrictions by allowing users to selectively block or redirect certain connections, thereby avoiding detection by authorities. 481 | 482 | This files are avaliable under [geodata][geodata] directory 483 | 484 | ### Block List Sources 485 | 486 | The ads list is provided by the [PersianBlocker](https://github.com/MasterKia/PersianBlocker) list. 487 | 488 | The iraninan CIDR is provided by the [IP2Location]() site. 489 | 490 | --- 491 | 492 | ## DonateMe 493 | 494 | If this Project helped you, you can also help me by donation 495 | 496 | ### ![tron-button]   TTTo7aasobgqH5pKouCJfmPYn2KLed2RA3 497 | 498 | ### ![bitcoin-button]   bc1qgdav05s04qx99mdveuvdt76jauttcwdq687pc8 499 | 500 | ### ![ethereum-button]   0xD17dF52790f5D6Bf0b29151c7ABC4FFC4056f937 501 | 502 | ### ![tether-button]   0xD17dF52790f5D6Bf0b29151c7ABC4FFC4056f937 503 | 504 | ## License 505 | 506 | Licensed under the [GPL-3][license] license. 507 | 508 | 509 | 510 | 511 | [tron-button]: https://img.shields.io/badge/TRX-Tron-ff69b4 512 | [tether-button]: https://img.shields.io/badge/ERC20-Tether-purple 513 | [bitcoin-button]: https://img.shields.io/badge/BTC-Bitcoin-orange 514 | [ethereum-button]: https://img.shields.io/badge/ETH-Ethereum-blue 515 | [contributors-shield]: https://img.shields.io/github/contributors/SonyaCore/V2RayGen?style=flat 516 | [contributors-url]: https://github.com/SonyaCore/V2RayGen/graphs/contributors 517 | [forks-shield]: https://img.shields.io/github/forks/SonyaCore/V2RayGen?style=flat 518 | [forks-url]: https://github.com/SonyaCore/V2RayGen/network/members 519 | [stars-shield]: https://img.shields.io/github/stars/SonyaCore/V2RayGen?style=flat 520 | [stars-url]: https://github.com/SonyaCore/V2RayGen/stargazers 521 | [issues-shield]: https://img.shields.io/github/issues/SonyaCore/V2RayGen?style=flat 522 | [issues-url]: https://github.com/SonyaCore/V2RayGen/issues 523 | [telegram-shield]: https://img.shields.io/badge/Telegram-blue.svg?style=flat&logo=telegram 524 | [telegram-url]: https://t.me/ReiNotes 525 | [license]: LICENCE 526 | [geodata]: geodata 527 | -------------------------------------------------------------------------------- /XRayAgent.py: -------------------------------------------------------------------------------- 1 | # !/usr/bin/env python3 2 | 3 | # XRay Agent 4 | # ------------------------------------------ 5 | # Author : SonyaCore 6 | # Github : https://github.com/SonyaCore 7 | # Licence : https://www.gnu.org/licenses/gpl-3.0.en.html 8 | 9 | import os 10 | import sys 11 | import subprocess 12 | import time 13 | import uuid 14 | import json 15 | import random 16 | import string 17 | import re 18 | import signal 19 | import base64 20 | import socket 21 | import platform 22 | from urllib.request import urlopen, Request 23 | from urllib.error import HTTPError, URLError 24 | from http.client import RemoteDisconnected 25 | from binascii import Error 26 | 27 | # -------------------------------- Constants --------------------------------- # 28 | 29 | VERSION = "1.1.3" 30 | 31 | # UUID Generation 32 | # UUID = uuid.uuid4() 33 | 34 | # Name 35 | NAME = "XRayAgent" 36 | 37 | MIN_PORT = 0 38 | MAX_PORT = 65535 39 | 40 | IPTABLE = "/sbin/iptables" 41 | 42 | # -------------------------------- Help --------------------------------- # 43 | 44 | def signal_handler(sig, frame): 45 | print(error + "\nKeyboardInterrupt!") 46 | sys.exit(0) 47 | 48 | 49 | signal.signal(signal.SIGINT, signal_handler) 50 | 51 | # Banner 52 | def banner(t=0.0005): 53 | data = f"""{green} 54 | __ _______ _ 55 | \ \ / / __ \ /\ | | 56 | \ V /| |__) |__ _ _ _ / \ __ _ ___ _ __ | |_ 57 | > < | _ // _` | | | | / /\ \ / _` |/ _ \ '_ \| __| 58 | / . \| | \ \ (_| | |_| |/ ____ \ (_| | __/ | | | |_ 59 | /_/ \_\_| \_\__,_|\__, /_/ \_\__, |\___|_| |_|\__| 60 | __/ | __/ | 61 | |___/ |___/ 62 | 63 | {reset}""" 64 | for char in data: 65 | sys.stdout.write(char) 66 | time.sleep(t) 67 | sys.stdout.write("\n") 68 | 69 | 70 | def help(): 71 | exec_name = sys.argv[0] 72 | help_message = ( 73 | "{0} [options]\n" 74 | " {color}USER Management :\n{res}" 75 | " {add:<40} Add user\n" 76 | " {update:<40} Update existing user\n" 77 | " {delete:<40} Delete existing user\n" 78 | " {users:<40} List of users\n" 79 | "\n" 80 | " {color}IPTables :\n{res}" 81 | " {deltable:<40} Delete rules on server-side port\n" 82 | " {cil:<40} Add IP limitations on server-side port\n" 83 | "\n" 84 | " {p:<40} Change server side port\n" 85 | " {h:<40} Get help\n" 86 | " {v:<40} Get version\n" 87 | " {q:<40} Exit program\n" 88 | ).format( 89 | exec_name[exec_name.rfind("/") + 1 :], 90 | add="add, adduser", 91 | update="update, updateuser", 92 | delete="del, deluser", 93 | users="users, listusers", 94 | deltable="deliptables, deleteiptables", 95 | cil="climit , conlimit", 96 | p="p, port", 97 | h="h, help", 98 | v="v, version", 99 | q="q, quit", 100 | color= blue, 101 | res = reset, 102 | ) 103 | print(help_message) 104 | 105 | 106 | # -------------------------------- Helper Functions --------------------------------- # 107 | 108 | def base_error(err): 109 | return print(error + "ERROR : " + reset + str(err)) 110 | 111 | 112 | def warn(msg): 113 | return yellow + str(msg) + reset 114 | 115 | 116 | def info(msg): 117 | return green + str(msg) + reset 118 | 119 | 120 | def docker_compose_state(): 121 | global DOCKER_COMPOSE, DOCKER_COMPOSE_IS_UP 122 | 123 | if os.getenv('Production') == 'true': 124 | DOCKER_COMPOSE = False 125 | DOCKER_COMPOSE_IS_UP = error + "OFF" 126 | elif os.path.exists("/usr/bin/docker-compose") or os.path.exists( 127 | "/usr/local/bin/docker-compose" 128 | ): 129 | DOCKER_COMPOSE = True 130 | DOCKER_COMPOSE_IS_UP = green + "ON" 131 | else: 132 | DOCKER_COMPOSE = False 133 | DOCKER_COMPOSE_IS_UP = error + "OFF" 134 | 135 | print(green + f"Docker Compose : {DOCKER_COMPOSE_IS_UP}" + reset) 136 | 137 | 138 | def reset_docker_compose(): 139 | subprocess.run( 140 | f"docker-compose restart", 141 | shell=True, 142 | check=True, 143 | stdout=subprocess.DEVNULL, 144 | stderr=subprocess.DEVNULL, 145 | ) 146 | 147 | 148 | def load_config(): 149 | global config 150 | try: 151 | config = sys.argv[1] 152 | except IndexError: 153 | config = "config.json" 154 | try: 155 | with open(config, "r") as configfile: 156 | configfile.read() 157 | except FileNotFoundError: 158 | sys.exit(error + "Could not load config file: " + reset + config) 159 | 160 | print(green + "Loaded Config : " + reset + config) 161 | 162 | 163 | def check_permissions(path: str) -> bool: 164 | read_write = os.access(path, os.R_OK | os.W_OK) 165 | if read_write == True: 166 | pass 167 | else: 168 | sys.exit(base_error(f"Permission denied: '{path}'")) 169 | 170 | 171 | def read_config(config): 172 | with open(config, "r") as configfile: 173 | return json.loads(configfile.read()) 174 | 175 | def read_port(config): 176 | data = read_config(config) 177 | port = data["inbounds"][0]["port"] 178 | return port 179 | 180 | def save_config(config, data): 181 | with open(config, "w") as file: 182 | json.dump(data, file, indent=2) 183 | 184 | if DOCKER_COMPOSE == True: 185 | reset_docker_compose() 186 | 187 | 188 | def read_protocol(config): 189 | data = read_config(config) 190 | 191 | try : 192 | protocol = data["inbounds"][0]["protocol"] 193 | except KeyError : 194 | protocol = base_error("UNSUPORTED PROTOCOL") 195 | sys.exit(1) 196 | 197 | port = data["inbounds"][0]["port"] 198 | print(green + "Protocol : " + reset + protocol) 199 | print(green + "PORT : " + reset + str(port)) 200 | 201 | 202 | def random_uuid(): 203 | return uuid.uuid4() 204 | 205 | def show_version(): 206 | print(blue + NAME + " " + VERSION) 207 | 208 | 209 | def clear_screen(): 210 | if os.name == "posix": 211 | os.system("clear") 212 | elif os.name == "nt": 213 | os.system("cls") 214 | 215 | 216 | # Return IP 217 | def IP(): 218 | """ 219 | return actual IP of the server. 220 | if there are multiple interfaces with private IP the public IP will be used for the config 221 | """ 222 | try: 223 | url = "http://ip-api.com/json/?fields=query" 224 | httprequest = Request(url, headers={"Accept": "application/json"}) 225 | 226 | with urlopen(httprequest) as response: 227 | data = json.loads(response.read().decode()) 228 | return data["query"] 229 | except HTTPError: 230 | print( 231 | error 232 | + f'failed to send request to {url.split("/json")[0]} please check your connection' 233 | + reset 234 | ) 235 | sys.exit(1) 236 | 237 | 238 | # -------------------------------- Colors --------------------------------- # 239 | 240 | green = "\u001b[32m" 241 | yellow = "\u001b[33m" 242 | blue = "\u001b[34m" 243 | error = "\u001b[31m" 244 | reset = "\u001b[0m" 245 | 246 | # -------------------------------- Functions --------------------------------- # 247 | 248 | def validate_email(email): 249 | regex = r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b" 250 | if re.fullmatch(regex, email): 251 | pass 252 | else: 253 | base_error(" Please enter a valid email address") 254 | raise TypeError 255 | 256 | 257 | def random_email(): 258 | domains = ["yandex", "protonmail", "gmail", "outlook", "yahoo", "icloud"] 259 | email = "@{}.com".format(random.choice(domains)) 260 | return "".join(random.sample(string.ascii_letters + string.digits, 8)) + email 261 | 262 | 263 | def validate_port(port): 264 | if port < MIN_PORT or port > MAX_PORT: 265 | base_error("Port number must be between %d and %d." % (MIN_PORT, MAX_PORT)) 266 | raise TypeError 267 | else: 268 | pass 269 | 270 | 271 | def port_is_use(port): 272 | """ 273 | check if port is used for a given port 274 | """ 275 | state = False 276 | stream = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 277 | stream.settimeout(2) 278 | try: 279 | if stream.connect_ex(("127.0.0.1", int(port))) == 0: 280 | state = True 281 | else: 282 | state = False 283 | finally: 284 | stream.close() 285 | return state 286 | 287 | def permission_check(): 288 | global ROOT 289 | if os.geteuid() != 0: 290 | print("You need to have root privileges to run this command.") 291 | ROOT = False 292 | else : 293 | ROOT = True 294 | pass 295 | return ROOT 296 | 297 | def byte_conv(bytes, precision=1): 298 | 299 | if bytes < 0: 300 | raise ValueError(base_error("bytes can't be smaller than 0")) 301 | 302 | byte_unit = 1024. 303 | 304 | bytes = float(bytes) 305 | unit = 'bytes' 306 | 307 | if (bytes / byte_unit) >= 1: 308 | bytes /= byte_unit 309 | unit = 'KB' 310 | 311 | if (bytes / byte_unit) >= 1: 312 | bytes /= byte_unit 313 | unit = 'MB' 314 | 315 | if (bytes / byte_unit) >= 1: 316 | bytes /= byte_unit 317 | unit = 'GB' 318 | 319 | if (bytes / byte_unit) >= 1: 320 | bytes /= byte_unit 321 | unit = 'TB' 322 | 323 | bytes = round(bytes, precision) 324 | 325 | 326 | # -------------------------------- IPTables --------------------------------- # 327 | 328 | def conlimit(num): 329 | port = read_port(config) 330 | LOWESET_CONNECTION = 3 331 | 332 | exec = "{} -A INPUT -p tcp --syn --dport {} -m connlimit --connlimit-above {} -j REJECT --reject-with tcp-reset".format(IPTABLE,port,num) 333 | if num < LOWESET_CONNECTION : 334 | base_error("Total Connections can't be lower than {}".format(LOWESET_CONNECTION)) 335 | return cmd 336 | permission_check() 337 | if ROOT == True: 338 | confirm = input("ADD Connection LIMIT to PORT {} with {} Connections ? [y/n] ".format(port,num)) 339 | if confirm.lower() in ["y", "yes"]: 340 | subprocess.run(exec,shell=True , check=True) 341 | print(info("Total CONNECTIONS of PORT {} set to {}").format(port,num)) 342 | else: 343 | pass 344 | 345 | def clean_iptables(): 346 | port = read_port(config) 347 | exec = "{} -D {} {}" 348 | check_cmd = ( 349 | "%s -nvL %s --line-number 2>/dev/null|grep -w \"%s\"|awk '{print $1}'|sort -r" 350 | ) 351 | firewall_clean_cmd = "firewall-cmd --zone=public --remove-port={}/tcp --remove-port={}/udp --permanent >/dev/null 2>&1" 352 | 353 | permission_check() 354 | if ROOT == True: 355 | confirm = input("DELETE INPUT & OUTPUT Chain on PORT {} ? [y/n] ".format(port)) 356 | if confirm.lower() in ["y", "yes"]: 357 | if "centos-8" in platform.platform(): 358 | subprocess.run( 359 | "{}-save -c > /etc/sysconfig/iptables 2>/dev/null".format(IPTABLE), 360 | shell=True, 361 | check=True, 362 | ) 363 | subprocess.run( 364 | firewall_clean_cmd.format(str(port), str(port)), 365 | shell=True, 366 | check=True, 367 | ) 368 | subprocess.run( 369 | "firewall-cmd --reload >/dev/null 2>&1", shell=True, check=True 370 | ) 371 | subprocess.run( 372 | "{}-restore -c < /etc/sysconfig/iptables".format(IPTABLE), 373 | shell=True, 374 | check=True, 375 | ) 376 | input_chain = os.popen( 377 | check_cmd % (IPTABLE, "INPUT", str(port)) 378 | ).readlines() 379 | for line in input_chain: 380 | subprocess.run( 381 | exec.format(IPTABLE, "INPUT", str(line)), 382 | shell=True, 383 | check=True, 384 | ) 385 | 386 | output_chain = os.popen( 387 | check_cmd % (IPTABLE, "OUTPUT", str(port)) 388 | ).readlines() 389 | for line in output_chain: 390 | subprocess.run( 391 | exec.format(IPTABLE, "OUTPUT", str(line)), 392 | shell=True, 393 | check=True, 394 | ) 395 | print(info("DELETED {} RULES").format(len(output_chain + input_chain))) 396 | else: 397 | pass 398 | 399 | 400 | # -------------------------------- LINK GENERATOR --------------------------------- # 401 | 402 | def link_generator(data, index) -> str: 403 | """ 404 | Generate a link with the specified prelink and data. 405 | """ 406 | read_config(config) 407 | id = data["inbounds"][0]["settings"]["clients"][index]["id"] 408 | network = data["inbounds"][0]["streamSettings"]["network"] 409 | 410 | try: 411 | net = data["inbounds"][0]["streamSettings"]["network"] 412 | except KeyError: 413 | net = "" 414 | pass 415 | 416 | try: 417 | if network == "ws": 418 | try: 419 | path = data["inbounds"][0]["streamSettings"]["wsSettings"]["path"] 420 | except KeyError: 421 | path = "" 422 | pass 423 | else : 424 | path = "" 425 | except KeyError: 426 | pass 427 | 428 | port = data["inbounds"][0]["port"] 429 | 430 | ps = "xray" 431 | 432 | if network in "tcp": 433 | security = data["inbounds"][0]["streamSettings"]["security"] 434 | header = 'http' 435 | path = '/' 436 | elif network in "http": 437 | security = data["inbounds"][0]["security"] 438 | header = 'http' 439 | path = '/' 440 | else : 441 | security = data["inbounds"][0]["streamSettings"]["security"] 442 | header = 'none' 443 | 444 | if data["inbounds"][0]["protocol"] == "vmess": 445 | aid = data["inbounds"][0]["settings"]["clients"][index]["alterId"] 446 | print(vmess_link_generator(aid, id, net, path, port, ps, security, header)) 447 | elif data["inbounds"][0]["protocol"] == "vless": 448 | print(vless_link_generator(id, port, net, path, security, ps)) 449 | else: 450 | base_error("UNSUPPORTED PROTOCOL") 451 | 452 | 453 | def vmess_link_generator(aid, id, net, path, port, ps, tls, header) -> str: 454 | PRELINK = "vmess://" 455 | 456 | raw_link = bytes( 457 | "{" 458 | + f""""add":"{ServerIP}",\ 459 | "aid":"{aid}",\ 460 | "host":"",\ 461 | "id":"{id}",\ 462 | "net":"{net}",\ 463 | "path":"{path}",\ 464 | "port":"{port}",\ 465 | "ps":"{ps}",\ 466 | "tls":"{tls}",\ 467 | "type":"{header}",\ 468 | "v":"2" """ 469 | + "}", 470 | encoding="ascii", 471 | ) 472 | 473 | link = base64.b64encode(raw_link) # encode raw link 474 | 475 | vmess_link = PRELINK + str(link.decode("utf-8")) # concatenate prelink with rawlink 476 | 477 | return vmess_link 478 | 479 | 480 | def vless_link_generator(id, port, net, path, security, name) -> str: 481 | PRELINK = "vless://" 482 | 483 | raw_link = f"{id}@{ServerIP}:{port}?path={path}&security={security}&encryption=none&type={net}#{name}" 484 | 485 | vless_link = PRELINK + raw_link 486 | 487 | return vless_link 488 | 489 | 490 | # -------------------------------- Main --------------------------------- # 491 | 492 | 493 | def create_user(): 494 | data = read_config(config) 495 | # print a message to inform the user that a user is being added 496 | print(info("! ADDING User")) 497 | print(info("! Leave Sections Empty for Random Value")) 498 | 499 | # prompt the user for an email address 500 | email = input(warn("Email :")) 501 | 502 | # if the email address is empty, generate a random email address 503 | if email == "": 504 | email = random_email() 505 | 506 | # prompt the user for an ID 507 | id = input(warn("ID / UUID : ")) 508 | 509 | # if the ID is empty, generate a random ID 510 | if id == "": 511 | id = random_uuid() 512 | 513 | user = {} 514 | if data["inbounds"][0]["protocol"] == "vmess": 515 | 516 | try: 517 | alterID = input(warn("AlterID 0 to 64 : ")) 518 | if alterID == "" or None: 519 | alterID = 0 520 | alterID = int(alterID) 521 | if alterID > 64: 522 | base_error("alterID cannot be larger than 64") 523 | return cmd 524 | except ValueError: 525 | print(base_error("alterID must be a integer value")) 526 | return cmd 527 | 528 | try: 529 | validate_email(email) 530 | except TypeError: 531 | return cmd 532 | 533 | user = {"alterId": alterID, "level": 0, "id": str(id), "email": str(email)} 534 | data["inbounds"][0]["settings"]["clients"].append(user) 535 | 536 | print( 537 | "{0} uuid: {1}, alterId: {2}, email : {3}".format( 538 | ("ADD user success!"), user["id"], user["alterId"], user["email"] 539 | ) 540 | ) 541 | link_generator(data, -1) 542 | 543 | elif data["inbounds"][0]["protocol"] == "vless": 544 | user = {"id": str(id), "level": 0, "email": str(email)} 545 | data["inbounds"][0]["settings"]["clients"].append(user) 546 | print( 547 | "{0} uuid: {1}, email : {2}".format( 548 | ("ADD user success!"), info(user["id"]), info(user["email"]) 549 | ) 550 | ) 551 | link_generator(data, -1) 552 | 553 | save_config(config, data) 554 | 555 | 556 | def del_user(index): 557 | data = read_config(config) 558 | if index >= len(data["inbounds"][0]["settings"]["clients"]): 559 | base_error(f"del index out of range. use {green}users{reset} to see clients") 560 | return cmd 561 | if ( 562 | data["inbounds"][0]["settings"]["clients"][index] 563 | == data["inbounds"][0]["settings"]["clients"][0] 564 | or index == 0 565 | ): 566 | base_error("Can't Delete first client") 567 | elif index < 0: 568 | base_error( 569 | +"Please Select Proper index !" 570 | + "\nuse users or listusers to see index values" 571 | ) 572 | else: 573 | useremail = data["inbounds"][0]["settings"]["clients"][index]["email"] 574 | confirm = input( 575 | f"DELETE index {info(index)} with email : {info(useremail)} ? [y/n] " 576 | ) 577 | if confirm.lower() in ["y", "yes"]: 578 | del data["inbounds"][0]["settings"]["clients"][index] 579 | 580 | print((f"Index {info(index)} deleted!")) 581 | 582 | save_config(config, data) 583 | else: 584 | pass 585 | 586 | 587 | def update_user(index): 588 | try: 589 | data = read_config(config) 590 | if index >= len(data["inbounds"][0]["settings"]["clients"]): 591 | base_error( 592 | f"del index out of range. use {green}users{reset} to see clients" 593 | ) 594 | return cmd 595 | print("Index " + green + str(index) + reset + " Selected") 596 | print("Leave the section empty if you don't want to modify that section") 597 | new_email = input(warn("New Email : ")) 598 | new_email = str(new_email) 599 | 600 | if new_email is None or new_email == "": 601 | new_email = data["inbounds"][0]["settings"]["clients"][index]["email"] 602 | else: 603 | try: 604 | validate_email(new_email) 605 | except TypeError: 606 | return cmd 607 | 608 | new_id = input(warn("New ID : ")) 609 | new_id = str(new_id) 610 | 611 | if new_id is None or new_id == "": 612 | new_id = data["inbounds"][0]["settings"]["clients"][index]["id"] 613 | 614 | if data["inbounds"][0]["protocol"] == "vmess": 615 | try: 616 | new_alterId = input(warn("AlterID 0 to 64 : ")) 617 | if new_alterId == "" or None: 618 | new_alterId = data["inbounds"][0]["settings"]["clients"][index][ 619 | "alterId" 620 | ] 621 | new_alterId = int(new_alterId) 622 | if new_alterId > 64: 623 | base_error("alterID cannot be larger than 64") 624 | return cmd 625 | else: 626 | data["inbounds"][0]["settings"]["clients"][index][ 627 | "alterId" 628 | ] = new_alterId 629 | except ValueError: 630 | base_error("alterID must be a integer value") 631 | return cmd 632 | 633 | data["inbounds"][0]["settings"]["clients"][index]["email"] = new_email 634 | data["inbounds"][0]["settings"]["clients"][index]["id"] = new_id 635 | 636 | save_config(config, data) 637 | print("Index " + info(index) + " Updated") 638 | link_generator(data, index) 639 | 640 | except ValueError as e: 641 | # if the user ID is not an integer, show an error message 642 | base_error("updateuser" + "require integer value") 643 | return cmd 644 | 645 | 646 | def list_users(): 647 | data = read_config(config) 648 | border = f"{blue}{'-'*100}{reset}" 649 | list = data["inbounds"][0]["settings"]["clients"] 650 | print(border) 651 | for index, user in enumerate(list): 652 | print(f"Index : {info(index)}", user) 653 | print(border) 654 | 655 | 656 | def change_server_port(port): 657 | try: 658 | validate_port(port) 659 | except TypeError: 660 | return cmd 661 | 662 | data = read_config(config) 663 | configport = data["inbounds"][0]["port"] 664 | data["inbounds"][0]["port"] = port 665 | 666 | if port_is_use(port): 667 | print("PORT {} is being used. try another".format(green + str(port) + reset)) 668 | return cmd 669 | else: 670 | confirm = input(f"Change PORT {warn(configport)} to {info(port)} ? [y/n] ") 671 | if confirm.lower() in ["y", "yes"]: 672 | save_config(config, data) 673 | print(f"Server Side PORT changed to {info(port)}") 674 | else: 675 | pass 676 | 677 | 678 | # -------------------------------- Shell Parser --------------------------------- # 679 | 680 | ## BANNER 681 | banner() 682 | 683 | ## LOAD CONFIGURATION 684 | load_config() 685 | 686 | ## CHECK CONFIGURATION PERMISSIONS 687 | check_permissions(config) 688 | 689 | ## CHECK DOCKER_COMPOSE 690 | docker_compose_state() 691 | 692 | ## SHOW SERVER IP 693 | try: 694 | ServerIP = IP() 695 | print(green + "IP : " + reset + ServerIP) 696 | except RemoteDisconnected as e: 697 | base_error(str(e)) 698 | except URLError as e: 699 | base_error(str(e)) 700 | 701 | ## SHOW CONFIGURATION PROTOCOL 702 | read_protocol(config) 703 | 704 | print() 705 | 706 | ## HELPER FUNCTION 707 | help() 708 | 709 | ## SHELL PS 710 | shell = green + "cmd > : " + reset 711 | 712 | ### COMMAND MAPPER 713 | commands = { 714 | "h": help, 715 | "help": help, 716 | "v": show_version, 717 | "version": show_version, 718 | "q": quit, 719 | "quit": quit, 720 | "listusers": list_users, 721 | "users": list_users, 722 | "adduser": create_user, 723 | "add": create_user, 724 | "updateuser": update_user, 725 | "update": update_user, 726 | "deluser": del_user, 727 | "del": del_user, 728 | "p": change_server_port, 729 | "port": change_server_port, 730 | "clear": clear_screen, 731 | "c": clear_screen, 732 | "deleteiptables": clean_iptables, 733 | "deliptables": clean_iptables, 734 | "conlimit": conlimit, 735 | "climit": conlimit, 736 | } 737 | 738 | while True: 739 | ## shell input 740 | try: 741 | cmd = input(shell).lower() 742 | options = cmd.split() 743 | except EOFError: 744 | print(error + "\nKeyboardInterrupt!") 745 | exit(1) 746 | 747 | # SHELL ARGS 748 | ########################################################################### 749 | try: 750 | # check if the command is "h" or "help" 751 | if cmd in ["h", "help"]: 752 | # call the "help" command 753 | commands["help"]() 754 | 755 | # check if the command is "v" or "version" 756 | elif cmd in ["v", "version"]: 757 | # call the "version" command 758 | commands["version"]() 759 | 760 | # check if the command is "c" or "clear" 761 | elif cmd in ["c", "clear"]: 762 | # call the "version" command 763 | commands["clear"]() 764 | 765 | # check if the command is "q" or "quit" 766 | elif cmd in ["q", "quit"]: 767 | # call the "q" command 768 | commands["q"]() 769 | 770 | # check if the command is "listusers" or "users" 771 | elif cmd in ["listusers", "users"]: 772 | # call the "listusers" command 773 | commands["listusers"]() 774 | 775 | # check if the command is "adduser" or "add" 776 | elif cmd in ["adduser", "add"]: 777 | # call the "adduser" command with the email address and ID 778 | commands["adduser"]() 779 | 780 | # check if the command is "deleteiptable" or "diptable" 781 | elif cmd in ["deleteiptables", "deliptables"]: 782 | # call the "adduser" command with the email address and ID 783 | commands["deleteiptables"]() 784 | 785 | ## Value based ARGS 786 | 787 | # check if the command is "update" or "updateuser" 788 | if "updateuser" or "update": 789 | try: 790 | if options[0] in ["update", "updateuser"]: 791 | i = 1 792 | while i < len(options): 793 | id = options[i] 794 | commands["updateuser"](int(id)) 795 | i += 1 796 | except ValueError: 797 | base_error("update " + "require integer value") 798 | 799 | # check if the command is "deluser" or "del" 800 | if "deluser" or "del" in cmd: 801 | try: 802 | if options[0] in ["del", "deluser"]: 803 | i = 1 804 | while i < len(options): 805 | id = options[i] 806 | commands["deluser"](int(id)) 807 | i += 1 808 | except ValueError: 809 | base_error("del " + "require integer value") 810 | 811 | # check if the command contains "port" or "p" 812 | if "port" or "p" in cmd: 813 | try: 814 | if options[0] in ["port", "p"]: 815 | port = options[1] 816 | commands["port"](int(port)) 817 | except ValueError: 818 | base_error("port " + "require integer value") 819 | 820 | # check if the command contains "conlimit" or "climit" 821 | if "conlimit" or "climit" in cmd: 822 | try: 823 | if options[0] in ["conlimit", "climit"]: 824 | num = options[1] 825 | commands["conlimit"](int(num)) 826 | except ValueError: 827 | base_error("conlimit " + "require integer value") 828 | except IndexError: 829 | cmd 830 | ########################################################################### 831 | -------------------------------------------------------------------------------- /contents/content1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonyaCore/V2RayGen/5db6eb445b414dcb6be6df86b74e80c371c65a97/contents/content1.png -------------------------------------------------------------------------------- /contents/content2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonyaCore/V2RayGen/5db6eb445b414dcb6be6df86b74e80c371c65a97/contents/content2.png -------------------------------------------------------------------------------- /contents/content3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonyaCore/V2RayGen/5db6eb445b414dcb6be6df86b74e80c371c65a97/contents/content3.png -------------------------------------------------------------------------------- /contents/content4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonyaCore/V2RayGen/5db6eb445b414dcb6be6df86b74e80c371c65a97/contents/content4.png -------------------------------------------------------------------------------- /geodata/IranIPs.txt: -------------------------------------------------------------------------------- 1 | 2.57.3.0/24 2 | 2.144.0.0/14 3 | 2.176.0.0/12 4 | 5.1.43.0/24 5 | 5.10.248.0/23 6 | 5.22.0.0/17 7 | 5.22.192.0/21 8 | 5.23.112.0/21 9 | 5.34.192.0/20 10 | 5.42.217.0/24 11 | 5.42.223.0/24 12 | 5.52.0.0/16 13 | 5.53.32.0/19 14 | 5.56.128.0/22 15 | 5.56.134.0/23 16 | 5.57.32.0/21 17 | 5.61.24.0/23 18 | 5.61.28.0/22 19 | 5.62.160.0/19 20 | 5.63.8.0/21 21 | 5.63.23.0/24 22 | 5.72.0.0/15 23 | 5.104.208.0/21 24 | 5.106.0.0/16 25 | 5.112.0.0/12 26 | 5.134.128.0/18 27 | 5.144.128.0/21 28 | 5.145.112.0/21 29 | 5.159.48.0/21 30 | 5.160.0.0/18 31 | 5.160.112.0/20 32 | 5.182.44.0/22 33 | 5.190.0.0/16 34 | 5.198.160.0/19 35 | 5.200.64.0/18 36 | 5.201.128.0/17 37 | 5.208.0.0/13 38 | 5.232.0.0/14 39 | 5.236.156.0/22 40 | 5.250.0.0/17 41 | 5.252.216.0/22 42 | 5.253.24.0/22 43 | 5.253.96.0/22 44 | 5.253.225.0/24 45 | 31.2.128.0/17 46 | 31.7.64.0/21 47 | 31.7.88.0/22 48 | 31.7.96.0/19 49 | 31.14.80.0/20 50 | 31.14.112.0/20 51 | 31.14.144.0/20 52 | 31.24.200.0/21 53 | 31.24.232.0/21 54 | 31.25.90.0/23 55 | 31.25.104.0/21 56 | 31.25.128.0/21 57 | 31.25.232.0/23 58 | 31.40.0.0/21 59 | 31.41.35.0/24 60 | 31.47.32.0/19 61 | 31.130.176.0/20 62 | 31.170.48.0/22 63 | 31.170.56.0/21 64 | 31.171.216.0/21 65 | 31.184.128.0/18 66 | 31.193.112.0/21 67 | 31.193.186.0/24 68 | 31.214.132.0/23 69 | 31.214.146.0/23 70 | 31.214.154.0/24 71 | 31.214.168.0/21 72 | 31.214.200.0/23 73 | 31.214.228.0/22 74 | 31.214.248.0/21 75 | 31.216.62.0/24 76 | 31.217.208.0/21 77 | 37.9.248.0/21 78 | 37.10.64.0/22 79 | 37.10.109.0/24 80 | 37.10.117.0/24 81 | 37.19.80.0/20 82 | 37.32.0.0/19 83 | 37.32.112.0/20 84 | 37.44.56.0/21 85 | 37.63.128.0/17 86 | 37.75.240.0/21 87 | 37.98.0.0/17 88 | 37.114.192.0/18 89 | 37.129.0.0/16 90 | 37.130.200.0/21 91 | 37.137.0.0/16 92 | 37.143.144.0/21 93 | 37.148.0.0/17 94 | 37.148.248.0/22 95 | 37.152.160.0/19 96 | 37.153.128.0/22 97 | 37.153.176.0/20 98 | 37.156.0.0/22 99 | 37.156.8.0/21 100 | 37.156.48.0/20 101 | 37.156.100.0/22 102 | 37.156.112.0/20 103 | 37.156.152.0/21 104 | 37.156.176.0/22 105 | 37.156.212.0/22 106 | 37.156.232.0/21 107 | 37.156.248.0/22 108 | 37.191.64.0/19 109 | 37.202.128.0/18 110 | 37.202.224.0/19 111 | 37.221.0.0/18 112 | 37.228.131.0/24 113 | 37.228.133.0/24 114 | 37.228.135.0/24 115 | 37.235.16.0/20 116 | 37.254.0.0/15 117 | 45.8.160.0/22 118 | 45.9.144.0/22 119 | 45.9.252.0/22 120 | 45.11.184.0/24 121 | 45.11.186.0/23 122 | 45.15.200.0/22 123 | 45.15.248.0/22 124 | 45.82.136.0/22 125 | 45.84.156.0/22 126 | 45.84.248.0/22 127 | 45.86.4.0/22 128 | 45.86.87.0/24 129 | 45.86.196.0/22 130 | 45.87.4.0/22 131 | 45.89.136.0/22 132 | 45.89.200.0/24 133 | 45.89.202.0/23 134 | 45.89.236.0/22 135 | 45.90.72.0/22 136 | 45.91.152.0/22 137 | 45.92.92.0/22 138 | 45.94.212.0/22 139 | 45.94.252.0/22 140 | 45.128.140.0/22 141 | 45.129.36.0/22 142 | 45.129.116.0/22 143 | 45.132.32.0/24 144 | 45.132.168.0/21 145 | 45.135.240.0/22 146 | 45.137.19.0/24 147 | 45.138.132.0/22 148 | 45.139.10.0/23 149 | 45.140.28.0/22 150 | 45.140.224.0/21 151 | 45.142.188.0/22 152 | 45.144.16.0/22 153 | 45.144.124.0/22 154 | 45.147.76.0/22 155 | 45.148.248.0/22 156 | 45.149.76.0/22 157 | 45.150.88.0/22 158 | 45.150.150.0/24 159 | 45.155.192.0/22 160 | 45.156.180.0/22 161 | 45.156.192.0/21 162 | 45.157.244.0/22 163 | 45.158.120.0/22 164 | 45.159.112.0/22 165 | 45.159.148.0/22 166 | 45.159.196.0/22 167 | 46.18.248.0/21 168 | 46.21.80.0/20 169 | 46.28.72.0/21 170 | 46.32.0.0/19 171 | 46.34.96.0/19 172 | 46.34.160.0/19 173 | 46.36.96.0/20 174 | 46.38.129.0/24 175 | 46.38.131.0/24 176 | 46.38.142.0/23 177 | 46.38.157.0/24 178 | 46.41.192.0/18 179 | 46.51.0.0/17 180 | 46.100.0.0/16 181 | 46.102.120.0/21 182 | 46.102.184.0/22 183 | 46.143.0.0/17 184 | 46.143.208.0/21 185 | 46.143.244.0/22 186 | 46.148.32.0/20 187 | 46.164.64.0/18 188 | 46.167.128.0/19 189 | 46.182.32.0/23 190 | 46.182.36.0/22 191 | 46.209.0.0/16 192 | 46.235.76.0/23 193 | 46.245.0.0/17 194 | 46.248.32.0/19 195 | 46.249.96.0/24 196 | 46.249.120.0/21 197 | 46.251.224.0/24 198 | 46.251.226.0/24 199 | 46.251.237.0/24 200 | 46.255.216.0/21 201 | 62.3.14.0/24 202 | 62.3.41.0/24 203 | 62.32.50.0/24 204 | 62.32.53.0/24 205 | 62.60.128.0/20 206 | 62.60.160.0/20 207 | 62.60.188.0/22 208 | 62.60.218.0/23 209 | 62.102.128.0/20 210 | 62.106.95.0/24 211 | 62.133.46.0/24 212 | 62.193.0.0/19 213 | 62.204.61.0/24 214 | 62.220.96.0/19 215 | 63.243.185.0/24 216 | 66.79.96.0/19 217 | 69.194.64.0/18 218 | 77.36.128.0/17 219 | 77.72.80.0/24 220 | 77.77.64.0/18 221 | 77.81.32.0/20 222 | 77.81.76.0/24 223 | 77.81.78.0/24 224 | 77.81.82.0/23 225 | 77.81.128.0/21 226 | 77.81.144.0/20 227 | 77.81.192.0/19 228 | 77.104.64.0/18 229 | 77.237.64.0/19 230 | 77.237.160.0/19 231 | 77.238.104.0/21 232 | 77.245.224.0/20 233 | 78.31.232.0/22 234 | 78.38.0.0/15 235 | 78.109.192.0/20 236 | 78.110.112.0/20 237 | 78.111.0.0/20 238 | 78.154.32.0/19 239 | 78.157.32.0/19 240 | 78.158.160.0/19 241 | 79.127.0.0/17 242 | 79.132.192.0/23 243 | 79.132.200.0/21 244 | 79.143.84.0/23 245 | 79.174.160.0/21 246 | 79.175.128.0/18 247 | 80.66.176.0/20 248 | 80.71.112.0/20 249 | 80.71.149.0/24 250 | 80.75.0.0/20 251 | 80.75.213.0/24 252 | 80.75.215.0/24 253 | 80.91.208.0/24 254 | 80.191.0.0/17 255 | 80.191.242.0/23 256 | 80.210.0.0/18 257 | 80.210.128.0/17 258 | 80.242.0.0/20 259 | 80.244.7.0/24 260 | 80.249.112.0/22 261 | 80.250.192.0/20 262 | 80.253.128.0/19 263 | 81.12.0.0/17 264 | 81.16.112.0/20 265 | 81.28.32.0/19 266 | 81.28.252.0/23 267 | 81.29.240.0/20 268 | 81.30.98.0/24 269 | 81.30.107.0/24 270 | 81.31.160.0/19 271 | 81.31.224.0/22 272 | 81.31.233.0/24 273 | 81.31.236.0/22 274 | 81.31.248.0/22 275 | 81.90.144.0/20 276 | 81.91.128.0/19 277 | 81.163.0.0/21 278 | 82.99.192.0/18 279 | 82.138.140.0/24 280 | 82.180.192.0/18 281 | 83.97.72.0/24 282 | 83.120.0.0/14 283 | 83.147.193.0/24 284 | 83.150.192.0/22 285 | 84.47.192.0/18 286 | 84.241.0.0/18 287 | 85.9.64.0/18 288 | 85.15.0.0/18 289 | 85.133.128.0/18 290 | 85.133.194.0/23 291 | 85.185.0.0/16 292 | 85.198.0.0/19 293 | 85.198.48.0/20 294 | 85.204.30.0/23 295 | 85.204.76.0/23 296 | 85.204.80.0/20 297 | 85.204.104.0/23 298 | 85.204.128.0/22 299 | 85.204.208.0/20 300 | 85.208.252.0/22 301 | 85.239.192.0/19 302 | 86.55.0.0/16 303 | 86.57.0.0/17 304 | 86.104.32.0/20 305 | 86.104.80.0/20 306 | 86.104.232.0/21 307 | 86.105.40.0/21 308 | 86.105.128.0/20 309 | 86.106.142.0/24 310 | 86.106.192.0/21 311 | 86.107.0.0/20 312 | 86.107.80.0/20 313 | 86.107.144.0/20 314 | 86.107.172.0/22 315 | 86.107.208.0/20 316 | 86.109.32.0/19 317 | 87.107.0.0/16 318 | 87.236.38.0/23 319 | 87.236.166.0/24 320 | 87.236.209.0/24 321 | 87.247.168.0/21 322 | 87.248.128.0/24 323 | 87.248.130.0/23 324 | 87.248.133.0/24 325 | 87.248.137.0/24 326 | 87.248.145.0/24 327 | 87.248.147.0/24 328 | 87.248.150.0/23 329 | 87.248.156.0/24 330 | 87.248.159.0/24 331 | 87.251.128.0/19 332 | 88.135.32.0/20 333 | 88.135.68.0/24 334 | 88.135.72.0/24 335 | 88.135.75.0/24 336 | 88.218.16.0/24 337 | 88.218.18.0/23 338 | 89.23.126.0/24 339 | 89.32.0.0/19 340 | 89.32.96.0/20 341 | 89.32.196.0/23 342 | 89.32.248.0/22 343 | 89.33.18.0/23 344 | 89.33.100.0/22 345 | 89.33.128.0/23 346 | 89.33.204.0/23 347 | 89.33.234.0/23 348 | 89.33.240.0/23 349 | 89.34.20.0/23 350 | 89.34.32.0/19 351 | 89.34.88.0/23 352 | 89.34.94.0/23 353 | 89.34.128.0/19 354 | 89.34.168.0/23 355 | 89.34.176.0/23 356 | 89.34.200.0/23 357 | 89.34.248.0/21 358 | 89.35.58.0/23 359 | 89.35.68.0/22 360 | 89.35.120.0/22 361 | 89.35.132.0/23 362 | 89.35.156.0/23 363 | 89.35.176.0/23 364 | 89.35.180.0/22 365 | 89.35.194.0/23 366 | 89.36.16.0/23 367 | 89.36.48.0/20 368 | 89.36.96.0/20 369 | 89.36.176.0/20 370 | 89.36.194.0/23 371 | 89.36.226.0/23 372 | 89.36.252.0/23 373 | 89.37.0.0/20 374 | 89.37.30.0/23 375 | 89.37.42.0/23 376 | 89.37.102.0/23 377 | 89.37.144.0/21 378 | 89.37.168.0/22 379 | 89.37.198.0/23 380 | 89.37.208.0/22 381 | 89.37.218.0/23 382 | 89.37.240.0/20 383 | 89.38.24.0/23 384 | 89.38.80.0/20 385 | 89.38.102.0/23 386 | 89.38.184.0/21 387 | 89.38.212.0/22 388 | 89.38.242.0/23 389 | 89.39.8.0/22 390 | 89.39.186.0/23 391 | 89.39.208.0/24 392 | 89.40.38.0/23 393 | 89.40.78.0/23 394 | 89.40.90.0/23 395 | 89.40.106.0/23 396 | 89.40.110.0/23 397 | 89.40.128.0/23 398 | 89.40.152.0/21 399 | 89.40.240.0/20 400 | 89.41.8.0/21 401 | 89.41.32.0/23 402 | 89.41.40.0/22 403 | 89.41.58.0/23 404 | 89.41.184.0/22 405 | 89.41.192.0/19 406 | 89.41.240.0/21 407 | 89.42.32.0/23 408 | 89.42.44.0/22 409 | 89.42.56.0/23 410 | 89.42.68.0/23 411 | 89.42.96.0/21 412 | 89.42.136.0/22 413 | 89.42.150.0/23 414 | 89.42.184.0/21 415 | 89.42.196.0/22 416 | 89.42.208.0/22 417 | 89.42.228.0/23 418 | 89.43.0.0/20 419 | 89.43.36.0/23 420 | 89.43.70.0/23 421 | 89.43.88.0/21 422 | 89.43.144.0/21 423 | 89.43.182.0/23 424 | 89.43.188.0/23 425 | 89.43.204.0/23 426 | 89.43.216.0/21 427 | 89.44.112.0/23 428 | 89.44.118.0/23 429 | 89.44.128.0/21 430 | 89.44.146.0/23 431 | 89.44.176.0/21 432 | 89.44.190.0/23 433 | 89.44.202.0/23 434 | 89.44.240.0/22 435 | 89.45.48.0/20 436 | 89.45.68.0/23 437 | 89.45.80.0/23 438 | 89.45.89.0/24 439 | 89.45.112.0/21 440 | 89.45.126.0/23 441 | 89.45.152.0/21 442 | 89.45.230.0/23 443 | 89.46.44.0/23 444 | 89.46.60.0/23 445 | 89.46.94.0/23 446 | 89.46.184.0/21 447 | 89.46.216.0/22 448 | 89.47.64.0/20 449 | 89.47.128.0/19 450 | 89.47.196.0/22 451 | 89.144.128.0/18 452 | 89.165.0.0/17 453 | 89.196.0.0/16 454 | 89.198.0.0/15 455 | 89.219.64.0/18 456 | 89.219.192.0/18 457 | 89.221.80.0/20 458 | 89.235.64.0/18 459 | 91.92.104.0/24 460 | 91.92.114.0/24 461 | 91.92.121.0/24 462 | 91.92.129.0/24 463 | 91.92.145.0/24 464 | 91.92.156.0/22 465 | 91.92.164.0/22 466 | 91.92.172.0/22 467 | 91.92.180.0/22 468 | 91.92.204.0/22 469 | 91.92.220.0/22 470 | 91.92.228.0/23 471 | 91.92.231.0/24 472 | 91.92.236.0/22 473 | 91.106.64.0/19 474 | 91.108.128.0/19 475 | 91.109.104.0/21 476 | 91.132.166.0/24 477 | 91.133.128.0/17 478 | 91.147.64.0/20 479 | 91.184.64.0/19 480 | 91.185.128.0/19 481 | 91.186.192.0/23 482 | 91.190.88.0/21 483 | 91.194.6.0/24 484 | 91.197.242.0/24 485 | 91.199.9.0/24 486 | 91.199.18.0/24 487 | 91.199.27.0/24 488 | 91.199.30.0/24 489 | 91.199.215.0/24 490 | 91.206.171.0/24 491 | 91.206.177.0/24 492 | 91.207.18.0/24 493 | 91.207.138.0/23 494 | 91.208.163.0/24 495 | 91.208.165.0/24 496 | 91.209.96.0/24 497 | 91.209.161.0/24 498 | 91.209.183.0/24 499 | 91.209.186.0/24 500 | 91.209.242.0/24 501 | 91.212.16.0/24 502 | 91.212.232.0/24 503 | 91.212.252.0/24 504 | 91.213.83.0/24 505 | 91.213.151.0/24 506 | 91.213.157.0/24 507 | 91.213.167.0/24 508 | 91.213.172.0/24 509 | 91.216.4.0/24 510 | 91.216.171.0/24 511 | 91.216.217.0/24 512 | 91.217.64.0/23 513 | 91.217.177.0/24 514 | 91.217.241.0/24 515 | 91.220.79.0/24 516 | 91.220.113.0/24 517 | 91.220.243.0/24 518 | 91.221.240.0/23 519 | 91.222.196.0/22 520 | 91.222.204.0/22 521 | 91.223.61.0/24 522 | 91.223.116.0/24 523 | 91.223.146.0/24 524 | 91.223.187.0/24 525 | 91.224.20.0/23 526 | 91.224.110.0/23 527 | 91.224.176.0/23 528 | 91.225.52.0/22 529 | 91.226.224.0/23 530 | 91.226.246.0/24 531 | 91.227.27.0/24 532 | 91.227.84.0/22 533 | 91.227.246.0/23 534 | 91.228.22.0/23 535 | 91.228.132.0/23 536 | 91.228.189.0/24 537 | 91.229.46.0/23 538 | 91.229.214.0/23 539 | 91.230.32.0/24 540 | 91.231.222.0/24 541 | 91.232.64.0/22 542 | 91.232.72.0/22 543 | 91.233.56.0/22 544 | 91.234.38.0/23 545 | 91.234.52.0/24 546 | 91.236.168.0/23 547 | 91.237.254.0/23 548 | 91.239.14.0/24 549 | 91.239.108.0/22 550 | 91.239.189.0/24 551 | 91.239.192.0/24 552 | 91.239.210.0/24 553 | 91.239.214.0/24 554 | 91.240.60.0/22 555 | 91.240.95.0/24 556 | 91.240.116.0/24 557 | 91.240.180.0/22 558 | 91.241.20.0/23 559 | 91.241.92.0/24 560 | 91.242.44.0/23 561 | 91.243.114.0/24 562 | 91.243.126.0/23 563 | 91.243.160.0/20 564 | 91.244.120.0/22 565 | 91.245.228.0/22 566 | 91.246.31.0/24 567 | 91.246.44.0/24 568 | 91.246.49.0/24 569 | 91.247.66.0/23 570 | 91.247.171.0/24 571 | 91.247.174.0/24 572 | 91.250.224.0/20 573 | 91.251.0.0/16 574 | 92.42.48.0/21 575 | 92.43.160.0/22 576 | 92.61.176.0/20 577 | 92.114.16.0/20 578 | 92.114.48.0/22 579 | 92.114.64.0/20 580 | 92.119.57.0/24 581 | 92.119.68.0/22 582 | 92.242.192.0/19 583 | 92.246.144.0/22 584 | 92.246.156.0/22 585 | 92.249.56.0/22 586 | 93.88.64.0/21 587 | 93.93.204.0/24 588 | 93.95.27.0/24 589 | 93.110.0.0/16 590 | 93.113.224.0/20 591 | 93.114.16.0/20 592 | 93.114.104.0/21 593 | 93.115.120.0/21 594 | 93.115.144.0/21 595 | 93.115.216.0/21 596 | 93.117.0.0/19 597 | 93.117.96.0/19 598 | 93.117.176.0/20 599 | 93.118.96.0/19 600 | 93.118.180.0/22 601 | 93.119.32.0/19 602 | 93.119.208.0/20 603 | 93.126.0.0/18 604 | 93.190.24.0/21 605 | 94.24.0.0/20 606 | 94.24.80.0/20 607 | 94.74.128.0/21 608 | 94.74.138.0/23 609 | 94.74.141.0/24 610 | 94.74.146.0/23 611 | 94.74.150.0/23 612 | 94.74.160.0/22 613 | 94.74.165.0/24 614 | 94.74.170.0/24 615 | 94.74.172.0/24 616 | 94.74.174.0/23 617 | 94.74.183.0/24 618 | 94.74.186.0/24 619 | 94.74.188.0/23 620 | 94.101.128.0/20 621 | 94.101.176.0/20 622 | 94.101.240.0/20 623 | 94.139.160.0/19 624 | 94.176.8.0/21 625 | 94.176.32.0/21 626 | 94.177.72.0/21 627 | 94.182.0.0/15 628 | 94.199.0.0/24 629 | 94.199.136.0/22 630 | 94.232.168.0/21 631 | 94.241.166.0/23 632 | 95.38.0.0/16 633 | 95.64.0.0/17 634 | 95.80.128.0/18 635 | 95.81.64.0/18 636 | 95.128.155.0/24 637 | 95.128.159.0/24 638 | 95.128.194.0/24 639 | 95.128.196.0/23 640 | 95.130.56.0/21 641 | 95.130.225.0/24 642 | 95.130.240.0/21 643 | 95.142.224.0/20 644 | 95.156.222.0/23 645 | 95.156.233.0/24 646 | 95.156.248.0/23 647 | 95.156.252.0/22 648 | 95.162.0.0/16 649 | 95.215.59.0/24 650 | 95.215.160.0/22 651 | 95.215.173.0/24 652 | 103.126.5.0/24 653 | 103.130.144.0/24 654 | 103.130.146.0/24 655 | 103.215.220.0/22 656 | 103.216.60.0/22 657 | 103.231.136.0/23 658 | 109.70.237.0/24 659 | 109.72.192.0/20 660 | 109.74.232.0/21 661 | 109.94.164.0/22 662 | 109.95.60.0/22 663 | 109.107.131.0/24 664 | 109.108.160.0/19 665 | 109.109.32.0/19 666 | 109.110.160.0/24 667 | 109.110.163.0/24 668 | 109.110.167.0/24 669 | 109.122.192.0/23 670 | 109.122.195.0/24 671 | 109.122.198.0/23 672 | 109.122.201.0/24 673 | 109.122.209.0/24 674 | 109.122.224.0/19 675 | 109.125.128.0/18 676 | 109.162.128.0/17 677 | 109.201.0.0/19 678 | 109.203.128.0/19 679 | 109.206.252.0/22 680 | 109.225.128.0/18 681 | 109.230.64.0/19 682 | 109.230.192.0/23 683 | 109.230.200.0/24 684 | 109.230.204.0/22 685 | 109.230.221.0/24 686 | 109.230.223.0/24 687 | 109.230.242.0/24 688 | 109.230.246.0/23 689 | 109.230.251.0/24 690 | 109.232.0.0/21 691 | 109.238.176.0/20 692 | 109.239.0.0/20 693 | 113.203.0.0/17 694 | 128.0.105.0/24 695 | 128.65.160.0/22 696 | 128.65.176.0/20 697 | 130.185.72.0/21 698 | 130.193.77.0/24 699 | 130.255.192.0/18 700 | 134.255.196.0/23 701 | 134.255.200.0/21 702 | 134.255.245.0/24 703 | 134.255.248.0/23 704 | 146.19.104.0/24 705 | 146.19.212.0/24 706 | 146.19.217.0/24 707 | 146.66.128.0/21 708 | 151.232.0.0/14 709 | 151.238.0.0/15 710 | 152.89.12.0/22 711 | 152.89.44.0/22 712 | 154.197.25.0/24 713 | 156.233.238.0/23 714 | 156.246.173.0/24 715 | 157.119.188.0/22 716 | 158.58.0.0/17 717 | 158.58.184.0/21 718 | 158.255.74.0/24 719 | 158.255.78.0/24 720 | 159.20.96.0/20 721 | 164.138.16.0/21 722 | 164.138.128.0/18 723 | 164.215.56.0/21 724 | 164.215.128.0/17 725 | 171.22.24.0/22 726 | 172.80.128.0/17 727 | 176.12.64.0/20 728 | 176.56.144.0/20 729 | 176.62.144.0/21 730 | 176.65.160.0/19 731 | 176.67.64.0/20 732 | 176.97.218.0/24 733 | 176.97.220.0/24 734 | 176.101.32.0/20 735 | 176.102.224.0/19 736 | 176.105.245.0/24 737 | 176.116.7.0/24 738 | 176.120.16.0/22 739 | 176.122.210.0/23 740 | 176.123.64.0/18 741 | 176.124.64.0/22 742 | 176.126.120.0/24 743 | 176.221.64.0/21 744 | 176.223.80.0/21 745 | 178.21.40.0/21 746 | 178.21.160.0/21 747 | 178.22.72.0/21 748 | 178.22.120.0/21 749 | 178.131.0.0/16 750 | 178.157.0.0/23 751 | 178.173.128.0/18 752 | 178.211.145.0/24 753 | 178.215.0.0/18 754 | 178.216.248.0/21 755 | 178.219.224.0/20 756 | 178.236.32.0/22 757 | 178.236.96.0/20 758 | 178.238.192.0/20 759 | 178.239.144.0/20 760 | 178.248.40.0/21 761 | 178.251.208.0/21 762 | 178.252.128.0/18 763 | 178.253.16.0/24 764 | 178.253.31.0/24 765 | 178.253.38.0/23 766 | 185.1.77.0/24 767 | 185.2.12.0/22 768 | 185.3.124.0/22 769 | 185.3.200.0/22 770 | 185.3.212.0/22 771 | 185.4.0.0/22 772 | 185.4.16.0/22 773 | 185.4.28.0/22 774 | 185.4.104.0/22 775 | 185.5.156.0/22 776 | 185.7.212.0/24 777 | 185.8.172.0/22 778 | 185.10.71.0/24 779 | 185.11.68.0/22 780 | 185.11.88.0/22 781 | 185.11.176.0/22 782 | 185.12.60.0/22 783 | 185.12.100.0/23 784 | 185.13.228.0/22 785 | 185.14.80.0/22 786 | 185.14.160.0/22 787 | 185.16.232.0/22 788 | 185.18.156.0/22 789 | 185.18.212.0/22 790 | 185.19.201.0/24 791 | 185.20.160.0/22 792 | 185.21.68.0/22 793 | 185.21.76.0/22 794 | 185.22.28.0/22 795 | 185.23.128.0/22 796 | 185.24.136.0/22 797 | 185.24.148.0/23 798 | 185.24.228.0/22 799 | 185.24.252.0/22 800 | 185.25.172.0/22 801 | 185.26.32.0/22 802 | 185.26.232.0/22 803 | 185.29.220.0/22 804 | 185.30.4.0/22 805 | 185.30.76.0/22 806 | 185.31.8.0/24 807 | 185.31.124.0/22 808 | 185.32.128.0/22 809 | 185.33.25.0/24 810 | 185.36.228.0/24 811 | 185.36.231.0/24 812 | 185.37.52.0/22 813 | 185.39.180.0/22 814 | 185.40.16.0/24 815 | 185.40.240.0/22 816 | 185.41.0.0/22 817 | 185.41.220.0/22 818 | 185.42.24.0/22 819 | 185.42.212.0/22 820 | 185.42.224.0/22 821 | 185.44.36.0/22 822 | 185.44.100.0/22 823 | 185.44.112.0/22 824 | 185.45.188.0/22 825 | 185.46.0.0/22 826 | 185.46.108.0/22 827 | 185.46.216.0/22 828 | 185.47.48.0/22 829 | 185.49.84.0/22 830 | 185.49.96.0/22 831 | 185.49.104.0/22 832 | 185.49.231.0/24 833 | 185.50.36.0/22 834 | 185.51.40.0/22 835 | 185.51.200.0/22 836 | 185.53.140.0/22 837 | 185.55.224.0/22 838 | 185.56.92.0/22 839 | 185.57.132.0/22 840 | 185.57.164.0/22 841 | 185.57.200.0/22 842 | 185.58.240.0/22 843 | 185.59.112.0/23 844 | 185.60.32.0/22 845 | 185.60.136.0/22 846 | 185.62.232.0/22 847 | 185.63.113.0/24 848 | 185.63.236.0/22 849 | 185.64.176.0/22 850 | 185.66.224.0/21 851 | 185.67.12.0/22 852 | 185.67.100.0/22 853 | 185.67.156.0/22 854 | 185.67.212.0/22 855 | 185.69.108.0/22 856 | 185.70.60.0/22 857 | 185.71.152.0/22 858 | 185.71.192.0/22 859 | 185.72.24.0/22 860 | 185.72.80.0/22 861 | 185.73.0.0/22 862 | 185.73.76.0/22 863 | 185.73.112.0/24 864 | 185.73.114.0/24 865 | 185.74.164.0/22 866 | 185.74.221.0/24 867 | 185.75.196.0/22 868 | 185.75.204.0/22 869 | 185.76.248.0/22 870 | 185.78.20.0/22 871 | 185.79.60.0/22 872 | 185.79.96.0/22 873 | 185.79.158.0/23 874 | 185.80.100.0/22 875 | 185.80.198.0/23 876 | 185.81.40.0/22 877 | 185.81.96.0/23 878 | 185.81.99.0/24 879 | 185.82.28.0/22 880 | 185.82.64.0/22 881 | 185.82.136.0/22 882 | 185.82.164.0/22 883 | 185.82.180.0/22 884 | 185.83.28.0/22 885 | 185.83.76.0/22 886 | 185.83.88.0/22 887 | 185.83.112.0/22 888 | 185.83.180.0/22 889 | 185.83.196.0/22 890 | 185.83.208.0/22 891 | 185.84.220.0/23 892 | 185.84.226.0/24 893 | 185.85.68.0/22 894 | 185.85.136.0/22 895 | 185.86.36.0/22 896 | 185.86.180.0/22 897 | 185.88.48.0/22 898 | 185.88.152.0/22 899 | 185.88.176.0/22 900 | 185.88.252.0/22 901 | 185.89.22.0/24 902 | 185.89.112.0/22 903 | 185.92.4.0/22 904 | 185.92.40.0/22 905 | 185.93.88.0/23 906 | 185.94.96.0/22 907 | 185.95.60.0/22 908 | 185.95.152.0/22 909 | 185.95.180.0/22 910 | 185.96.240.0/22 911 | 185.97.116.0/22 912 | 185.98.112.0/22 913 | 185.99.212.0/22 914 | 185.100.44.0/22 915 | 185.101.39.0/24 916 | 185.101.228.0/22 917 | 185.103.84.0/22 918 | 185.103.128.0/22 919 | 185.103.244.0/22 920 | 185.104.228.0/22 921 | 185.104.240.0/22 922 | 185.105.100.0/22 923 | 185.105.120.0/22 924 | 185.105.184.0/22 925 | 185.105.236.0/22 926 | 185.106.136.0/22 927 | 185.106.144.0/22 928 | 185.106.200.0/22 929 | 185.106.228.0/22 930 | 185.107.28.0/22 931 | 185.107.244.0/22 932 | 185.108.96.0/22 933 | 185.108.164.0/22 934 | 185.109.60.0/22 935 | 185.109.72.0/22 936 | 185.109.80.0/22 937 | 185.109.128.0/22 938 | 185.109.244.0/22 939 | 185.110.28.0/22 940 | 185.110.218.0/23 941 | 185.110.228.0/22 942 | 185.110.236.0/22 943 | 185.110.244.0/22 944 | 185.110.252.0/22 945 | 185.111.8.0/21 946 | 185.111.64.0/22 947 | 185.111.80.0/22 948 | 185.111.136.0/22 949 | 185.112.32.0/21 950 | 185.112.130.0/23 951 | 185.112.148.0/22 952 | 185.112.168.0/22 953 | 185.113.9.0/24 954 | 185.113.56.0/22 955 | 185.113.112.0/22 956 | 185.113.248.0/24 957 | 185.114.188.0/22 958 | 185.115.76.0/22 959 | 185.115.148.0/22 960 | 185.115.168.0/22 961 | 185.116.20.0/22 962 | 185.116.44.0/22 963 | 185.116.160.0/22 964 | 185.117.48.0/22 965 | 185.117.136.0/22 966 | 185.117.204.0/22 967 | 185.118.12.0/22 968 | 185.118.136.0/22 969 | 185.118.152.0/22 970 | 185.119.4.0/22 971 | 185.119.164.0/22 972 | 185.119.199.0/24 973 | 185.119.240.0/22 974 | 185.120.120.0/22 975 | 185.120.160.0/22 976 | 185.120.168.0/22 977 | 185.120.192.0/21 978 | 185.120.208.0/20 979 | 185.121.56.0/22 980 | 185.121.128.0/22 981 | 185.122.80.0/22 982 | 185.123.68.0/22 983 | 185.123.208.0/22 984 | 185.124.112.0/22 985 | 185.124.156.0/22 986 | 185.124.172.0/22 987 | 185.125.20.0/22 988 | 185.125.244.0/22 989 | 185.126.40.0/22 990 | 185.126.132.0/23 991 | 185.126.200.0/22 992 | 185.127.232.0/22 993 | 185.128.40.0/24 994 | 185.128.48.0/22 995 | 185.128.80.0/22 996 | 185.128.136.0/22 997 | 185.128.152.0/22 998 | 185.128.164.0/22 999 | 185.129.80.0/22 1000 | 185.129.116.0/22 1001 | 185.129.168.0/22 1002 | 185.129.184.0/21 1003 | 185.129.196.0/22 1004 | 185.129.212.0/22 1005 | 185.129.228.0/22 1006 | 185.130.50.0/24 1007 | 185.130.76.0/22 1008 | 185.131.28.0/22 1009 | 185.131.84.0/22 1010 | 185.131.100.0/22 1011 | 185.131.108.0/22 1012 | 185.131.124.0/22 1013 | 185.131.136.0/21 1014 | 185.131.148.0/22 1015 | 185.131.164.0/22 1016 | 185.132.80.0/22 1017 | 185.132.124.0/24 1018 | 185.132.212.0/22 1019 | 185.133.125.0/24 1020 | 185.133.152.0/22 1021 | 185.133.164.0/22 1022 | 185.133.244.0/23 1023 | 185.134.96.0/22 1024 | 185.135.28.0/22 1025 | 185.135.46.0/23 1026 | 185.135.228.0/22 1027 | 185.136.100.0/22 1028 | 185.136.133.0/24 1029 | 185.136.135.0/24 1030 | 185.136.172.0/22 1031 | 185.136.180.0/22 1032 | 185.136.192.0/22 1033 | 185.136.220.0/22 1034 | 185.137.24.0/22 1035 | 185.137.60.0/22 1036 | 185.137.108.0/22 1037 | 185.139.64.0/22 1038 | 185.140.4.0/22 1039 | 185.140.56.0/22 1040 | 185.140.232.0/22 1041 | 185.140.240.0/22 1042 | 185.141.36.0/22 1043 | 185.141.48.0/22 1044 | 185.141.104.0/22 1045 | 185.141.132.0/22 1046 | 185.141.168.0/22 1047 | 185.141.212.0/22 1048 | 185.141.244.0/22 1049 | 185.142.92.0/22 1050 | 185.142.124.0/22 1051 | 185.142.156.0/22 1052 | 185.142.232.0/22 1053 | 185.143.74.0/23 1054 | 185.143.204.0/22 1055 | 185.143.232.0/22 1056 | 185.144.64.0/22 1057 | 185.145.8.0/22 1058 | 185.145.184.0/22 1059 | 185.147.40.0/22 1060 | 185.147.84.0/22 1061 | 185.147.160.0/22 1062 | 185.147.176.0/22 1063 | 185.149.192.0/24 1064 | 185.150.108.0/22 1065 | 185.151.236.0/22 1066 | 185.153.184.0/22 1067 | 185.153.208.0/22 1068 | 185.154.184.0/22 1069 | 185.154.190.0/24 1070 | 185.155.8.0/21 1071 | 185.155.72.0/23 1072 | 185.155.236.0/22 1073 | 185.157.8.0/22 1074 | 185.158.172.0/22 1075 | 185.159.152.0/22 1076 | 185.159.176.0/22 1077 | 185.159.189.0/24 1078 | 185.160.104.0/22 1079 | 185.160.176.0/22 1080 | 185.160.205.0/24 1081 | 185.161.36.0/22 1082 | 185.161.112.0/22 1083 | 185.161.121.0/24 1084 | 185.161.250.0/24 1085 | 185.162.40.0/22 1086 | 185.162.216.0/22 1087 | 185.163.88.0/22 1088 | 185.164.72.0/22 1089 | 185.164.252.0/22 1090 | 185.165.28.0/22 1091 | 185.165.40.0/22 1092 | 185.165.100.0/22 1093 | 185.165.116.0/22 1094 | 185.165.204.0/22 1095 | 185.166.60.0/22 1096 | 185.166.104.0/22 1097 | 185.166.112.0/22 1098 | 185.167.72.0/22 1099 | 185.167.100.0/22 1100 | 185.167.124.0/22 1101 | 185.169.6.0/24 1102 | 185.169.20.0/22 1103 | 185.169.36.0/22 1104 | 185.170.8.0/24 1105 | 185.170.236.0/22 1106 | 185.171.52.0/22 1107 | 185.172.0.0/22 1108 | 185.172.68.0/22 1109 | 185.172.212.0/22 1110 | 185.173.104.0/22 1111 | 185.173.129.0/24 1112 | 185.173.168.0/22 1113 | 185.174.132.0/24 1114 | 185.174.134.0/24 1115 | 185.174.200.0/22 1116 | 185.174.248.0/22 1117 | 185.175.76.0/22 1118 | 185.175.240.0/22 1119 | 185.176.32.0/22 1120 | 185.176.56.0/22 1121 | 185.177.156.0/22 1122 | 185.177.232.0/22 1123 | 185.178.104.0/22 1124 | 185.178.220.0/22 1125 | 185.179.90.0/24 1126 | 185.179.168.0/22 1127 | 185.179.220.0/22 1128 | 185.180.52.0/22 1129 | 185.180.128.0/22 1130 | 185.181.180.0/22 1131 | 185.182.220.0/22 1132 | 185.182.248.0/22 1133 | 185.184.32.0/22 1134 | 185.184.48.0/22 1135 | 185.185.16.0/22 1136 | 185.185.240.0/22 1137 | 185.186.48.0/22 1138 | 185.186.240.0/22 1139 | 185.187.48.0/22 1140 | 185.187.84.0/22 1141 | 185.188.31.0/24 1142 | 185.188.104.0/22 1143 | 185.188.112.0/22 1144 | 185.189.120.0/22 1145 | 185.190.20.0/22 1146 | 185.190.39.0/24 1147 | 185.191.76.0/22 1148 | 185.192.8.0/22 1149 | 185.192.112.0/22 1150 | 185.193.47.0/24 1151 | 185.193.208.0/22 1152 | 185.194.76.0/22 1153 | 185.194.244.0/22 1154 | 185.195.72.0/22 1155 | 185.196.148.0/22 1156 | 185.197.68.0/22 1157 | 185.197.112.0/22 1158 | 185.198.160.0/22 1159 | 185.199.64.0/22 1160 | 185.199.208.0/24 1161 | 185.199.210.0/23 1162 | 185.200.210.0/23 1163 | 185.201.48.0/22 1164 | 185.202.56.0/22 1165 | 185.203.160.0/22 1166 | 185.204.180.0/22 1167 | 185.204.197.0/24 1168 | 185.205.203.0/24 1169 | 185.206.92.0/22 1170 | 185.206.229.0/24 1171 | 185.206.231.0/24 1172 | 185.206.236.0/22 1173 | 185.207.52.0/22 1174 | 185.207.72.0/22 1175 | 185.208.76.0/22 1176 | 185.208.148.0/22 1177 | 185.208.174.0/23 1178 | 185.208.180.0/22 1179 | 185.209.42.0/24 1180 | 185.209.188.0/22 1181 | 185.210.200.0/22 1182 | 185.211.56.0/22 1183 | 185.211.84.0/22 1184 | 185.212.48.0/22 1185 | 185.212.192.0/22 1186 | 185.213.8.0/22 1187 | 185.213.164.0/22 1188 | 185.213.195.0/24 1189 | 185.214.36.0/22 1190 | 185.215.124.0/22 1191 | 185.215.152.0/22 1192 | 185.215.228.0/22 1193 | 185.217.6.0/24 1194 | 185.218.139.0/24 1195 | 185.219.112.0/22 1196 | 185.220.224.0/22 1197 | 185.221.112.0/22 1198 | 185.221.192.0/22 1199 | 185.221.239.0/24 1200 | 185.222.120.0/22 1201 | 185.222.163.0/24 1202 | 185.222.180.0/22 1203 | 185.222.210.0/24 1204 | 185.223.160.0/24 1205 | 185.224.176.0/22 1206 | 185.225.80.0/22 1207 | 185.225.180.0/22 1208 | 185.225.240.0/22 1209 | 185.226.97.0/24 1210 | 185.226.116.0/22 1211 | 185.226.132.0/22 1212 | 185.226.140.0/22 1213 | 185.227.64.0/22 1214 | 185.227.116.0/22 1215 | 185.228.58.0/24 1216 | 185.228.236.0/22 1217 | 185.229.0.0/22 1218 | 185.229.28.0/22 1219 | 185.229.133.0/24 1220 | 185.229.204.0/24 1221 | 185.231.65.0/24 1222 | 185.231.112.0/22 1223 | 185.231.180.0/22 1224 | 185.232.152.0/22 1225 | 185.232.176.0/22 1226 | 185.233.12.0/22 1227 | 185.233.84.0/22 1228 | 185.233.131.0/24 1229 | 185.234.14.0/24 1230 | 185.234.192.0/22 1231 | 185.235.136.0/24 1232 | 185.235.139.0/24 1233 | 185.235.245.0/24 1234 | 185.236.36.0/22 1235 | 185.236.45.0/24 1236 | 185.236.88.0/22 1237 | 185.237.8.0/22 1238 | 185.237.84.0/22 1239 | 185.238.20.0/22 1240 | 185.238.44.0/22 1241 | 185.238.92.0/22 1242 | 185.238.140.0/24 1243 | 185.238.143.0/24 1244 | 185.239.0.0/22 1245 | 185.239.104.0/22 1246 | 185.240.56.0/22 1247 | 185.240.148.0/22 1248 | 185.243.48.0/22 1249 | 185.244.52.0/22 1250 | 185.246.4.0/22 1251 | 185.248.32.0/24 1252 | 185.251.76.0/22 1253 | 185.252.28.0/22 1254 | 185.252.84.0/23 1255 | 185.252.200.0/24 1256 | 185.254.165.0/24 1257 | 185.255.68.0/23 1258 | 185.255.88.0/22 1259 | 185.255.208.0/22 1260 | 188.0.240.0/20 1261 | 188.75.64.0/18 1262 | 188.94.188.0/24 1263 | 188.118.64.0/18 1264 | 188.121.96.0/19 1265 | 188.122.96.0/19 1266 | 188.136.128.0/18 1267 | 188.158.0.0/16 1268 | 188.191.176.0/21 1269 | 188.208.56.0/21 1270 | 188.208.144.0/20 1271 | 188.208.200.0/22 1272 | 188.208.208.0/21 1273 | 188.208.224.0/19 1274 | 188.209.64.0/20 1275 | 188.209.116.0/22 1276 | 188.209.152.0/23 1277 | 188.209.192.0/20 1278 | 188.210.64.0/20 1279 | 188.210.96.0/19 1280 | 188.210.232.0/22 1281 | 188.211.0.0/20 1282 | 188.211.32.0/19 1283 | 188.211.176.0/20 1284 | 188.212.22.0/24 1285 | 188.212.48.0/20 1286 | 188.212.144.0/21 1287 | 188.212.160.0/19 1288 | 188.212.200.0/21 1289 | 188.213.64.0/20 1290 | 188.213.96.0/19 1291 | 188.213.144.0/20 1292 | 188.213.176.0/20 1293 | 188.213.208.0/22 1294 | 188.214.4.0/22 1295 | 188.214.84.0/22 1296 | 188.214.96.0/22 1297 | 188.214.120.0/23 1298 | 188.214.160.0/19 1299 | 188.214.216.0/21 1300 | 188.215.24.0/22 1301 | 188.215.88.0/22 1302 | 188.215.128.0/20 1303 | 188.215.160.0/19 1304 | 188.215.240.0/22 1305 | 188.229.0.0/17 1306 | 188.240.196.0/24 1307 | 188.240.212.0/24 1308 | 188.240.248.0/21 1309 | 188.253.2.0/23 1310 | 188.253.32.0/19 1311 | 192.15.0.0/16 1312 | 193.0.156.0/24 1313 | 193.3.31.0/24 1314 | 193.3.182.0/24 1315 | 193.3.231.0/24 1316 | 193.3.255.0/24 1317 | 193.8.95.0/24 1318 | 193.8.139.0/24 1319 | 193.9.24.0/24 1320 | 193.19.144.0/23 1321 | 193.22.20.0/24 1322 | 193.24.103.0/24 1323 | 193.24.105.0/24 1324 | 193.24.118.0/24 1325 | 193.24.120.0/23 1326 | 193.27.9.0/24 1327 | 193.28.181.0/24 1328 | 193.29.24.0/24 1329 | 193.29.26.0/24 1330 | 193.32.80.0/23 1331 | 193.34.244.0/22 1332 | 193.35.62.0/24 1333 | 193.35.230.0/24 1334 | 193.37.37.0/24 1335 | 193.38.247.0/24 1336 | 193.39.9.0/24 1337 | 193.39.70.0/24 1338 | 193.56.59.0/24 1339 | 193.56.61.0/24 1340 | 193.56.107.0/24 1341 | 193.56.118.0/24 1342 | 193.58.119.0/24 1343 | 193.93.182.0/24 1344 | 193.104.22.0/24 1345 | 193.104.29.0/24 1346 | 193.104.212.0/24 1347 | 193.105.2.0/24 1348 | 193.105.6.0/24 1349 | 193.105.234.0/24 1350 | 193.106.190.0/23 1351 | 193.107.44.0/24 1352 | 193.107.48.0/24 1353 | 193.109.56.0/24 1354 | 193.111.234.0/23 1355 | 193.134.100.0/23 1356 | 193.141.64.0/23 1357 | 193.141.126.0/23 1358 | 193.142.232.0/23 1359 | 193.142.254.0/23 1360 | 193.148.64.0/22 1361 | 193.150.66.0/24 1362 | 193.151.128.0/19 1363 | 193.162.129.0/24 1364 | 193.176.97.0/24 1365 | 193.176.240.0/22 1366 | 193.178.200.0/23 1367 | 193.186.32.0/24 1368 | 193.189.122.0/23 1369 | 193.200.148.0/24 1370 | 193.201.192.0/22 1371 | 193.222.51.0/24 1372 | 193.228.90.0/23 1373 | 193.228.136.0/24 1374 | 193.242.125.0/24 1375 | 193.242.194.0/23 1376 | 193.242.208.0/23 1377 | 193.246.174.0/23 1378 | 193.246.200.0/23 1379 | 194.0.234.0/24 1380 | 194.1.155.0/24 1381 | 194.5.16.0/24 1382 | 194.5.40.0/22 1383 | 194.5.50.0/24 1384 | 194.5.54.0/24 1385 | 194.5.175.0/24 1386 | 194.5.188.0/24 1387 | 194.5.195.0/24 1388 | 194.5.205.0/24 1389 | 194.9.56.0/23 1390 | 194.9.80.0/23 1391 | 194.26.117.0/24 1392 | 194.26.195.0/24 1393 | 194.31.108.0/24 1394 | 194.31.194.0/24 1395 | 194.32.209.0/24 1396 | 194.32.213.0/24 1397 | 194.33.28.0/24 1398 | 194.33.104.0/22 1399 | 194.33.122.0/23 1400 | 194.34.160.0/24 1401 | 194.34.163.0/24 1402 | 194.36.0.0/24 1403 | 194.36.174.0/24 1404 | 194.39.36.0/22 1405 | 194.39.248.0/24 1406 | 194.39.254.0/24 1407 | 194.41.48.0/22 1408 | 194.48.198.0/24 1409 | 194.50.169.0/24 1410 | 194.50.204.0/24 1411 | 194.50.209.0/24 1412 | 194.50.216.0/24 1413 | 194.50.218.0/24 1414 | 194.53.118.0/23 1415 | 194.53.122.0/23 1416 | 194.56.148.0/24 1417 | 194.59.170.0/23 1418 | 194.59.214.0/23 1419 | 194.60.208.0/22 1420 | 194.60.228.0/22 1421 | 194.62.17.0/24 1422 | 194.62.43.0/24 1423 | 194.110.24.0/24 1424 | 194.143.140.0/23 1425 | 194.145.119.0/24 1426 | 194.146.148.0/22 1427 | 194.146.239.0/24 1428 | 194.147.142.0/24 1429 | 194.147.164.0/22 1430 | 194.147.212.0/24 1431 | 194.147.222.0/24 1432 | 194.150.68.0/22 1433 | 194.156.140.0/22 1434 | 194.180.224.0/24 1435 | 194.225.0.0/16 1436 | 195.2.234.0/24 1437 | 195.5.105.0/24 1438 | 195.8.102.0/24 1439 | 195.8.110.0/24 1440 | 195.8.112.0/24 1441 | 195.8.114.0/24 1442 | 195.20.136.0/24 1443 | 195.24.233.0/24 1444 | 195.28.10.0/23 1445 | 195.28.168.0/23 1446 | 195.78.115.0/24 1447 | 195.88.188.0/23 1448 | 195.88.208.0/24 1449 | 195.96.128.0/24 1450 | 195.96.135.0/24 1451 | 195.96.153.0/24 1452 | 195.110.38.0/23 1453 | 195.114.4.0/23 1454 | 195.114.8.0/23 1455 | 195.146.32.0/19 1456 | 195.158.230.0/24 1457 | 195.177.255.0/24 1458 | 195.181.0.0/17 1459 | 195.182.38.0/24 1460 | 195.190.144.0/24 1461 | 195.191.22.0/23 1462 | 195.191.44.0/23 1463 | 195.191.74.0/23 1464 | 195.200.77.0/24 1465 | 195.211.44.0/22 1466 | 195.214.235.0/24 1467 | 195.219.71.0/24 1468 | 195.225.232.0/24 1469 | 195.226.223.0/24 1470 | 195.230.97.0/24 1471 | 195.230.105.0/24 1472 | 195.230.107.0/24 1473 | 195.230.124.0/24 1474 | 195.234.80.0/24 1475 | 195.234.191.0/24 1476 | 195.238.231.0/24 1477 | 195.238.240.0/24 1478 | 195.238.247.0/24 1479 | 195.245.70.0/23 1480 | 196.3.91.0/24 1481 | 204.18.0.0/16 1482 | 212.1.192.0/21 1483 | 212.16.64.0/21 1484 | 212.16.81.0/24 1485 | 212.16.88.0/22 1486 | 212.16.95.0/24 1487 | 212.18.108.0/24 1488 | 212.23.201.0/24 1489 | 212.23.214.0/24 1490 | 212.23.216.0/24 1491 | 212.33.192.0/19 1492 | 212.46.45.0/24 1493 | 212.80.1.0/24 1494 | 212.80.8.0/21 1495 | 212.86.64.0/19 1496 | 212.120.192.0/19 1497 | 213.108.240.0/23 1498 | 213.109.199.0/24 1499 | 213.109.240.0/20 1500 | 213.176.0.0/19 1501 | 213.176.68.0/22 1502 | 213.176.76.0/22 1503 | 213.176.96.0/20 1504 | 213.176.120.0/21 1505 | 213.195.0.0/20 1506 | 213.195.32.0/19 1507 | 213.207.192.0/18 1508 | 213.232.124.0/22 1509 | 213.233.160.0/19 1510 | 217.11.16.0/20 1511 | 217.20.252.0/24 1512 | 217.24.144.0/20 1513 | 217.25.48.0/20 1514 | 217.26.222.0/24 1515 | 217.60.187.0/24 1516 | 217.60.236.0/23 1517 | 217.60.239.0/24 1518 | 217.60.244.0/22 1519 | 217.60.252.0/22 1520 | 217.66.192.0/19 1521 | 217.77.112.0/20 1522 | 217.114.40.0/24 1523 | 217.114.46.0/24 1524 | 217.144.104.0/22 1525 | 217.146.191.0/24 1526 | 217.146.208.0/20 1527 | 217.161.16.0/24 1528 | 217.170.240.0/20 1529 | 217.171.145.0/24 1530 | 217.171.148.0/22 1531 | 217.172.98.0/23 1532 | 217.172.102.0/23 1533 | 217.174.16.0/20 1534 | 217.198.190.0/24 1535 | 217.218.0.0/15 1536 | -------------------------------------------------------------------------------- /geodata/ads.txt: -------------------------------------------------------------------------------- 1 | # ADS License : AGPLv3 2 | adtodate.ir 3 | adrooz.com 4 | affilio.ir 5 | analyt.ir 6 | scripts-ads.s3.ir-thr-at1.arvanstorage.com 7 | error-tracking.arvancloud.com 8 | adexo.ir 9 | adskav.com 10 | advn.ir 11 | amaroid.net 12 | lnk.amaroid.net 13 | analytics.aasaam.com 14 | analytics-2.aasaam.com 15 | analytics-3.aasaam.com 16 | adwised.com 17 | adwisedfs.com 18 | adivery.com 19 | adnegah.net 20 | adpulse.ir 21 | adsima.net 22 | adtrace.io 23 | adtrace.ir 24 | adtrace.world 25 | affili.ir 26 | amarfa.ir 27 | ayyaar.ir 28 | adro.co 29 | affstat.adro.co 30 | adro.ir 31 | affstat.digikala.com 32 | affiliate.digikala.com 33 | binoads.ir 34 | bl9.ir 35 | backlink.ir 36 | behtarinseo.ir 37 | boorantech.com 38 | behinava.com 39 | radar.bayan.ir 40 | backority.ir 41 | cayot.ir 42 | chavosh.org 43 | ck.chavosh.org 44 | clickaval.com 45 | clickyab.com 46 | chabok.io 47 | congoro.com 48 | congoro.ir 49 | dezhino.com 50 | daartads.com 51 | daneshin.ir 52 | 24d.ir 53 | l.24d.ir 54 | denutility.com 55 | davedbux.ir 56 | deemanetwork.com 57 | deema.agency 58 | deemaagency.ir 59 | click.digiato.com 60 | facepop.org 61 | farsbux.ir 62 | fastclick.ir 63 | farakav.com 64 | ads.farakav.com 65 | sentry.hamravesh.com 66 | hantana.org 67 | intrack.ir 68 | geoip.imber.live 69 | jetbux.ir 70 | api.karpishe.com 71 | kajads.com 72 | ads.karzar.net 73 | kaprila.com 74 | analytics.labbayk.ir 75 | linkfars.com 76 | landyab.com 77 | linksaz.net 78 | linkyar.com 79 | ir.mihanstore.net 80 | metrix.ir 81 | trc.metrix.ir 82 | mediaad.org 83 | magnetadservices.com 84 | merita.ir 85 | mitrarank.ir 86 | analytics.nastooh.ir 87 | newswidget.net 88 | vidomusic.org 89 | pantatec.ae 90 | najva.com 91 | netbina.com 92 | oscaranimation.in 93 | on-click.ir 94 | onclick.ir 95 | pegah.tech 96 | pushq.ir 97 | pooye-ads.com 98 | promizer.com 99 | phonroid.com 100 | popina.ir 101 | popunder.ir 102 | popupdl.ir 103 | popland.info 104 | peyvandha.ir 105 | phoenixad.io 106 | partclick.ir 107 | persianrank.ir 108 | popgozar.com 109 | popupplus.ir 110 | popupme.net 111 | pushe.co 112 | p30rank.ir 113 | publica.ir 114 | rankirani.ir 115 | rssbank.ir 116 | spellpop.ir 117 | spellads.com 118 | offers.sapra.ir 119 | statsfa.com 120 | sendword.ir 121 | sanjagh.com 122 | sanjagh.net 123 | ads.safarme.ir 124 | sabavision.com 125 | sabaidea.cloud 126 | trustseal.e-rasaneh.ir 127 | triboon.net 128 | te1.ir 129 | talapop.ir 130 | tabligheirani.ir 131 | tbli.ir 132 | cashback.takhfifan.com 133 | tapsell.ir 134 | toppopup.com 135 | counter.toolsir.com 136 | usermap.net 137 | userfriendly.ir 138 | utopclick.com 139 | utop.ir 140 | vatanclick.ir 141 | wideads.com 142 | xjs.lol 143 | xmlx.lol 144 | yelloadwise.ir 145 | yektanet.com 146 | yekbux.com 147 | zarad.net 148 | zarpop.com 149 | ads.aftab.cc 150 | analytics.asiatech.ir 151 | dsp.aparat.com 152 | ads.asset.aparat.com 153 | ads.akairan.com 154 | ads.akaup.com 155 | ads.alaatv.com 156 | sentry.alaatv.com 157 | sentry.bale.sh 158 | posthog.basalam.com 159 | sentry.basalam.com 160 | metrix.behtarino.com 161 | apm.bama.ir 162 | sentry.cafebazaar.org 163 | tadv.didestan.net 164 | analytics.dunro.com 165 | ads.dabi.ir 166 | tracker.digikala.com 167 | new-sentry.digikala.com 168 | sentry.divar.cloud 169 | actionlog.divar.ir 170 | analytics.fam.ir 171 | sentry.fidibo.net 172 | vast.filmnet.ir 173 | sentry.filmnet.ir 174 | analytics.football360.ir 175 | sentry.footballiapp.com 176 | analysis.faradars.org 177 | tracker.farsnews.ir 178 | analytics.hostiran.net 179 | hiads.hidoctor.ir 180 | ipsite.ir 181 | analytics.irancell.ir 182 | apptracking.irancell.ir 183 | websocket.ilna.ir 184 | sentry.alibaba.ir 185 | tracker.jabama.com 186 | kar-sentry.karnameh.com 187 | websocket.khanefootball.com 188 | counter.musicsweb.ir 189 | counter.mahanmusic.net 190 | analytic.magland.ir 191 | affiliate.malltina.com 192 | sentry.malltina.com 193 | sentry.namava.ir 194 | ws.namava.ir 195 | stc.ninisite.com 196 | websocket.55online.news 197 | analytics.plaza.ir 198 | sentry.quera.org 199 | a.reymit.ir 200 | sentry.mielse.com 201 | ingest-data-afra.snappfood.dev 202 | errortracking.snapp.site 203 | websocket.sobhtazeh.news 204 | linkdoni.soft98.ir 205 | ad.technews-iran.com 206 | adengine.telewebion.com 207 | analytics.telewebion.com 208 | analytics.jeldnews.com 209 | sentry.virgool.io 210 | countly.virgool.io 211 | websocket.varandaz.com 212 | news-view-api.varzesh3.com 213 | video-view-api.varzesh3.com 214 | analytics.zoomit.ir 215 | excoino.com 216 | irancloudmining.com 217 | axotrade.com 218 | yoozbit.com 219 | nokontoken.com 220 | aryana.io 221 | aryacoin.io 222 | aryastake.io 223 | cryptoland.com 224 | bridge.link 225 | mtabdil.com 226 | mttcoin.com 227 | treenvest.com 228 | artanlife.club 229 | tastenfts.com 230 | bemchain.io 231 | emway.ir 232 | defigroups.com 233 | leumia.io 234 | aitrades.com 235 | propertiq.io 236 | bixbcoin.com 237 | synchrobit.io 238 | arongroups.co 239 | guhtoken.org 240 | orbitnetwork.net 241 | kingmoney.io 242 | utbyte.io 243 | quahl.com 244 | gpm.ltd 245 | dagcoin.org 246 | coinwallet.biz 247 | soodland.com 248 | minepi.com 249 | irancoinmine.com 250 | laqira.io 251 | waykingroup.com 252 | bnbmatrix.io 253 | bahatoken.site 254 | shamining.com 255 | ccnnetwork.co 256 | wintap.io 257 | frzss.com 258 | hoho.mobi 259 | unitedsolarinfinity.com 260 | mogo-crypto.net 261 | tinancefa.org 262 | chancx.io 263 | falixa.com 264 | laxsson.com 265 | tradergpt.ai 266 | meashstis.ir 267 | -------------------------------------------------------------------------------- /geodata/iran.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SonyaCore/V2RayGen/5db6eb445b414dcb6be6df86b74e80c371c65a97/geodata/iran.dat -------------------------------------------------------------------------------- /geodata/qv2ray-client.json: -------------------------------------------------------------------------------- 1 | { 2 | "License": "https://www.gnu.org/licenses/gpl-3.0.en.html", 3 | "ADSlicense": "AGPLv3", 4 | "description": "List of Iranian IP's", 5 | "domainStrategy": "IPIfNonMatch", 6 | "domains": { 7 | "direct": [ 8 | "regexp:^.+\\.ir$" 9 | ], 10 | "block": [ 11 | "geosite:category-ads-all", 12 | "adtodate.ir", 13 | "adrooz.com", 14 | "affilio.ir", 15 | "analyt.ir", 16 | "scripts-ads.s3.ir-thr-at1.arvanstorage.com", 17 | "error-tracking.arvancloud.com", 18 | "adexo.ir", 19 | "adskav.com", 20 | "advn.ir", 21 | "amaroid.net", 22 | "lnk.amaroid.net", 23 | "analytics.aasaam.com", 24 | "analytics-2.aasaam.com", 25 | "analytics-3.aasaam.com", 26 | "adwised.com", 27 | "adwisedfs.com", 28 | "adivery.com", 29 | "adnegah.net", 30 | "adpulse.ir", 31 | "adsima.net", 32 | "adtrace.io", 33 | "adtrace.ir", 34 | "adtrace.world", 35 | "affili.ir", 36 | "amarfa.ir", 37 | "ayyaar.ir", 38 | "adro.co", 39 | "affstat.adro.co", 40 | "adro.ir", 41 | "affstat.digikala.com", 42 | "affiliate.digikala.com", 43 | "binoads.ir", 44 | "bl9.ir", 45 | "backlink.ir", 46 | "behtarinseo.ir", 47 | "boorantech.com", 48 | "behinava.com", 49 | "radar.bayan.ir", 50 | "backority.ir", 51 | "cayot.ir", 52 | "chavosh.org", 53 | "ck.chavosh.org", 54 | "clickaval.com", 55 | "clickyab.com", 56 | "chabok.io", 57 | "congoro.com", 58 | "congoro.ir", 59 | "dezhino.com", 60 | "daartads.com", 61 | "daneshin.ir", 62 | "24d.ir", 63 | "l.24d.ir", 64 | "denutility.com", 65 | "davedbux.ir", 66 | "deemanetwork.com", 67 | "deema.agency", 68 | "deemaagency.ir", 69 | "click.digiato.com", 70 | "facepop.org", 71 | "farsbux.ir", 72 | "fastclick.ir", 73 | "farakav.com", 74 | "ads.farakav.com", 75 | "sentry.hamravesh.com", 76 | "hantana.org", 77 | "intrack.ir", 78 | "geoip.imber.live", 79 | "jetbux.ir", 80 | "api.karpishe.com", 81 | "kajads.com", 82 | "ads.karzar.net", 83 | "kaprila.com", 84 | "analytics.labbayk.ir", 85 | "linkfars.com", 86 | "landyab.com", 87 | "linksaz.net", 88 | "linkyar.com", 89 | "ir.mihanstore.net", 90 | "metrix.ir", 91 | "trc.metrix.ir", 92 | "mediaad.org", 93 | "magnetadservices.com", 94 | "merita.ir", 95 | "mitrarank.ir", 96 | "analytics.nastooh.ir", 97 | "newswidget.net", 98 | "vidomusic.org", 99 | "pantatec.ae", 100 | "najva.com", 101 | "netbina.com", 102 | "oscaranimation.in", 103 | "on-click.ir", 104 | "onclick.ir", 105 | "pegah.tech", 106 | "pushq.ir", 107 | "pooye-ads.com", 108 | "promizer.com", 109 | "phonroid.com", 110 | "popina.ir", 111 | "popunder.ir", 112 | "popupdl.ir", 113 | "popland.info", 114 | "peyvandha.ir", 115 | "phoenixad.io", 116 | "partclick.ir", 117 | "persianrank.ir", 118 | "popgozar.com", 119 | "popupplus.ir", 120 | "popupme.net", 121 | "pushe.co", 122 | "p30rank.ir", 123 | "publica.ir", 124 | "rankirani.ir", 125 | "rssbank.ir", 126 | "spellpop.ir", 127 | "spellads.com", 128 | "offers.sapra.ir", 129 | "statsfa.com", 130 | "sendword.ir", 131 | "sanjagh.com", 132 | "sanjagh.net", 133 | "ads.safarme.ir", 134 | "sabavision.com", 135 | "sabaidea.cloud", 136 | "trustseal.e-rasaneh.ir", 137 | "triboon.net", 138 | "te1.ir", 139 | "talapop.ir", 140 | "tabligheirani.ir", 141 | "tbli.ir", 142 | "cashback.takhfifan.com", 143 | "tapsell.ir", 144 | "toppopup.com", 145 | "counter.toolsir.com", 146 | "usermap.net", 147 | "userfriendly.ir", 148 | "utopclick.com", 149 | "utop.ir", 150 | "vatanclick.ir", 151 | "wideads.com", 152 | "xjs.lol", 153 | "xmlx.lol", 154 | "yelloadwise.ir", 155 | "yektanet.com", 156 | "yekbux.com", 157 | "zarad.net", 158 | "zarpop.com", 159 | "ads.aftab.cc", 160 | "analytics.asiatech.ir", 161 | "dsp.aparat.com", 162 | "ads.asset.aparat.com", 163 | "ads.akairan.com", 164 | "ads.akaup.com", 165 | "ads.alaatv.com", 166 | "sentry.alaatv.com", 167 | "sentry.bale.sh", 168 | "posthog.basalam.com", 169 | "sentry.basalam.com", 170 | "metrix.behtarino.com", 171 | "apm.bama.ir", 172 | "sentry.cafebazaar.org", 173 | "tadv.didestan.net", 174 | "analytics.dunro.com", 175 | "ads.dabi.ir", 176 | "tracker.digikala.com", 177 | "new-sentry.digikala.com", 178 | "sentry.divar.cloud", 179 | "actionlog.divar.ir", 180 | "analytics.fam.ir", 181 | "sentry.fidibo.net", 182 | "vast.filmnet.ir", 183 | "sentry.filmnet.ir", 184 | "analytics.football360.ir", 185 | "sentry.footballiapp.com", 186 | "analysis.faradars.org", 187 | "tracker.farsnews.ir", 188 | "analytics.hostiran.net", 189 | "hiads.hidoctor.ir", 190 | "ipsite.ir", 191 | "analytics.irancell.ir", 192 | "apptracking.irancell.ir", 193 | "websocket.ilna.ir", 194 | "sentry.alibaba.ir", 195 | "tracker.jabama.com", 196 | "kar-sentry.karnameh.com", 197 | "websocket.khanefootball.com", 198 | "counter.musicsweb.ir", 199 | "counter.mahanmusic.net", 200 | "analytic.magland.ir", 201 | "affiliate.malltina.com", 202 | "sentry.malltina.com", 203 | "sentry.namava.ir", 204 | "ws.namava.ir", 205 | "stc.ninisite.com", 206 | "websocket.55online.news", 207 | "analytics.plaza.ir", 208 | "sentry.quera.org", 209 | "a.reymit.ir", 210 | "sentry.mielse.com", 211 | "ingest-data-afra.snappfood.dev", 212 | "errortracking.snapp.site", 213 | "websocket.sobhtazeh.news", 214 | "linkdoni.soft98.ir", 215 | "ad.technews-iran.com", 216 | "adengine.telewebion.com", 217 | "analytics.telewebion.com", 218 | "analytics.jeldnews.com", 219 | "sentry.virgool.io", 220 | "countly.virgool.io", 221 | "websocket.varandaz.com", 222 | "news-view-api.varzesh3.com", 223 | "video-view-api.varzesh3.com", 224 | "analytics.zoomit.ir", 225 | "excoino.com", 226 | "irancloudmining.com", 227 | "axotrade.com", 228 | "yoozbit.com", 229 | "nokontoken.com", 230 | "aryana.io", 231 | "aryacoin.io", 232 | "aryastake.io", 233 | "cryptoland.com", 234 | "bridge.link", 235 | "mtabdil.com", 236 | "mttcoin.com", 237 | "treenvest.com", 238 | "artanlife.club", 239 | "tastenfts.com", 240 | "bemchain.io", 241 | "emway.ir", 242 | "defigroups.com", 243 | "leumia.io", 244 | "aitrades.com", 245 | "propertiq.io", 246 | "bixbcoin.com", 247 | "synchrobit.io", 248 | "arongroups.co", 249 | "guhtoken.org", 250 | "orbitnetwork.net", 251 | "kingmoney.io", 252 | "utbyte.io", 253 | "quahl.com", 254 | "gpm.ltd", 255 | "dagcoin.org", 256 | "coinwallet.biz", 257 | "soodland.com", 258 | "minepi.com", 259 | "irancoinmine.com", 260 | "laqira.io", 261 | "waykingroup.com", 262 | "bnbmatrix.io", 263 | "bahatoken.site", 264 | "shamining.com", 265 | "ccnnetwork.co", 266 | "wintap.io", 267 | "frzss.com", 268 | "hoho.mobi", 269 | "unitedsolarinfinity.com", 270 | "mogo-crypto.net", 271 | "tinancefa.org", 272 | "chancx.io", 273 | "falixa.com", 274 | "laxsson.com", 275 | "tradergpt.ai", 276 | "meashstis.ir" 277 | ] 278 | }, 279 | "ips": { 280 | "direct": [ 281 | "2.57.3.0/24", 282 | "2.144.0.0/14", 283 | "2.176.0.0/12", 284 | "5.1.43.0/24", 285 | "5.10.248.0/23", 286 | "5.22.0.0/17", 287 | "5.22.192.0/21", 288 | "5.23.112.0/21", 289 | "5.34.192.0/20", 290 | "5.42.217.0/24", 291 | "5.42.223.0/24", 292 | "5.52.0.0/16", 293 | "5.53.32.0/19", 294 | "5.56.128.0/22", 295 | "5.56.134.0/23", 296 | "5.57.32.0/21", 297 | "5.61.24.0/23", 298 | "5.61.28.0/22", 299 | "5.62.160.0/19", 300 | "5.63.8.0/21", 301 | "5.63.23.0/24", 302 | "5.72.0.0/15", 303 | "5.104.208.0/21", 304 | "5.106.0.0/16", 305 | "5.112.0.0/12", 306 | "5.134.128.0/18", 307 | "5.144.128.0/21", 308 | "5.145.112.0/21", 309 | "5.159.48.0/21", 310 | "5.160.0.0/18", 311 | "5.160.112.0/20", 312 | "5.182.44.0/22", 313 | "5.190.0.0/16", 314 | "5.198.160.0/19", 315 | "5.200.64.0/18", 316 | "5.201.128.0/17", 317 | "5.208.0.0/13", 318 | "5.232.0.0/14", 319 | "5.236.156.0/22", 320 | "5.250.0.0/17", 321 | "5.252.216.0/22", 322 | "5.253.24.0/22", 323 | "5.253.96.0/22", 324 | "5.253.225.0/24", 325 | "31.2.128.0/17", 326 | "31.7.64.0/21", 327 | "31.7.88.0/22", 328 | "31.7.96.0/19", 329 | "31.14.80.0/20", 330 | "31.14.112.0/20", 331 | "31.14.144.0/20", 332 | "31.24.200.0/21", 333 | "31.24.232.0/21", 334 | "31.25.90.0/23", 335 | "31.25.104.0/21", 336 | "31.25.128.0/21", 337 | "31.25.232.0/23", 338 | "31.40.0.0/21", 339 | "31.41.35.0/24", 340 | "31.47.32.0/19", 341 | "31.130.176.0/20", 342 | "31.170.48.0/22", 343 | "31.170.56.0/21", 344 | "31.171.216.0/21", 345 | "31.184.128.0/18", 346 | "31.193.112.0/21", 347 | "31.193.186.0/24", 348 | "31.214.132.0/23", 349 | "31.214.146.0/23", 350 | "31.214.154.0/24", 351 | "31.214.168.0/21", 352 | "31.214.200.0/23", 353 | "31.214.228.0/22", 354 | "31.214.248.0/21", 355 | "31.216.62.0/24", 356 | "31.217.208.0/21", 357 | "37.9.248.0/21", 358 | "37.10.64.0/22", 359 | "37.10.109.0/24", 360 | "37.10.117.0/24", 361 | "37.19.80.0/20", 362 | "37.32.0.0/19", 363 | "37.32.112.0/20", 364 | "37.44.56.0/21", 365 | "37.63.128.0/17", 366 | "37.75.240.0/21", 367 | "37.98.0.0/17", 368 | "37.114.192.0/18", 369 | "37.129.0.0/16", 370 | "37.130.200.0/21", 371 | "37.137.0.0/16", 372 | "37.143.144.0/21", 373 | "37.148.0.0/17", 374 | "37.148.248.0/22", 375 | "37.152.160.0/19", 376 | "37.153.128.0/22", 377 | "37.153.176.0/20", 378 | "37.156.0.0/22", 379 | "37.156.8.0/21", 380 | "37.156.48.0/20", 381 | "37.156.100.0/22", 382 | "37.156.112.0/20", 383 | "37.156.152.0/21", 384 | "37.156.176.0/22", 385 | "37.156.212.0/22", 386 | "37.156.232.0/21", 387 | "37.156.248.0/22", 388 | "37.191.64.0/19", 389 | "37.202.128.0/18", 390 | "37.202.224.0/19", 391 | "37.221.0.0/18", 392 | "37.228.131.0/24", 393 | "37.228.133.0/24", 394 | "37.228.135.0/24", 395 | "37.235.16.0/20", 396 | "37.254.0.0/15", 397 | "45.8.160.0/22", 398 | "45.9.144.0/22", 399 | "45.9.252.0/22", 400 | "45.11.184.0/24", 401 | "45.11.186.0/23", 402 | "45.15.200.0/22", 403 | "45.15.248.0/22", 404 | "45.82.136.0/22", 405 | "45.84.156.0/22", 406 | "45.84.248.0/22", 407 | "45.86.4.0/22", 408 | "45.86.87.0/24", 409 | "45.86.196.0/22", 410 | "45.87.4.0/22", 411 | "45.89.136.0/22", 412 | "45.89.200.0/24", 413 | "45.89.202.0/23", 414 | "45.89.236.0/22", 415 | "45.90.72.0/22", 416 | "45.91.152.0/22", 417 | "45.92.92.0/22", 418 | "45.94.212.0/22", 419 | "45.94.252.0/22", 420 | "45.128.140.0/22", 421 | "45.129.36.0/22", 422 | "45.129.116.0/22", 423 | "45.132.32.0/24", 424 | "45.132.168.0/21", 425 | "45.135.240.0/22", 426 | "45.137.19.0/24", 427 | "45.138.132.0/22", 428 | "45.139.10.0/23", 429 | "45.140.28.0/22", 430 | "45.140.224.0/21", 431 | "45.142.188.0/22", 432 | "45.144.16.0/22", 433 | "45.144.124.0/22", 434 | "45.147.76.0/22", 435 | "45.148.248.0/22", 436 | "45.149.76.0/22", 437 | "45.150.88.0/22", 438 | "45.150.150.0/24", 439 | "45.155.192.0/22", 440 | "45.156.180.0/22", 441 | "45.156.192.0/21", 442 | "45.157.244.0/22", 443 | "45.158.120.0/22", 444 | "45.159.112.0/22", 445 | "45.159.148.0/22", 446 | "45.159.196.0/22", 447 | "46.18.248.0/21", 448 | "46.21.80.0/20", 449 | "46.28.72.0/21", 450 | "46.32.0.0/19", 451 | "46.34.96.0/19", 452 | "46.34.160.0/19", 453 | "46.36.96.0/20", 454 | "46.38.129.0/24", 455 | "46.38.131.0/24", 456 | "46.38.142.0/23", 457 | "46.38.157.0/24", 458 | "46.41.192.0/18", 459 | "46.51.0.0/17", 460 | "46.100.0.0/16", 461 | "46.102.120.0/21", 462 | "46.102.184.0/22", 463 | "46.143.0.0/17", 464 | "46.143.208.0/21", 465 | "46.143.244.0/22", 466 | "46.148.32.0/20", 467 | "46.164.64.0/18", 468 | "46.167.128.0/19", 469 | "46.182.32.0/23", 470 | "46.182.36.0/22", 471 | "46.209.0.0/16", 472 | "46.235.76.0/23", 473 | "46.245.0.0/17", 474 | "46.248.32.0/19", 475 | "46.249.96.0/24", 476 | "46.249.120.0/21", 477 | "46.251.224.0/24", 478 | "46.251.226.0/24", 479 | "46.251.237.0/24", 480 | "46.255.216.0/21", 481 | "62.3.14.0/24", 482 | "62.3.41.0/24", 483 | "62.32.50.0/24", 484 | "62.32.53.0/24", 485 | "62.60.128.0/20", 486 | "62.60.160.0/20", 487 | "62.60.188.0/22", 488 | "62.60.218.0/23", 489 | "62.102.128.0/20", 490 | "62.106.95.0/24", 491 | "62.133.46.0/24", 492 | "62.193.0.0/19", 493 | "62.204.61.0/24", 494 | "62.220.96.0/19", 495 | "63.243.185.0/24", 496 | "66.79.96.0/19", 497 | "69.194.64.0/18", 498 | "77.36.128.0/17", 499 | "77.72.80.0/24", 500 | "77.77.64.0/18", 501 | "77.81.32.0/20", 502 | "77.81.76.0/24", 503 | "77.81.78.0/24", 504 | "77.81.82.0/23", 505 | "77.81.128.0/21", 506 | "77.81.144.0/20", 507 | "77.81.192.0/19", 508 | "77.104.64.0/18", 509 | "77.237.64.0/19", 510 | "77.237.160.0/19", 511 | "77.238.104.0/21", 512 | "77.245.224.0/20", 513 | "78.31.232.0/22", 514 | "78.38.0.0/15", 515 | "78.109.192.0/20", 516 | "78.110.112.0/20", 517 | "78.111.0.0/20", 518 | "78.154.32.0/19", 519 | "78.157.32.0/19", 520 | "78.158.160.0/19", 521 | "79.127.0.0/17", 522 | "79.132.192.0/23", 523 | "79.132.200.0/21", 524 | "79.143.84.0/23", 525 | "79.174.160.0/21", 526 | "79.175.128.0/18", 527 | "80.66.176.0/20", 528 | "80.71.112.0/20", 529 | "80.71.149.0/24", 530 | "80.75.0.0/20", 531 | "80.75.213.0/24", 532 | "80.75.215.0/24", 533 | "80.91.208.0/24", 534 | "80.191.0.0/17", 535 | "80.191.242.0/23", 536 | "80.210.0.0/18", 537 | "80.210.128.0/17", 538 | "80.242.0.0/20", 539 | "80.244.7.0/24", 540 | "80.249.112.0/22", 541 | "80.250.192.0/20", 542 | "80.253.128.0/19", 543 | "81.12.0.0/17", 544 | "81.16.112.0/20", 545 | "81.28.32.0/19", 546 | "81.28.252.0/23", 547 | "81.29.240.0/20", 548 | "81.30.98.0/24", 549 | "81.30.107.0/24", 550 | "81.31.160.0/19", 551 | "81.31.224.0/22", 552 | "81.31.233.0/24", 553 | "81.31.236.0/22", 554 | "81.31.248.0/22", 555 | "81.90.144.0/20", 556 | "81.91.128.0/19", 557 | "81.163.0.0/21", 558 | "82.99.192.0/18", 559 | "82.138.140.0/24", 560 | "82.180.192.0/18", 561 | "83.97.72.0/24", 562 | "83.120.0.0/14", 563 | "83.147.193.0/24", 564 | "83.150.192.0/22", 565 | "84.47.192.0/18", 566 | "84.241.0.0/18", 567 | "85.9.64.0/18", 568 | "85.15.0.0/18", 569 | "85.133.128.0/18", 570 | "85.133.194.0/23", 571 | "85.185.0.0/16", 572 | "85.198.0.0/19", 573 | "85.198.48.0/20", 574 | "85.204.30.0/23", 575 | "85.204.76.0/23", 576 | "85.204.80.0/20", 577 | "85.204.104.0/23", 578 | "85.204.128.0/22", 579 | "85.204.208.0/20", 580 | "85.208.252.0/22", 581 | "85.239.192.0/19", 582 | "86.55.0.0/16", 583 | "86.57.0.0/17", 584 | "86.104.32.0/20", 585 | "86.104.80.0/20", 586 | "86.104.232.0/21", 587 | "86.105.40.0/21", 588 | "86.105.128.0/20", 589 | "86.106.142.0/24", 590 | "86.106.192.0/21", 591 | "86.107.0.0/20", 592 | "86.107.80.0/20", 593 | "86.107.144.0/20", 594 | "86.107.172.0/22", 595 | "86.107.208.0/20", 596 | "86.109.32.0/19", 597 | "87.107.0.0/16", 598 | "87.236.38.0/23", 599 | "87.236.166.0/24", 600 | "87.236.209.0/24", 601 | "87.247.168.0/21", 602 | "87.248.128.0/24", 603 | "87.248.130.0/23", 604 | "87.248.133.0/24", 605 | "87.248.137.0/24", 606 | "87.248.145.0/24", 607 | "87.248.147.0/24", 608 | "87.248.150.0/23", 609 | "87.248.156.0/24", 610 | "87.248.159.0/24", 611 | "87.251.128.0/19", 612 | "88.135.32.0/20", 613 | "88.135.68.0/24", 614 | "88.135.72.0/24", 615 | "88.135.75.0/24", 616 | "88.218.16.0/24", 617 | "88.218.18.0/23", 618 | "89.23.126.0/24", 619 | "89.32.0.0/19", 620 | "89.32.96.0/20", 621 | "89.32.196.0/23", 622 | "89.32.248.0/22", 623 | "89.33.18.0/23", 624 | "89.33.100.0/22", 625 | "89.33.128.0/23", 626 | "89.33.204.0/23", 627 | "89.33.234.0/23", 628 | "89.33.240.0/23", 629 | "89.34.20.0/23", 630 | "89.34.32.0/19", 631 | "89.34.88.0/23", 632 | "89.34.94.0/23", 633 | "89.34.128.0/19", 634 | "89.34.168.0/23", 635 | "89.34.176.0/23", 636 | "89.34.200.0/23", 637 | "89.34.248.0/21", 638 | "89.35.58.0/23", 639 | "89.35.68.0/22", 640 | "89.35.120.0/22", 641 | "89.35.132.0/23", 642 | "89.35.156.0/23", 643 | "89.35.176.0/23", 644 | "89.35.180.0/22", 645 | "89.35.194.0/23", 646 | "89.36.16.0/23", 647 | "89.36.48.0/20", 648 | "89.36.96.0/20", 649 | "89.36.176.0/20", 650 | "89.36.194.0/23", 651 | "89.36.226.0/23", 652 | "89.36.252.0/23", 653 | "89.37.0.0/20", 654 | "89.37.30.0/23", 655 | "89.37.42.0/23", 656 | "89.37.102.0/23", 657 | "89.37.144.0/21", 658 | "89.37.168.0/22", 659 | "89.37.198.0/23", 660 | "89.37.208.0/22", 661 | "89.37.218.0/23", 662 | "89.37.240.0/20", 663 | "89.38.24.0/23", 664 | "89.38.80.0/20", 665 | "89.38.102.0/23", 666 | "89.38.184.0/21", 667 | "89.38.212.0/22", 668 | "89.38.242.0/23", 669 | "89.39.8.0/22", 670 | "89.39.186.0/23", 671 | "89.39.208.0/24", 672 | "89.40.38.0/23", 673 | "89.40.78.0/23", 674 | "89.40.90.0/23", 675 | "89.40.106.0/23", 676 | "89.40.110.0/23", 677 | "89.40.128.0/23", 678 | "89.40.152.0/21", 679 | "89.40.240.0/20", 680 | "89.41.8.0/21", 681 | "89.41.32.0/23", 682 | "89.41.40.0/22", 683 | "89.41.58.0/23", 684 | "89.41.184.0/22", 685 | "89.41.192.0/19", 686 | "89.41.240.0/21", 687 | "89.42.32.0/23", 688 | "89.42.44.0/22", 689 | "89.42.56.0/23", 690 | "89.42.68.0/23", 691 | "89.42.96.0/21", 692 | "89.42.136.0/22", 693 | "89.42.150.0/23", 694 | "89.42.184.0/21", 695 | "89.42.196.0/22", 696 | "89.42.208.0/22", 697 | "89.42.228.0/23", 698 | "89.43.0.0/20", 699 | "89.43.36.0/23", 700 | "89.43.70.0/23", 701 | "89.43.88.0/21", 702 | "89.43.144.0/21", 703 | "89.43.182.0/23", 704 | "89.43.188.0/23", 705 | "89.43.204.0/23", 706 | "89.43.216.0/21", 707 | "89.44.112.0/23", 708 | "89.44.118.0/23", 709 | "89.44.128.0/21", 710 | "89.44.146.0/23", 711 | "89.44.176.0/21", 712 | "89.44.190.0/23", 713 | "89.44.202.0/23", 714 | "89.44.240.0/22", 715 | "89.45.48.0/20", 716 | "89.45.68.0/23", 717 | "89.45.80.0/23", 718 | "89.45.89.0/24", 719 | "89.45.112.0/21", 720 | "89.45.126.0/23", 721 | "89.45.152.0/21", 722 | "89.45.230.0/23", 723 | "89.46.44.0/23", 724 | "89.46.60.0/23", 725 | "89.46.94.0/23", 726 | "89.46.184.0/21", 727 | "89.46.216.0/22", 728 | "89.47.64.0/20", 729 | "89.47.128.0/19", 730 | "89.47.196.0/22", 731 | "89.144.128.0/18", 732 | "89.165.0.0/17", 733 | "89.196.0.0/16", 734 | "89.198.0.0/15", 735 | "89.219.64.0/18", 736 | "89.219.192.0/18", 737 | "89.221.80.0/20", 738 | "89.235.64.0/18", 739 | "91.92.104.0/24", 740 | "91.92.114.0/24", 741 | "91.92.121.0/24", 742 | "91.92.129.0/24", 743 | "91.92.145.0/24", 744 | "91.92.156.0/22", 745 | "91.92.164.0/22", 746 | "91.92.172.0/22", 747 | "91.92.180.0/22", 748 | "91.92.204.0/22", 749 | "91.92.220.0/22", 750 | "91.92.228.0/23", 751 | "91.92.231.0/24", 752 | "91.92.236.0/22", 753 | "91.106.64.0/19", 754 | "91.108.128.0/19", 755 | "91.109.104.0/21", 756 | "91.132.166.0/24", 757 | "91.133.128.0/17", 758 | "91.147.64.0/20", 759 | "91.184.64.0/19", 760 | "91.185.128.0/19", 761 | "91.186.192.0/23", 762 | "91.190.88.0/21", 763 | "91.194.6.0/24", 764 | "91.197.242.0/24", 765 | "91.199.9.0/24", 766 | "91.199.18.0/24", 767 | "91.199.27.0/24", 768 | "91.199.30.0/24", 769 | "91.199.215.0/24", 770 | "91.206.171.0/24", 771 | "91.206.177.0/24", 772 | "91.207.18.0/24", 773 | "91.207.138.0/23", 774 | "91.208.163.0/24", 775 | "91.208.165.0/24", 776 | "91.209.96.0/24", 777 | "91.209.161.0/24", 778 | "91.209.183.0/24", 779 | "91.209.186.0/24", 780 | "91.209.242.0/24", 781 | "91.212.16.0/24", 782 | "91.212.232.0/24", 783 | "91.212.252.0/24", 784 | "91.213.83.0/24", 785 | "91.213.151.0/24", 786 | "91.213.157.0/24", 787 | "91.213.167.0/24", 788 | "91.213.172.0/24", 789 | "91.216.4.0/24", 790 | "91.216.171.0/24", 791 | "91.216.217.0/24", 792 | "91.217.64.0/23", 793 | "91.217.177.0/24", 794 | "91.217.241.0/24", 795 | "91.220.79.0/24", 796 | "91.220.113.0/24", 797 | "91.220.243.0/24", 798 | "91.221.240.0/23", 799 | "91.222.196.0/22", 800 | "91.222.204.0/22", 801 | "91.223.61.0/24", 802 | "91.223.116.0/24", 803 | "91.223.146.0/24", 804 | "91.223.187.0/24", 805 | "91.224.20.0/23", 806 | "91.224.110.0/23", 807 | "91.224.176.0/23", 808 | "91.225.52.0/22", 809 | "91.226.224.0/23", 810 | "91.226.246.0/24", 811 | "91.227.27.0/24", 812 | "91.227.84.0/22", 813 | "91.227.246.0/23", 814 | "91.228.22.0/23", 815 | "91.228.132.0/23", 816 | "91.228.189.0/24", 817 | "91.229.46.0/23", 818 | "91.229.214.0/23", 819 | "91.230.32.0/24", 820 | "91.231.222.0/24", 821 | "91.232.64.0/22", 822 | "91.232.72.0/22", 823 | "91.233.56.0/22", 824 | "91.234.38.0/23", 825 | "91.234.52.0/24", 826 | "91.236.168.0/23", 827 | "91.237.254.0/23", 828 | "91.239.14.0/24", 829 | "91.239.108.0/22", 830 | "91.239.189.0/24", 831 | "91.239.192.0/24", 832 | "91.239.210.0/24", 833 | "91.239.214.0/24", 834 | "91.240.60.0/22", 835 | "91.240.95.0/24", 836 | "91.240.116.0/24", 837 | "91.240.180.0/22", 838 | "91.241.20.0/23", 839 | "91.241.92.0/24", 840 | "91.242.44.0/23", 841 | "91.243.114.0/24", 842 | "91.243.126.0/23", 843 | "91.243.160.0/20", 844 | "91.244.120.0/22", 845 | "91.245.228.0/22", 846 | "91.246.31.0/24", 847 | "91.246.44.0/24", 848 | "91.246.49.0/24", 849 | "91.247.66.0/23", 850 | "91.247.171.0/24", 851 | "91.247.174.0/24", 852 | "91.250.224.0/20", 853 | "91.251.0.0/16", 854 | "92.42.48.0/21", 855 | "92.43.160.0/22", 856 | "92.61.176.0/20", 857 | "92.114.16.0/20", 858 | "92.114.48.0/22", 859 | "92.114.64.0/20", 860 | "92.119.57.0/24", 861 | "92.119.68.0/22", 862 | "92.242.192.0/19", 863 | "92.246.144.0/22", 864 | "92.246.156.0/22", 865 | "92.249.56.0/22", 866 | "93.88.64.0/21", 867 | "93.93.204.0/24", 868 | "93.95.27.0/24", 869 | "93.110.0.0/16", 870 | "93.113.224.0/20", 871 | "93.114.16.0/20", 872 | "93.114.104.0/21", 873 | "93.115.120.0/21", 874 | "93.115.144.0/21", 875 | "93.115.216.0/21", 876 | "93.117.0.0/19", 877 | "93.117.96.0/19", 878 | "93.117.176.0/20", 879 | "93.118.96.0/19", 880 | "93.118.180.0/22", 881 | "93.119.32.0/19", 882 | "93.119.208.0/20", 883 | "93.126.0.0/18", 884 | "93.190.24.0/21", 885 | "94.24.0.0/20", 886 | "94.24.80.0/20", 887 | "94.74.128.0/21", 888 | "94.74.138.0/23", 889 | "94.74.141.0/24", 890 | "94.74.146.0/23", 891 | "94.74.150.0/23", 892 | "94.74.160.0/22", 893 | "94.74.165.0/24", 894 | "94.74.170.0/24", 895 | "94.74.172.0/24", 896 | "94.74.174.0/23", 897 | "94.74.183.0/24", 898 | "94.74.186.0/24", 899 | "94.74.188.0/23", 900 | "94.101.128.0/20", 901 | "94.101.176.0/20", 902 | "94.101.240.0/20", 903 | "94.139.160.0/19", 904 | "94.176.8.0/21", 905 | "94.176.32.0/21", 906 | "94.177.72.0/21", 907 | "94.182.0.0/15", 908 | "94.199.0.0/24", 909 | "94.199.136.0/22", 910 | "94.232.168.0/21", 911 | "94.241.166.0/23", 912 | "95.38.0.0/16", 913 | "95.64.0.0/17", 914 | "95.80.128.0/18", 915 | "95.81.64.0/18", 916 | "95.128.155.0/24", 917 | "95.128.159.0/24", 918 | "95.128.194.0/24", 919 | "95.128.196.0/23", 920 | "95.130.56.0/21", 921 | "95.130.225.0/24", 922 | "95.130.240.0/21", 923 | "95.142.224.0/20", 924 | "95.156.222.0/23", 925 | "95.156.233.0/24", 926 | "95.156.248.0/23", 927 | "95.156.252.0/22", 928 | "95.162.0.0/16", 929 | "95.215.59.0/24", 930 | "95.215.160.0/22", 931 | "95.215.173.0/24", 932 | "103.126.5.0/24", 933 | "103.130.144.0/24", 934 | "103.130.146.0/24", 935 | "103.215.220.0/22", 936 | "103.216.60.0/22", 937 | "103.231.136.0/23", 938 | "109.70.237.0/24", 939 | "109.72.192.0/20", 940 | "109.74.232.0/21", 941 | "109.94.164.0/22", 942 | "109.95.60.0/22", 943 | "109.107.131.0/24", 944 | "109.108.160.0/19", 945 | "109.109.32.0/19", 946 | "109.110.160.0/24", 947 | "109.110.163.0/24", 948 | "109.110.167.0/24", 949 | "109.122.192.0/23", 950 | "109.122.195.0/24", 951 | "109.122.198.0/23", 952 | "109.122.201.0/24", 953 | "109.122.209.0/24", 954 | "109.122.224.0/19", 955 | "109.125.128.0/18", 956 | "109.162.128.0/17", 957 | "109.201.0.0/19", 958 | "109.203.128.0/19", 959 | "109.206.252.0/22", 960 | "109.225.128.0/18", 961 | "109.230.64.0/19", 962 | "109.230.192.0/23", 963 | "109.230.200.0/24", 964 | "109.230.204.0/22", 965 | "109.230.221.0/24", 966 | "109.230.223.0/24", 967 | "109.230.242.0/24", 968 | "109.230.246.0/23", 969 | "109.230.251.0/24", 970 | "109.232.0.0/21", 971 | "109.238.176.0/20", 972 | "109.239.0.0/20", 973 | "113.203.0.0/17", 974 | "128.0.105.0/24", 975 | "128.65.160.0/22", 976 | "128.65.176.0/20", 977 | "130.185.72.0/21", 978 | "130.193.77.0/24", 979 | "130.255.192.0/18", 980 | "134.255.196.0/23", 981 | "134.255.200.0/21", 982 | "134.255.245.0/24", 983 | "134.255.248.0/23", 984 | "146.19.104.0/24", 985 | "146.19.212.0/24", 986 | "146.19.217.0/24", 987 | "146.66.128.0/21", 988 | "151.232.0.0/14", 989 | "151.238.0.0/15", 990 | "152.89.12.0/22", 991 | "152.89.44.0/22", 992 | "154.197.25.0/24", 993 | "156.233.238.0/23", 994 | "156.246.173.0/24", 995 | "157.119.188.0/22", 996 | "158.58.0.0/17", 997 | "158.58.184.0/21", 998 | "158.255.74.0/24", 999 | "158.255.78.0/24", 1000 | "159.20.96.0/20", 1001 | "164.138.16.0/21", 1002 | "164.138.128.0/18", 1003 | "164.215.56.0/21", 1004 | "164.215.128.0/17", 1005 | "171.22.24.0/22", 1006 | "172.80.128.0/17", 1007 | "176.12.64.0/20", 1008 | "176.56.144.0/20", 1009 | "176.62.144.0/21", 1010 | "176.65.160.0/19", 1011 | "176.67.64.0/20", 1012 | "176.97.218.0/24", 1013 | "176.97.220.0/24", 1014 | "176.101.32.0/20", 1015 | "176.102.224.0/19", 1016 | "176.105.245.0/24", 1017 | "176.116.7.0/24", 1018 | "176.120.16.0/22", 1019 | "176.122.210.0/23", 1020 | "176.123.64.0/18", 1021 | "176.124.64.0/22", 1022 | "176.126.120.0/24", 1023 | "176.221.64.0/21", 1024 | "176.223.80.0/21", 1025 | "178.21.40.0/21", 1026 | "178.21.160.0/21", 1027 | "178.22.72.0/21", 1028 | "178.22.120.0/21", 1029 | "178.131.0.0/16", 1030 | "178.157.0.0/23", 1031 | "178.173.128.0/18", 1032 | "178.211.145.0/24", 1033 | "178.215.0.0/18", 1034 | "178.216.248.0/21", 1035 | "178.219.224.0/20", 1036 | "178.236.32.0/22", 1037 | "178.236.96.0/20", 1038 | "178.238.192.0/20", 1039 | "178.239.144.0/20", 1040 | "178.248.40.0/21", 1041 | "178.251.208.0/21", 1042 | "178.252.128.0/18", 1043 | "178.253.16.0/24", 1044 | "178.253.31.0/24", 1045 | "178.253.38.0/23", 1046 | "185.1.77.0/24", 1047 | "185.2.12.0/22", 1048 | "185.3.124.0/22", 1049 | "185.3.200.0/22", 1050 | "185.3.212.0/22", 1051 | "185.4.0.0/22", 1052 | "185.4.16.0/22", 1053 | "185.4.28.0/22", 1054 | "185.4.104.0/22", 1055 | "185.5.156.0/22", 1056 | "185.7.212.0/24", 1057 | "185.8.172.0/22", 1058 | "185.10.71.0/24", 1059 | "185.11.68.0/22", 1060 | "185.11.88.0/22", 1061 | "185.11.176.0/22", 1062 | "185.12.60.0/22", 1063 | "185.12.100.0/23", 1064 | "185.13.228.0/22", 1065 | "185.14.80.0/22", 1066 | "185.14.160.0/22", 1067 | "185.16.232.0/22", 1068 | "185.18.156.0/22", 1069 | "185.18.212.0/22", 1070 | "185.19.201.0/24", 1071 | "185.20.160.0/22", 1072 | "185.21.68.0/22", 1073 | "185.21.76.0/22", 1074 | "185.22.28.0/22", 1075 | "185.23.128.0/22", 1076 | "185.24.136.0/22", 1077 | "185.24.148.0/23", 1078 | "185.24.228.0/22", 1079 | "185.24.252.0/22", 1080 | "185.25.172.0/22", 1081 | "185.26.32.0/22", 1082 | "185.26.232.0/22", 1083 | "185.29.220.0/22", 1084 | "185.30.4.0/22", 1085 | "185.30.76.0/22", 1086 | "185.31.8.0/24", 1087 | "185.31.124.0/22", 1088 | "185.32.128.0/22", 1089 | "185.33.25.0/24", 1090 | "185.36.228.0/24", 1091 | "185.36.231.0/24", 1092 | "185.37.52.0/22", 1093 | "185.39.180.0/22", 1094 | "185.40.16.0/24", 1095 | "185.40.240.0/22", 1096 | "185.41.0.0/22", 1097 | "185.41.220.0/22", 1098 | "185.42.24.0/22", 1099 | "185.42.212.0/22", 1100 | "185.42.224.0/22", 1101 | "185.44.36.0/22", 1102 | "185.44.100.0/22", 1103 | "185.44.112.0/22", 1104 | "185.45.188.0/22", 1105 | "185.46.0.0/22", 1106 | "185.46.108.0/22", 1107 | "185.46.216.0/22", 1108 | "185.47.48.0/22", 1109 | "185.49.84.0/22", 1110 | "185.49.96.0/22", 1111 | "185.49.104.0/22", 1112 | "185.49.231.0/24", 1113 | "185.50.36.0/22", 1114 | "185.51.40.0/22", 1115 | "185.51.200.0/22", 1116 | "185.53.140.0/22", 1117 | "185.55.224.0/22", 1118 | "185.56.92.0/22", 1119 | "185.57.132.0/22", 1120 | "185.57.164.0/22", 1121 | "185.57.200.0/22", 1122 | "185.58.240.0/22", 1123 | "185.59.112.0/23", 1124 | "185.60.32.0/22", 1125 | "185.60.136.0/22", 1126 | "185.62.232.0/22", 1127 | "185.63.113.0/24", 1128 | "185.63.236.0/22", 1129 | "185.64.176.0/22", 1130 | "185.66.224.0/21", 1131 | "185.67.12.0/22", 1132 | "185.67.100.0/22", 1133 | "185.67.156.0/22", 1134 | "185.67.212.0/22", 1135 | "185.69.108.0/22", 1136 | "185.70.60.0/22", 1137 | "185.71.152.0/22", 1138 | "185.71.192.0/22", 1139 | "185.72.24.0/22", 1140 | "185.72.80.0/22", 1141 | "185.73.0.0/22", 1142 | "185.73.76.0/22", 1143 | "185.73.112.0/24", 1144 | "185.73.114.0/24", 1145 | "185.74.164.0/22", 1146 | "185.74.221.0/24", 1147 | "185.75.196.0/22", 1148 | "185.75.204.0/22", 1149 | "185.76.248.0/22", 1150 | "185.78.20.0/22", 1151 | "185.79.60.0/22", 1152 | "185.79.96.0/22", 1153 | "185.79.158.0/23", 1154 | "185.80.100.0/22", 1155 | "185.80.198.0/23", 1156 | "185.81.40.0/22", 1157 | "185.81.96.0/23", 1158 | "185.81.99.0/24", 1159 | "185.82.28.0/22", 1160 | "185.82.64.0/22", 1161 | "185.82.136.0/22", 1162 | "185.82.164.0/22", 1163 | "185.82.180.0/22", 1164 | "185.83.28.0/22", 1165 | "185.83.76.0/22", 1166 | "185.83.88.0/22", 1167 | "185.83.112.0/22", 1168 | "185.83.180.0/22", 1169 | "185.83.196.0/22", 1170 | "185.83.208.0/22", 1171 | "185.84.220.0/23", 1172 | "185.84.226.0/24", 1173 | "185.85.68.0/22", 1174 | "185.85.136.0/22", 1175 | "185.86.36.0/22", 1176 | "185.86.180.0/22", 1177 | "185.88.48.0/22", 1178 | "185.88.152.0/22", 1179 | "185.88.176.0/22", 1180 | "185.88.252.0/22", 1181 | "185.89.22.0/24", 1182 | "185.89.112.0/22", 1183 | "185.92.4.0/22", 1184 | "185.92.40.0/22", 1185 | "185.93.88.0/23", 1186 | "185.94.96.0/22", 1187 | "185.95.60.0/22", 1188 | "185.95.152.0/22", 1189 | "185.95.180.0/22", 1190 | "185.96.240.0/22", 1191 | "185.97.116.0/22", 1192 | "185.98.112.0/22", 1193 | "185.99.212.0/22", 1194 | "185.100.44.0/22", 1195 | "185.101.39.0/24", 1196 | "185.101.228.0/22", 1197 | "185.103.84.0/22", 1198 | "185.103.128.0/22", 1199 | "185.103.244.0/22", 1200 | "185.104.228.0/22", 1201 | "185.104.240.0/22", 1202 | "185.105.100.0/22", 1203 | "185.105.120.0/22", 1204 | "185.105.184.0/22", 1205 | "185.105.236.0/22", 1206 | "185.106.136.0/22", 1207 | "185.106.144.0/22", 1208 | "185.106.200.0/22", 1209 | "185.106.228.0/22", 1210 | "185.107.28.0/22", 1211 | "185.107.244.0/22", 1212 | "185.108.96.0/22", 1213 | "185.108.164.0/22", 1214 | "185.109.60.0/22", 1215 | "185.109.72.0/22", 1216 | "185.109.80.0/22", 1217 | "185.109.128.0/22", 1218 | "185.109.244.0/22", 1219 | "185.110.28.0/22", 1220 | "185.110.218.0/23", 1221 | "185.110.228.0/22", 1222 | "185.110.236.0/22", 1223 | "185.110.244.0/22", 1224 | "185.110.252.0/22", 1225 | "185.111.8.0/21", 1226 | "185.111.64.0/22", 1227 | "185.111.80.0/22", 1228 | "185.111.136.0/22", 1229 | "185.112.32.0/21", 1230 | "185.112.130.0/23", 1231 | "185.112.148.0/22", 1232 | "185.112.168.0/22", 1233 | "185.113.9.0/24", 1234 | "185.113.56.0/22", 1235 | "185.113.112.0/22", 1236 | "185.113.248.0/24", 1237 | "185.114.188.0/22", 1238 | "185.115.76.0/22", 1239 | "185.115.148.0/22", 1240 | "185.115.168.0/22", 1241 | "185.116.20.0/22", 1242 | "185.116.44.0/22", 1243 | "185.116.160.0/22", 1244 | "185.117.48.0/22", 1245 | "185.117.136.0/22", 1246 | "185.117.204.0/22", 1247 | "185.118.12.0/22", 1248 | "185.118.136.0/22", 1249 | "185.118.152.0/22", 1250 | "185.119.4.0/22", 1251 | "185.119.164.0/22", 1252 | "185.119.199.0/24", 1253 | "185.119.240.0/22", 1254 | "185.120.120.0/22", 1255 | "185.120.160.0/22", 1256 | "185.120.168.0/22", 1257 | "185.120.192.0/21", 1258 | "185.120.208.0/20", 1259 | "185.121.56.0/22", 1260 | "185.121.128.0/22", 1261 | "185.122.80.0/22", 1262 | "185.123.68.0/22", 1263 | "185.123.208.0/22", 1264 | "185.124.112.0/22", 1265 | "185.124.156.0/22", 1266 | "185.124.172.0/22", 1267 | "185.125.20.0/22", 1268 | "185.125.244.0/22", 1269 | "185.126.40.0/22", 1270 | "185.126.132.0/23", 1271 | "185.126.200.0/22", 1272 | "185.127.232.0/22", 1273 | "185.128.40.0/24", 1274 | "185.128.48.0/22", 1275 | "185.128.80.0/22", 1276 | "185.128.136.0/22", 1277 | "185.128.152.0/22", 1278 | "185.128.164.0/22", 1279 | "185.129.80.0/22", 1280 | "185.129.116.0/22", 1281 | "185.129.168.0/22", 1282 | "185.129.184.0/21", 1283 | "185.129.196.0/22", 1284 | "185.129.212.0/22", 1285 | "185.129.228.0/22", 1286 | "185.130.50.0/24", 1287 | "185.130.76.0/22", 1288 | "185.131.28.0/22", 1289 | "185.131.84.0/22", 1290 | "185.131.100.0/22", 1291 | "185.131.108.0/22", 1292 | "185.131.124.0/22", 1293 | "185.131.136.0/21", 1294 | "185.131.148.0/22", 1295 | "185.131.164.0/22", 1296 | "185.132.80.0/22", 1297 | "185.132.124.0/24", 1298 | "185.132.212.0/22", 1299 | "185.133.125.0/24", 1300 | "185.133.152.0/22", 1301 | "185.133.164.0/22", 1302 | "185.133.244.0/23", 1303 | "185.134.96.0/22", 1304 | "185.135.28.0/22", 1305 | "185.135.46.0/23", 1306 | "185.135.228.0/22", 1307 | "185.136.100.0/22", 1308 | "185.136.133.0/24", 1309 | "185.136.135.0/24", 1310 | "185.136.172.0/22", 1311 | "185.136.180.0/22", 1312 | "185.136.192.0/22", 1313 | "185.136.220.0/22", 1314 | "185.137.24.0/22", 1315 | "185.137.60.0/22", 1316 | "185.137.108.0/22", 1317 | "185.139.64.0/22", 1318 | "185.140.4.0/22", 1319 | "185.140.56.0/22", 1320 | "185.140.232.0/22", 1321 | "185.140.240.0/22", 1322 | "185.141.36.0/22", 1323 | "185.141.48.0/22", 1324 | "185.141.104.0/22", 1325 | "185.141.132.0/22", 1326 | "185.141.168.0/22", 1327 | "185.141.212.0/22", 1328 | "185.141.244.0/22", 1329 | "185.142.92.0/22", 1330 | "185.142.124.0/22", 1331 | "185.142.156.0/22", 1332 | "185.142.232.0/22", 1333 | "185.143.74.0/23", 1334 | "185.143.204.0/22", 1335 | "185.143.232.0/22", 1336 | "185.144.64.0/22", 1337 | "185.145.8.0/22", 1338 | "185.145.184.0/22", 1339 | "185.147.40.0/22", 1340 | "185.147.84.0/22", 1341 | "185.147.160.0/22", 1342 | "185.147.176.0/22", 1343 | "185.149.192.0/24", 1344 | "185.150.108.0/22", 1345 | "185.151.236.0/22", 1346 | "185.153.184.0/22", 1347 | "185.153.208.0/22", 1348 | "185.154.184.0/22", 1349 | "185.154.190.0/24", 1350 | "185.155.8.0/21", 1351 | "185.155.72.0/23", 1352 | "185.155.236.0/22", 1353 | "185.157.8.0/22", 1354 | "185.158.172.0/22", 1355 | "185.159.152.0/22", 1356 | "185.159.176.0/22", 1357 | "185.159.189.0/24", 1358 | "185.160.104.0/22", 1359 | "185.160.176.0/22", 1360 | "185.160.205.0/24", 1361 | "185.161.36.0/22", 1362 | "185.161.112.0/22", 1363 | "185.161.121.0/24", 1364 | "185.161.250.0/24", 1365 | "185.162.40.0/22", 1366 | "185.162.216.0/22", 1367 | "185.163.88.0/22", 1368 | "185.164.72.0/22", 1369 | "185.164.252.0/22", 1370 | "185.165.28.0/22", 1371 | "185.165.40.0/22", 1372 | "185.165.100.0/22", 1373 | "185.165.116.0/22", 1374 | "185.165.204.0/22", 1375 | "185.166.60.0/22", 1376 | "185.166.104.0/22", 1377 | "185.166.112.0/22", 1378 | "185.167.72.0/22", 1379 | "185.167.100.0/22", 1380 | "185.167.124.0/22", 1381 | "185.169.6.0/24", 1382 | "185.169.20.0/22", 1383 | "185.169.36.0/22", 1384 | "185.170.8.0/24", 1385 | "185.170.236.0/22", 1386 | "185.171.52.0/22", 1387 | "185.172.0.0/22", 1388 | "185.172.68.0/22", 1389 | "185.172.212.0/22", 1390 | "185.173.104.0/22", 1391 | "185.173.129.0/24", 1392 | "185.173.168.0/22", 1393 | "185.174.132.0/24", 1394 | "185.174.134.0/24", 1395 | "185.174.200.0/22", 1396 | "185.174.248.0/22", 1397 | "185.175.76.0/22", 1398 | "185.175.240.0/22", 1399 | "185.176.32.0/22", 1400 | "185.176.56.0/22", 1401 | "185.177.156.0/22", 1402 | "185.177.232.0/22", 1403 | "185.178.104.0/22", 1404 | "185.178.220.0/22", 1405 | "185.179.90.0/24", 1406 | "185.179.168.0/22", 1407 | "185.179.220.0/22", 1408 | "185.180.52.0/22", 1409 | "185.180.128.0/22", 1410 | "185.181.180.0/22", 1411 | "185.182.220.0/22", 1412 | "185.182.248.0/22", 1413 | "185.184.32.0/22", 1414 | "185.184.48.0/22", 1415 | "185.185.16.0/22", 1416 | "185.185.240.0/22", 1417 | "185.186.48.0/22", 1418 | "185.186.240.0/22", 1419 | "185.187.48.0/22", 1420 | "185.187.84.0/22", 1421 | "185.188.31.0/24", 1422 | "185.188.104.0/22", 1423 | "185.188.112.0/22", 1424 | "185.189.120.0/22", 1425 | "185.190.20.0/22", 1426 | "185.190.39.0/24", 1427 | "185.191.76.0/22", 1428 | "185.192.8.0/22", 1429 | "185.192.112.0/22", 1430 | "185.193.47.0/24", 1431 | "185.193.208.0/22", 1432 | "185.194.76.0/22", 1433 | "185.194.244.0/22", 1434 | "185.195.72.0/22", 1435 | "185.196.148.0/22", 1436 | "185.197.68.0/22", 1437 | "185.197.112.0/22", 1438 | "185.198.160.0/22", 1439 | "185.199.64.0/22", 1440 | "185.199.208.0/24", 1441 | "185.199.210.0/23", 1442 | "185.200.210.0/23", 1443 | "185.201.48.0/22", 1444 | "185.202.56.0/22", 1445 | "185.203.160.0/22", 1446 | "185.204.180.0/22", 1447 | "185.204.197.0/24", 1448 | "185.205.203.0/24", 1449 | "185.206.92.0/22", 1450 | "185.206.229.0/24", 1451 | "185.206.231.0/24", 1452 | "185.206.236.0/22", 1453 | "185.207.52.0/22", 1454 | "185.207.72.0/22", 1455 | "185.208.76.0/22", 1456 | "185.208.148.0/22", 1457 | "185.208.174.0/23", 1458 | "185.208.180.0/22", 1459 | "185.209.42.0/24", 1460 | "185.209.188.0/22", 1461 | "185.210.200.0/22", 1462 | "185.211.56.0/22", 1463 | "185.211.84.0/22", 1464 | "185.212.48.0/22", 1465 | "185.212.192.0/22", 1466 | "185.213.8.0/22", 1467 | "185.213.164.0/22", 1468 | "185.213.195.0/24", 1469 | "185.214.36.0/22", 1470 | "185.215.124.0/22", 1471 | "185.215.152.0/22", 1472 | "185.215.228.0/22", 1473 | "185.217.6.0/24", 1474 | "185.218.139.0/24", 1475 | "185.219.112.0/22", 1476 | "185.220.224.0/22", 1477 | "185.221.112.0/22", 1478 | "185.221.192.0/22", 1479 | "185.221.239.0/24", 1480 | "185.222.120.0/22", 1481 | "185.222.163.0/24", 1482 | "185.222.180.0/22", 1483 | "185.222.210.0/24", 1484 | "185.223.160.0/24", 1485 | "185.224.176.0/22", 1486 | "185.225.80.0/22", 1487 | "185.225.180.0/22", 1488 | "185.225.240.0/22", 1489 | "185.226.97.0/24", 1490 | "185.226.116.0/22", 1491 | "185.226.132.0/22", 1492 | "185.226.140.0/22", 1493 | "185.227.64.0/22", 1494 | "185.227.116.0/22", 1495 | "185.228.58.0/24", 1496 | "185.228.236.0/22", 1497 | "185.229.0.0/22", 1498 | "185.229.28.0/22", 1499 | "185.229.133.0/24", 1500 | "185.229.204.0/24", 1501 | "185.231.65.0/24", 1502 | "185.231.112.0/22", 1503 | "185.231.180.0/22", 1504 | "185.232.152.0/22", 1505 | "185.232.176.0/22", 1506 | "185.233.12.0/22", 1507 | "185.233.84.0/22", 1508 | "185.233.131.0/24", 1509 | "185.234.14.0/24", 1510 | "185.234.192.0/22", 1511 | "185.235.136.0/24", 1512 | "185.235.139.0/24", 1513 | "185.235.245.0/24", 1514 | "185.236.36.0/22", 1515 | "185.236.45.0/24", 1516 | "185.236.88.0/22", 1517 | "185.237.8.0/22", 1518 | "185.237.84.0/22", 1519 | "185.238.20.0/22", 1520 | "185.238.44.0/22", 1521 | "185.238.92.0/22", 1522 | "185.238.140.0/24", 1523 | "185.238.143.0/24", 1524 | "185.239.0.0/22", 1525 | "185.239.104.0/22", 1526 | "185.240.56.0/22", 1527 | "185.240.148.0/22", 1528 | "185.243.48.0/22", 1529 | "185.244.52.0/22", 1530 | "185.246.4.0/22", 1531 | "185.248.32.0/24", 1532 | "185.251.76.0/22", 1533 | "185.252.28.0/22", 1534 | "185.252.84.0/23", 1535 | "185.252.200.0/24", 1536 | "185.254.165.0/24", 1537 | "185.255.68.0/23", 1538 | "185.255.88.0/22", 1539 | "185.255.208.0/22", 1540 | "188.0.240.0/20", 1541 | "188.75.64.0/18", 1542 | "188.94.188.0/24", 1543 | "188.118.64.0/18", 1544 | "188.121.96.0/19", 1545 | "188.122.96.0/19", 1546 | "188.136.128.0/18", 1547 | "188.158.0.0/16", 1548 | "188.191.176.0/21", 1549 | "188.208.56.0/21", 1550 | "188.208.144.0/20", 1551 | "188.208.200.0/22", 1552 | "188.208.208.0/21", 1553 | "188.208.224.0/19", 1554 | "188.209.64.0/20", 1555 | "188.209.116.0/22", 1556 | "188.209.152.0/23", 1557 | "188.209.192.0/20", 1558 | "188.210.64.0/20", 1559 | "188.210.96.0/19", 1560 | "188.210.232.0/22", 1561 | "188.211.0.0/20", 1562 | "188.211.32.0/19", 1563 | "188.211.176.0/20", 1564 | "188.212.22.0/24", 1565 | "188.212.48.0/20", 1566 | "188.212.144.0/21", 1567 | "188.212.160.0/19", 1568 | "188.212.200.0/21", 1569 | "188.213.64.0/20", 1570 | "188.213.96.0/19", 1571 | "188.213.144.0/20", 1572 | "188.213.176.0/20", 1573 | "188.213.208.0/22", 1574 | "188.214.4.0/22", 1575 | "188.214.84.0/22", 1576 | "188.214.96.0/22", 1577 | "188.214.120.0/23", 1578 | "188.214.160.0/19", 1579 | "188.214.216.0/21", 1580 | "188.215.24.0/22", 1581 | "188.215.88.0/22", 1582 | "188.215.128.0/20", 1583 | "188.215.160.0/19", 1584 | "188.215.240.0/22", 1585 | "188.229.0.0/17", 1586 | "188.240.196.0/24", 1587 | "188.240.212.0/24", 1588 | "188.240.248.0/21", 1589 | "188.253.2.0/23", 1590 | "188.253.32.0/19", 1591 | "192.15.0.0/16", 1592 | "193.0.156.0/24", 1593 | "193.3.31.0/24", 1594 | "193.3.182.0/24", 1595 | "193.3.231.0/24", 1596 | "193.3.255.0/24", 1597 | "193.8.95.0/24", 1598 | "193.8.139.0/24", 1599 | "193.9.24.0/24", 1600 | "193.19.144.0/23", 1601 | "193.22.20.0/24", 1602 | "193.24.103.0/24", 1603 | "193.24.105.0/24", 1604 | "193.24.118.0/24", 1605 | "193.24.120.0/23", 1606 | "193.27.9.0/24", 1607 | "193.28.181.0/24", 1608 | "193.29.24.0/24", 1609 | "193.29.26.0/24", 1610 | "193.32.80.0/23", 1611 | "193.34.244.0/22", 1612 | "193.35.62.0/24", 1613 | "193.35.230.0/24", 1614 | "193.37.37.0/24", 1615 | "193.38.247.0/24", 1616 | "193.39.9.0/24", 1617 | "193.39.70.0/24", 1618 | "193.56.59.0/24", 1619 | "193.56.61.0/24", 1620 | "193.56.107.0/24", 1621 | "193.56.118.0/24", 1622 | "193.58.119.0/24", 1623 | "193.93.182.0/24", 1624 | "193.104.22.0/24", 1625 | "193.104.29.0/24", 1626 | "193.104.212.0/24", 1627 | "193.105.2.0/24", 1628 | "193.105.6.0/24", 1629 | "193.105.234.0/24", 1630 | "193.106.190.0/23", 1631 | "193.107.44.0/24", 1632 | "193.107.48.0/24", 1633 | "193.109.56.0/24", 1634 | "193.111.234.0/23", 1635 | "193.134.100.0/23", 1636 | "193.141.64.0/23", 1637 | "193.141.126.0/23", 1638 | "193.142.232.0/23", 1639 | "193.142.254.0/23", 1640 | "193.148.64.0/22", 1641 | "193.150.66.0/24", 1642 | "193.151.128.0/19", 1643 | "193.162.129.0/24", 1644 | "193.176.97.0/24", 1645 | "193.176.240.0/22", 1646 | "193.178.200.0/23", 1647 | "193.186.32.0/24", 1648 | "193.189.122.0/23", 1649 | "193.200.148.0/24", 1650 | "193.201.192.0/22", 1651 | "193.222.51.0/24", 1652 | "193.228.90.0/23", 1653 | "193.228.136.0/24", 1654 | "193.242.125.0/24", 1655 | "193.242.194.0/23", 1656 | "193.242.208.0/23", 1657 | "193.246.174.0/23", 1658 | "193.246.200.0/23", 1659 | "194.0.234.0/24", 1660 | "194.1.155.0/24", 1661 | "194.5.16.0/24", 1662 | "194.5.40.0/22", 1663 | "194.5.50.0/24", 1664 | "194.5.54.0/24", 1665 | "194.5.175.0/24", 1666 | "194.5.188.0/24", 1667 | "194.5.195.0/24", 1668 | "194.5.205.0/24", 1669 | "194.9.56.0/23", 1670 | "194.9.80.0/23", 1671 | "194.26.117.0/24", 1672 | "194.26.195.0/24", 1673 | "194.31.108.0/24", 1674 | "194.31.194.0/24", 1675 | "194.32.209.0/24", 1676 | "194.32.213.0/24", 1677 | "194.33.28.0/24", 1678 | "194.33.104.0/22", 1679 | "194.33.122.0/23", 1680 | "194.34.160.0/24", 1681 | "194.34.163.0/24", 1682 | "194.36.0.0/24", 1683 | "194.36.174.0/24", 1684 | "194.39.36.0/22", 1685 | "194.39.248.0/24", 1686 | "194.39.254.0/24", 1687 | "194.41.48.0/22", 1688 | "194.48.198.0/24", 1689 | "194.50.169.0/24", 1690 | "194.50.204.0/24", 1691 | "194.50.209.0/24", 1692 | "194.50.216.0/24", 1693 | "194.50.218.0/24", 1694 | "194.53.118.0/23", 1695 | "194.53.122.0/23", 1696 | "194.56.148.0/24", 1697 | "194.59.170.0/23", 1698 | "194.59.214.0/23", 1699 | "194.60.208.0/22", 1700 | "194.60.228.0/22", 1701 | "194.62.17.0/24", 1702 | "194.62.43.0/24", 1703 | "194.110.24.0/24", 1704 | "194.143.140.0/23", 1705 | "194.145.119.0/24", 1706 | "194.146.148.0/22", 1707 | "194.146.239.0/24", 1708 | "194.147.142.0/24", 1709 | "194.147.164.0/22", 1710 | "194.147.212.0/24", 1711 | "194.147.222.0/24", 1712 | "194.150.68.0/22", 1713 | "194.156.140.0/22", 1714 | "194.180.224.0/24", 1715 | "194.225.0.0/16", 1716 | "195.2.234.0/24", 1717 | "195.5.105.0/24", 1718 | "195.8.102.0/24", 1719 | "195.8.110.0/24", 1720 | "195.8.112.0/24", 1721 | "195.8.114.0/24", 1722 | "195.20.136.0/24", 1723 | "195.24.233.0/24", 1724 | "195.28.10.0/23", 1725 | "195.28.168.0/23", 1726 | "195.78.115.0/24", 1727 | "195.88.188.0/23", 1728 | "195.88.208.0/24", 1729 | "195.96.128.0/24", 1730 | "195.96.135.0/24", 1731 | "195.96.153.0/24", 1732 | "195.110.38.0/23", 1733 | "195.114.4.0/23", 1734 | "195.114.8.0/23", 1735 | "195.146.32.0/19", 1736 | "195.158.230.0/24", 1737 | "195.177.255.0/24", 1738 | "195.181.0.0/17", 1739 | "195.182.38.0/24", 1740 | "195.190.144.0/24", 1741 | "195.191.22.0/23", 1742 | "195.191.44.0/23", 1743 | "195.191.74.0/23", 1744 | "195.200.77.0/24", 1745 | "195.211.44.0/22", 1746 | "195.214.235.0/24", 1747 | "195.219.71.0/24", 1748 | "195.225.232.0/24", 1749 | "195.226.223.0/24", 1750 | "195.230.97.0/24", 1751 | "195.230.105.0/24", 1752 | "195.230.107.0/24", 1753 | "195.230.124.0/24", 1754 | "195.234.80.0/24", 1755 | "195.234.191.0/24", 1756 | "195.238.231.0/24", 1757 | "195.238.240.0/24", 1758 | "195.238.247.0/24", 1759 | "195.245.70.0/23", 1760 | "196.3.91.0/24", 1761 | "204.18.0.0/16", 1762 | "212.1.192.0/21", 1763 | "212.16.64.0/21", 1764 | "212.16.81.0/24", 1765 | "212.16.88.0/22", 1766 | "212.16.95.0/24", 1767 | "212.18.108.0/24", 1768 | "212.23.201.0/24", 1769 | "212.23.214.0/24", 1770 | "212.23.216.0/24", 1771 | "212.33.192.0/19", 1772 | "212.46.45.0/24", 1773 | "212.80.1.0/24", 1774 | "212.80.8.0/21", 1775 | "212.86.64.0/19", 1776 | "212.120.192.0/19", 1777 | "213.108.240.0/23", 1778 | "213.109.199.0/24", 1779 | "213.109.240.0/20", 1780 | "213.176.0.0/19", 1781 | "213.176.68.0/22", 1782 | "213.176.76.0/22", 1783 | "213.176.96.0/20", 1784 | "213.176.120.0/21", 1785 | "213.195.0.0/20", 1786 | "213.195.32.0/19", 1787 | "213.207.192.0/18", 1788 | "213.232.124.0/22", 1789 | "213.233.160.0/19", 1790 | "217.11.16.0/20", 1791 | "217.20.252.0/24", 1792 | "217.24.144.0/20", 1793 | "217.25.48.0/20", 1794 | "217.26.222.0/24", 1795 | "217.60.187.0/24", 1796 | "217.60.236.0/23", 1797 | "217.60.239.0/24", 1798 | "217.60.244.0/22", 1799 | "217.60.252.0/22", 1800 | "217.66.192.0/19", 1801 | "217.77.112.0/20", 1802 | "217.114.40.0/24", 1803 | "217.114.46.0/24", 1804 | "217.144.104.0/22", 1805 | "217.146.191.0/24", 1806 | "217.146.208.0/20", 1807 | "217.161.16.0/24", 1808 | "217.170.240.0/20", 1809 | "217.171.145.0/24", 1810 | "217.171.148.0/22", 1811 | "217.172.98.0/23", 1812 | "217.172.102.0/23", 1813 | "217.174.16.0/20", 1814 | "217.198.190.0/24", 1815 | "217.218.0.0/15" 1816 | ] 1817 | }, 1818 | "name": "IR_IPS" 1819 | } -------------------------------------------------------------------------------- /utils/geodata.py: -------------------------------------------------------------------------------- 1 | #!/bin/env python3 2 | 3 | # Geodata Creation 4 | # ------------------------------------------ 5 | # Author : SonyaCore 6 | # Github : https://github.com/SonyaCore 7 | # License : https://www.gnu.org/licenses/gpl-3.0.en.html 8 | # ADS License : AGPLv3 9 | 10 | import re 11 | import json 12 | import ipaddress 13 | import os, sys 14 | from urllib.request import urlopen, Request 15 | from typing import Iterable 16 | 17 | 18 | class DataSet: 19 | CIDR = Request("https://cdn-lite.ip2location.com/datasets/IR.json") 20 | ADS = Request("https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlockerHosts.txt") 21 | sets = [] 22 | ads = [] 23 | cidrs = [] 24 | name = "" 25 | 26 | URL_REGEX = re.compile( 27 | r"\b((?:https?://)" 28 | r"?(?:(?:www\.)" 29 | r"?(?:[\da-z\.-]+)\.(?:[a-z]{2,6})|(?:(?:25[0-5]" 30 | r"(?!(?:10|127)(?:\.\d{1,3}){3})" 31 | r"(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})" 32 | r"(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})" 33 | r"[0-4][0-9][01]?[0-9][0-9]?)\.)(?:25" 34 | r"|" 35 | r"2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:(?:[0-9a-fA-F]{1,4}:)" 36 | r"{7,7}[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]{1,4}:){1,7}:|(?:" 37 | r"[0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|(?:[0-9a-fA-F]" 38 | r"{1,4}:){1,5}(?::[0-9a-fA-F]{1,4}){1,2}|(?:[0-9a-fA-F]" 39 | r"{1,4}:){1,4}(?::[0-9a-fA-F]{1,4}){1,3}|(?:[0-9a-fA-F]" 40 | r"{1,4}:){1,3}(?::[0-9a-fA-F]{1,4}){1,4}|(?:[0-9a-fA-F]" 41 | r"{1,4}:){1,2}(?::[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]" 42 | r"{1,4}:(?:(?::[0-9a-fA-F]{1,4}){1,6})|:(?:(?::[0-9a-fA-F]{1,4})" 43 | r"{1,7}|:)|fe80:(?::[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}" 44 | r"|" 45 | r"::(?:ffff(?::0{1,4}){0,1}:){0,1}(?:(?:25[0-5]" 46 | r"|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(?:25[0-5]" 47 | r"|" 48 | r"(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])|(?:[0-9a-fA-F]{1,4}:)" 49 | r"{1,4}:(?:(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.)" 50 | r"{3,3}(?:25[0-5]|(?:2[0-4]|1{0,1}[0-9]){0,1}[0-9])))" 51 | r"(?::[0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]" 52 | r"{2}|655[0-2][0-9]|6553[0-5])?(?:/[\w\.-]*)*/?)\b", 53 | re.UNICODE | re.IGNORECASE 54 | ) 55 | 56 | 57 | def load_dataset(): 58 | 59 | with urlopen(DataSet.CIDR) as respone: 60 | data = respone.read() 61 | 62 | dat = json.loads(data) 63 | 64 | for item in dat["data"]: 65 | start = ipaddress.IPv4Address(item[:2][0]) 66 | end = ipaddress.IPv4Address(item[:2][1]) 67 | DataSet.cidrs.append(next(ipaddress.summarize_address_range(start, end))) 68 | for _, datasets in enumerate(DataSet.cidrs): 69 | with open("/tmp/dump", "a") as file: 70 | file.write(str(datasets) + "\n") 71 | 72 | 73 | def url(text: str) -> bool: 74 | return bool(URL_REGEX.search(text)) 75 | 76 | 77 | def load_ads() -> Iterable[str]: 78 | with urlopen(DataSet.ADS) as respone: 79 | data = respone.read().decode("utf-8") 80 | 81 | ads = re.sub(r"(?m)^\s*#.*\n?", "", data) 82 | ads = data.splitlines()[1:] 83 | ads = filter(url, ads) 84 | 85 | DataSet.ads = [domain for domain in ads if URL_REGEX.match(domain)] 86 | return sorted(DataSet.ads) 87 | 88 | 89 | def qv2rayrouting(cidr: list, ads: list): 90 | schema = { 91 | "License": "https://www.gnu.org/licenses/gpl-3.0.en.html", 92 | "ADSlicense": "AGPLv3", 93 | "description": "List of Iranian IP's", 94 | "domainStrategy": "IPIfNonMatch", 95 | "domains": {"direct": ["regexp:^.+\.ir$"], "block": ["geosite:category-ads-all"] + list(ads)}, 96 | "ips": {"direct": cidr}, 97 | "name": "IR_IPS", 98 | } 99 | return json.dumps(schema, indent=2) 100 | 101 | 102 | def clash(cidr: list, ads: list) -> str: 103 | config = ( 104 | "# Clash\n" 105 | "# ADS License: AGPLv3\n" 106 | "# Wiki: https://github.com/Dreamacro/clash/wiki/premium-core-features#rule-providers\n" 107 | "payload:\n" 108 | ) 109 | # ads 110 | config += "".join(f" - DOMAIN-SUFFIX,{adslist}\n" for adslist in ads) 111 | 112 | # cidr 113 | config += "".join(f" - IP-CIDR,{cidrlist}\n" for cidrlist in cidr) 114 | return config 115 | 116 | 117 | def loadsets(): 118 | global cidrs, ads 119 | with open("/tmp/dump", "r") as cidr: 120 | cidrs = [line.strip() for line in cidr] 121 | with open("/tmp/ads", "r") as ads: 122 | ads = [line.strip() for line in ads] 123 | 124 | 125 | def writerouting(name: json): 126 | loadsets() 127 | with open(name, "w") as file: 128 | file.write(qv2rayrouting(cidrs, ads)) 129 | 130 | 131 | def writeclash(name: json): 132 | loadsets() 133 | with open(name, "w") as file: 134 | file.write(clash(cidrs, ads)) 135 | 136 | 137 | def writeraw(cidr,ads): 138 | with open("/tmp/ads", "r") as file: 139 | data = file.read() 140 | with open(ads, "w") as ads: 141 | ads.write("# ADS License : AGPLv3\n") 142 | ads.write(data) 143 | with open("/tmp/dump", "r") as file: 144 | data = file.read() 145 | with open(cidr, "w") as cidr: 146 | cidr.write(data) 147 | 148 | 149 | try: 150 | load_dataset() 151 | load_ads() 152 | with open("/tmp/dump", "w") as file: 153 | for v, datasets in enumerate(DataSet.cidrs): 154 | file.write(str(datasets) + "\n") 155 | with open("/tmp/ads", "w") as file: 156 | for v, ads in enumerate(DataSet.ads): 157 | file.write(str(ads) + "\n") 158 | 159 | if sys.argv[1] in ("qv2ray", "q2ray"): 160 | DataSet.name = "qv2ray-client.json" 161 | writerouting(DataSet.name) 162 | 163 | elif sys.argv[1] in ("raw", "ip", "ips"): 164 | writeraw("IranIPs.txt","ads.txt") 165 | 166 | elif sys.argv[1] in ("clash", "clashyaml", "c"): 167 | DataSet.name = "clash_rules.yaml" 168 | writeclash(DataSet.name) 169 | 170 | except IndexError: 171 | sys.exit("No Option Selected") 172 | finally: 173 | for paths in ["/tmp/dump", "/tmp/ads"]: 174 | os.remove(paths) 175 | 176 | print("Generated {}".format(DataSet.name)) 177 | print("Total CIDR'S : {}".format(len(DataSet.cidrs))) 178 | print("Total Domain ADS : {}".format(len(DataSet.ads))) --------------------------------------------------------------------------------