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

Use ECS (EDNS Client subnet) to identify Clients, instead of IP address #4383

Closed
gspannu opened this issue Mar 10, 2022 · 7 comments
Closed
Labels
duplicate Duplicate or merged issues.

Comments

@gspannu
Copy link

gspannu commented Mar 10, 2022

The edge build now displays the ECS data in the response section in Query Log.
Would there be a feature added where this (ECS subnet data) IP address is used to identify the client, instead of (or in addition to) the Public IP address.

See attached screenshot.
Screenshot 2

Would it be possible to have a feature that uses the ECS data (4.5.6.0) to identify the client instead of the connecting IP (212.139.50.250) ?
A user choice/ option to display/ store all logs and statistics to be based on either client IP or connecting IP?


@gtxaspec, we've got a couple of ECS-related issues already (e.g. #1727, #2514). Do you mean duplicating this info to the "Client details" of the same query log entry?

So far, it seems the issue may be closed for now. Please consider opening a new one if it isn't yet.

Originally posted by @EugeneOne1 in #3978 (comment)

@gtxaspec
Copy link

@gspannu

Yes, this what I was referring to, lets have the ability to filter and sort clients in the query logs by the ECS data, if possible. I didn't see another issue open for this specific type of request.

@stale stale bot added the wontfix label Jun 13, 2022
@gspannu
Copy link
Author

gspannu commented Jun 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Has this now been implemented in some release or any plans for release? ECS-related issues (1727, 2514).

@stale stale bot removed the wontfix label Jun 13, 2022
@AdguardTeam AdguardTeam deleted a comment from stale bot Aug 23, 2022
@ainar-g
Copy link
Contributor

ainar-g commented Aug 23, 2022

This could be done, but I'm not sure if this should be enabled by default, since technically anyone can put anything there, which may cause all kinds of issues.

@gspannu
Copy link
Author

gspannu commented Aug 23, 2022

This could be done, but I'm not sure if this should be enabled by default, since technically anyone can put anything there, which may cause all kinds of issues.

Just looking at an

  • option to sort/ search query log by subnet data.
  • statistics based on subnet data

I fully agree that it shouldn't be enabled by default.

@gtxaspec
Copy link

@ainar-g any update on this? I believe feasibly, if the AdGuard team would add a switch, something like display_ecs_as_client: true/false (false by default) would be a great benefit, since ecs data is interpreted by AGH now.

This would gain AGH feature parity with other solutions like pi-hole.

@ainar-g ainar-g changed the title ECS data (Clint subnet information) used to identify Clients, instead of Public IP Use ECS (EDNS Client subnet) to identify Clients, instead of IP address Aug 14, 2023
@jumpsmm7
Copy link
Contributor

jumpsmm7 commented Nov 19, 2023

@ainar-g
I wonder where we are at with this ? It seems all these feature requests for EDNS (ECS) are broken into small requests. It is hard to keep track of what state AdGuardHome is at with developing EDNS (ECS) support.

For example, #1727 (comment)

@ainar-g
Copy link
Contributor

ainar-g commented Nov 20, 2023

@jumpsmm7, thanks for drawing my attention to it. You're correct that this can be merged into #1727.

@ainar-g ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2023
@ainar-g ainar-g added duplicate Duplicate or merged issues. and removed feature request labels Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

5 participants