pavel-odintsov / fastnetmon

FastNetMon - very fast DDoS sensor with sFlow/Netflow/IPFIX/SPAN support
https://fastnetmon.com
GNU General Public License v2.0
3.4k stars 564 forks source link

AddPath request to BGP daemon failed with code: 12 message unknown service gobgpapi.GobgpApi #974

Closed lv02funk closed 1 year ago

lv02funk commented 1 year ago

If you want to solve your issue please read following information below

First of all, please check following steps:

If it does not help, please fill information below:

Then please describe your issue as detailed as possible! Thanks you :) There is issue with fastmon not able to add path to gobgp shapratly both fastnetmon and gobgp are working perfectly . its that connecting api part is not working nicly i had tried this with installing mutiple time with multiple gobgp software and latest fastnetmon as of today, through installer -O N flow is captured /ban by fastnetmon very nicely bgp will be up and router recive routes from gobgp when manually entered on gobgp its only the part when fastmon trigger adding path to gobgp this show errors like bellow :

2023-03-26 22:04:18,688 [INFO] API we asked for ban for IP: 10.34.42.3 2023-03-26 22:04:18,688 [INFO] API call ban handlers manually 2023-03-26 22:04:18,688 [ERROR] Can't print attack details to file 2023-03-26 22:04:18,689 [INFO] Call GoBGP for ban client started: 10.34.42.3 2023-03-26 22:04:18,689 [INFO] Call to GoBGP for ban client is finished: 10.34.42.3 2023-03-26 22:04:18,689 [INFO] announce 10.34.42.3/32 to GoBGP 2023-03-26 22:04:18,691 [ERROR] AddPath request to BGP daemon failed with code: 12 message unknown service gobgpapi.GobgpApi

please advice

pavel-odintsov commented 1 year ago

Hello!

It's known issue and it was fixed in latest developer build

You can install it this way:

wget https://install.fastnetmon.com/installer -Oinstaller sudo chmod +x installer sudo ./installer -install_community_edition -developer_version.