AdguardTeam / AdguardTeam/AdguardForWindows

Ntrace-core couldn't show IP geographical information when use SockFilter

Aperta
#5,938 7 commenti 1 reazione 1 assegnatario Assegnata a @northis Vedi su GitHub
Bug Priority: P4
Lingua principale
Nessun dato sulla lingua
Stelle
887
Fork
84
Merge medio
27m
PR unite (30g)
2

Descrizione

### Please answer the following questions for yourself before submitting an issue

- [x] Filters were updated before reproducing an issue
- [x] I checked the [knowledge base](https://adguard.com/kb/) and found no answer
- [x] I checked to make sure that this issue has not already been filed

### AdGuard version

8.0.5402.0

### Browser version

Not Browser

### OS version

Windows 11, 25H2

### Traffic filtering

- [x] yes, I do

### Ad Blocking

_No response_

### Privacy

_No response_

### Social

_No response_

### Annoyances

_No response_

### Security

_No response_

### Other

_No response_

### Language-specific

_No response_

### Which DNS server do you use?

DNS protection disabled

### DNS protocol

None

### Custom DNS

_No response_

### What Stealth Mode options do you have enabled?

_No response_

### Support ticket ID

_No response_

### Issue Details

When i enable SockFilter, The [NTrace-core](https://github.com/nxtrace/NTrace-core) (A CLI tool for route tracking) Could't show the geographical information. When i Switch to TDI/WFP, the NTrace-core show the geographical information as expect.

Here are some test Log about service, i guess this question caused by **`networkfilter match_context_create: Failed to parse address ([ai_family not supported]:0)`**.

**SockFilter**

```log
WARNING, AdguardSvc.exe, Logger, 75, 29.03.2026 18:33:17.687, networkfilter match_context_create: Failed to parse address ([ai_family not supported]:0)
WARNING, AdguardSvc.exe, Logger, 167, 29.03.2026 18:33:28.169, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 167, 29.03.2026 18:33:28.169, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 80, 29.03.2026 18:33:28.623, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 80, 29.03.2026 18:33:28.623, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 178, 29.03.2026 18:33:28.623, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 178, 29.03.2026 18:33:28.623, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 10, 29.03.2026 18:33:28.624, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 10, 29.03.2026 18:33:28.624, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 31, 29.03.2026 18:33:28.624, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 31, 29.03.2026 18:33:28.624, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 187, 29.03.2026 18:33:28.624, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 187, 29.03.2026 18:33:28.624, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 134, 29.03.2026 18:33:28.625, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 134, 29.03.2026 18:33:28.625, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 103, 29.03.2026 18:33:28.625, Cant get app path for process 14892
WARNING, AdguardSvc.exe, Logger, 103, 29.03.2026 18:33:28.625, Cant find application from process id 14892 (app name:ntrace.exe), will not add stats
```

**WFP**

```log
WARNING, AdguardSvc.exe, Logger, 126, 29.03.2026 18:35:56.731, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 126, 29.03.2026 18:35:56.732, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 50, 29.03.2026 18:35:56.732, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 50, 29.03.2026 18:35:56.732, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 146, 29.03.2026 18:35:56.732, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 146, 29.03.2026 18:35:56.732, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 202, 29.03.2026 18:35:56.733, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 202, 29.03.2026 18:35:56.733, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 124, 29.03.2026 18:35:56.733, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 124, 29.03.2026 18:35:56.733, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 170, 29.03.2026 18:35:56.733, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 170, 29.03.2026 18:35:56.733, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 69, 29.03.2026 18:35:56.734, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 69, 29.03.2026 18:35:56.734, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 103, 29.03.2026 18:35:56.734, Cant get app path for process 20668
WARNING, AdguardSvc.exe, Logger, 103, 29.03.2026 18:35:56.734, Cant find application from process id 20668 (app name:ntrace.exe), will not add stats
```

**TDI**

```log
WARNING, AdguardSvc.exe, Logger, 170, 29.03.2026 18:37:18.029, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 170, 29.03.2026 18:37:18.030, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 21, 29.03.2026 18:37:18.030, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 21, 29.03.2026 18:37:18.030, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 99, 29.03.2026 18:37:18.030, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 99, 29.03.2026 18:37:18.030, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 23, 29.03.2026 18:37:18.030, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 23, 29.03.2026 18:37:18.030, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 18, 29.03.2026 18:37:18.030, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 18, 29.03.2026 18:37:18.030, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 134, 29.03.2026 18:37:18.031, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 134, 29.03.2026 18:37:18.031, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 116, 29.03.2026 18:37:18.031, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 116, 29.03.2026 18:37:18.031, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
WARNING, AdguardSvc.exe, Logger, 136, 29.03.2026 18:37:18.032, Cant get app path for process 35620
WARNING, AdguardSvc.exe, Logger, 136, 29.03.2026 18:37:18.032, Cant find application from process id 35620 (app name:ntrace.exe), will not add stats
```

### Expected Behavior

```shell
$ ntrace bing.com
NextTrace v1.6.1 2026-03-21T02:14:32Z 1cda0e5
[NextTrace API] preferred API IP - 8.219.136.89 - 246.34ms - Aliyun.SIN (Relay) → DMIT.NRT
Please Choose the IP You Want To TraceRoute
0. 2620:1ec:33::10
1. 2620:1ec:33:1::10
2. 150.171.28.10
3. 150.171.27.10
Your Option: 2
IP Geo Data Provider: LeoMoeAPI
192.168.0.102 -> 150.171.28.10 (bing.com), 30 hops max, 28 byte packets, ICMP mode
1 192.168.0.1 * RFC1918
0.93 ms / 0.62 ms / 0.57 ms
2 192.168.1.1 * RFC1918
1.60 ms / 1.58 ms / 1.28 ms
3 10.105.0.1 * RFC1918
3.11 ms / 2.51 ms / 3.00 ms
4 *
5 211.138.114.217 AS56041 [CMNET] 中国 浙江 杭州 zj.10086.cn 移动
2.84 ms / * ms / * ms
6 *
7 183.248.141.137 AS56041 [APNIC-AP] 中国 浙江 温州市 zj.10086.cn 移动
3.56 ms / 3.52 ms / * ms
8 *
9 221.183.89.65 AS9808 [CMNET] 中国 上海 chinamobileltd.com 移动
6.88 ms / 7.07 ms / * ms
10 221.183.89.70 AS9808 [CMNET] 中国 上海 chinamobileltd.com 移动
6.90 ms / 6.58 ms / * ms
11 221.183.89.173 AS9808 [CMNET] 中国 上海 chinamobileltd.com 移动
11.03 ms / * ms / * ms
12 223.120.3.245 AS58453 [CMI-INT] 日本 东京都 东京 cmi.chinamobile.com 移动
40.41 ms / 39.89 ms / 42.20 ms
13 223.120.2.190 AS58453 [CMI-INT] 日本 东京都 东京 CMI-POP cmi.chinamobile.com 移动
41.72 ms / 40.19 ms / 39.87 ms
14 223.119.47.122 AS58453 [CMI-INT] 日本 东京都 东京 Linode-东京 cmi.chinamobile.com 移动
62.97 ms / 63.05 ms / 62.87 ms
15 104.44.235.92 AS8075 [MSFT] 日本 东京都 东京 microsoft.com
ae28-0.icr01.tyo30.ntwk.msn.net 39.20 ms / 39.48 ms / * ms
16 *
17 *
18 *
19 *
20 *
21 *
22 *
23 *
24 *
25 *
26 150.171.28.10 AS8075 Anycast microsoft.com
40.43 ms / 40.47 ms / 40.21 ms
MapTrace URL: https://assets.nxtrace.org/tracemap/dd2bfd26-8a8b-54fd-a999-246cab85c587.html
```

### Actual Behavior

```shell
$ ntrace bing.com
NextTrace v1.6.1 2026-03-21T02:14:32Z 1cda0e5
[NextTrace API] preferred API IP - 103.117.102.27 - 217.11ms - DMIT.NRT
Please Choose the IP You Want To TraceRoute
0. 2620:1ec:33::10
1. 2620:1ec:33:1::10
2. 150.171.27.10
3. 150.171.28.10
Your Option: 2
IP Geo Data Provider: LeoMoeAPI
192.168.0.102 -> 150.171.27.10 (bing.com), 30 hops max, 28 byte packets, ICMP mode
1 *
2 *
3 *
4 *
5 *
6 *
7 *
8 *
9 *
10 *
11 *
12 *
13 *
14 *
15 *
16 *
17 *
18 *
19 *
20 *
21 *
22 *
23 *
24 *
25 *
26 *
27 *
28 *
29 *
30 *
MapTrace URL: 没有需要绘制的数据。
```

### Screenshots

_No response_

### Additional Information

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.