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

rpcapd-config additional field additionals for future from examples found online #1301

Open
daluu opened this issue Mar 25, 2024 · 0 comments

Comments

@daluu
Copy link

daluu commented Mar 25, 2024

I saw this mentioned in ExtraHop's configuration for their customized version of rpcapd.

ActiveClient = 10.10.6.45, 2003, ifname=eth0
ActiveClient = 10.10.6.45, 2003, ifaddr=10.10.2.0/24
UserName = rpcapd

also think I saw the UserName parameter somewhere before, just don't recall the other sites.

For ifname and ifaddr, maybe could also be used for PassiveClient? And maybe they could be used standalone and not attached to particular active/passive clients?

I think maybe could be useful to be able to restrict to returning only specified interfaces rather than the whole list of possible interfaces when a client requests for it. And to only permit captures to specified interfaces for locking down system.

As for username, just sharing what I found/observed. I'm not aware how we could utilize it for rpcapd here, as username is technically tied to the user account running the daemon. Maybe specifying it in config is some way to provide alternate user credential to use or different way to launch the daemon against another user account, things relating to su, sudo, or doas? I don't know if there was meant to be a password or equivalent alternative field (since password in config would be plain text), in the examples found online, only saw username field.

Maybe these params could also be CLI options and not just config file parameters.

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

No branches or pull requests

1 participant