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

Investigate better ways to get a raw socket for chewie #2854

Open
gizmoguy opened this issue Mar 12, 2019 · 1 comment
Open

Investigate better ways to get a raw socket for chewie #2854

gizmoguy opened this issue Mar 12, 2019 · 1 comment

Comments

@gizmoguy
Copy link
Member

Currently when 8021x is in use (via chewie helper) we need to run faucet as root to bind to a raw NFV socket.

Some potential fixes:

  • Investigate a framework for running separate NFV helper applications along side faucet
  • Use linux capabilities to grant chewie CAP_NET_RAW
@gizmoguy
Copy link
Member Author

This also impacts the ability to run our faucet unit tests as a non-root user.

Looks like the chewie unit tests when run as standard user will emit errors that they couldn't get a raw socket.

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

No branches or pull requests

1 participant