opiproject / opi-strongswan-bridge

OPI IPSEC gRPC to strongSwan vici API bridge
Apache License 2.0
4 stars 6 forks source link

IPsecStatsRequest generates "Cannot find mem" #295

Open mgheorghe opened 7 months ago

mgheorghe commented 7 months ago

Intel DYP SDK 1.4 opi-strongswan-bridge latest as of 10 April 2024 opi-api latest as of 10 April 2024

[root@ipu-acc ~]# docker run --privileged --rm --network host --mount src=/var/run,target=/var/run,type=bind -it ghcr.io/opiproject/opi-strongswan-bridge:main /opi-vici-bridge -port=50151
2024/04/03 21:48:33 server listening at [::]:50151
cat fir

2024/04/03 22:44:15 Cannot find mem
2024/04/03 22:45:01 Cannot find mem
2024/04/03 22:46:55 Cannot find mem
2024/04/03 22:47:25 Cannot find mem
2024/04/03 22:47:50 Cannot find mem
2024/04/03 22:47:59 Cannot find mem
import grpc
import ipsec_pb2
import ipsec_pb2_grpc
channel = grpc.insecure_channel('localhost:50151')
stub = ipsec_pb2_grpc.IPsecServiceStub(channel)
stats = stub.IPsecStats(ipsec_pb2.IPsecStatsRequest())