Adding upstream version 1.4.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e344d0b8ae
commit
1ea3e103a7
77 changed files with 5760 additions and 0 deletions
336
tests/1458044657.xml
Normal file
336
tests/1458044657.xml
Normal file
|
@ -0,0 +1,336 @@
|
|||
<dscdata>
|
||||
<array name="pcap_stats" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="ifname"/>
|
||||
<dimension number="2" type="pcap_stat"/>
|
||||
<data>
|
||||
<ifname val="Li8xNDU4MDQ0NjU3LnBjYXAuZGlzdA==" base64="1">
|
||||
<pcap_stat val="pkts_captured" count="8"/>
|
||||
</ifname>
|
||||
</data>
|
||||
</array>
|
||||
<array name="label_count" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="LabelCount"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<LabelCount val="3" count="4"/>
|
||||
<LabelCount val="6" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="third_ld_vs_rcode" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="ThirdLD"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<ThirdLD val="216.in-addr.arpa" count="2"/>
|
||||
<ThirdLD val="www.google.se" count="1"/>
|
||||
<ThirdLD val="www.google.com" count="1"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="second_ld_vs_rcode" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="SecondLD"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<SecondLD val="in-addr.arpa" count="2"/>
|
||||
<SecondLD val="google.com" count="1"/>
|
||||
<SecondLD val="www.google.se" count="1"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="server" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="IP"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<IP val="8.8.8.8" count="8"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qr_aa_bits" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Direction"/>
|
||||
<dimension number="2" type="QRAABits"/>
|
||||
<data>
|
||||
<Direction val="sent">
|
||||
</Direction>
|
||||
<Direction val="recv">
|
||||
</Direction>
|
||||
<Direction val="else">
|
||||
<QRAABits val="cXI9MCxhYT0w" base64="1" count="4"/>
|
||||
<QRAABits val="cXI9MSxhYT0w" base64="1" count="4"/>
|
||||
</Direction>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qname" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Name"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Name val="100.209.58.216.in-addr.arpa" count="2"/>
|
||||
<Name val="www.google.se" count="2"/>
|
||||
<Name val="131.209.58.216.in-addr.arpa" count="2"/>
|
||||
<Name val="www.google.com" count="2"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qclass" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Class"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Class val="1" count="8"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="dns_ip_version" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Version"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Version val="IPv4" count="8"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="ip_version" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Version"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Version val="IPv4" count="8"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="direction_vs_ipproto" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Direction"/>
|
||||
<dimension number="2" type="IPProto"/>
|
||||
<data>
|
||||
<Direction val="sent">
|
||||
</Direction>
|
||||
<Direction val="recv">
|
||||
</Direction>
|
||||
<Direction val="else">
|
||||
<IPProto val="udp" count="8"/>
|
||||
</Direction>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_port" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Port"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Port val="59978" count="4"/>
|
||||
<Port val="0" count="1"/>
|
||||
<Port val="53" count="1"/>
|
||||
<Port val="44275" count="1"/>
|
||||
<Port val="57483" count="1"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_port_range" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="PortRange"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<PortRange val="43008-44031" count="1"/>
|
||||
<PortRange val="56320-57343" count="1"/>
|
||||
<PortRange val="57344-58367" count="1"/>
|
||||
<PortRange val="58368-59391" count="1"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="transport_vs_qtype" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Transport"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<Transport val="udp">
|
||||
<Qtype val="1" count="2"/>
|
||||
<Qtype val="12" count="2"/>
|
||||
</Transport>
|
||||
<Transport val="tcp">
|
||||
</Transport>
|
||||
</data>
|
||||
</array>
|
||||
<array name="ipv6_rsn_abusers" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="ClientAddr"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="idn_vs_tld" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="TLD"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="tc_bit" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="TC"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<TC val="clr" count="8"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rd_bit" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="RD"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<RD val="set" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="do_bit" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="D0"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<D0 val="clr" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="edns_bufsiz" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="EDNSBufSiz"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<EDNSBufSiz val="None" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="edns_version" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="EDNSVersion"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<EDNSVersion val="none" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="idn_qname" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="IDNQname"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<IDNQname val="normal" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="chaos_types_and_names" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="Qname"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_addr_vs_rcode" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="ClientAddr"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<ClientAddr val="172.17.0.16" count="4"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_subnet2" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Class"/>
|
||||
<dimension number="2" type="ClientSubnet"/>
|
||||
<data>
|
||||
<Class val="ok">
|
||||
<ClientSubnet val="172.17.0.0" count="3"/>
|
||||
</Class>
|
||||
<Class val="non-auth-tld">
|
||||
<ClientSubnet val="172.17.0.0" count="1"/>
|
||||
</Class>
|
||||
</data>
|
||||
</array>
|
||||
<array name="certain_qnames_vs_qtype" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="CertainQnames"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<CertainQnames val="localhost">
|
||||
</CertainQnames>
|
||||
<CertainQnames val="X.root-servers.net">
|
||||
</CertainQnames>
|
||||
<CertainQnames val="else">
|
||||
<Qtype val="1" count="2"/>
|
||||
<Qtype val="12" count="2"/>
|
||||
</CertainQnames>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype_vs_tld" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="TLD"/>
|
||||
<data>
|
||||
<Qtype val="1">
|
||||
<TLD val="com" count="1"/>
|
||||
<TLD val="google.se" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="12">
|
||||
<TLD val="arpa" count="2"/>
|
||||
</Qtype>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype_vs_qnamelen" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="QnameLen"/>
|
||||
<data>
|
||||
<Qtype val="1">
|
||||
<QnameLen val="13" count="1"/>
|
||||
<QnameLen val="14" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="12">
|
||||
<QnameLen val="27" count="2"/>
|
||||
</Qtype>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_subnet" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="ClientSubnet"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<ClientSubnet val="172.17.0.0" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rcode_vs_replylen" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="ReplyLen"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<ReplyLen val="142" count="2"/>
|
||||
<ReplyLen val="47" count="1"/>
|
||||
<ReplyLen val="48" count="1"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="opcode" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Opcode"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Opcode val="0" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rcode" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Rcode"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Rcode val="0" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype" dimensions="2" start_time="1458044655" stop_time="1458044657">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Qtype val="1" count="2"/>
|
||||
<Qtype val="12" count="2"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
</dscdata>
|
507
tests/1563520620.dscdata.xml
Normal file
507
tests/1563520620.dscdata.xml
Normal file
|
@ -0,0 +1,507 @@
|
|||
<dscdata>
|
||||
<array name="pcap_stats" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="ifname"/>
|
||||
<dimension number="2" type="pcap_stat"/>
|
||||
<data>
|
||||
<ifname val="eth0">
|
||||
<pcap_stat val="filter_received" count="5625"/>
|
||||
<pcap_stat val="pkts_captured" count="4894"/>
|
||||
<pcap_stat val="kernel_dropped" count="731"/>
|
||||
</ifname>
|
||||
</data>
|
||||
</array>
|
||||
<array name="direction_vs_ipproto" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Direction"/>
|
||||
<dimension number="2" type="IPProto"/>
|
||||
<data>
|
||||
<Direction val="sent">
|
||||
<IPProto val="udp" count="289"/>
|
||||
</Direction>
|
||||
<Direction val="recv">
|
||||
<IPProto val="udp" count="219"/>
|
||||
</Direction>
|
||||
<Direction val="else">
|
||||
<IPProto val="udp" count="267"/>
|
||||
</Direction>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_port_range" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="PortRange"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<PortRange val="33792-34815" count="12"/>
|
||||
<PortRange val="35840-36863" count="12"/>
|
||||
<PortRange val="24576-25599" count="11"/>
|
||||
<PortRange val="56320-57343" count="11"/>
|
||||
<PortRange val="55296-56319" count="10"/>
|
||||
<PortRange val="41984-43007" count="9"/>
|
||||
<PortRange val="19456-20479" count="8"/>
|
||||
<PortRange val="58368-59391" count="8"/>
|
||||
<PortRange val="61440-62463" count="8"/>
|
||||
<PortRange val="63488-64511" count="8"/>
|
||||
<PortRange val="3072-4095" count="7"/>
|
||||
<PortRange val="15360-16383" count="7"/>
|
||||
<PortRange val="34816-35839" count="7"/>
|
||||
<PortRange val="37888-38911" count="7"/>
|
||||
<PortRange val="40960-41983" count="7"/>
|
||||
<PortRange val="45056-46079" count="7"/>
|
||||
<PortRange val="46080-47103" count="7"/>
|
||||
<PortRange val="59392-60415" count="7"/>
|
||||
<PortRange val="13312-14335" count="6"/>
|
||||
<PortRange val="14336-15359" count="6"/>
|
||||
<PortRange val="32768-33791" count="6"/>
|
||||
<PortRange val="36864-37887" count="6"/>
|
||||
<PortRange val="43008-44031" count="6"/>
|
||||
<PortRange val="49152-50175" count="6"/>
|
||||
<PortRange val="52224-53247" count="6"/>
|
||||
<PortRange val="2048-3071" count="5"/>
|
||||
<PortRange val="12288-13311" count="5"/>
|
||||
<PortRange val="16384-17407" count="5"/>
|
||||
<PortRange val="28672-29695" count="5"/>
|
||||
<PortRange val="31744-32767" count="5"/>
|
||||
<PortRange val="39936-40959" count="5"/>
|
||||
<PortRange val="47104-48127" count="5"/>
|
||||
<PortRange val="54272-55295" count="5"/>
|
||||
<PortRange val="5120-6143" count="4"/>
|
||||
<PortRange val="7168-8191" count="4"/>
|
||||
<PortRange val="10240-11263" count="4"/>
|
||||
<PortRange val="11264-12287" count="4"/>
|
||||
<PortRange val="17408-18431" count="4"/>
|
||||
<PortRange val="18432-19455" count="4"/>
|
||||
<PortRange val="22528-23551" count="4"/>
|
||||
<PortRange val="23552-24575" count="4"/>
|
||||
<PortRange val="25600-26623" count="4"/>
|
||||
<PortRange val="26624-27647" count="4"/>
|
||||
<PortRange val="29696-30719" count="4"/>
|
||||
<PortRange val="30720-31743" count="4"/>
|
||||
<PortRange val="38912-39935" count="4"/>
|
||||
<PortRange val="48128-49151" count="4"/>
|
||||
<PortRange val="50176-51199" count="4"/>
|
||||
<PortRange val="62464-63487" count="4"/>
|
||||
<PortRange val="1024-2047" count="3"/>
|
||||
<PortRange val="4096-5119" count="3"/>
|
||||
<PortRange val="8192-9215" count="3"/>
|
||||
<PortRange val="9216-10239" count="3"/>
|
||||
<PortRange val="20480-21503" count="3"/>
|
||||
<PortRange val="27648-28671" count="3"/>
|
||||
<PortRange val="44032-45055" count="3"/>
|
||||
<PortRange val="53248-54271" count="3"/>
|
||||
<PortRange val="57344-58367" count="3"/>
|
||||
<PortRange val="6144-7167" count="2"/>
|
||||
<PortRange val="21504-22527" count="2"/>
|
||||
<PortRange val="51200-52223" count="2"/>
|
||||
<PortRange val="60416-61439" count="1"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="transport_vs_qtype" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Transport"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<Transport val="udp">
|
||||
<Qtype val="1" count="128"/>
|
||||
<Qtype val="12" count="78"/>
|
||||
<Qtype val="28" count="71"/>
|
||||
<Qtype val="48" count="25"/>
|
||||
<Qtype val="16" count="18"/>
|
||||
<Qtype val="15" count="9"/>
|
||||
<Qtype val="2" count="7"/>
|
||||
<Qtype val="43" count="5"/>
|
||||
<Qtype val="6" count="4"/>
|
||||
</Transport>
|
||||
<Transport val="tcp">
|
||||
</Transport>
|
||||
</data>
|
||||
</array>
|
||||
<array name="ipv6_rsn_abusers" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="ClientAddr"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="idn_vs_tld" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="TLD"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rd_bit" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="RD"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<RD val="set" count="186"/>
|
||||
<RD val="clr" count="159"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="do_bit" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="D0"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<D0 val="clr" count="211"/>
|
||||
<D0 val="set" count="134"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="edns_bufsiz" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="EDNSBufSiz"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<EDNSBufSiz val="None" count="204"/>
|
||||
<EDNSBufSiz val="4096-4607" count="73"/>
|
||||
<EDNSBufSiz val="512-1023" count="26"/>
|
||||
<EDNSBufSiz val="1024-1535" count="22"/>
|
||||
<EDNSBufSiz val="3584-4095" count="12"/>
|
||||
<EDNSBufSiz val="1536-2047" count="6"/>
|
||||
<EDNSBufSiz val="2048-2559" count="1"/>
|
||||
<EDNSBufSiz val="8192-8703" count="1"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="edns_version" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="EDNSVersion"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<EDNSVersion val="none" count="204"/>
|
||||
<EDNSVersion val="0" count="141"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="idn_qname" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="IDNQname"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<IDNQname val="normal" count="345"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="chaos_types_and_names" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="Qname"/>
|
||||
<data>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_addr_vs_rcode" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="ClientAddr"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<ClientAddr val="64.191.0.198" count="78"/>
|
||||
<ClientAddr val="2620:ff:c000::198" count="50"/>
|
||||
<ClientAddr val="-:SKIPPED:-" count="131"/>
|
||||
<ClientAddr val="-:SKIPPED_SUM:-" count="131"/>
|
||||
</Rcode>
|
||||
<Rcode val="3">
|
||||
<ClientAddr val="64.191.0.198" count="3"/>
|
||||
<ClientAddr val="2620:ff:c000::198" count="2"/>
|
||||
</Rcode>
|
||||
<Rcode val="2">
|
||||
<ClientAddr val="64.191.0.198" count="6"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_subnet2" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Class"/>
|
||||
<dimension number="2" type="ClientSubnet"/>
|
||||
<data>
|
||||
<Class val="ok">
|
||||
<ClientSubnet val="64.191.0.0" count="180"/>
|
||||
<ClientSubnet val="2620:ff:c000::198" count="5"/>
|
||||
</Class>
|
||||
<Class val="non-auth-tld">
|
||||
<ClientSubnet val="64.191.0.0" count="18"/>
|
||||
</Class>
|
||||
<Class val="root-servers.net">
|
||||
</Class>
|
||||
<Class val="localhost">
|
||||
</Class>
|
||||
<Class val="a-for-a">
|
||||
</Class>
|
||||
<Class val="a-for-root">
|
||||
</Class>
|
||||
<Class val="rfc1918-ptr">
|
||||
<ClientSubnet val="2620:ff:c000::198" count="1"/>
|
||||
</Class>
|
||||
<Class val="funny-qclass">
|
||||
</Class>
|
||||
</data>
|
||||
</array>
|
||||
<array name="certain_qnames_vs_qtype" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="CertainQnames"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<CertainQnames val="localhost">
|
||||
</CertainQnames>
|
||||
<CertainQnames val="X.root-servers.net">
|
||||
</CertainQnames>
|
||||
<CertainQnames val="else">
|
||||
<Qtype val="1" count="128"/>
|
||||
<Qtype val="12" count="78"/>
|
||||
<Qtype val="28" count="71"/>
|
||||
<Qtype val="48" count="25"/>
|
||||
<Qtype val="16" count="18"/>
|
||||
<Qtype val="15" count="9"/>
|
||||
<Qtype val="2" count="7"/>
|
||||
<Qtype val="43" count="5"/>
|
||||
<Qtype val="6" count="4"/>
|
||||
</CertainQnames>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype_vs_tld" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="TLD"/>
|
||||
<data>
|
||||
<Qtype val="1">
|
||||
<TLD val="net" count="128"/>
|
||||
<TLD val="..." count="128"/>
|
||||
</Qtype>
|
||||
<Qtype val="43">
|
||||
</Qtype>
|
||||
<Qtype val="12">
|
||||
<TLD val="arpa" count="78"/>
|
||||
</Qtype>
|
||||
<Qtype val="16">
|
||||
</Qtype>
|
||||
<Qtype val="48">
|
||||
</Qtype>
|
||||
<Qtype val="28">
|
||||
<TLD val="net" count="71"/>
|
||||
</Qtype>
|
||||
<Qtype val="15">
|
||||
<TLD val="asia" count="8"/>
|
||||
<TLD val="net" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="2">
|
||||
<TLD val="arpa" count="3"/>
|
||||
<TLD val="net" count="2"/>
|
||||
<TLD val="com" count="1"/>
|
||||
<TLD val="org" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="6">
|
||||
<TLD val="net" count="2"/>
|
||||
<TLD val="arpa" count="2"/>
|
||||
</Qtype>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype_vs_qnamelen" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Qtype"/>
|
||||
<dimension number="2" type="QnameLen"/>
|
||||
<data>
|
||||
<Qtype val="1">
|
||||
<QnameLen val="20" count="84"/>
|
||||
<QnameLen val="15" count="28"/>
|
||||
<QnameLen val="16" count="8"/>
|
||||
<QnameLen val="24" count="2"/>
|
||||
<QnameLen val="12" count="1"/>
|
||||
<QnameLen val="18" count="1"/>
|
||||
<QnameLen val="22" count="1"/>
|
||||
<QnameLen val="23" count="1"/>
|
||||
<QnameLen val="28" count="1"/>
|
||||
<QnameLen val="46" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="43">
|
||||
<QnameLen val="15" count="2"/>
|
||||
<QnameLen val="26" count="2"/>
|
||||
<QnameLen val="17" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="12">
|
||||
<QnameLen val="23" count="35"/>
|
||||
<QnameLen val="25" count="21"/>
|
||||
<QnameLen val="26" count="16"/>
|
||||
<QnameLen val="24" count="2"/>
|
||||
<QnameLen val="72" count="2"/>
|
||||
<QnameLen val="27" count="1"/>
|
||||
<QnameLen val="28" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="16">
|
||||
<QnameLen val="74" count="9"/>
|
||||
<QnameLen val="21" count="8"/>
|
||||
<QnameLen val="15" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="48">
|
||||
<QnameLen val="23" count="11"/>
|
||||
<QnameLen val="13" count="10"/>
|
||||
<QnameLen val="12" count="2"/>
|
||||
<QnameLen val="17" count="2"/>
|
||||
</Qtype>
|
||||
<Qtype val="28">
|
||||
<QnameLen val="20" count="45"/>
|
||||
<QnameLen val="15" count="12"/>
|
||||
<QnameLen val="16" count="7"/>
|
||||
<QnameLen val="24" count="2"/>
|
||||
<QnameLen val="18" count="1"/>
|
||||
<QnameLen val="23" count="1"/>
|
||||
<QnameLen val="26" count="1"/>
|
||||
<QnameLen val="35" count="1"/>
|
||||
<QnameLen val="59" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="15">
|
||||
<QnameLen val="13" count="8"/>
|
||||
<QnameLen val="26" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="2">
|
||||
<QnameLen val="12" count="3"/>
|
||||
<QnameLen val="21" count="2"/>
|
||||
<QnameLen val="9" count="1"/>
|
||||
<QnameLen val="23" count="1"/>
|
||||
</Qtype>
|
||||
<Qtype val="6">
|
||||
<QnameLen val="21" count="2"/>
|
||||
<QnameLen val="9" count="1"/>
|
||||
<QnameLen val="17" count="1"/>
|
||||
</Qtype>
|
||||
</data>
|
||||
</array>
|
||||
<array name="client_subnet" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="ClientSubnet"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<ClientSubnet val="64.191.0.0" count="198"/>
|
||||
<ClientSubnet val="2620:ff:c000::" count="5"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rcode_vs_replylen" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="Rcode"/>
|
||||
<dimension number="2" type="ReplyLen"/>
|
||||
<data>
|
||||
<Rcode val="0">
|
||||
<ReplyLen val="54" count="84"/>
|
||||
<ReplyLen val="66" count="45"/>
|
||||
<ReplyLen val="75" count="40"/>
|
||||
<ReplyLen val="232" count="31"/>
|
||||
<ReplyLen val="244" count="17"/>
|
||||
<ReplyLen val="272" count="11"/>
|
||||
<ReplyLen val="1118" count="10"/>
|
||||
<ReplyLen val="271" count="9"/>
|
||||
<ReplyLen val="296" count="8"/>
|
||||
<ReplyLen val="49" count="7"/>
|
||||
<ReplyLen val="233" count="7"/>
|
||||
<ReplyLen val="368" count="7"/>
|
||||
<ReplyLen val="268" count="6"/>
|
||||
<ReplyLen val="563" count="6"/>
|
||||
<ReplyLen val="1472" count="6"/>
|
||||
<ReplyLen val="82" count="5"/>
|
||||
<ReplyLen val="309" count="5"/>
|
||||
<ReplyLen val="42" count="4"/>
|
||||
<ReplyLen val="88" count="4"/>
|
||||
<ReplyLen val="104" count="4"/>
|
||||
<ReplyLen val="241" count="4"/>
|
||||
<ReplyLen val="379" count="4"/>
|
||||
<ReplyLen val="722" count="4"/>
|
||||
<ReplyLen val="62" count="3"/>
|
||||
<ReplyLen val="245" count="3"/>
|
||||
<ReplyLen val="293" count="3"/>
|
||||
<ReplyLen val="298" count="3"/>
|
||||
<ReplyLen val="478" count="3"/>
|
||||
<ReplyLen val="587" count="3"/>
|
||||
<ReplyLen val="41" count="2"/>
|
||||
<ReplyLen val="50" count="2"/>
|
||||
<ReplyLen val="61" count="2"/>
|
||||
<ReplyLen val="84" count="2"/>
|
||||
<ReplyLen val="87" count="2"/>
|
||||
<ReplyLen val="96" count="2"/>
|
||||
<ReplyLen val="99" count="2"/>
|
||||
<ReplyLen val="102" count="2"/>
|
||||
<ReplyLen val="110" count="2"/>
|
||||
<ReplyLen val="123" count="2"/>
|
||||
<ReplyLen val="131" count="2"/>
|
||||
<ReplyLen val="132" count="2"/>
|
||||
<ReplyLen val="239" count="2"/>
|
||||
<ReplyLen val="253" count="2"/>
|
||||
<ReplyLen val="261" count="2"/>
|
||||
<ReplyLen val="396" count="2"/>
|
||||
<ReplyLen val="574" count="2"/>
|
||||
<ReplyLen val="1100" count="2"/>
|
||||
<ReplyLen val="57" count="1"/>
|
||||
<ReplyLen val="64" count="1"/>
|
||||
<ReplyLen val="69" count="1"/>
|
||||
<ReplyLen val="77" count="1"/>
|
||||
<ReplyLen val="80" count="1"/>
|
||||
<ReplyLen val="85" count="1"/>
|
||||
<ReplyLen val="89" count="1"/>
|
||||
<ReplyLen val="94" count="1"/>
|
||||
<ReplyLen val="98" count="1"/>
|
||||
<ReplyLen val="111" count="1"/>
|
||||
<ReplyLen val="112" count="1"/>
|
||||
<ReplyLen val="125" count="1"/>
|
||||
<ReplyLen val="127" count="1"/>
|
||||
<ReplyLen val="151" count="1"/>
|
||||
<ReplyLen val="155" count="1"/>
|
||||
<ReplyLen val="174" count="1"/>
|
||||
<ReplyLen val="202" count="1"/>
|
||||
<ReplyLen val="229" count="1"/>
|
||||
<ReplyLen val="235" count="1"/>
|
||||
<ReplyLen val="237" count="1"/>
|
||||
<ReplyLen val="259" count="1"/>
|
||||
<ReplyLen val="294" count="1"/>
|
||||
<ReplyLen val="299" count="1"/>
|
||||
<ReplyLen val="302" count="1"/>
|
||||
<ReplyLen val="324" count="1"/>
|
||||
<ReplyLen val="326" count="1"/>
|
||||
<ReplyLen val="328" count="1"/>
|
||||
<ReplyLen val="345" count="1"/>
|
||||
<ReplyLen val="362" count="1"/>
|
||||
<ReplyLen val="389" count="1"/>
|
||||
<ReplyLen val="412" count="1"/>
|
||||
<ReplyLen val="591" count="1"/>
|
||||
<ReplyLen val="1141" count="1"/>
|
||||
<ReplyLen val="1146" count="1"/>
|
||||
</Rcode>
|
||||
<Rcode val="3">
|
||||
<ReplyLen val="92" count="2"/>
|
||||
<ReplyLen val="101" count="2"/>
|
||||
<ReplyLen val="694" count="2"/>
|
||||
<ReplyLen val="130" count="1"/>
|
||||
<ReplyLen val="795" count="1"/>
|
||||
</Rcode>
|
||||
<Rcode val="2">
|
||||
<ReplyLen val="31" count="6"/>
|
||||
</Rcode>
|
||||
</data>
|
||||
</array>
|
||||
<array name="opcode" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Opcode"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Opcode val="0" count="345"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="rcode" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Rcode"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Rcode val="0" count="416"/>
|
||||
<Rcode val="3" count="8"/>
|
||||
<Rcode val="2" count="6"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
<array name="qtype" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="All"/>
|
||||
<dimension number="2" type="Qtype"/>
|
||||
<data>
|
||||
<All val="ALL">
|
||||
<Qtype val="1" count="128"/>
|
||||
<Qtype val="12" count="78"/>
|
||||
<Qtype val="28" count="71"/>
|
||||
<Qtype val="48" count="25"/>
|
||||
<Qtype val="16" count="18"/>
|
||||
<Qtype val="15" count="9"/>
|
||||
<Qtype val="2" count="7"/>
|
||||
<Qtype val="43" count="5"/>
|
||||
<Qtype val="6" count="4"/>
|
||||
</All>
|
||||
</data>
|
||||
</array>
|
||||
</dscdata>
|
2
tests/20190719/certain_qnames_vs_qtype.dat
Normal file
2
tests/20190719/certain_qnames_vs_qtype.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 else else:48:1:128:28:71:15:9:12:78:2:7:6:4
|
||||
#MD5 4bc33435cfa929c19592fa5bbfd4bb69
|
2
tests/20190719/chaos_types_and_names.dat
Normal file
2
tests/20190719/chaos_types_and_names.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560
|
||||
#MD5 d0a25752e8594d8c013f127947cbc5f9
|
8
tests/20190719/client_addr_vs_rcode_accum.dat
Normal file
8
tests/20190719/client_addr_vs_rcode_accum.dat
Normal file
|
@ -0,0 +1,8 @@
|
|||
-:SKIPPED:- 0 131
|
||||
2620:ff:c000::198 0 50
|
||||
2620:ff:c000::198 3 2
|
||||
-:SKIPPED_SUM:- 0 131
|
||||
64.191.0.198 2 6
|
||||
64.191.0.198 0 78
|
||||
64.191.0.198 3 3
|
||||
#MD5 69367713c72c2e8901daffc14632c2d9
|
2
tests/20190719/client_port_range.dat
Normal file
2
tests/20190719/client_port_range.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 58368-59391 8 1024-2047 3 45056-46079 7 31744-32767 5 15360-16383 7 30720-31743 4 9216-10239 3 5120-6143 4 25600-26623 4 41984-43007 9 43008-44031 6 62464-63487 4 22528-23551 4 10240-11263 4 39936-40959 5 34816-35839 7 16384-17407 5 32768-33791 6 37888-38911 7 53248-54271 3 3072-4095 7 47104-48127 5 21504-22527 2 49152-50175 6 6144-7167 2 33792-34815 12 61440-62463 8 51200-52223 2 27648-28671 3 4096-5119 3 46080-47103 7 56320-57343 11 63488-64511 8 50176-51199 4 2048-3071 5 8192-9215 3 57344-58367 3 14336-15359 6 52224-53247 6 55296-56319 10 12288-13311 5 24576-25599 11 60416-61439 1 26624-27647 4 17408-18431 4 7168-8191 4 48128-49151 4 38912-39935 4 23552-24575 4 28672-29695 5 20480-21503 3 40960-41983 7 54272-55295 5 13312-14335 6 11264-12287 4 19456-20479 8 36864-37887 6 29696-30719 4 35840-36863 12 18432-19455 4 44032-45055 3 59392-60415 7
|
||||
#MD5 21f1a5b2da887ab9b0c608f34992d7de
|
5
tests/20190719/client_subnet2_accum.dat
Normal file
5
tests/20190719/client_subnet2_accum.dat
Normal file
|
@ -0,0 +1,5 @@
|
|||
2620:ff:c000::198 rfc1918-ptr 1
|
||||
2620:ff:c000::198 ok 5
|
||||
64.191.0.0 ok 180
|
||||
64.191.0.0 non-auth-tld 18
|
||||
#MD5 dddb87e8a8963e86cb8a503630d4357f
|
2
tests/20190719/client_subnet2_count.dat
Normal file
2
tests/20190719/client_subnet2_count.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 rfc1918-ptr 1 ok 2 non-auth-tld 1
|
||||
#MD5 e883a01b1b022817133db1995aa2c10b
|
2
tests/20190719/client_subnet2_trace.dat
Normal file
2
tests/20190719/client_subnet2_trace.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 non-auth-tld 18 rfc1918-ptr 1 ok 185
|
||||
#MD5 b4a4ddc379bfe93124277fc6e2c330cb
|
3
tests/20190719/client_subnet_accum.dat
Normal file
3
tests/20190719/client_subnet_accum.dat
Normal file
|
@ -0,0 +1,3 @@
|
|||
2620:ff:c000:: 5
|
||||
64.191.0.0 198
|
||||
#MD5 7b9f4f6c1fad290e8d9f0f6ef2905b0f
|
2
tests/20190719/client_subnet_count.dat
Normal file
2
tests/20190719/client_subnet_count.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 2
|
||||
#MD5 387ea7cf05e936539c3ec40a63d29dbf
|
2
tests/20190719/direction_vs_ipproto.dat
Normal file
2
tests/20190719/direction_vs_ipproto.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 recv udp:219 sent udp:289 else udp:267
|
||||
#MD5 425e11a1b3d2f17c5e87e54ff5ecbeb3
|
2
tests/20190719/dnssec_qtype.dat
Normal file
2
tests/20190719/dnssec_qtype.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 else 315 48 25 43 5
|
||||
#MD5 2c7018cb7254ee62b7097fcb6239a57d
|
2
tests/20190719/do_bit.dat
Normal file
2
tests/20190719/do_bit.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 set 134 clr 211
|
||||
#MD5 7bb564b9b0ebd370f10339a349e82e42
|
2
tests/20190719/edns_bufsiz.dat
Normal file
2
tests/20190719/edns_bufsiz.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 3584-4095 12 4096-4607 73 2048-2559 1 512-1023 26 None 204 8192-8703 1 1536-2047 6 1024-1535 22
|
||||
#MD5 e70ac75f31b3de1176f1975ca1ab03d7
|
2
tests/20190719/edns_version.dat
Normal file
2
tests/20190719/edns_version.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 0 141 none 204
|
||||
#MD5 4c2f5b7124dea738c503bb5dccb232e2
|
2
tests/20190719/idn_qname.dat
Normal file
2
tests/20190719/idn_qname.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 normal 345
|
||||
#MD5 df6cf377b07e083c57953eda1e9100ae
|
0
tests/20190719/idn_vs_tld.dat
Normal file
0
tests/20190719/idn_vs_tld.dat
Normal file
0
tests/20190719/ipv6_rsn_abusers_accum.dat
Normal file
0
tests/20190719/ipv6_rsn_abusers_accum.dat
Normal file
2
tests/20190719/ipv6_rsn_abusers_count.dat
Normal file
2
tests/20190719/ipv6_rsn_abusers_count.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 0
|
||||
#MD5 9b8bcef0308351ed7d24cbed894c2217
|
2
tests/20190719/opcode.dat
Normal file
2
tests/20190719/opcode.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 0 345
|
||||
#MD5 3a960c4f0c7ba6d9062f78477f11f1e8
|
2
tests/20190719/pcap_stats.dat
Normal file
2
tests/20190719/pcap_stats.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 filter_received eth0:5625 kernel_dropped eth0:731 pkts_captured eth0:4894
|
||||
#MD5 6dbbefe12290b8e7f589f86ec9c30556
|
2
tests/20190719/qtype.dat
Normal file
2
tests/20190719/qtype.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 12 78 2 7 6 4 15 9 else 48 1 128 28 71
|
||||
#MD5 afc958bfa6de0678f87f62fe9c9c134f
|
46
tests/20190719/qtype_vs_qnamelen.dat
Normal file
46
tests/20190719/qtype_vs_qnamelen.dat
Normal file
|
@ -0,0 +1,46 @@
|
|||
2 23 1
|
||||
2 9 1
|
||||
2 21 2
|
||||
2 12 3
|
||||
43 26 2
|
||||
43 17 1
|
||||
43 15 2
|
||||
12 28 1
|
||||
12 72 2
|
||||
12 23 35
|
||||
12 26 16
|
||||
12 25 21
|
||||
12 27 1
|
||||
12 24 2
|
||||
6 9 1
|
||||
6 21 2
|
||||
6 17 1
|
||||
1 18 1
|
||||
1 46 1
|
||||
1 12 1
|
||||
1 20 84
|
||||
1 23 1
|
||||
1 16 8
|
||||
1 24 2
|
||||
1 15 28
|
||||
1 22 1
|
||||
1 28 1
|
||||
28 16 7
|
||||
28 24 2
|
||||
28 15 12
|
||||
28 18 1
|
||||
28 35 1
|
||||
28 20 45
|
||||
28 26 1
|
||||
28 23 1
|
||||
28 59 1
|
||||
48 12 2
|
||||
48 13 10
|
||||
48 23 11
|
||||
48 17 2
|
||||
16 74 9
|
||||
16 15 1
|
||||
16 21 8
|
||||
15 26 1
|
||||
15 13 8
|
||||
#MD5 1cf280838630abd4d8cc5fe322bbd8ff
|
13
tests/20190719/qtype_vs_tld.dat
Normal file
13
tests/20190719/qtype_vs_tld.dat
Normal file
|
@ -0,0 +1,13 @@
|
|||
arpa 2 3
|
||||
arpa 12 78
|
||||
arpa 6 2
|
||||
... 1 128
|
||||
org 2 1
|
||||
asia 15 8
|
||||
net 28 71
|
||||
net 1 128
|
||||
net 15 1
|
||||
net 6 2
|
||||
net 2 2
|
||||
com 2 1
|
||||
#MD5 bebe5fd28997da768999fb36bd299c05
|
2
tests/20190719/rcode.dat
Normal file
2
tests/20190719/rcode.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 0 416 3 8 2 6
|
||||
#MD5 7ae0768474205df1d88a4fae8d03b56d
|
88
tests/20190719/rcode_vs_replylen.dat
Normal file
88
tests/20190719/rcode_vs_replylen.dat
Normal file
|
@ -0,0 +1,88 @@
|
|||
2 31 6
|
||||
0 293 3
|
||||
0 112 1
|
||||
0 232 31
|
||||
0 396 2
|
||||
0 89 1
|
||||
0 302 1
|
||||
0 94 1
|
||||
0 298 3
|
||||
0 1118 10
|
||||
0 85 1
|
||||
0 563 6
|
||||
0 132 2
|
||||
0 245 3
|
||||
0 233 7
|
||||
0 389 1
|
||||
0 174 1
|
||||
0 88 4
|
||||
0 241 4
|
||||
0 253 2
|
||||
0 412 1
|
||||
0 42 4
|
||||
0 104 4
|
||||
0 75 40
|
||||
0 66 45
|
||||
0 54 84
|
||||
0 155 1
|
||||
0 131 2
|
||||
0 151 1
|
||||
0 229 1
|
||||
0 328 1
|
||||
0 362 1
|
||||
0 1100 2
|
||||
0 98 1
|
||||
0 722 4
|
||||
0 368 7
|
||||
0 111 1
|
||||
0 237 1
|
||||
0 235 1
|
||||
0 1141 1
|
||||
0 62 3
|
||||
0 99 2
|
||||
0 84 2
|
||||
0 102 2
|
||||
0 345 1
|
||||
0 61 2
|
||||
0 239 2
|
||||
0 261 2
|
||||
0 259 1
|
||||
0 309 5
|
||||
0 244 17
|
||||
0 80 1
|
||||
0 69 1
|
||||
0 1472 6
|
||||
0 587 3
|
||||
0 77 1
|
||||
0 125 1
|
||||
0 127 1
|
||||
0 110 2
|
||||
0 324 1
|
||||
0 591 1
|
||||
0 96 2
|
||||
0 271 9
|
||||
0 50 2
|
||||
0 296 8
|
||||
0 202 1
|
||||
0 299 1
|
||||
0 268 6
|
||||
0 1146 1
|
||||
0 272 11
|
||||
0 41 2
|
||||
0 57 1
|
||||
0 123 2
|
||||
0 49 7
|
||||
0 294 1
|
||||
0 478 3
|
||||
0 326 1
|
||||
0 82 5
|
||||
0 379 4
|
||||
0 64 1
|
||||
0 87 2
|
||||
0 574 2
|
||||
3 130 1
|
||||
3 101 2
|
||||
3 92 2
|
||||
3 795 1
|
||||
3 694 2
|
||||
#MD5 f7092a6510cfbece8835bc3b41f8e20d
|
2
tests/20190719/rd_bit.dat
Normal file
2
tests/20190719/rd_bit.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 clr 159 set 186
|
||||
#MD5 2dd58158fe3ebb4176faabd9199d06fe
|
2
tests/20190719/transport_vs_qtype.dat
Normal file
2
tests/20190719/transport_vs_qtype.dat
Normal file
|
@ -0,0 +1,2 @@
|
|||
1563520560 udp else:48:28:71:1:128:15:9:12:78:2:7:6:4
|
||||
#MD5 9712453c813073917ee807bfb91dc07a
|
3
tests/broken.xml
Normal file
3
tests/broken.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<dscdata>
|
||||
<array name="pcap_stats" dimensions="2" start_time="1563520560" stop_time="1563520620">
|
||||
<dimension number="1" type="ifname"
|
66
tests/coverage.sh
Executable file
66
tests/coverage.sh
Executable file
|
@ -0,0 +1,66 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -xe
|
||||
|
||||
base=`dirname $0`
|
||||
|
||||
export PATH="$base:$PATH"
|
||||
|
||||
"$base/test.sh"
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--generator ";client_subnet_country;path=$HOME/GeoIP" \
|
||||
--xml "$base/1563520620.dscdata.xml" >/dev/null
|
||||
|
||||
! dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--generator ";client_subnet_country;path=$HOME/GeoIP" \
|
||||
--xml "$base" >/dev/null
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--generator ";client_subnet_country;path=$HOME/GeoIP" \
|
||||
--dat "$base/20190719" >/dev/null
|
||||
|
||||
dsc-datatool -vvvvvvv --list >/dev/null
|
||||
! dsc-datatool -s test -n test --output ";InfluxDB;test=a;test=b;test=c" >/dev/null
|
||||
! dsc-datatool -s test -n test --generator does_not_exist >/dev/null
|
||||
! dsc-datatool -s test -n test --generator does_not_exist,really_does_not_exist >/dev/null
|
||||
! dsc-datatool -s test -n test --transform ";does_not_exist;*" >/dev/null
|
||||
! dsc-datatool -s test -n test --transform ";ReRanger;a,a,a;range=/8" >/dev/null
|
||||
! dsc-datatool -s test -n test --output does_not_exists >/dev/null
|
||||
! dsc-datatool -s test -n test --dataset a --dataset b --dataset c,d,e >/dev/null
|
||||
! dsc-datatool -s test -n test --dat "$base/coverage.sh" >/dev/null
|
6
tests/dsc-datatool
Executable file
6
tests/dsc-datatool
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
base=`dirname $0`
|
||||
export PYTHONPATH="$base/..:$PYTHONPATH"
|
||||
|
||||
exec python3-coverage run -a "$base/dsc-datatool.py" "$@"
|
6
tests/dsc-datatool.py
Normal file
6
tests/dsc-datatool.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/python3
|
||||
import sys
|
||||
from dsc_datatool import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
374
tests/ipv4-address-space.csv
Normal file
374
tests/ipv4-address-space.csv
Normal file
|
@ -0,0 +1,374 @@
|
|||
Prefix,Designation,Date,WHOIS,RDAP,Status [1],Note
|
||||
000/8,IANA - Local Identification,1981-09,,,RESERVED,[2][3]
|
||||
001/8,APNIC,2010-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
002/8,RIPE NCC,2009-09,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
003/8,Administered by ARIN,1994-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
004/8,Administered by ARIN,1992-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
005/8,RIPE NCC,2010-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
006/8,Army Information Systems Center,1994-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
007/8,Administered by ARIN,1995-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
008/8,Administered by ARIN,1992-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
009/8,Administered by ARIN,1992-08,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
010/8,IANA - Private Use,1995-06,,,RESERVED,[4]
|
||||
011/8,DoD Intel Information Systems,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
012/8,AT&T Bell Laboratories,1995-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
013/8,Administered by ARIN,1991-09,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
014/8,APNIC,2010-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,[5]
|
||||
015/8,Administered by ARIN,1994-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
016/8,Administered by ARIN,1994-11,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
017/8,Apple Computer Inc.,1992-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
018/8,Administered by ARIN,1994-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
019/8,Ford Motor Company,1995-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
020/8,Administered by ARIN,1994-10,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
021/8,DDN-RVN,1991-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
022/8,Defense Information Systems Agency,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
023/8,ARIN,2010-11,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
024/8,ARIN,2001-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
025/8,Administered by RIPE NCC,1995-01,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
026/8,Defense Information Systems Agency,1995-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
027/8,APNIC,2010-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
028/8,DSI-North,1992-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
029/8,Defense Information Systems Agency,1991-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
030/8,Defense Information Systems Agency,1991-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
031/8,RIPE NCC,2010-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
032/8,Administered by ARIN,1994-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
033/8,DLA Systems Automation Center,1991-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
034/8,Administered by ARIN,1993-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
035/8,Administered by ARIN,1994-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
036/8,APNIC,2010-10,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
037/8,RIPE NCC,2010-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
038/8,"PSINet, Inc.",1994-09,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
039/8,APNIC,2011-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
040/8,Administered by ARIN,1994-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
041/8,AFRINIC,2005-04,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
042/8,APNIC,2010-10,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
043/8,Administered by APNIC,1991-01,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
044/8,Administered by ARIN,1992-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
045/8,Administered by ARIN,1995-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
046/8,RIPE NCC,2009-09,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
047/8,Administered by ARIN,1991-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
048/8,Administered by ARIN,1995-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
049/8,APNIC,2010-08,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
050/8,ARIN,2010-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
051/8,Administered by RIPE NCC,1994-08,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
052/8,Administered by ARIN,1991-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
053/8,Daimler AG,1993-10,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
054/8,Administered by ARIN,1992-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
055/8,DoD Network Information Center,1995-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
056/8,Administered by ARIN,1994-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
057/8,Administered by RIPE NCC,1995-05,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
058/8,APNIC,2004-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
059/8,APNIC,2004-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
060/8,APNIC,2003-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
061/8,APNIC,1997-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
062/8,RIPE NCC,1997-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
063/8,ARIN,1997-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
064/8,ARIN,1999-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
065/8,ARIN,2000-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
066/8,ARIN,2000-07,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
067/8,ARIN,2001-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
068/8,ARIN,2001-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
069/8,ARIN,2002-08,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
070/8,ARIN,2004-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
071/8,ARIN,2004-08,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
072/8,ARIN,2004-08,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
073/8,ARIN,2005-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
074/8,ARIN,2005-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
075/8,ARIN,2005-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
076/8,ARIN,2005-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
077/8,RIPE NCC,2006-08,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
078/8,RIPE NCC,2006-08,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
079/8,RIPE NCC,2006-08,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
080/8,RIPE NCC,2001-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
081/8,RIPE NCC,2001-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
082/8,RIPE NCC,2002-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
083/8,RIPE NCC,2003-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
084/8,RIPE NCC,2003-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
085/8,RIPE NCC,2004-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
086/8,RIPE NCC,2004-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
087/8,RIPE NCC,2004-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
088/8,RIPE NCC,2004-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
089/8,RIPE NCC,2005-06,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
090/8,RIPE NCC,2005-06,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
091/8,RIPE NCC,2005-06,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
092/8,RIPE NCC,2007-03,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
093/8,RIPE NCC,2007-03,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
094/8,RIPE NCC,2007-07,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
095/8,RIPE NCC,2007-07,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
096/8,ARIN,2006-10,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
097/8,ARIN,2006-10,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
098/8,ARIN,2006-10,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
099/8,ARIN,2006-10,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
100/8,ARIN,2010-11,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,[6]
|
||||
101/8,APNIC,2010-08,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
102/8,AFRINIC,2011-02,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
103/8,APNIC,2011-02,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
104/8,ARIN,2011-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
105/8,AFRINIC,2010-11,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
106/8,APNIC,2011-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
107/8,ARIN,2010-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
108/8,ARIN,2008-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
109/8,RIPE NCC,2009-01,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
110/8,APNIC,2008-11,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
111/8,APNIC,2008-11,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
112/8,APNIC,2008-05,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
113/8,APNIC,2008-05,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
114/8,APNIC,2007-10,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
115/8,APNIC,2007-10,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
116/8,APNIC,2007-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
117/8,APNIC,2007-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
118/8,APNIC,2007-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
119/8,APNIC,2007-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
120/8,APNIC,2007-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
121/8,APNIC,2006-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
122/8,APNIC,2006-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
123/8,APNIC,2006-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
124/8,APNIC,2005-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
125/8,APNIC,2005-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
126/8,APNIC,2005-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
127/8,IANA - Loopback,1981-09,,,RESERVED,[7]
|
||||
128/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
129/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
130/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
131/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
132/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
133/8,Administered by APNIC,1997-03,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
134/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
135/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
136/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
137/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
138/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
139/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
140/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
141/8,Administered by RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
142/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
143/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
144/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
145/8,Administered by RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
146/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
147/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
148/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
149/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
150/8,Administered by APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
151/8,Administered by RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
152/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
153/8,Administered by APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
154/8,Administered by AFRINIC,1993-05,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",LEGACY,
|
||||
155/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
156/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
157/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
158/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
159/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
160/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
161/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
162/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
163/8,Administered by APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
164/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
165/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
166/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
167/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
168/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
169/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,[8]
|
||||
170/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
171/8,Administered by APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,LEGACY,
|
||||
172/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,[9]
|
||||
173/8,ARIN,2008-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
174/8,ARIN,2008-02,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
175/8,APNIC,2009-08,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
176/8,RIPE NCC,2010-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
177/8,LACNIC,2010-06,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
178/8,RIPE NCC,2009-01,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
179/8,LACNIC,2011-02,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
180/8,APNIC,2009-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
181/8,LACNIC,2010-06,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
182/8,APNIC,2009-08,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
183/8,APNIC,2009-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
184/8,ARIN,2008-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
185/8,RIPE NCC,2011-02,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
186/8,LACNIC,2007-09,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
187/8,LACNIC,2007-09,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
188/8,Administered by RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,LEGACY,
|
||||
189/8,LACNIC,1995-06,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
190/8,LACNIC,1995-06,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
191/8,Administered by LACNIC,1993-05,whois.lacnic.net,https://rdap.lacnic.net/rdap/,LEGACY,
|
||||
192/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,[10][11]
|
||||
193/8,RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
194/8,RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
195/8,RIPE NCC,1993-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
196/8,Administered by AFRINIC,1993-05,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",LEGACY,
|
||||
197/8,AFRINIC,2008-10,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
198/8,Administered by ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,[12]
|
||||
199/8,ARIN,1993-05,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
200/8,LACNIC,2002-11,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
201/8,LACNIC,2003-04,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
202/8,APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
203/8,APNIC,1993-05,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,[13]
|
||||
204/8,ARIN,1994-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
205/8,ARIN,1994-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
206/8,ARIN,1995-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
207/8,ARIN,1995-11,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
208/8,ARIN,1996-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
209/8,ARIN,1996-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
210/8,APNIC,1996-06,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
211/8,APNIC,1996-06,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
212/8,RIPE NCC,1997-10,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
213/8,RIPE NCC,1993-10,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
214/8,US-DOD,1998-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
215/8,US-DOD,1998-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",LEGACY,
|
||||
216/8,ARIN,1998-04,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
217/8,RIPE NCC,2000-06,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
218/8,APNIC,2000-12,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
219/8,APNIC,2001-09,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
220/8,APNIC,2001-12,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
221/8,APNIC,2002-07,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
222/8,APNIC,2003-02,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
223/8,APNIC,2010-04,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
224/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
225/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
226/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
227/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
228/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
229/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
230/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
231/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
232/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
233/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
234/8,Multicast,1981-09,,,RESERVED,[14][15]
|
||||
235/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
236/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
237/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
238/8,Multicast,1981-09,,,RESERVED,[14]
|
||||
239/8,Multicast,1981-09,,,RESERVED,[14][16]
|
||||
240/8,Future use,1981-09,,,RESERVED,[17]
|
||||
241/8,Future use,1981-09,,,RESERVED,[17]
|
||||
242/8,Future use,1981-09,,,RESERVED,[17]
|
||||
243/8,Future use,1981-09,,,RESERVED,[17]
|
||||
244/8,Future use,1981-09,,,RESERVED,[17]
|
||||
245/8,Future use,1981-09,,,RESERVED,[17]
|
||||
246/8,Future use,1981-09,,,RESERVED,[17]
|
||||
247/8,Future use,1981-09,,,RESERVED,[17]
|
||||
248/8,Future use,1981-09,,,RESERVED,[17]
|
||||
249/8,Future use,1981-09,,,RESERVED,[17]
|
||||
250/8,Future use,1981-09,,,RESERVED,[17]
|
||||
251/8,Future use,1981-09,,,RESERVED,[17]
|
||||
252/8,Future use,1981-09,,,RESERVED,[17]
|
||||
253/8,Future use,1981-09,,,RESERVED,[17]
|
||||
254/8,Future use,1981-09,,,RESERVED,[17]
|
||||
255/8,Future use,1981-09,,,RESERVED,[17][18]
|
|
80
tests/ipv6-unicast-address-assignments.csv
Normal file
80
tests/ipv6-unicast-address-assignments.csv
Normal file
|
@ -0,0 +1,80 @@
|
|||
Prefix,Designation,Date,WHOIS,RDAP,Status,Note
|
||||
2001:0000::/23,IANA,1999-07-01,whois.iana.org,,ALLOCATED,"2001:0000::/23 is reserved for IETF Protocol Assignments [RFC2928].
|
||||
2001:0000::/32 is reserved for TEREDO [RFC4380].
|
||||
2001:1::1/128 is reserved for Port Control Protocol Anycast [RFC7723].
|
||||
2001:1::2/128 is reserved for Traversal Using Relays around NAT Anycast [RFC8155].
|
||||
2001:1::3/128 is reserved for DNS-SD Service Registration Protocol Anycast [RFC-ietf-dnssd-srp-25].
|
||||
2001:2::/48 is reserved for Benchmarking [RFC5180][RFC Errata 1752].
|
||||
2001:3::/32 is reserved for AMT [RFC7450].
|
||||
2001:4:112::/48 is reserved for AS112-v6 [RFC7535].
|
||||
2001:10::/28 is deprecated (previously ORCHID) [RFC4843].
|
||||
2001:20::/28 is reserved for ORCHIDv2 [RFC7343].
|
||||
2001:30::/28 is reserved for Drone Remote ID Protocol Entity Tags (DETs) [RFC9374].
|
||||
For complete registration details, see [IANA registry iana-ipv6-special-registry]."
|
||||
2001:0200::/23,APNIC,1999-07-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2001:0400::/23,ARIN,1999-07-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2001:0600::/23,RIPE NCC,1999-07-01,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:0800::/22,RIPE NCC,2002-11-02,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,2001:0800::/23 was allocated on 2002-05-02. The more recent allocation (2002-11-02) incorporates the previous allocation.
|
||||
2001:0c00::/23,APNIC,2002-05-02,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,"2001:db8::/32 reserved for Documentation [RFC3849].
|
||||
For complete registration details, see [IANA registry iana-ipv6-special-registry]."
|
||||
2001:0e00::/23,APNIC,2003-01-01,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2001:1200::/23,LACNIC,2002-11-01,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,
|
||||
2001:1400::/22,RIPE NCC,2003-07-01,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,2001:1400::/23 was allocated on 2003-02-01. The more recent allocation (2003-07-01) incorporates the previous allocation.
|
||||
2001:1800::/23,ARIN,2003-04-01,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2001:1a00::/23,RIPE NCC,2004-01-01,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:1c00::/22,RIPE NCC,2004-05-04,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:2000::/19,RIPE NCC,2019-03-12,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,"2001:2000::/20, 2001:3000::/21, and 2001:3800::/22 were allocated on 2004-05-04. The more recent allocation (2019-03-12) incorporates all these previous allocations."
|
||||
2001:4000::/23,RIPE NCC,2004-06-11,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:4200::/23,AFRINIC,2004-06-01,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
2001:4400::/23,APNIC,2004-06-11,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2001:4600::/23,RIPE NCC,2004-08-17,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:4800::/23,ARIN,2004-08-24,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2001:4a00::/23,RIPE NCC,2004-10-15,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:4c00::/23,RIPE NCC,2004-12-17,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:5000::/20,RIPE NCC,2004-09-10,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2001:8000::/19,APNIC,2004-11-30,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2001:a000::/20,APNIC,2004-11-30,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2001:b000::/20,APNIC,2006-03-08,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,
|
||||
2002:0000::/16,6to4,2001-02-01,,,ALLOCATED,"2002::/16 is reserved for 6to4 [RFC3056].
|
||||
For complete registration details, see [IANA registry iana-ipv6-special-registry]."
|
||||
2003:0000::/18,RIPE NCC,2005-01-12,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2400:0000::/12,APNIC,2006-10-03,whois.apnic.net,https://rdap.apnic.net/,ALLOCATED,"2400:0000::/19 was allocated on 2005-05-20. 2400:2000::/19 was allocated on 2005-07-08. 2400:4000::/21 was
|
||||
allocated on 2005-08-08. 2404:0000::/23 was allocated on 2006-01-19. The more recent allocation (2006-10-03)
|
||||
incorporates all these previous allocations."
|
||||
2600:0000::/12,ARIN,2006-10-03,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,"2600:0000::/22, 2604:0000::/22, 2608:0000::/22 and 260c:0000::/22 were allocated on 2005-04-19. The more
|
||||
recent allocation (2006-10-03) incorporates all these previous allocations."
|
||||
2610:0000::/23,ARIN,2005-11-17,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2620:0000::/23,ARIN,2006-09-12,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2630:0000::/12,ARIN,2019-11-06,whois.arin.net,"https://rdap.arin.net/registry
|
||||
http://rdap.arin.net/registry",ALLOCATED,
|
||||
2800:0000::/12,LACNIC,2006-10-03,whois.lacnic.net,https://rdap.lacnic.net/rdap/,ALLOCATED,"2800:0000::/23 was allocated on 2005-11-17. The more recent allocation (2006-10-03) incorporates the
|
||||
previous allocation."
|
||||
2a00:0000::/12,RIPE NCC,2006-10-03,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,"2a00:0000::/21 was originally allocated on 2005-04-19. 2a01:0000::/23 was allocated on 2005-07-14.
|
||||
2a01:0000::/16 (incorporating the 2a01:0000::/23) was allocated on 2005-12-15. The more recent allocation
|
||||
(2006-10-03) incorporates these previous allocations."
|
||||
2a10:0000::/12,RIPE NCC,2019-06-05,whois.ripe.net,https://rdap.db.ripe.net/,ALLOCATED,
|
||||
2c00:0000::/12,AFRINIC,2006-10-03,whois.afrinic.net,"https://rdap.afrinic.net/rdap/
|
||||
http://rdap.afrinic.net/rdap/",ALLOCATED,
|
||||
2d00:0000::/8,IANA,1999-07-01,,,RESERVED,
|
||||
2e00:0000::/7,IANA,1999-07-01,,,RESERVED,
|
||||
3000:0000::/4,IANA,1999-07-01,,,RESERVED,
|
||||
3ffe::/16,IANA,2008-04,,,RESERVED,"3ffe:831f::/32 was used for Teredo in some old but widely distributed networking stacks. This usage is
|
||||
deprecated in favor of 2001::/32, which was allocated for the purpose in [RFC4380].
|
||||
3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156]"
|
||||
5f00::/16,Segment Routing (SRv6) SIDs,2024-04-23,,,ALLOCATED,"5f00::/16 is reserved for Segment Routing (SRv6) SIDs [RFC-ietf-6man-sids-06].
|
||||
For complete registration details, see [IANA registry iana-ipv6-special-registry]."
|
||||
5f01::/16,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f02::/15,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f04::/14,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f08::/13,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f10::/12,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f20::/11,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f40::/10,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
||||
5f80::/9,IANA,2008-04,,,RESERVED,3ffe::/16 and 5f00::/8 were used for the 6bone but were returned. [RFC5156].
|
|
782
tests/labler.yaml
Normal file
782
tests/labler.yaml
Normal file
|
@ -0,0 +1,782 @@
|
|||
---
|
||||
certain_qnames_vs_qtype:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
chaos_types_and_names:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
client_addr_vs_rcode:
|
||||
Rcode:
|
||||
'0': NoError
|
||||
'1': FormErr
|
||||
'10': NotZone
|
||||
'11': DSOTYPENI
|
||||
12-15: Unassigned
|
||||
'16': BADSIG
|
||||
'17': BADKEY
|
||||
'18': BADTIME
|
||||
'19': BADMODE
|
||||
'2': ServFail
|
||||
'20': BADNAME
|
||||
'21': BADALG
|
||||
'22': BADTRUNC
|
||||
'23': BADCOOKIE
|
||||
24-3840: Unassigned
|
||||
'3': NXDomain
|
||||
3841-4095: Reserved for Private Use
|
||||
'4': NotImp
|
||||
4096-65534: Unassigned
|
||||
'5': Refused
|
||||
'6': YXDomain
|
||||
'65535': Reserved, can be allocated by Standards Action
|
||||
'7': YXRRSet
|
||||
'8': NXRRSet
|
||||
'9': NotAuth
|
||||
dns_ip_version_vs_qtype:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
opcode:
|
||||
Opcode:
|
||||
'0': NoError
|
||||
'1': FormErr
|
||||
'10': NotZone
|
||||
'11': DSOTYPENI
|
||||
12-15: Unassigned
|
||||
'16': BADSIG
|
||||
'17': BADKEY
|
||||
'18': BADTIME
|
||||
'19': BADMODE
|
||||
'2': ServFail
|
||||
'20': BADNAME
|
||||
'21': BADALG
|
||||
'22': BADTRUNC
|
||||
'23': BADCOOKIE
|
||||
24-3840: Unassigned
|
||||
'3': NXDomain
|
||||
3841-4095: Reserved for Private Use
|
||||
'4': NotImp
|
||||
4096-65534: Unassigned
|
||||
'5': Refused
|
||||
'6': YXDomain
|
||||
'65535': Reserved, can be allocated by Standards Action
|
||||
'7': YXRRSet
|
||||
'8': NXRRSet
|
||||
'9': NotAuth
|
||||
qtype:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
qtype_vs_qnamelen:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
qtype_vs_tld:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
rcode:
|
||||
Rcode:
|
||||
'0': NoError
|
||||
'1': FormErr
|
||||
'10': NotZone
|
||||
'11': DSOTYPENI
|
||||
12-15: Unassigned
|
||||
'16': BADSIG
|
||||
'17': BADKEY
|
||||
'18': BADTIME
|
||||
'19': BADMODE
|
||||
'2': ServFail
|
||||
'20': BADNAME
|
||||
'21': BADALG
|
||||
'22': BADTRUNC
|
||||
'23': BADCOOKIE
|
||||
24-3840: Unassigned
|
||||
'3': NXDomain
|
||||
3841-4095: Reserved for Private Use
|
||||
'4': NotImp
|
||||
4096-65534: Unassigned
|
||||
'5': Refused
|
||||
'6': YXDomain
|
||||
'65535': Reserved, can be allocated by Standards Action
|
||||
'7': YXRRSet
|
||||
'8': NXRRSet
|
||||
'9': NotAuth
|
||||
rcode_vs_replylen:
|
||||
Rcode:
|
||||
'0': NoError
|
||||
'1': FormErr
|
||||
'10': NotZone
|
||||
'11': DSOTYPENI
|
||||
12-15: Unassigned
|
||||
'16': BADSIG
|
||||
'17': BADKEY
|
||||
'18': BADTIME
|
||||
'19': BADMODE
|
||||
'2': ServFail
|
||||
'20': BADNAME
|
||||
'21': BADALG
|
||||
'22': BADTRUNC
|
||||
'23': BADCOOKIE
|
||||
24-3840: Unassigned
|
||||
'3': NXDomain
|
||||
3841-4095: Reserved for Private Use
|
||||
'4': NotImp
|
||||
4096-65534: Unassigned
|
||||
'5': Refused
|
||||
'6': YXDomain
|
||||
'65535': Reserved, can be allocated by Standards Action
|
||||
'7': YXRRSet
|
||||
'8': NXRRSet
|
||||
'9': NotAuth
|
||||
transport_vs_qtype:
|
||||
Qtype:
|
||||
'1': A
|
||||
'10': 'NULL'
|
||||
'100': UINFO
|
||||
'101': UID
|
||||
'102': GID
|
||||
'103': UNSPEC
|
||||
'104': NID
|
||||
'105': L32
|
||||
'106': L64
|
||||
'107': LP
|
||||
'108': EUI48
|
||||
'109': EUI64
|
||||
'11': WKS
|
||||
110-248: Unassigned
|
||||
'12': PTR
|
||||
'13': HINFO
|
||||
'14': MINFO
|
||||
'15': MX
|
||||
'16': TXT
|
||||
'17': RP
|
||||
'18': AFSDB
|
||||
'19': X25
|
||||
'2': NS
|
||||
'20': ISDN
|
||||
'21': RT
|
||||
'22': NSAP
|
||||
'23': NSAP-PTR
|
||||
'24': SIG
|
||||
'249': TKEY
|
||||
'25': KEY
|
||||
'250': TSIG
|
||||
'251': IXFR
|
||||
'252': AXFR
|
||||
'253': MAILB
|
||||
'254': MAILA
|
||||
'255': wildcard
|
||||
'256': URI
|
||||
'257': CAA
|
||||
'258': AVC
|
||||
'259': DOA
|
||||
'26': PX
|
||||
'260': AMTRELAY
|
||||
261-32767: Unassigned
|
||||
'27': GPOS
|
||||
'28': AAAA
|
||||
'29': LOC
|
||||
'3': MD
|
||||
'30': NXT
|
||||
'31': EID
|
||||
'32': NIMLOC
|
||||
'32768': TA
|
||||
'32769': DLV
|
||||
32770-65279: Unassigned
|
||||
'33': SRV
|
||||
'34': ATMA
|
||||
'35': NAPTR
|
||||
'36': KX
|
||||
'37': CERT
|
||||
'38': A6
|
||||
'39': DNAME
|
||||
'4': MF
|
||||
'40': SINK
|
||||
'41': OPT
|
||||
'42': APL
|
||||
'43': DS
|
||||
'44': SSHFP
|
||||
'45': IPSECKEY
|
||||
'46': RRSIG
|
||||
'47': NSEC
|
||||
'48': DNSKEY
|
||||
'49': DHCID
|
||||
'5': CNAME
|
||||
'50': NSEC3
|
||||
'51': NSEC3PARAM
|
||||
'52': TLSA
|
||||
'53': SMIMEA
|
||||
'54': Unassigned
|
||||
'55': HIP
|
||||
'56': NINFO
|
||||
'57': RKEY
|
||||
'58': TALINK
|
||||
'59': CDS
|
||||
'6': SOA
|
||||
'60': CDNSKEY
|
||||
'61': OPENPGPKEY
|
||||
'62': CSYNC
|
||||
'63': ZONEMD
|
||||
64-98: Unassigned
|
||||
65280-65534: Private use
|
||||
'65535': Reserved
|
||||
'7': MB
|
||||
'8': MG
|
||||
'9': MR
|
||||
'99': SPF
|
||||
|
151
tests/test.gold
Normal file
151
tests/test.gold
Normal file
|
@ -0,0 +1,151 @@
|
|||
# DML
|
||||
# CONTEXT-DATABASE: dsc
|
||||
pcap_stats,server=test-server,node=test-node,ifname=eth0,pcap_stat=filter_received value=5625 1563520560000000000
|
||||
pcap_stats,server=test-server,node=test-node,ifname=eth0,pcap_stat=pkts_captured value=4894 1563520560000000000
|
||||
pcap_stats,server=test-server,node=test-node,ifname=eth0,pcap_stat=kernel_dropped value=731 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=sent,ipproto=udp value=289 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=recv,ipproto=udp value=219 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=else,ipproto=udp value=267 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=32768-34815 value=18 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=34816-36863 value=19 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=24576-26623 value=15 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=55296-57343 value=21 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=40960-43007 value=16 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=18432-20479 value=12 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=57344-59391 value=11 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=61440-63487 value=12 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=63488-65535 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=2048-4095 value=12 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=14336-16383 value=13 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=36864-38911 value=13 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=45056-47103 value=14 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=59392-61439 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=12288-14335 value=11 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=43008-45055 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=49152-51199 value=10 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=51200-53247 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=16384-18431 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=28672-30719 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=30720-32767 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=38912-40959 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=47104-49151 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=53248-55295 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=4096-6143 value=7 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=6144-8191 value=6 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=10240-12287 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=22528-24575 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=26624-28671 value=7 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=0-2047 value=3 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=8192-10239 value=6 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=20480-22527 value=5 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=A value=128 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=PTR value=78 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=AAAA value=71 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=DNSKEY value=25 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=TXT value=18 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=MX value=9 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=NS value=7 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=DS value=5 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=SOA value=4 1563520560000000000
|
||||
rd_bit,server=test-server,node=test-node,rd=set value=186 1563520560000000000
|
||||
rd_bit,server=test-server,node=test-node,rd=clr value=159 1563520560000000000
|
||||
do_bit,server=test-server,node=test-node,d0=clr value=211 1563520560000000000
|
||||
do_bit,server=test-server,node=test-node,d0=set value=134 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=None value=204 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=4096-4607 value=73 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=512-1023 value=26 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=1024-1535 value=22 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=3584-4095 value=12 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=1536-2047 value=6 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=2048-2559 value=1 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=8192-8703 value=1 1563520560000000000
|
||||
edns_version,server=test-server,node=test-node,ednsversion=none value=204 1563520560000000000
|
||||
edns_version,server=test-server,node=test-node,ednsversion=0 value=141 1563520560000000000
|
||||
idn_qname,server=test-server,node=test-node,idnqname=normal value=345 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NoError,clientaddr=64.191.0.0 value=78 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NoError,clientaddr=2620:: value=50 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NoError,clientaddr=0 value=131 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NXDomain,clientaddr=64.191.0.0 value=3 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NXDomain,clientaddr=2620:: value=2 1563520560000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=ServFail,clientaddr=64.191.0.0 value=6 1563520560000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=ok,clientsubnet=64.191.0.0 value=180 1563520560000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=ok,clientsubnet=2620:: value=5 1563520560000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=non-auth-tld,clientsubnet=64.191.0.0 value=18 1563520560000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=rfc1918-ptr,clientsubnet=2620:: value=1 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=A value=128 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=PTR value=78 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=AAAA value=71 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=DNSKEY value=25 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=TXT value=18 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=MX value=9 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=NS value=7 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=DS value=5 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=SOA value=4 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=A,tld=net value=128 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=A,tld=... value=128 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=PTR,tld=arpa value=78 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=AAAA,tld=net value=71 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=MX,tld=asia value=8 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=MX,tld=net value=1 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=NS,tld=arpa value=3 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=NS,tld=net value=2 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=NS,tld=com value=1 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=NS,tld=org value=1 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=SOA,tld=net value=2 1563520560000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=SOA,tld=arpa value=2 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=A,qnamelen=16-31 value=98 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=A,qnamelen=0-15 value=29 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=A,qnamelen=32-47 value=1 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=DS,qnamelen=0-15 value=2 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=DS,qnamelen=16-31 value=3 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=PTR,qnamelen=16-31 value=76 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=PTR,qnamelen=64-79 value=2 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=TXT,qnamelen=64-79 value=9 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=TXT,qnamelen=16-31 value=8 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=TXT,qnamelen=0-15 value=1 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=DNSKEY,qnamelen=16-31 value=13 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=DNSKEY,qnamelen=0-15 value=12 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=AAAA,qnamelen=16-31 value=57 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=AAAA,qnamelen=0-15 value=12 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=AAAA,qnamelen=32-47 value=1 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=AAAA,qnamelen=48-63 value=1 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=MX,qnamelen=0-15 value=8 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=MX,qnamelen=16-31 value=1 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=NS,qnamelen=0-15 value=4 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=NS,qnamelen=16-31 value=3 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=SOA,qnamelen=16-31 value=3 1563520560000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=SOA,qnamelen=0-15 value=1 1563520560000000000
|
||||
client_subnet,server=test-server,node=test-node,clientsubnet=64.191.0.0 value=198 1563520560000000000
|
||||
client_subnet,server=test-server,node=test-node,clientsubnet=2620:: value=5 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=0-63 value=105 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=64-127 value=124 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=192-255 value=70 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=256-319 value=51 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=1088-1151 value=14 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=320-383 value=16 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=512-575 value=8 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=1472-1535 value=6 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=704-767 value=4 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=448-511 value=3 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=576-639 value=4 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=128-191 value=7 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=384-447 value=4 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NXDomain,replylen=64-127 value=4 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NXDomain,replylen=640-703 value=2 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NXDomain,replylen=128-191 value=1 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NXDomain,replylen=768-831 value=1 1563520560000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=ServFail,replylen=0-63 value=6 1563520560000000000
|
||||
opcode,server=test-server,node=test-node,opcode=NoError value=345 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=NoError value=416 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=NXDomain value=8 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=ServFail value=6 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=A value=128 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=PTR value=78 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=AAAA value=71 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=DNSKEY value=25 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=TXT value=18 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=MX value=9 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=NS value=7 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=DS value=5 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=SOA value=4 1563520560000000000
|
||||
client_subnet_authority,server=test-server,node=test-node,clientauthority=ARIN value=203 1563520560000000000
|
91
tests/test.gold2
Normal file
91
tests/test.gold2
Normal file
|
@ -0,0 +1,91 @@
|
|||
# DML
|
||||
# CONTEXT-DATABASE: dsc
|
||||
client_subnet_count,server=test-server,node=test-node,all=ALL value=2 1563520560000000000
|
||||
ipv6_rsn_abusers_count,server=test-server,node=test-node,all=ALL value=0 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=PTR value=78 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=NS value=7 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=SOA value=4 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=MX value=9 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=else value=48 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=A value=128 1563520560000000000
|
||||
qtype,server=test-server,node=test-node,qtype=AAAA value=71 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=NoError value=416 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=NXDomain value=8 1563520560000000000
|
||||
rcode,server=test-server,node=test-node,rcode=ServFail value=6 1563520560000000000
|
||||
do_bit,server=test-server,node=test-node,d0=set value=134 1563520560000000000
|
||||
do_bit,server=test-server,node=test-node,d0=clr value=211 1563520560000000000
|
||||
rd_bit,server=test-server,node=test-node,rd=clr value=159 1563520560000000000
|
||||
rd_bit,server=test-server,node=test-node,rd=set value=186 1563520560000000000
|
||||
opcode,server=test-server,node=test-node,opcode=NoError value=345 1563520560000000000
|
||||
dnssec_qtype,server=test-server,node=test-node,qtype=else value=315 1563520560000000000
|
||||
dnssec_qtype,server=test-server,node=test-node,qtype=48 value=25 1563520560000000000
|
||||
dnssec_qtype,server=test-server,node=test-node,qtype=43 value=5 1563520560000000000
|
||||
edns_version,server=test-server,node=test-node,ednsversion=0 value=141 1563520560000000000
|
||||
edns_version,server=test-server,node=test-node,ednsversion=none value=204 1563520560000000000
|
||||
client_subnet2_count,server=test-server,node=test-node,class=rfc1918-ptr value=1 1563520560000000000
|
||||
client_subnet2_count,server=test-server,node=test-node,class=ok value=2 1563520560000000000
|
||||
client_subnet2_count,server=test-server,node=test-node,class=non-auth-tld value=1 1563520560000000000
|
||||
client_subnet2_trace,server=test-server,node=test-node,class=non-auth-tld value=18 1563520560000000000
|
||||
client_subnet2_trace,server=test-server,node=test-node,class=rfc1918-ptr value=1 1563520560000000000
|
||||
client_subnet2_trace,server=test-server,node=test-node,class=ok value=185 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=3584-4095 value=12 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=4096-4607 value=73 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=2048-2559 value=1 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=512-1023 value=26 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=None value=204 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=8192-8703 value=1 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=1536-2047 value=6 1563520560000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=1024-1535 value=22 1563520560000000000
|
||||
idn_qname,server=test-server,node=test-node,idnqname=normal value=345 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=57344-59391 value=11 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=0-2047 value=3 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=45056-47103 value=14 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=30720-32767 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=14336-16383 value=13 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=8192-10239 value=6 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=4096-6143 value=7 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=24576-26623 value=15 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=40960-43007 value=16 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=43008-45055 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=61440-63487 value=12 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=22528-24575 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=10240-12287 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=38912-40959 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=34816-36863 value=19 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=16384-18431 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=32768-34815 value=18 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=36864-38911 value=13 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=53248-55295 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=2048-4095 value=12 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=47104-49151 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=20480-22527 value=5 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=49152-51199 value=10 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=6144-8191 value=6 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=51200-53247 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=26624-28671 value=7 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=55296-57343 value=21 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=63488-65535 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=12288-14335 value=11 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=59392-61439 value=8 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=28672-30719 value=9 1563520560000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=18432-20479 value=12 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=else value=48 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=A value=128 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=AAAA value=71 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=MX value=9 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=PTR value=78 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=NS value=7 1563520560000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=SOA value=4 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=recv,ipproto=udp value=219 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=sent,ipproto=udp value=289 1563520560000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=else,ipproto=udp value=267 1563520560000000000
|
||||
pcap_stats,server=test-server,node=test-node,pcap_stat=filter_received,ifname=eth0 value=5625 1563520560000000000
|
||||
pcap_stats,server=test-server,node=test-node,pcap_stat=kernel_dropped,ifname=eth0 value=731 1563520560000000000
|
||||
pcap_stats,server=test-server,node=test-node,pcap_stat=pkts_captured,ifname=eth0 value=4894 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=else value=48 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=AAAA value=71 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=A value=128 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=MX value=9 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=PTR value=78 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=NS value=7 1563520560000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=SOA value=4 1563520560000000000
|
56
tests/test.gold3
Normal file
56
tests/test.gold3
Normal file
|
@ -0,0 +1,56 @@
|
|||
# DML
|
||||
# CONTEXT-DATABASE: dsc
|
||||
pcap_stats,server=test-server,node=test-node,ifname=./1458044657.pcap.dist,pcap_stat=pkts_captured value=8 1458044655000000000
|
||||
label_count,server=test-server,node=test-node,labelcount=3 value=4 1458044655000000000
|
||||
label_count,server=test-server,node=test-node,labelcount=6 value=4 1458044655000000000
|
||||
third_ld_vs_rcode,server=test-server,node=test-node,rcode=0,thirdld=216.in-addr.arpa value=2 1458044655000000000
|
||||
third_ld_vs_rcode,server=test-server,node=test-node,rcode=0,thirdld=www.google.se value=1 1458044655000000000
|
||||
third_ld_vs_rcode,server=test-server,node=test-node,rcode=0,thirdld=www.google.com value=1 1458044655000000000
|
||||
second_ld_vs_rcode,server=test-server,node=test-node,rcode=0,secondld=in-addr.arpa value=2 1458044655000000000
|
||||
second_ld_vs_rcode,server=test-server,node=test-node,rcode=0,secondld=google.com value=1 1458044655000000000
|
||||
second_ld_vs_rcode,server=test-server,node=test-node,rcode=0,secondld=www.google.se value=1 1458044655000000000
|
||||
server,server=test-server,node=test-node,ip=8.8.8.8 value=8 1458044655000000000
|
||||
qr_aa_bits,server=test-server,node=test-node,direction=else,qraabits=qr\=0\,aa\=0 value=4 1458044655000000000
|
||||
qr_aa_bits,server=test-server,node=test-node,direction=else,qraabits=qr\=1\,aa\=0 value=4 1458044655000000000
|
||||
qname,server=test-server,node=test-node,name=100.209.58.216.in-addr.arpa value=2 1458044655000000000
|
||||
qname,server=test-server,node=test-node,name=www.google.se value=2 1458044655000000000
|
||||
qname,server=test-server,node=test-node,name=131.209.58.216.in-addr.arpa value=2 1458044655000000000
|
||||
qname,server=test-server,node=test-node,name=www.google.com value=2 1458044655000000000
|
||||
qclass,server=test-server,node=test-node,class=1 value=8 1458044655000000000
|
||||
dns_ip_version,server=test-server,node=test-node,version=IPv4 value=8 1458044655000000000
|
||||
ip_version,server=test-server,node=test-node,version=IPv4 value=8 1458044655000000000
|
||||
direction_vs_ipproto,server=test-server,node=test-node,direction=else,ipproto=udp value=8 1458044655000000000
|
||||
client_port,server=test-server,node=test-node,port=59978 value=4 1458044655000000000
|
||||
client_port,server=test-server,node=test-node,port=0 value=1 1458044655000000000
|
||||
client_port,server=test-server,node=test-node,port=53 value=1 1458044655000000000
|
||||
client_port,server=test-server,node=test-node,port=44275 value=1 1458044655000000000
|
||||
client_port,server=test-server,node=test-node,port=57483 value=1 1458044655000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=43008-45055 value=1 1458044655000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=55296-57343 value=1 1458044655000000000
|
||||
client_port_range,server=test-server,node=test-node,portrange=57344-59391 value=2 1458044655000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=A value=2 1458044655000000000
|
||||
transport_vs_qtype,server=test-server,node=test-node,transport=udp,qtype=PTR value=2 1458044655000000000
|
||||
tc_bit,server=test-server,node=test-node,tc=clr value=8 1458044655000000000
|
||||
rd_bit,server=test-server,node=test-node,rd=set value=4 1458044655000000000
|
||||
do_bit,server=test-server,node=test-node,d0=clr value=4 1458044655000000000
|
||||
edns_bufsiz,server=test-server,node=test-node,ednsbufsiz=None value=4 1458044655000000000
|
||||
edns_version,server=test-server,node=test-node,ednsversion=none value=4 1458044655000000000
|
||||
idn_qname,server=test-server,node=test-node,idnqname=normal value=4 1458044655000000000
|
||||
client_addr_vs_rcode,server=test-server,node=test-node,rcode=NoError,clientaddr=172.17.0.0 value=4 1458044655000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=ok,clientsubnet=172.17.0.0 value=3 1458044655000000000
|
||||
client_subnet2,server=test-server,node=test-node,class=non-auth-tld,clientsubnet=172.17.0.0 value=1 1458044655000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=A value=2 1458044655000000000
|
||||
certain_qnames_vs_qtype,server=test-server,node=test-node,certainqnames=else,qtype=PTR value=2 1458044655000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=A,tld=com value=1 1458044655000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=A,tld=google.se value=1 1458044655000000000
|
||||
qtype_vs_tld,server=test-server,node=test-node,qtype=PTR,tld=arpa value=2 1458044655000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=A,qnamelen=0-15 value=2 1458044655000000000
|
||||
qtype_vs_qnamelen,server=test-server,node=test-node,qtype=PTR,qnamelen=16-31 value=2 1458044655000000000
|
||||
client_subnet,server=test-server,node=test-node,clientsubnet=172.17.0.0 value=4 1458044655000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=128-191 value=2 1458044655000000000
|
||||
rcode_vs_replylen,server=test-server,node=test-node,rcode=NoError,replylen=0-63 value=2 1458044655000000000
|
||||
opcode,server=test-server,node=test-node,opcode=NoError value=4 1458044655000000000
|
||||
rcode,server=test-server,node=test-node,rcode=NoError value=4 1458044655000000000
|
||||
qtype,server=test-server,node=test-node,qtype=A value=2 1458044655000000000
|
||||
qtype,server=test-server,node=test-node,qtype=PTR value=2 1458044655000000000
|
||||
client_subnet_authority,server=test-server,node=test-node,clientauthority=ARIN value=4 1458044655000000000
|
5
tests/test.gold4
Normal file
5
tests/test.gold4
Normal file
|
@ -0,0 +1,5 @@
|
|||
# CONTEXT-DATABASE: dsc
|
||||
# DML
|
||||
pcap_stats,server=test-server-åäö,node=test-node,ifname=eth0åäö,pcap_stat=filter_received value=5625 1563520560000000000
|
||||
pcap_stats,server=test-server-åäö,node=test-node,ifname=eth0åäö,pcap_stat=kernel_dropped value=731 1563520560000000000
|
||||
pcap_stats,server=test-server-åäö,node=test-node,ifname=eth0åäö,pcap_stat=pkts_captured value=4894 1563520560000000000
|
75
tests/test.sh
Executable file
75
tests/test.sh
Executable file
|
@ -0,0 +1,75 @@
|
|||
#!/bin/sh -xe
|
||||
|
||||
base=`dirname $0`
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--xml "$base/1563520620.dscdata.xml" | sort -s > "$base/test.out"
|
||||
|
||||
sort -s "$base/test.gold" > "$base/test.gold.tmp"
|
||||
diff -u "$base/test.gold.tmp" "$base/test.out"
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--dat "$base/20190719" | sort -s > "$base/test.out"
|
||||
|
||||
sort -s "$base/test.gold2" > "$base/test.gold2.tmp"
|
||||
diff -u "$base/test.gold2.tmp" "$base/test.out"
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--xml "$base/1458044657.xml" | sort -s > "$base/test.out"
|
||||
|
||||
sort -s "$base/test.gold3" > "$base/test.gold3.tmp"
|
||||
diff -u "$base/test.gold3.tmp" "$base/test.out"
|
||||
|
||||
dsc-datatool \
|
||||
-vvv \
|
||||
-s test-server-åäö \
|
||||
-n test-node \
|
||||
--output ";InfluxDB;dml=1;database=dsc" \
|
||||
--transform ";Labler;*;yaml=$base/labler.yaml" \
|
||||
--transform ";ReRanger;rcode_vs_replylen;range=/64;pad_to=5" \
|
||||
--transform ";ReRanger;qtype_vs_qnamelen;range=/16;pad_to=3" \
|
||||
--transform ";ReRanger;client_port_range;key=low;range=/2048;pad_to=5" \
|
||||
--transform ";ReRanger;edns_bufsiz,priming_queries;key=low;range=/512;pad_to=5;allow_invalid_keys=1" \
|
||||
--transform ";ReRanger;priming_responses;key=low;range=/128;pad_to=4" \
|
||||
--transform ";NetRemap;client_subnet,client_subnet2,client_addr_vs_rcode,ipv6_rsn_abusers;net=16" \
|
||||
--generator ";client_subnet_authority;csv=$base/ipv4-address-space.csv;csv=$base/ipv6-unicast-address-assignments.csv" \
|
||||
--xml "$base/utf8.xml" | sort -s > "$base/test.out"
|
||||
|
||||
sort -s "$base/test.gold4" > "$base/test.gold4.tmp"
|
||||
diff -u "$base/test.gold4.tmp" "$base/test.out"
|
7
tests/test_main.py
Normal file
7
tests/test_main.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
import pytest
|
||||
import dsc_datatool as app
|
||||
|
||||
|
||||
def test_main():
|
||||
with pytest.raises(Exception):
|
||||
app.main()
|
68
tests/test_objects.py
Normal file
68
tests/test_objects.py
Normal file
|
@ -0,0 +1,68 @@
|
|||
import pytest
|
||||
from dsc_datatool import Dataset, Dimension, Input, Output, Generator, Transformer
|
||||
|
||||
|
||||
def test_dataset():
|
||||
o = Dataset()
|
||||
assert '%r' % o == '<Dataset name=None dimension=[]>'
|
||||
|
||||
|
||||
def test_dimension():
|
||||
o = Dimension('test')
|
||||
assert '%r' % o == '<Dimension name=\'test\' value=None dimension=[]>'
|
||||
|
||||
|
||||
def test_input():
|
||||
o = Input()
|
||||
with pytest.raises(Exception):
|
||||
o.process("test")
|
||||
|
||||
class Input1(Input):
|
||||
def process(self, file):
|
||||
pass
|
||||
with pytest.raises(Exception):
|
||||
class Input1(Input):
|
||||
def process(self, file):
|
||||
pass
|
||||
|
||||
|
||||
def test_output():
|
||||
o = Output({})
|
||||
with pytest.raises(Exception):
|
||||
o.process([])
|
||||
|
||||
class Output1(Output):
|
||||
def process(self, file):
|
||||
pass
|
||||
with pytest.raises(Exception):
|
||||
class Output1(Output):
|
||||
def process(self, file):
|
||||
pass
|
||||
|
||||
|
||||
def test_generator():
|
||||
o = Generator({})
|
||||
with pytest.raises(Exception):
|
||||
o.process([])
|
||||
|
||||
class Generator1(Generator):
|
||||
def process(self, file):
|
||||
pass
|
||||
with pytest.raises(Exception):
|
||||
class Generator1(Generator):
|
||||
def process(self, file):
|
||||
pass
|
||||
|
||||
|
||||
def test_transformer():
|
||||
o = Transformer({})
|
||||
with pytest.raises(Exception):
|
||||
o.process([])
|
||||
|
||||
class Transformer1(Transformer):
|
||||
def process(self, file):
|
||||
pass
|
||||
with pytest.raises(Exception):
|
||||
class Transformer1(Transformer):
|
||||
def process(self, file):
|
||||
pass
|
13
tests/utf8.xml
Normal file
13
tests/utf8.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<dscdata>
|
||||
<array name="pcap_stats" dimensions="2" start_time="1563520560" stop_time="1563520621">
|
||||
<dimension number="1" type="ifname"/>
|
||||
<dimension number="2" type="pcap_stat"/>
|
||||
<data>
|
||||
<ifname val="eth0åäö">
|
||||
<pcap_stat val="filter_received" count="5625"/>
|
||||
<pcap_stat val="pkts_captured" count="4894"/>
|
||||
<pcap_stat val="kernel_dropped" count="731"/>
|
||||
</ifname>
|
||||
</data>
|
||||
</array>
|
||||
</dscdata>
|
Loading…
Add table
Add a link
Reference in a new issue