Commit Graph

65 Commits

Author SHA1 Message Date
lionsoul2014 d638015592 region.fields with sep 2026-05-30 12:22:44 +08:00
lionsoul2014 3eb65a2657 sep args for segment parse 2026-05-30 11:02:41 +08:00
lionsoul2014 fac3d0376a PushBack for empty match 2026-05-24 20:14:29 +08:00
lionsoul2014 a8b9d542c6 srcReader is nil check 2026-05-24 20:13:47 +08:00
lionsoul2014 8b79b69524 fix Index overflow for the cidr parse with bits equals to IP max bits 2026-05-19 19:43:51 +08:00
lionsoul2014 0ce74b8873 add io.Reader based xdb input supports 2026-05-19 11:42:03 +08:00
lionsoul2014 072b6fed24 segments iterate with CIDR supports 2026-05-16 10:58:49 +08:00
lionsoul2014 f939363a19 SegmentFrom parser is ready for CIDR and IP range 2026-05-16 10:14:20 +08:00
lionsoul2014 353524325a CIDR to ip range supports 2026-05-16 00:07:15 +08:00
lionsoul2014 72c657c378 export the Region API for callbacks 2026-04-29 17:36:30 +08:00
lionsoul2014 19a8816827 clean the region cache 2026-04-29 16:04:40 +08:00
lionsoul2014 787bd7ae07 use the Region cache 2026-04-29 15:52:40 +08:00
lionsoul2014 5b10989ac2 Thread-safe impl for CacheRegion 2026-04-29 13:44:14 +08:00
lionsoul2014 90e827633a Use the Region struct to manager the region info instead of old string 2026-04-29 12:23:51 +08:00
lionsoul2014 aab908c923 create if file not exists 2026-04-24 16:14:45 +08:00
lionsoul2014 c314ef54ca add SaveToFile(string) api 2026-04-24 09:41:02 +08:00
lionsoul2014 69d267d85d fix the bug of convert eList to segment list 2026-04-23 17:33:23 +08:00
lionsoul2014 d730db816a editor with put callback and auto segments merge 2026-04-22 16:28:11 +08:00
lionsoul2014 e76f995ceb add autoMege flag and return total/merged count for segments iterate 2026-04-02 11:24:56 +08:00
lionsoul2014 edb29aea3b add ip sub/half/middle functions 2026-04-02 11:00:19 +08:00
lionsoul2014 04e51e2182 mv all the tests files to the ./sample 2026-03-13 09:36:24 +08:00
lionsoul2014 c63b1dc5db empty source and auto append supports 2026-03-12 11:23:43 +08:00
lionsoul2014 29c7048f93 optimize the disorder segments check 2026-03-07 11:28:30 +08:00
lionsoul2014 51e194a105 discontinuous or unordered data segments edit supports 2026-03-05 14:22:03 +08:00
lionsoul2014 b965ab8be9 non-contiguous segments load 2026-03-04 14:39:50 +08:00
lionsoul2014 112dfb99b5 non-contiguous ip ranges supports 2026-03-04 12:44:05 +08:00
lionsoul2014 e6e3087144 source data clear based supports 2026-01-28 20:02:58 +08:00
lion 4ff67f168c optimize the region filtering to achieve higher consecutive segments merging rate 2025-09-25 11:17:09 +08:00
lion cb3329390a Allow empty region info 2025-09-24 15:56:40 +08:00
lion 87d53b5018 some optimizations 2025-09-09 22:34:13 +08:00
lion 0307a3df14 IPv6 RC verison with IPv4 compatible with the old implementation 2025-09-06 00:36:10 +08:00
lion d3ef2dcc28 stdlize the IP version global vars to IPvx 2025-09-05 14:12:54 +08:00
lion 9cbcca588a add version flag for source ip editor 2025-09-05 09:51:18 +08:00
lion 34e89d3f50 apply the field-list filter 2025-09-04 15:22:24 +08:00
lion 2735819b4f source ip data processor 2025-09-04 14:59:20 +08:00
lion 980c9cfdd4 make the region filtering an util func 2025-09-04 14:58:53 +08:00
lion cdd2a2fc85 update the comments for the latest changes 2025-09-04 12:33:58 +08:00
lion c0058781c9 version expected for xdb gen and auto version detect for search test 2025-09-04 11:14:58 +08:00
lion ac46b7359e write the IP version NO and runtime ptr bytes in the header 2025-09-03 21:06:25 +08:00
lion b73e190905 xdb ipv6 supporting (bytes operation is working) 2025-09-03 17:16:05 +08:00
lion 78c2fab10a add field-list support self-define region fields 2025-06-16 23:24:19 +08:00
lion 95bcc92f11 log-level flag and debug/info/warn/error value supports and apply 2025-06-16 19:13:52 +08:00
Lion 3ef87ff727 tab replace with space for the structure doc comments 2023-10-08 17:37:06 +08:00
Lion b66471f0ba tab to space 2023-10-08 17:33:59 +08:00
lion b3f775a196 ignore empty lines 2022-12-07 11:24:58 +08:00
lion 83e15427a8 ignore the comment line which start with # 2022-12-07 10:29:19 +08:00
Lion 8b3a039edc segments editor RC version 2022-12-06 20:09:14 +08:00
Lion f489d2a39a task segments.test as the common data 2022-12-05 21:04:33 +08:00
Lion e085caf148 apply the need save and put segment 2022-12-05 20:40:22 +08:00
Lion 8e3c440ada trim the space to input segment 2022-12-05 20:38:59 +08:00