Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpcap - Socket: operation not permitted #21

Open
mattfysh opened this issue Apr 14, 2022 · 0 comments
Open

libpcap - Socket: operation not permitted #21

mattfysh opened this issue Apr 14, 2022 · 0 comments

Comments

@mattfysh
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant