-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
provide uid/gid settings in config file #2763
Comments
This was discussed 5 years ago, but for dnsmasq. For example, I would like to forward most traffice to a VPN connection, but leave DNS traffic excluded.(return gid=xxxx aka adguadhome in iptables) |
Well, we don't maintain an openwrt package. If you're using one, I guess you need to address this question to it's author. |
ok then.
in |
It seems dnsmasq itself decides under which user it works, AGH is different, it does not do this and it will work under the same user that started the process. So you just need to edit the openwrt service file and make sure it is started under the user you need. |
Just fyi, Go only started properly supporting |
Thanks for your information. |
The details are currently unclear, sorry. We'll need to take care of the current and the next cycle first. |
Sure, just take it in mind, it's not critical to the current build. I'm happy what adguardhome can do now. |
@ainar-g will you transform this issue into enhancement or a feature request then? |
Updates #2763. Squashed commit of the following: commit bd2077c Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 16:25:17 2021 +0300 all: move rlimit_nofile, imp docs commit ba95d4a Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 15:12:23 2021 +0300 all: support setgid, setuid on unix
This is implemented as of snapshot 48c44c2. Can you please check if our solution works for you? |
We'll close this issue for now. Please file new ones if you encounter any issues. Thanks. |
Updates AdguardTeam#2763. Squashed commit of the following: commit bd2077c Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 16:25:17 2021 +0300 all: move rlimit_nofile, imp docs commit ba95d4a Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 4 15:12:23 2021 +0300 all: support setgid, setuid on unix
Hi, dear developpers
I would assume current gid value of adguardhome on openwrt is gid=0.
Could you make an option or change the default gid to a new one, so the iptables can operate based on the gid?
Thanks.
The text was updated successfully, but these errors were encountered: