Skip to content

usher2/u2ckdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1a1dea0 · Jul 11, 2024

History

87 Commits
Jan 5, 2023
May 14, 2023
Nov 13, 2019
May 13, 2023
Nov 13, 2019
Nov 17, 2019
Nov 26, 2019
Nov 13, 2019
May 14, 2023
Jan 5, 2023
Jul 11, 2024
Jul 10, 2024
Nov 13, 2019
Mar 26, 2023
Nov 13, 2019
Mar 24, 2023
Mar 25, 2023
May 13, 2023
Mar 24, 2023
Mar 25, 2023
Mar 25, 2023
Jul 10, 2024
May 13, 2023
Mar 26, 2023
May 13, 2023
May 16, 2023
Jan 4, 2023
May 10, 2023
May 10, 2023
May 10, 2023
May 10, 2023
May 14, 2023
Jul 10, 2024
Mar 24, 2023

Repository files navigation

Parse and serve fresh Roscomnadzor dump

IMPORTANT NOTE

This program is a part of Usher2 ecosystem. The gRPC service will never be published

USE

  • First the program tries to decompress a dump.zip file if it exists
  • Second the program tries to parse a dump.xml file if it exists
  • Then the program periodically tries to fetch a dump from a dump sources server

FEATURES

  • Native IPv4 string to 32-bit integer implementation
  • gRPC service for check IPv4, IPv6, URL, Domain
  • Parse subnets to RADIX tree

WARNING

  • Stream parsing a <content>...</content> object is not a good idea. Because we need some checksum on updates before data applying. So I use Decode() method for <content>...</content> parsing
  • I don't trust to any data. I'm not trying to guess unknown errors. Only known patterns. Roskomnadzor officials are such entertainers

TODO

  • Native RFC3339 parsing
  • Parse subnets to RADIX tree
  • gRPC service for check IPv4, IPv6, URL, Domain
  • Stream parsing every <content>...</content> object including unchanged is the subject for discussion
  • RADIX tree code refactoring

UNLICENSE