├── .gitignore
├── src
├── database.py
├── utils.py
├── config.ini
├── scanner.py
├── gtdb.py
├── config.py
└── ip.txt
├── README.md
└── LICENSE
/.gitignore:
--------------------------------------------------------------------------------
1 | .vscode/
2 | __pycache__/
--------------------------------------------------------------------------------
/src/database.py:
--------------------------------------------------------------------------------
1 | from config import SaveMode
2 | import os
3 |
4 | class Database:
5 | def __init__(self, config):
6 | self.mode = config.save_mode
7 | if not os.path.exists(config.dbfile):
8 | open(config.dbfile, 'w').close()
9 | self.file = open(config.dbfile, 'r+' if self.mode == SaveMode.APPEND else 'w')
10 |
11 | def save(self, ips):
12 | self.file.seek(0)
13 | if self.mode == SaveMode.APPEND:
14 | original_ips = self.file.read().split()
15 | ips = list(set(ips) | set(original_ips))
16 | self.file.seek(0)
17 | self.file.write('\n'.join(sorted(ips)))
18 |
19 | def __enter__(self):
20 | return self
21 |
22 | def __exit__(self, exc_type, exc_value, traceback):
23 | self.file.close()
24 |
--------------------------------------------------------------------------------
/src/utils.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | import ssl
3 | import sys
4 | from urllib.request import Request, urlopen
5 |
6 | def _build_request(ip, host, testip_format):
7 | url = testip_format.format(f'[{ip}]' if ':' in ip else ip)
8 | request = Request(url)
9 | request.add_header('Host', host)
10 | return request
11 |
12 | def new_context(host):
13 | ctx = ssl._create_unverified_context() if sys.platform.startswith('darwin') else ssl.create_default_context()
14 | old_wrap_socket = ctx.wrap_socket
15 |
16 | def new_wrap_socket(socket, **kwargs):
17 | kwargs['server_hostname'] = host
18 | return old_wrap_socket(socket, **kwargs)
19 |
20 | ctx.wrap_socket = new_wrap_socket
21 | return ctx
22 |
23 | def check_ip(ip, timeout, host, testip_format):
24 | try:
25 | req = _build_request(ip, host, testip_format)
26 | urlopen(req, timeout=timeout, context=new_context(host)).close()
27 | except:
28 | return False
29 | return True
30 |
--------------------------------------------------------------------------------
/src/config.ini:
--------------------------------------------------------------------------------
1 | # gtdb configuration file
2 |
3 | [logging]
4 | silent = false
5 | updateInterval = 10.0
6 | progressBar = true
7 |
8 | [scan]
9 | numThreads = 64
10 | timeout = 1.5
11 | randomize = true
12 | resultLimit = 0
13 | stabilityThreshold = 3
14 | host = translate.googleapis.com
15 | format = https://{}/translate_a/single?client=gtx&sl=en&tl=fr&q=a
16 | ipRanges =
17 | # best IPv4 range
18 | 142.250.0.0/15
19 | # additional IPv4 ranges
20 | 108.177.0.0/17
21 | 172.217.0.0/16
22 | 172.253.0.0/16
23 | 216.58.192.0/19
24 | 72.14.192.0/18
25 | 74.125.0.0/16
26 | # IPv6 ranges (deprecated)
27 | # 2404:6800:4008:c15::0/112
28 | # 2a00:1450:4001:802::0/112
29 | # 2a00:1450:4001:803::0/112
30 |
31 | [database]
32 | dbfile = ip.txt
33 |
34 | # saving modes:
35 | # append - add new available IPs to original database
36 | # overwrite - overwrite the whole database with new IPs
37 | # ** ips are always sorted in alphabetical order after each update **
38 | saveMode = append
39 |
--------------------------------------------------------------------------------
/src/scanner.py:
--------------------------------------------------------------------------------
1 | from concurrent.futures import ThreadPoolExecutor
2 | import utils
3 | import random
4 |
5 | class IPScanner:
6 | def __init__(self, config):
7 | self.config = config
8 | self.availables = []
9 | self.scanned = 0
10 | self.executor = ThreadPoolExecutor(max_workers=self.config.num_threads)
11 |
12 | def _scan_ip(self, ip):
13 | for _ in range(self.config.stability_threshold):
14 | if not utils.check_ip(ip, self.config.timeout, self.config.host, self.config.testip_format):
15 | self.scanned += 1
16 | return
17 | self.availables.append(ip)
18 | self.scanned += 1
19 |
20 | def start(self):
21 | ip_lists = []
22 | for ip_list in map(list, self.config.ip_ranges):
23 | if self.config.randomize:
24 | random.shuffle(ip_list)
25 | ip_lists.append(ip_list)
26 | while ip_lists:
27 | new_ip_lists = []
28 | for ip_list in ip_lists:
29 | self.executor.submit(self._scan_ip, str(ip_list.pop()))
30 | if ip_list:
31 | new_ip_lists.append(ip_list)
32 | ip_lists = new_ip_lists
33 |
34 | def wait(self):
35 | self.executor.shutdown()
36 |
37 | def stop(self):
38 | self.executor.shutdown(cancel_futures=True)
--------------------------------------------------------------------------------
/src/gtdb.py:
--------------------------------------------------------------------------------
1 | from config import GtdbConfig
2 | from scanner import IPScanner
3 | import database
4 | import time
5 |
6 | config = GtdbConfig('config.ini')
7 | scanner = IPScanner(config)
8 | scanner.start()
9 |
10 | total = sum(ip_range.num_addresses for ip_range in config.ip_ranges)
11 | try:
12 | if not config.silent:
13 | if config.progress_bar:
14 | from tqdm import tqdm
15 | bar = tqdm(total=total)
16 | while scanner.scanned < total:
17 | scanned = scanner.scanned
18 | available = len(scanner.availables)
19 | if config.progress_bar:
20 | bar.n = scanned
21 | bar.set_postfix(available=available)
22 | else:
23 | scan_rate, available_rate = scanned / total, (available / scanned if scanned > 0 else 0.0)
24 | print(f'scanned: {scanned}/{total} ({scanned/total:.2%}), '
25 | f'available: {available} ({available_rate:.2%})')
26 | if config.result_limit > 0 and available >= config.result_limit:
27 | scanner.stop()
28 | break
29 | time.sleep(config.update_interval)
30 | if config.progress_bar:
31 | bar.close()
32 | scanner.wait()
33 | except KeyboardInterrupt:
34 | if config.progress_bar:
35 | bar.close()
36 | print('interrupted')
37 | scanner.stop()
38 | exit(1)
39 |
40 | with database.Database(config) as db:
41 | db.save(scanner.availables)
42 |
43 | print('done')
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # gtdb
2 |
3 | [GoogleTranslate_IPFinder](https://github.com/GoodCoder666/GoogleTranslate_IPFinder) 的官方 IP 库及更新脚本。
4 |
5 | > 2024/10/18:更新超级 IP 库,从 [GotoX IP](https://github.com/SeaHOH/GotoX/blob/master/data/ip.txt) 分离出了 IPv4 和 IPv6。当默认 IP 库全部无效时,建议尝试此 IP 库(IPv4 优先)。
6 |
7 | ## 项目结构
8 |
9 | ```
10 | │ .gitignore Git ignore 源文件
11 | │ LICENSE GPL-3.0 版权许可
12 | │ README.md 本文件
13 | │
14 | ├─ full 超级 IP 库
15 | │ │ v4.txt IPv4 库
16 | │ │ v6.txt IPv6 库
17 | ├─ src
18 | | 非代码文件
19 | │ │ ip.txt IP 数据库
20 | │ │ config.ini 配置文件
21 | | 代码文件
22 | │ │ config.py 配置文件处理模块
23 | │ │ database.py 数据库接口
24 | │ │ gtdb.py 主程序入口
25 | │ │ scanner.py 扫描模块
26 | │ │ utils.py 网络接口
27 |
28 | ** 把 ip.txt 和 config.ini 放在 src 目录下是为了方便运行。
29 | ```
30 |
31 | ## 运行脚本
32 |
33 | 在安装了 Python >= 3.6 的任意系统中执行 `gtdb.py` 即可。
34 |
35 | 若配置了 `progressBar = true`(使用进度条)则需要 `tqdm` 模块:
36 |
37 | ```
38 | pip3 install tqdm
39 | ```
40 |
41 | 否则无第三方依赖项。
42 |
43 | ## 配置文件
44 |
45 | 运行脚本需要同一目录下存在正确的配置文件 `config.ini`。下面解释其中的一些参数:
46 |
47 | - section `[logging]`
48 |
49 | - `silent`: 是否禁用控制台日志。如果你需要定时自动执行脚本,可以使用 `silent = true`。默认值:`false`
50 | - `updateInterval`: 更新间隔。每隔设定的时间更新一次控制台日志,单位为秒(s)。默认值:`2.0`
51 | - `progressBar`: 是否使用进度条代替日志输出。如果设置为 `true`,则需要安装 `tqdm` 模块。默认值:`false`
52 |
53 | - section `[scan]`
54 |
55 | - `numThreads`: 扫描使用的线程数。**请根据硬件配置情况调整**,过大可能导致程序无法正常执行。默认值:`64`
56 | - `timeout`: 请求时间限制,单位为秒(s)。若目标 IP 超出此时间为响应,则自动判定为不可用。默认值:`1.5`
57 | - `randomize`: 是否随机化扫描。默认值:`true`
58 | - `resultLimit`: 结果数量限制。当扫出的 IP 数量达到限制时,停止扫描并保存结果。设置为 `0` 则表示无限制。默认值:`0`
59 | - `stabilityThreshold`: 稳定性阈值。指定单个 IP 判定为可用前的测试次数。默认值:3
60 | - `host`: 扫描域名,一般不需要修改。默认值:`translate.googleapis.com`
61 | - `format`: 请求模板,一般不需要修改。默认值:`https://{}/translate_a/single?client=gtx&sl=en&tl=fr&q=a`
62 | - `ipRanges`: 扫描使用的 IP 段,可以设置多个。默认值:`142.250.0.0/15`
63 |
64 | - section `[database]`
65 |
66 | - `dbfile`: 数据库文件名。默认值:`ip.txt`
67 | - `saveMode`: 保存模式,可选 `append` / `overwrite`。分别表示在原有基础上添加数据或完全覆盖原有数据库。注意数据保存时会自动按字典序排序。
68 |
69 | ## CONTRIBUTING
70 |
71 | 我们希望能为不同网络环境的用户提供统一 IP 库。由于作者本人资源有限,无法做到在所有地区、网络、运营商分别进行 IP 扫描。
72 |
73 | 欢迎贡献可用的 IP。请先 clone 原有的 IP 库,**不要修改除 `numThreads` 和 `[logging]` 以外的其他配置项**,直接运行 `gtdb.py` 来完成 IP 库的更新。
74 |
75 | 更新之后提交 Pull Request,分支命名为 `update-yyyyMMdd`(即 `update` 加上更新的时间,如 `update-20240726`)。**您的 PR 不应包含对 `ip.txt` 以外文件的修改。**建议在评论区备注自己所在地区以及运营商方便验证。感谢您对此项目的支持!
76 |
77 | > [!TIP]
78 | >
79 | > 如果你是在对代码/其他文件做改进,直接无视上面的内容。随便 PR。欢迎!
--------------------------------------------------------------------------------
/src/config.py:
--------------------------------------------------------------------------------
1 | import warnings
2 | from configparser import ConfigParser
3 | from ipaddress import ip_network
4 | from enum import Enum
5 |
6 | def _check_bad(actual, expected, description):
7 | if not isinstance(actual, set):
8 | actual = set(actual)
9 | if not isinstance(expected, set):
10 | expected = set(expected)
11 | if unrecognized := actual - expected:
12 | return [f'{description}.{item}' for item in unrecognized]
13 | return []
14 |
15 | def _generate_message(bad):
16 | if len(bad) == 1:
17 | return f'Unrecognized option: {bad[0]}'
18 | return f'Unrecognized options: {", ".join(bad)}'
19 |
20 | class SaveMode(Enum):
21 | APPEND = 0
22 | OVERWRITE = 1
23 |
24 | @staticmethod
25 | def from_string(mode_str):
26 | return {'append': SaveMode.APPEND,
27 | 'overwrite': SaveMode.OVERWRITE}[mode_str.lower()]
28 |
29 | class GtdbConfig:
30 | def __init__(self, config_file, strict=False):
31 | config = ConfigParser()
32 | config.read(config_file)
33 | if set(config.sections()) != {'logging', 'scan', 'database'}:
34 | raise ValueError(
35 | f'Configuration Sections should be logging, scan, database; got {config.sections()}')
36 | logging = config['logging']
37 | scan = config['scan']
38 | database = config['database']
39 | bad = _check_bad(logging.keys(), {'silent', 'updateinterval', 'progressbar'}, 'logging')
40 | bad += _check_bad(scan.keys(), {
41 | 'numthreads', 'timeout', 'randomize', 'resultlimit',
42 | 'stabilitythreshold', 'host', 'format', 'ipranges'}, 'scan')
43 | bad += _check_bad(database.keys(), {'dbfile', 'savemode'}, 'database')
44 | if bad:
45 | msg = _generate_message(bad)
46 | if strict:
47 | raise ValueError(msg)
48 | warnings.warn(msg)
49 | self.silent = logging.getboolean('silent', False)
50 | self.update_interval = logging.getfloat('updateinterval', 2.0)
51 | if self.update_interval <= 0:
52 | raise ValueError('updateInterval must be positive')
53 | self.progress_bar = logging.getboolean('progressbar', True)
54 | self.num_threads = scan.getint('numthreads', 64)
55 | if self.num_threads < 1 or self.num_threads > 256:
56 | raise ValueError('numThreads must be an integer between 1 and 256')
57 | self.timeout = scan.getfloat('timeout', 1.5)
58 | if self.timeout <= 0:
59 | raise ValueError('timeout must be positive')
60 | self.randomize = scan.getboolean('randomize', True)
61 | self.result_limit = scan.getint('resultlimit', 0)
62 | if self.result_limit < 0:
63 | raise ValueError('resultLimit must be non-negative')
64 | self.stability_threshold = scan.getint('stabilitythreshold', 3)
65 | if self.stability_threshold < 1 or self.stability_threshold > 100:
66 | raise ValueError('stabilityThreshold must be an integer between 1 and 100')
67 | self.host = scan.get('host', 'translate.googleapis.com')
68 | self.testip_format = scan.get('format', 'https://{}/translate_a/single?client=gtx&sl=en&tl=fr&q=a')
69 | self.ip_ranges = []
70 | for ip_range in scan.get('ipranges', '142.250.0.0/15').split():
71 | try:
72 | self.ip_ranges.append(ip_network(ip_range))
73 | except ValueError:
74 | raise ValueError(f'IP range "{ip_range}" is invalid')
75 | self.dbfile = database.get('dbfile', 'ip.txt')
76 | saveMode_s = database.get('savemode', 'append')
77 | try:
78 | self.save_mode = SaveMode.from_string(saveMode_s)
79 | except KeyError:
80 | raise ValueError(f'Save mode "{saveMode_s}" is invalid')
--------------------------------------------------------------------------------
/src/ip.txt:
--------------------------------------------------------------------------------
1 | 108.177.111.90
2 | 108.177.122.90
3 | 108.177.123.90
4 | 108.177.125.186
5 | 108.177.126.90
6 | 108.177.127.107
7 | 108.177.127.144
8 | 108.177.127.197
9 | 108.177.127.90
10 | 108.177.97.100
11 | 142.250.0.90
12 | 142.250.1.90
13 | 142.250.10.124
14 | 142.250.10.133
15 | 142.250.10.193
16 | 142.250.10.90
17 | 142.250.100.90
18 | 142.250.101.105
19 | 142.250.101.165
20 | 142.250.101.181
21 | 142.250.101.90
22 | 142.250.102.90
23 | 142.250.103.90
24 | 142.250.105.90
25 | 142.250.107.156
26 | 142.250.107.90
27 | 142.250.11.102
28 | 142.250.11.104
29 | 142.250.11.110
30 | 142.250.11.112
31 | 142.250.11.116
32 | 142.250.11.117
33 | 142.250.11.137
34 | 142.250.11.142
35 | 142.250.11.144
36 | 142.250.11.146
37 | 142.250.11.149
38 | 142.250.11.152
39 | 142.250.11.154
40 | 142.250.11.155
41 | 142.250.11.164
42 | 142.250.11.193
43 | 142.250.11.194
44 | 142.250.11.196
45 | 142.250.11.197
46 | 142.250.11.198
47 | 142.250.11.200
48 | 142.250.11.201
49 | 142.250.11.31
50 | 142.250.11.84
51 | 142.250.11.90
52 | 142.250.11.99
53 | 142.250.110.90
54 | 142.250.111.90
55 | 142.250.112.136
56 | 142.250.112.190
57 | 142.250.112.90
58 | 142.250.113.90
59 | 142.250.114.90
60 | 142.250.115.90
61 | 142.250.12.90
62 | 142.250.123.90
63 | 142.250.125.185
64 | 142.250.125.90
65 | 142.250.126.90
66 | 142.250.128.90
67 | 142.250.13.90
68 | 142.250.136.90
69 | 142.250.138.90
70 | 142.250.141.90
71 | 142.250.142.90
72 | 142.250.145.90
73 | 142.250.147.90
74 | 142.250.148.202
75 | 142.250.149.90
76 | 142.250.152.90
77 | 142.250.153.90
78 | 142.250.157.118
79 | 142.250.157.18
80 | 142.250.157.183
81 | 142.250.157.184
82 | 142.250.157.186
83 | 142.250.157.194
84 | 142.250.157.90
85 | 142.250.158.122
86 | 142.250.158.90
87 | 142.250.159.90
88 | 142.250.176.213
89 | 142.250.177.11
90 | 142.250.177.14
91 | 142.250.179.131
92 | 142.250.179.141
93 | 142.250.179.169
94 | 142.250.180.40
95 | 142.250.181.121
96 | 142.250.181.40
97 | 142.250.182.34
98 | 142.250.182.77
99 | 142.250.185.40
100 | 142.250.186.141
101 | 142.250.187.210
102 | 142.250.188.207
103 | 142.250.188.41
104 | 142.250.188.5
105 | 142.250.189.183
106 | 142.250.190.134
107 | 142.250.190.36
108 | 142.250.190.70
109 | 142.250.191.141
110 | 142.250.191.69
111 | 142.250.192.130
112 | 142.250.192.226
113 | 142.250.194.102
114 | 142.250.194.166
115 | 142.250.195.164
116 | 142.250.195.226
117 | 142.250.196.192
118 | 142.250.196.193
119 | 142.250.196.194
120 | 142.250.196.195
121 | 142.250.196.196
122 | 142.250.196.197
123 | 142.250.196.198
124 | 142.250.196.199
125 | 142.250.196.200
126 | 142.250.196.201
127 | 142.250.196.202
128 | 142.250.196.203
129 | 142.250.196.205
130 | 142.250.196.206
131 | 142.250.196.207
132 | 142.250.196.209
133 | 142.250.196.210
134 | 142.250.196.215
135 | 142.250.196.217
136 | 142.250.196.222
137 | 142.250.196.223
138 | 142.250.197.100
139 | 142.250.197.104
140 | 142.250.197.113
141 | 142.250.197.114
142 | 142.250.197.120
143 | 142.250.197.141
144 | 142.250.197.142
145 | 142.250.197.149
146 | 142.250.197.151
147 | 142.250.197.152
148 | 142.250.197.153
149 | 142.250.197.193
150 | 142.250.197.195
151 | 142.250.197.197
152 | 142.250.197.199
153 | 142.250.197.200
154 | 142.250.197.201
155 | 142.250.197.203
156 | 142.250.197.205
157 | 142.250.197.206
158 | 142.250.197.210
159 | 142.250.197.213
160 | 142.250.197.215
161 | 142.250.197.216
162 | 142.250.197.222
163 | 142.250.197.223
164 | 142.250.199.133
165 | 142.250.199.135
166 | 142.250.199.139
167 | 142.250.199.151
168 | 142.250.199.165
169 | 142.250.199.181
170 | 142.250.199.183
171 | 142.250.199.184
172 | 142.250.199.185
173 | 142.250.200.65
174 | 142.250.200.68
175 | 142.250.203.102
176 | 142.250.203.200
177 | 142.250.203.78
178 | 142.250.204.126
179 | 142.250.205.163
180 | 142.250.205.168
181 | 142.250.205.193
182 | 142.250.205.226
183 | 142.250.206.97
184 | 142.250.207.109
185 | 142.250.207.85
186 | 142.250.217.102
187 | 142.250.217.70
188 | 142.250.218.226
189 | 142.250.219.104
190 | 142.250.219.106
191 | 142.250.219.130
192 | 142.250.219.4
193 | 142.250.219.82
194 | 142.250.219.88
195 | 142.250.27.114
196 | 142.250.27.118
197 | 142.250.27.122
198 | 142.250.27.124
199 | 142.250.27.143
200 | 142.250.27.144
201 | 142.250.27.145
202 | 142.250.27.146
203 | 142.250.27.152
204 | 142.250.27.165
205 | 142.250.27.181
206 | 142.250.27.194
207 | 142.250.27.196
208 | 142.250.27.199
209 | 142.250.27.202
210 | 142.250.27.31
211 | 142.250.27.90
212 | 142.250.27.98
213 | 142.250.28.90
214 | 142.250.30.90
215 | 142.250.31.117
216 | 142.250.31.122
217 | 142.250.31.123
218 | 142.250.31.124
219 | 142.250.31.144
220 | 142.250.31.164
221 | 142.250.31.194
222 | 142.250.31.195
223 | 142.250.31.196
224 | 142.250.31.197
225 | 142.250.31.198
226 | 142.250.31.199
227 | 142.250.31.202
228 | 142.250.31.90
229 | 142.250.4.185
230 | 142.250.4.90
231 | 142.250.64.102
232 | 142.250.64.107
233 | 142.250.64.109
234 | 142.250.64.119
235 | 142.250.64.120
236 | 142.250.64.139
237 | 142.250.64.151
238 | 142.250.64.169
239 | 142.250.64.171
240 | 142.250.64.181
241 | 142.250.64.183
242 | 142.250.64.203
243 | 142.250.64.207
244 | 142.250.64.217
245 | 142.250.64.224
246 | 142.250.64.242
247 | 142.250.64.248
248 | 142.250.64.249
249 | 142.250.64.87
250 | 142.250.64.88
251 | 142.250.64.96
252 | 142.250.66.164
253 | 142.250.66.171
254 | 142.250.66.178
255 | 142.250.66.183
256 | 142.250.66.184
257 | 142.250.66.191
258 | 142.250.66.201
259 | 142.250.66.205
260 | 142.250.66.210
261 | 142.250.66.215
262 | 142.250.66.216
263 | 142.250.66.223
264 | 142.250.66.237
265 | 142.250.66.239
266 | 142.250.66.248
267 | 142.250.66.249
268 | 142.250.66.94
269 | 142.250.67.11
270 | 142.250.67.21
271 | 142.250.67.41
272 | 142.250.67.50
273 | 142.250.67.53
274 | 142.250.67.55
275 | 142.250.67.56
276 | 142.250.67.63
277 | 142.250.67.65
278 | 142.250.67.73
279 | 142.250.67.75
280 | 142.250.67.82
281 | 142.250.67.95
282 | 142.250.68.113
283 | 142.250.68.139
284 | 142.250.68.37
285 | 142.250.68.69
286 | 142.250.70.136
287 | 142.250.71.34
288 | 142.250.72.6
289 | 142.250.74.38
290 | 142.250.77.193
291 | 142.250.77.194
292 | 142.250.78.206
293 | 142.250.8.90
294 | 142.250.80.38
295 | 142.250.80.43
296 | 142.250.81.110
297 | 142.250.81.225
298 | 142.250.9.90
299 | 142.250.96.104
300 | 142.250.96.110
301 | 142.250.96.116
302 | 142.250.96.133
303 | 142.250.96.143
304 | 142.250.96.145
305 | 142.250.96.146
306 | 142.250.96.147
307 | 142.250.96.148
308 | 142.250.96.164
309 | 142.250.96.167
310 | 142.250.96.181
311 | 142.250.96.191
312 | 142.250.96.195
313 | 142.250.96.196
314 | 142.250.96.199
315 | 142.250.96.200
316 | 142.250.96.201
317 | 142.250.96.202
318 | 142.250.96.84
319 | 142.250.96.90
320 | 142.250.96.96
321 | 142.250.96.98
322 | 142.250.97.90
323 | 142.250.98.105
324 | 142.250.98.116
325 | 142.250.98.117
326 | 142.250.98.124
327 | 142.250.98.142
328 | 142.250.98.148
329 | 142.250.98.149
330 | 142.250.98.152
331 | 142.250.98.155
332 | 142.250.98.194
333 | 142.250.98.196
334 | 142.250.98.90
335 | 142.250.99.100
336 | 142.250.99.90
337 | 142.251.0.90
338 | 142.251.0.92
339 | 142.251.1.110
340 | 142.251.1.112
341 | 142.251.1.124
342 | 142.251.1.133
343 | 142.251.1.143
344 | 142.251.1.144
345 | 142.251.1.146
346 | 142.251.1.165
347 | 142.251.1.166
348 | 142.251.1.167
349 | 142.251.1.176
350 | 142.251.1.195
351 | 142.251.1.199
352 | 142.251.1.200
353 | 142.251.1.202
354 | 142.251.1.31
355 | 142.251.1.83
356 | 142.251.1.90
357 | 142.251.1.96
358 | 142.251.10.110
359 | 142.251.10.138
360 | 142.251.10.141
361 | 142.251.10.152
362 | 142.251.10.19
363 | 142.251.10.196
364 | 142.251.10.200
365 | 142.251.10.31
366 | 142.251.10.90
367 | 142.251.107.90
368 | 142.251.111.90
369 | 142.251.112.90
370 | 142.251.116.101
371 | 142.251.116.90
372 | 142.251.117.90
373 | 142.251.12.118
374 | 142.251.12.137
375 | 142.251.12.141
376 | 142.251.12.185
377 | 142.251.12.81
378 | 142.251.12.90
379 | 142.251.120.90
380 | 142.251.129.113
381 | 142.251.129.121
382 | 142.251.129.129
383 | 142.251.129.178
384 | 142.251.129.194
385 | 142.251.129.224
386 | 142.251.129.255
387 | 142.251.129.79
388 | 142.251.13.90
389 | 142.251.130.30
390 | 142.251.132.17
391 | 142.251.132.226
392 | 142.251.132.53
393 | 142.251.133.70
394 | 142.251.134.77
395 | 142.251.143.73
396 | 142.251.143.75
397 | 142.251.143.77
398 | 142.251.143.79
399 | 142.251.15.103
400 | 142.251.15.104
401 | 142.251.15.105
402 | 142.251.15.106
403 | 142.251.15.90
404 | 142.251.15.99
405 | 142.251.16.185
406 | 142.251.16.90
407 | 142.251.160.90
408 | 142.251.161.90
409 | 142.251.162.90
410 | 142.251.163.90
411 | 142.251.165.90
412 | 142.251.166.90
413 | 142.251.168.100
414 | 142.251.168.103
415 | 142.251.168.104
416 | 142.251.168.105
417 | 142.251.168.107
418 | 142.251.168.110
419 | 142.251.168.112
420 | 142.251.168.113
421 | 142.251.168.116
422 | 142.251.168.117
423 | 142.251.168.118
424 | 142.251.168.123
425 | 142.251.168.126
426 | 142.251.168.132
427 | 142.251.168.136
428 | 142.251.168.137
429 | 142.251.168.138
430 | 142.251.168.142
431 | 142.251.168.144
432 | 142.251.168.146
433 | 142.251.168.147
434 | 142.251.168.148
435 | 142.251.168.152
436 | 142.251.168.154
437 | 142.251.168.155
438 | 142.251.168.156
439 | 142.251.168.164
440 | 142.251.168.165
441 | 142.251.168.166
442 | 142.251.168.167
443 | 142.251.168.189
444 | 142.251.168.190
445 | 142.251.168.191
446 | 142.251.168.194
447 | 142.251.168.196
448 | 142.251.168.199
449 | 142.251.168.31
450 | 142.251.168.81
451 | 142.251.168.82
452 | 142.251.168.84
453 | 142.251.168.88
454 | 142.251.168.92
455 | 142.251.168.94
456 | 142.251.168.96
457 | 142.251.168.99
458 | 142.251.170.104
459 | 142.251.170.90
460 | 142.251.171.90
461 | 142.251.172.103
462 | 142.251.172.114
463 | 142.251.172.122
464 | 142.251.172.148
465 | 142.251.172.17
466 | 142.251.172.176
467 | 142.251.172.194
468 | 142.251.172.195
469 | 142.251.172.201
470 | 142.251.172.90
471 | 142.251.172.96
472 | 142.251.172.97
473 | 142.251.173.90
474 | 142.251.174.104
475 | 142.251.174.110
476 | 142.251.174.143
477 | 142.251.174.200
478 | 142.251.174.202
479 | 142.251.175.90
480 | 142.251.176.112
481 | 142.251.176.148
482 | 142.251.177.90
483 | 142.251.178.90
484 | 142.251.179.90
485 | 142.251.18.155
486 | 142.251.18.90
487 | 142.251.182.90
488 | 142.251.183.90
489 | 142.251.184.90
490 | 142.251.185.101
491 | 142.251.185.102
492 | 142.251.185.103
493 | 142.251.185.104
494 | 142.251.185.106
495 | 142.251.185.107
496 | 142.251.185.110
497 | 142.251.185.112
498 | 142.251.185.116
499 | 142.251.185.118
500 | 142.251.185.122
501 | 142.251.185.123
502 | 142.251.185.124
503 | 142.251.185.133
504 | 142.251.185.136
505 | 142.251.185.137
506 | 142.251.185.138
507 | 142.251.185.139
508 | 142.251.185.141
509 | 142.251.185.142
510 | 142.251.185.143
511 | 142.251.185.144
512 | 142.251.185.145
513 | 142.251.185.147
514 | 142.251.185.148
515 | 142.251.185.149
516 | 142.251.185.154
517 | 142.251.185.156
518 | 142.251.185.157
519 | 142.251.185.164
520 | 142.251.185.165
521 | 142.251.185.166
522 | 142.251.185.167
523 | 142.251.185.176
524 | 142.251.185.181
525 | 142.251.185.189
526 | 142.251.185.19
527 | 142.251.185.191
528 | 142.251.185.193
529 | 142.251.185.194
530 | 142.251.185.195
531 | 142.251.185.196
532 | 142.251.185.197
533 | 142.251.185.198
534 | 142.251.185.199
535 | 142.251.185.200
536 | 142.251.185.201
537 | 142.251.185.202
538 | 142.251.185.214
539 | 142.251.185.31
540 | 142.251.185.81
541 | 142.251.185.82
542 | 142.251.185.83
543 | 142.251.185.84
544 | 142.251.185.85
545 | 142.251.185.88
546 | 142.251.185.90
547 | 142.251.185.91
548 | 142.251.185.94
549 | 142.251.185.95
550 | 142.251.185.97
551 | 142.251.185.98
552 | 142.251.185.99
553 | 142.251.2.214
554 | 142.251.2.90
555 | 142.251.208.102
556 | 142.251.208.103
557 | 142.251.208.117
558 | 142.251.208.128
559 | 142.251.208.135
560 | 142.251.208.137
561 | 142.251.208.139
562 | 142.251.208.143
563 | 142.251.208.152
564 | 142.251.208.166
565 | 142.251.208.167
566 | 142.251.208.184
567 | 142.251.208.191
568 | 142.251.220.0
569 | 142.251.220.21
570 | 142.251.220.24
571 | 142.251.220.31
572 | 142.251.220.7
573 | 142.251.32.64
574 | 142.251.32.68
575 | 142.251.32.82
576 | 142.251.32.87
577 | 142.251.32.89
578 | 142.251.33.11
579 | 142.251.33.4
580 | 142.251.35.228
581 | 142.251.36.11
582 | 142.251.36.111
583 | 142.251.36.134
584 | 142.251.36.139
585 | 142.251.36.141
586 | 142.251.36.15
587 | 142.251.36.17
588 | 142.251.36.198
589 | 142.251.36.205
590 | 142.251.36.21
591 | 142.251.36.228
592 | 142.251.36.32
593 | 142.251.36.47
594 | 142.251.37.105
595 | 142.251.4.112
596 | 142.251.4.201
597 | 142.251.4.90
598 | 142.251.4.92
599 | 142.251.4.96
600 | 142.251.40.107
601 | 142.251.40.129
602 | 142.251.40.143
603 | 142.251.40.145
604 | 142.251.40.161
605 | 142.251.40.174
606 | 142.251.40.177
607 | 142.251.40.197
608 | 142.251.40.230
609 | 142.251.40.237
610 | 142.251.40.75
611 | 142.251.40.87
612 | 142.251.41.17
613 | 142.251.42.65
614 | 142.251.42.71
615 | 142.251.43.114
616 | 142.251.43.119
617 | 142.251.43.137
618 | 142.251.43.152
619 | 142.251.43.203
620 | 142.251.43.205
621 | 142.251.43.226
622 | 142.251.43.36
623 | 142.251.43.75
624 | 142.251.43.98
625 | 142.251.45.11
626 | 142.251.45.13
627 | 142.251.45.68
628 | 142.251.46.132
629 | 142.251.47.117
630 | 142.251.47.196
631 | 142.251.47.71
632 | 142.251.5.90
633 | 142.251.6.90
634 | 142.251.8.90
635 | 142.251.9.90
636 | 172.217.0.46
637 | 172.217.12.145
638 | 172.217.13.142
639 | 172.217.14.102
640 | 172.217.14.73
641 | 172.217.16.247
642 | 172.217.16.46
643 | 172.217.163.201
644 | 172.217.164.119
645 | 172.217.164.127
646 | 172.217.165.0
647 | 172.217.165.55
648 | 172.217.167.0
649 | 172.217.168.0
650 | 172.217.168.247
651 | 172.217.169.192
652 | 172.217.170.196
653 | 172.217.173.247
654 | 172.217.173.55
655 | 172.217.192.90
656 | 172.217.193.90
657 | 172.217.194.137
658 | 172.217.195.90
659 | 172.217.203.90
660 | 172.217.204.90
661 | 172.217.212.90
662 | 172.217.214.90
663 | 172.217.215.90
664 | 172.217.218.90
665 | 172.217.222.90
666 | 172.217.27.209
667 | 172.217.31.142
668 | 172.253.112.90
669 | 172.253.113.90
670 | 172.253.114.90
671 | 172.253.115.116
672 | 172.253.115.90
673 | 172.253.116.90
674 | 172.253.117.90
675 | 172.253.118.194
676 | 172.253.118.90
677 | 172.253.119.133
678 | 172.253.119.143
679 | 172.253.119.181
680 | 172.253.119.194
681 | 172.253.119.198
682 | 172.253.119.199
683 | 172.253.119.200
684 | 172.253.119.201
685 | 172.253.119.202
686 | 172.253.119.82
687 | 172.253.119.90
688 | 172.253.122.90
689 | 172.253.123.90
690 | 172.253.124.107
691 | 172.253.124.110
692 | 172.253.124.112
693 | 172.253.124.114
694 | 172.253.124.118
695 | 172.253.124.122
696 | 172.253.124.123
697 | 172.253.124.124
698 | 172.253.124.133
699 | 172.253.124.149
700 | 172.253.124.164
701 | 172.253.124.166
702 | 172.253.124.194
703 | 172.253.124.196
704 | 172.253.124.200
705 | 172.253.124.90
706 | 172.253.124.96
707 | 172.253.125.110
708 | 172.253.125.90
709 | 172.253.126.90
710 | 172.253.127.90
711 | 172.253.58.90
712 | 172.253.62.90
713 | 172.253.63.90
714 | 173.194.175.194
715 | 173.194.175.199
716 | 173.194.175.200
717 | 173.194.192.195
718 | 173.194.205.196
719 | 173.194.207.199
720 | 173.194.210.199
721 | 173.194.212.147
722 | 173.194.212.194
723 | 173.194.215.100
724 | 173.194.215.194
725 | 173.194.217.194
726 | 173.194.217.94
727 | 173.194.220.196
728 | 173.194.222.195
729 | 173.194.76.194
730 | 173.194.76.198
731 | 173.194.76.199
732 | 173.194.77.200
733 | 173.194.79.94
734 | 209.85.144.196
735 | 209.85.145.200
736 | 209.85.200.107
737 | 209.85.235.104
738 | 209.85.235.198
739 | 209.85.235.99
740 | 216.239.32.40
741 | 216.58.207.200
742 | 216.58.207.215
743 | 216.58.207.242
744 | 216.58.209.174
745 | 216.58.214.14
746 | 216.58.215.226
747 | 216.58.215.43
748 | 216.58.215.70
749 | 216.58.220.142
750 | 216.58.223.207
751 | 216.58.223.216
752 | 216.58.227.65
753 | 216.58.227.66
754 | 216.58.227.67
755 | 34.1.15.24
756 | 64.233.176.98
757 | 64.233.181.99
758 | 64.233.189.191
759 | 64.233.189.92
760 | 74.125.133.198
761 | 74.125.134.97
762 | 74.125.136.196
763 | 74.125.137.105
764 | 74.125.137.106
765 | 74.125.137.107
766 | 74.125.137.110
767 | 74.125.137.116
768 | 74.125.137.117
769 | 74.125.137.123
770 | 74.125.137.133
771 | 74.125.137.141
772 | 74.125.137.143
773 | 74.125.137.146
774 | 74.125.137.165
775 | 74.125.137.167
776 | 74.125.137.176
777 | 74.125.137.19
778 | 74.125.137.191
779 | 74.125.137.194
780 | 74.125.137.195
781 | 74.125.137.198
782 | 74.125.137.200
783 | 74.125.137.201
784 | 74.125.137.202
785 | 74.125.137.90
786 | 74.125.137.96
787 | 74.125.137.98
788 | 74.125.138.93
789 | 74.125.139.136
790 | 74.125.140.136
791 | 74.125.141.196
792 | 74.125.142.94
793 | 74.125.143.98
794 | 74.125.193.196
795 | 74.125.196.113
796 | 74.125.196.94
797 | 74.125.199.194
798 | 74.125.204.139
799 | 74.125.206.105
800 | 74.125.206.194
801 | 74.125.26.196
802 | 74.125.71.194
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
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 |
--------------------------------------------------------------------------------