mirror of
https://gitlab.rd.nic.fr/labs/frcrawler/scripts.git
synced 2025-04-05 03:55:13 +02:00
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<dictionaries>
|
|
<dictionary>
|
|
<name>geolite_asn_blocks_ipv6</name>
|
|
<database>external</database>
|
|
<source>
|
|
<file>
|
|
<path>/etc/clickhouse-server/dictionaries/GeoLite2-ASN-Blocks-IPv6.tsv</path>
|
|
<format>TSVWithNames</format>
|
|
</file>
|
|
</source>
|
|
<lifetime>300</lifetime>
|
|
<layout>
|
|
<ip_trie>
|
|
<!-- Key attribute `prefix` can be retrieved via dictGetString. -->
|
|
<!-- This option increases memory usage. -->
|
|
<access_to_key_from_attributes>true</access_to_key_from_attributes>
|
|
</ip_trie>
|
|
</layout>
|
|
<structure>
|
|
<key>
|
|
<attribute>
|
|
<name>network</name>
|
|
<type>String</type>
|
|
</attribute>
|
|
</key>
|
|
<attribute>
|
|
<name>autonomous_system_number</name>
|
|
<type>UInt32</type>
|
|
<null_value>0</null_value>
|
|
</attribute>
|
|
<attribute>
|
|
<name>autonomous_system_organization</name>
|
|
<type>String</type>
|
|
<null_value>?</null_value>
|
|
</attribute>
|
|
</structure>
|
|
</dictionary>
|
|
</dictionaries>
|