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

Clients requests aren't counted properly #2037

Closed
Mosney opened this issue Aug 23, 2020 · 1 comment
Closed

Clients requests aren't counted properly #2037

Mosney opened this issue Aug 23, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@Mosney
Copy link

Mosney commented Aug 23, 2020

Version: 0.103.3, OpenWrt 19.07 (Linux amd64)

The screenshot below, I add two IP in one client item, the requests count only show the first IP's counts.
image

Then I add my cellphone provider's IP range via CIDR, it looks weird, requests count point 2, and those clients not obey assigned upstream too, looks this function totally broken. And I think 112.225.0.0/11 is special cause I test other IP-CIDR, the requests count number working at least.
image

@szolin
Copy link
Contributor

szolin commented Aug 24, 2020

top_clients: [
{1.1.1.1: 1},
{2.2.2.2: 2},
{3.3.3.3: 3},
]

client.id = [ 1.1.1.1, 2.2.2.2, 3.3.3.0/24 ]

"Request count" == 1+2+3

@szolin szolin added the bug label Aug 24, 2020
@ameshkov ameshkov modified the milestones: v0.104, v0.103 Aug 24, 2020
@adguard adguard closed this as completed in c5ca2e6 Sep 8, 2020
@ameshkov ameshkov changed the title Client settings item should only one identifier each? And identifier support CIDR? Clients requests aren't counted properly Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants