refactor: Update S3 file paths in server.js to use a new directory structure for better organization
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 5m45s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 5m45s
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# BGP Data Files
|
||||
|
||||
Эта папка содержит файлы данных для BGP-маршрутизации:
|
||||
|
||||
## Структура файлов
|
||||
|
||||
### domains.txt
|
||||
Файл с доменами и их типами (старый формат):
|
||||
```
|
||||
example.com 100
|
||||
google.com 101
|
||||
facebook.com 102
|
||||
```
|
||||
|
||||
### domains_comunity.txt
|
||||
Файл с доменами и их community (новый формат):
|
||||
```
|
||||
example.com 100
|
||||
google.com 101
|
||||
facebook.com 102
|
||||
```
|
||||
|
||||
### asns.txt
|
||||
Файл с номерами AS и их community:
|
||||
```
|
||||
12345 112
|
||||
4545 113
|
||||
6789 114
|
||||
```
|
||||
|
||||
### ips.txt
|
||||
Файл с IP-диапазонами и их community:
|
||||
```
|
||||
192.168.1.0/24 100
|
||||
10.0.0.0/8 101
|
||||
172.16.0.0/12 102
|
||||
```
|
||||
|
||||
## Формат файлов
|
||||
|
||||
Все файлы имеют текстовый формат с разделителем пробел между значениями.
|
||||
Каждая строка содержит два поля:
|
||||
- Первое поле: домен/AS/IP-диапазон
|
||||
- Второе поле: community/тип
|
||||
|
||||
Пустые строки игнорируются при обработке.
|
||||
@@ -0,0 +1,5 @@
|
||||
12345 112
|
||||
4545 113
|
||||
6789 114
|
||||
1011 115
|
||||
1213 116
|
||||
@@ -0,0 +1,5 @@
|
||||
example.com 100
|
||||
google.com 101
|
||||
facebook.com 102
|
||||
youtube.com 103
|
||||
github.com 104
|
||||
@@ -0,0 +1,5 @@
|
||||
example.com 100
|
||||
google.com 101
|
||||
facebook.com 102
|
||||
youtube.com 103
|
||||
github.com 104
|
||||
@@ -0,0 +1,5 @@
|
||||
192.168.1.0/24 100
|
||||
10.0.0.0/8 101
|
||||
172.16.0.0/12 102
|
||||
8.8.8.0/24 103
|
||||
1.1.1.0/24 104
|
||||
Reference in New Issue
Block a user