lambci / yumda

Yum for AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libpcap - Socket: operation not permitted

mattfysh opened this issue · comments

commented

I modified the SAM tutorial in the readme to use libpcap, and the cap library from NPM. When invoking locally, it works as expected (logs captured packets to stdout)

However after deploying to the Cloud, I'm getting a Socket: operation not permitted error, which I suspect has something to do with the Cloud security model for Lambda. I've also had this same error when trying to implement the same functionality as a Go extension layer, with the same error message appearing

Any ideas how if I can change my Lambda function settings to allow the use of libpcap? thanks!