bgpkit / ris-live-rs

Rust SDK for working with RIS-Live real-time BGP data stream.
MIT License
12 stars 0 forks source link

ris-live-reader just exits from processing the live stream #9

Open ACodingfreak opened 1 year ago

ACodingfreak commented 1 year ago

As you can see in the below attached logs, I hardly see either couple of messages or sometimes hardly 1 before ris-live-reader exits. Is there any command which can parse the RIS live stream continuously ?

u2004op2:~$ ris-live-reader {"type": "ris_subscribe", "data":{ "host": "rrc21","moreSpecific": true,"lessSpecific": false } } A|1670564829.24|37.49.236.178|8966|121.52.157.0/24|8966 17557 45773|INCOMPLETE|37.49.236.178|||8966:41 8966:8888 17557:3601||| A|1670564827.39|37.49.236.228|24482|86.111.52.0/24|24482 33891 47692 44472|IGP|37.49.236.228||0|24482:2 24482:12010 24482:12011 24482:65201 33891:2180 33891:7003 33891:33892 33891:40151 47692:120 47692:40142|||

u2004op2:~$ u2004op2:~$ ris-live-reader --host rrc01 {"type": "ris_subscribe", "data":{ "host": "rrc01","moreSpecific": true,"lessSpecific": false } } A|1670564835.13|195.66.224.32|3257|5.233.254.0/23|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|2.179.52.0/23|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|46.100.168.0/22|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|2.182.224.0/20|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|5.236.112.0/20|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|2.179.160.0/22|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|31.58.84.0/22|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|87.251.147.0/24|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|2.182.124.0/22|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|78.38.230.0/23|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.224.32|3257|95.38.138.0/23|3257 6762 49666 48159 58224|INCOMPLETE|195.66.224.32||20|3257:8027 3257:30312 3257:50001 3257:54400 3257:54401||| A|1670564835.13|195.66.227.233|207841|196.28.249.0/24|207841 6939 5511 6713 25543|IGP|195.66.227.233|||||| A|1670564835.13|195.66.227.233|207841|41.138.114.0/24|207841 6939 5511 6713 25543|IGP|195.66.227.233|||||| A|1670564835.13|195.66.227.233|207841|196.28.247.0/24|207841 6939 5511 6713 25543|IGP|195.66.227.233|||||| A|1670564834.12|195.66.224.175|13030|130.137.80.0/24|13030 1299 174 16509|IGP|195.66.224.175||1|1299:20000 13030:1299 13030:2 13030:51701 13030:8179|||

digizeph commented 1 month ago

I can't believe I missed this issue. Just released v0.3.0 and it should be fixed.