vpndetection-flask 2.2.1__tar.gz → 2.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,18 @@
2
2
 
3
3
  What each release changed for you, newest first. Each line is a commit's summary, linked to its full description and diff. Releases before 2.0.5 are described by their release commits.
4
4
 
5
+ ## 2.2.3 - 2026-11-25
6
+
7
+ ### Fixes
8
+
9
+ - Require vpndetection 5.22.1: doc comments name a paid plan, the entitlement example the Data plan ([`ebf3b17`](https://github.com/vpndetection-io/sdk-python-flask/commit/ebf3b177bac59fdd0637392cc21730372199e71c))
10
+
11
+ ## 2.2.2 - 2026-11-24
12
+
13
+ ### Fixes
14
+
15
+ - Require vpndetection 5.22.0: a condition on a list member, such as pubproxy.protocols or a web row's port, matches any element ([`a5e5c5e`](https://github.com/vpndetection-io/sdk-python-flask/commit/a5e5c5e0d20fcbd7635c8cb1f148a59b6e8f0c06))
16
+
5
17
  ## 2.2.1 - 2026-11-24
6
18
 
7
19
  ### Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vpndetection-flask
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: Official Flask extension for the VPNDetection API. Detect VPNs, proxies, Tor, hosting and CDN visitors on every request.
5
5
  Project-URL: Homepage, https://vpndetection.io
6
6
  Project-URL: Source, https://github.com/vpndetection-io/sdk-python-flask
@@ -20,7 +20,7 @@ Classifier: Topic :: Security
20
20
  Classifier: Typing :: Typed
21
21
  Requires-Python: >=3.11
22
22
  Requires-Dist: flask>=3.0
23
- Requires-Dist: vpndetection<6,>=5.21.1
23
+ Requires-Dist: vpndetection<6,>=5.22.1
24
24
  Provides-Extra: dev
25
25
  Requires-Dist: mypy>=1.11; extra == 'dev'
26
26
  Requires-Dist: pytest>=8; extra == 'dev'
@@ -87,7 +87,7 @@ A condition is written in the shape of a result, keyed by the same names the API
87
87
  [{"is_tor": True}, {"is_resproxy": True}] # a list is OR
88
88
  ```
89
89
 
90
- Values are matched by equality, strings without regard to case. A list means any-of. A dict of `gte`/`gt`/`lte`/`lt` compares numbers, and every bound you give must hold, so two of them are a range. A member the answer holds as a list (`web`, `pubproxy.protocols`, `bittorrent.clients`, `bot.agents`, `bot.categories`) is never matched, so block on its flag alone. Members set to `False` or `None` are ignored, so a condition states the signals you act on; one that constrains nothing would match every request, and is refused when the middleware is built rather than silently blocking all your traffic.
90
+ Values are matched by equality, strings without regard to case. A list means any-of. A dict of `gte`/`gt`/`lte`/`lt` compares numbers, and every bound you give must hold, so two of them are a range. A member the answer holds as a list (`web`, `pubproxy.protocols`, `bittorrent.clients`, `bot.agents`, `bot.categories`) matches when any one element does: `{"pubproxy": {"protocols": "socks5"}}` blocks a proxy that speaks SOCKS5 among others, and an object term such as `{"web": {"port": 443}}` must match a single row. Members set to `False` or `None` are ignored, so a condition states the signals you act on; one that constrains nothing would match every request, and is refused when the middleware is built rather than silently blocking all your traffic.
91
91
 
92
92
  Replace the refusal with `on_blocked`.
93
93
 
@@ -58,7 +58,7 @@ A condition is written in the shape of a result, keyed by the same names the API
58
58
  [{"is_tor": True}, {"is_resproxy": True}] # a list is OR
59
59
  ```
60
60
 
61
- Values are matched by equality, strings without regard to case. A list means any-of. A dict of `gte`/`gt`/`lte`/`lt` compares numbers, and every bound you give must hold, so two of them are a range. A member the answer holds as a list (`web`, `pubproxy.protocols`, `bittorrent.clients`, `bot.agents`, `bot.categories`) is never matched, so block on its flag alone. Members set to `False` or `None` are ignored, so a condition states the signals you act on; one that constrains nothing would match every request, and is refused when the middleware is built rather than silently blocking all your traffic.
61
+ Values are matched by equality, strings without regard to case. A list means any-of. A dict of `gte`/`gt`/`lte`/`lt` compares numbers, and every bound you give must hold, so two of them are a range. A member the answer holds as a list (`web`, `pubproxy.protocols`, `bittorrent.clients`, `bot.agents`, `bot.categories`) matches when any one element does: `{"pubproxy": {"protocols": "socks5"}}` blocks a proxy that speaks SOCKS5 among others, and an object term such as `{"web": {"port": 443}}` must match a single row. Members set to `False` or `None` are ignored, so a condition states the signals you act on; one that constrains nothing would match every request, and is refused when the middleware is built rather than silently blocking all your traffic.
62
62
 
63
63
  Replace the refusal with `on_blocked`.
64
64
 
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Topic :: Security",
25
25
  "Typing :: Typed",
26
26
  ]
27
- dependencies = ["vpndetection>=5.21.1,<6", "flask>=3.0"]
27
+ dependencies = ["vpndetection>=5.22.1,<6", "flask>=3.0"]
28
28
 
29
29
  [project.urls]
30
30
  Homepage = "https://vpndetection.io"
@@ -45,7 +45,7 @@ __all__ = [
45
45
  "xff_ip_selector",
46
46
  ]
47
47
 
48
- __version__ = "2.2.1"
48
+ __version__ = "2.2.3"
49
49
 
50
50
  View = TypeVar("View", bound=Callable[..., Any])
51
51
 
@@ -8591,6 +8591,709 @@
8591
8591
  "blocked": false,
8592
8592
  "missing": []
8593
8593
  }
8594
+ },
8595
+ {
8596
+ "name": "list-member-scalar-matches-any-element",
8597
+ "why": "A term on a member the answer holds as a list matches when any element matches it, not only the first.",
8598
+ "body": {
8599
+ "ip": "45.83.91.1",
8600
+ "is_vpn": true,
8601
+ "is_hosting": true,
8602
+ "is_relay": false,
8603
+ "is_tor": false,
8604
+ "is_cdn": false,
8605
+ "is_resproxy": true,
8606
+ "is_dcproxy": false,
8607
+ "is_mobproxy": false,
8608
+ "vpn": {
8609
+ "provider": "nordvpn",
8610
+ "confidence": "high",
8611
+ "method": "rdns",
8612
+ "last_seen": "2026-09-01"
8613
+ },
8614
+ "hosting": {
8615
+ "provider": "ovh",
8616
+ "confidence": "medium",
8617
+ "last_seen": "2026-09-01"
8618
+ },
8619
+ "relay": {},
8620
+ "tor": {},
8621
+ "cdn": {},
8622
+ "resproxy": {
8623
+ "provider": "brightdata",
8624
+ "first_seen": "2026-06-01",
8625
+ "last_seen": "2026-09-01",
8626
+ "hits": 7,
8627
+ "hits_days_pct": 42,
8628
+ "providers_num": 2
8629
+ },
8630
+ "dcproxy": {},
8631
+ "mobproxy": {},
8632
+ "is_pubproxy": true,
8633
+ "pubproxy": {
8634
+ "entry": true,
8635
+ "exit": true,
8636
+ "protocols": [
8637
+ "http",
8638
+ "socks5"
8639
+ ],
8640
+ "num_ports": 3,
8641
+ "num_proxies": 2,
8642
+ "last_seen": "2026-10-17",
8643
+ "last_usable": ""
8644
+ },
8645
+ "is_web": false,
8646
+ "web": []
8647
+ },
8648
+ "condition": {
8649
+ "pubproxy": {
8650
+ "protocols": "socks5"
8651
+ }
8652
+ },
8653
+ "expect": {
8654
+ "blocked": true,
8655
+ "missing": []
8656
+ }
8657
+ },
8658
+ {
8659
+ "name": "list-member-scalar-case-insensitive",
8660
+ "why": "An element is compared as any string member is.",
8661
+ "body": {
8662
+ "ip": "45.83.91.1",
8663
+ "is_vpn": true,
8664
+ "is_hosting": true,
8665
+ "is_relay": false,
8666
+ "is_tor": false,
8667
+ "is_cdn": false,
8668
+ "is_resproxy": true,
8669
+ "is_dcproxy": false,
8670
+ "is_mobproxy": false,
8671
+ "vpn": {
8672
+ "provider": "nordvpn",
8673
+ "confidence": "high",
8674
+ "method": "rdns",
8675
+ "last_seen": "2026-09-01"
8676
+ },
8677
+ "hosting": {
8678
+ "provider": "ovh",
8679
+ "confidence": "medium",
8680
+ "last_seen": "2026-09-01"
8681
+ },
8682
+ "relay": {},
8683
+ "tor": {},
8684
+ "cdn": {},
8685
+ "resproxy": {
8686
+ "provider": "brightdata",
8687
+ "first_seen": "2026-06-01",
8688
+ "last_seen": "2026-09-01",
8689
+ "hits": 7,
8690
+ "hits_days_pct": 42,
8691
+ "providers_num": 2
8692
+ },
8693
+ "dcproxy": {},
8694
+ "mobproxy": {},
8695
+ "is_pubproxy": true,
8696
+ "pubproxy": {
8697
+ "entry": true,
8698
+ "exit": true,
8699
+ "protocols": [
8700
+ "http",
8701
+ "socks5"
8702
+ ],
8703
+ "num_ports": 3,
8704
+ "num_proxies": 2,
8705
+ "last_seen": "2026-10-17",
8706
+ "last_usable": ""
8707
+ },
8708
+ "is_web": false,
8709
+ "web": []
8710
+ },
8711
+ "condition": {
8712
+ "pubproxy": {
8713
+ "protocols": "SOCKS5"
8714
+ }
8715
+ },
8716
+ "expect": {
8717
+ "blocked": true,
8718
+ "missing": []
8719
+ }
8720
+ },
8721
+ {
8722
+ "name": "list-member-any-of-matches",
8723
+ "why": "An array of values against a list matches when any element is any of them.",
8724
+ "body": {
8725
+ "ip": "45.83.91.1",
8726
+ "is_vpn": true,
8727
+ "is_hosting": true,
8728
+ "is_relay": false,
8729
+ "is_tor": false,
8730
+ "is_cdn": false,
8731
+ "is_resproxy": true,
8732
+ "is_dcproxy": false,
8733
+ "is_mobproxy": false,
8734
+ "vpn": {
8735
+ "provider": "nordvpn",
8736
+ "confidence": "high",
8737
+ "method": "rdns",
8738
+ "last_seen": "2026-09-01"
8739
+ },
8740
+ "hosting": {
8741
+ "provider": "ovh",
8742
+ "confidence": "medium",
8743
+ "last_seen": "2026-09-01"
8744
+ },
8745
+ "relay": {},
8746
+ "tor": {},
8747
+ "cdn": {},
8748
+ "resproxy": {
8749
+ "provider": "brightdata",
8750
+ "first_seen": "2026-06-01",
8751
+ "last_seen": "2026-09-01",
8752
+ "hits": 7,
8753
+ "hits_days_pct": 42,
8754
+ "providers_num": 2
8755
+ },
8756
+ "dcproxy": {},
8757
+ "mobproxy": {},
8758
+ "is_pubproxy": true,
8759
+ "pubproxy": {
8760
+ "entry": true,
8761
+ "exit": true,
8762
+ "protocols": [
8763
+ "http",
8764
+ "socks5"
8765
+ ],
8766
+ "num_ports": 3,
8767
+ "num_proxies": 2,
8768
+ "last_seen": "2026-10-17",
8769
+ "last_usable": ""
8770
+ },
8771
+ "is_web": false,
8772
+ "web": []
8773
+ },
8774
+ "condition": {
8775
+ "pubproxy": {
8776
+ "protocols": [
8777
+ "socks4",
8778
+ "socks5"
8779
+ ]
8780
+ }
8781
+ },
8782
+ "expect": {
8783
+ "blocked": true,
8784
+ "missing": []
8785
+ }
8786
+ },
8787
+ {
8788
+ "name": "list-member-scalar-misses",
8789
+ "why": "No element matches, and a served list is never reported missing.",
8790
+ "body": {
8791
+ "ip": "45.83.91.1",
8792
+ "is_vpn": true,
8793
+ "is_hosting": true,
8794
+ "is_relay": false,
8795
+ "is_tor": false,
8796
+ "is_cdn": false,
8797
+ "is_resproxy": true,
8798
+ "is_dcproxy": false,
8799
+ "is_mobproxy": false,
8800
+ "vpn": {
8801
+ "provider": "nordvpn",
8802
+ "confidence": "high",
8803
+ "method": "rdns",
8804
+ "last_seen": "2026-09-01"
8805
+ },
8806
+ "hosting": {
8807
+ "provider": "ovh",
8808
+ "confidence": "medium",
8809
+ "last_seen": "2026-09-01"
8810
+ },
8811
+ "relay": {},
8812
+ "tor": {},
8813
+ "cdn": {},
8814
+ "resproxy": {
8815
+ "provider": "brightdata",
8816
+ "first_seen": "2026-06-01",
8817
+ "last_seen": "2026-09-01",
8818
+ "hits": 7,
8819
+ "hits_days_pct": 42,
8820
+ "providers_num": 2
8821
+ },
8822
+ "dcproxy": {},
8823
+ "mobproxy": {},
8824
+ "is_pubproxy": true,
8825
+ "pubproxy": {
8826
+ "entry": true,
8827
+ "exit": true,
8828
+ "protocols": [
8829
+ "http",
8830
+ "socks5"
8831
+ ],
8832
+ "num_ports": 3,
8833
+ "num_proxies": 2,
8834
+ "last_seen": "2026-10-17",
8835
+ "last_usable": ""
8836
+ },
8837
+ "is_web": false,
8838
+ "web": []
8839
+ },
8840
+ "condition": {
8841
+ "pubproxy": {
8842
+ "protocols": "socks4"
8843
+ }
8844
+ },
8845
+ "expect": {
8846
+ "blocked": false,
8847
+ "missing": []
8848
+ }
8849
+ },
8850
+ {
8851
+ "name": "list-of-objects-partial-match",
8852
+ "why": "An object term matches a list of objects when one element matches it.",
8853
+ "body": {
8854
+ "ip": "45.83.91.1",
8855
+ "is_vpn": true,
8856
+ "is_hosting": true,
8857
+ "is_relay": false,
8858
+ "is_tor": false,
8859
+ "is_cdn": false,
8860
+ "is_resproxy": true,
8861
+ "is_dcproxy": false,
8862
+ "is_mobproxy": false,
8863
+ "vpn": {
8864
+ "provider": "nordvpn",
8865
+ "confidence": "high",
8866
+ "method": "rdns",
8867
+ "last_seen": "2026-09-01"
8868
+ },
8869
+ "hosting": {
8870
+ "provider": "ovh",
8871
+ "confidence": "medium",
8872
+ "last_seen": "2026-09-01"
8873
+ },
8874
+ "relay": {},
8875
+ "tor": {},
8876
+ "cdn": {},
8877
+ "resproxy": {
8878
+ "provider": "brightdata",
8879
+ "first_seen": "2026-06-01",
8880
+ "last_seen": "2026-09-01",
8881
+ "hits": 7,
8882
+ "hits_days_pct": 42,
8883
+ "providers_num": 2
8884
+ },
8885
+ "dcproxy": {},
8886
+ "mobproxy": {},
8887
+ "is_pubproxy": true,
8888
+ "pubproxy": {
8889
+ "entry": true,
8890
+ "exit": true,
8891
+ "protocols": [
8892
+ "socks5"
8893
+ ],
8894
+ "num_ports": 3,
8895
+ "num_proxies": 2,
8896
+ "last_seen": "2026-10-17",
8897
+ "last_usable": ""
8898
+ },
8899
+ "is_web": true,
8900
+ "web": [
8901
+ {
8902
+ "port": 80,
8903
+ "tls_ok": false,
8904
+ "session_ok": true,
8905
+ "status_code": 301,
8906
+ "server": "nginx",
8907
+ "location": "https://146.70.116.130/",
8908
+ "title": "",
8909
+ "cert_subject_cn": "",
8910
+ "cert_subject_o": "",
8911
+ "cert_issuer_dn": "",
8912
+ "cert_browser_trusted": false,
8913
+ "tls_version": "",
8914
+ "first_seen": "2026-09-02",
8915
+ "last_seen": "2026-11-12"
8916
+ },
8917
+ {
8918
+ "port": 443,
8919
+ "tls_ok": true,
8920
+ "session_ok": true,
8921
+ "status_code": 200,
8922
+ "server": "cloudflare",
8923
+ "location": "",
8924
+ "title": "Welcome",
8925
+ "cert_subject_cn": "example.com",
8926
+ "cert_subject_o": "Example Inc.",
8927
+ "cert_issuer_dn": "C=US, O=Example CA, CN=Example CA R1",
8928
+ "cert_browser_trusted": true,
8929
+ "tls_version": "TLSv1.3",
8930
+ "first_seen": "2026-09-02",
8931
+ "last_seen": "2026-11-12"
8932
+ }
8933
+ ]
8934
+ },
8935
+ "condition": {
8936
+ "web": {
8937
+ "port": 443
8938
+ }
8939
+ },
8940
+ "expect": {
8941
+ "blocked": true,
8942
+ "missing": []
8943
+ }
8944
+ },
8945
+ {
8946
+ "name": "list-of-objects-same-element",
8947
+ "why": "Every member of an object term must match the SAME element.",
8948
+ "body": {
8949
+ "ip": "45.83.91.1",
8950
+ "is_vpn": true,
8951
+ "is_hosting": true,
8952
+ "is_relay": false,
8953
+ "is_tor": false,
8954
+ "is_cdn": false,
8955
+ "is_resproxy": true,
8956
+ "is_dcproxy": false,
8957
+ "is_mobproxy": false,
8958
+ "vpn": {
8959
+ "provider": "nordvpn",
8960
+ "confidence": "high",
8961
+ "method": "rdns",
8962
+ "last_seen": "2026-09-01"
8963
+ },
8964
+ "hosting": {
8965
+ "provider": "ovh",
8966
+ "confidence": "medium",
8967
+ "last_seen": "2026-09-01"
8968
+ },
8969
+ "relay": {},
8970
+ "tor": {},
8971
+ "cdn": {},
8972
+ "resproxy": {
8973
+ "provider": "brightdata",
8974
+ "first_seen": "2026-06-01",
8975
+ "last_seen": "2026-09-01",
8976
+ "hits": 7,
8977
+ "hits_days_pct": 42,
8978
+ "providers_num": 2
8979
+ },
8980
+ "dcproxy": {},
8981
+ "mobproxy": {},
8982
+ "is_pubproxy": true,
8983
+ "pubproxy": {
8984
+ "entry": true,
8985
+ "exit": true,
8986
+ "protocols": [
8987
+ "socks5"
8988
+ ],
8989
+ "num_ports": 3,
8990
+ "num_proxies": 2,
8991
+ "last_seen": "2026-10-17",
8992
+ "last_usable": ""
8993
+ },
8994
+ "is_web": true,
8995
+ "web": [
8996
+ {
8997
+ "port": 80,
8998
+ "tls_ok": false,
8999
+ "session_ok": true,
9000
+ "status_code": 301,
9001
+ "server": "nginx",
9002
+ "location": "https://146.70.116.130/",
9003
+ "title": "",
9004
+ "cert_subject_cn": "",
9005
+ "cert_subject_o": "",
9006
+ "cert_issuer_dn": "",
9007
+ "cert_browser_trusted": false,
9008
+ "tls_version": "",
9009
+ "first_seen": "2026-09-02",
9010
+ "last_seen": "2026-11-12"
9011
+ },
9012
+ {
9013
+ "port": 443,
9014
+ "tls_ok": true,
9015
+ "session_ok": true,
9016
+ "status_code": 200,
9017
+ "server": "cloudflare",
9018
+ "location": "",
9019
+ "title": "Welcome",
9020
+ "cert_subject_cn": "example.com",
9021
+ "cert_subject_o": "Example Inc.",
9022
+ "cert_issuer_dn": "C=US, O=Example CA, CN=Example CA R1",
9023
+ "cert_browser_trusted": true,
9024
+ "tls_version": "TLSv1.3",
9025
+ "first_seen": "2026-09-02",
9026
+ "last_seen": "2026-11-12"
9027
+ }
9028
+ ]
9029
+ },
9030
+ "condition": {
9031
+ "web": {
9032
+ "port": 443,
9033
+ "server": "nginx"
9034
+ }
9035
+ },
9036
+ "expect": {
9037
+ "blocked": false,
9038
+ "missing": []
9039
+ }
9040
+ },
9041
+ {
9042
+ "name": "list-of-objects-numeric-bound",
9043
+ "why": "A bound applies to an element member.",
9044
+ "body": {
9045
+ "ip": "45.83.91.1",
9046
+ "is_vpn": true,
9047
+ "is_hosting": true,
9048
+ "is_relay": false,
9049
+ "is_tor": false,
9050
+ "is_cdn": false,
9051
+ "is_resproxy": true,
9052
+ "is_dcproxy": false,
9053
+ "is_mobproxy": false,
9054
+ "vpn": {
9055
+ "provider": "nordvpn",
9056
+ "confidence": "high",
9057
+ "method": "rdns",
9058
+ "last_seen": "2026-09-01"
9059
+ },
9060
+ "hosting": {
9061
+ "provider": "ovh",
9062
+ "confidence": "medium",
9063
+ "last_seen": "2026-09-01"
9064
+ },
9065
+ "relay": {},
9066
+ "tor": {},
9067
+ "cdn": {},
9068
+ "resproxy": {
9069
+ "provider": "brightdata",
9070
+ "first_seen": "2026-06-01",
9071
+ "last_seen": "2026-09-01",
9072
+ "hits": 7,
9073
+ "hits_days_pct": 42,
9074
+ "providers_num": 2
9075
+ },
9076
+ "dcproxy": {},
9077
+ "mobproxy": {},
9078
+ "is_pubproxy": true,
9079
+ "pubproxy": {
9080
+ "entry": true,
9081
+ "exit": true,
9082
+ "protocols": [
9083
+ "socks5"
9084
+ ],
9085
+ "num_ports": 3,
9086
+ "num_proxies": 2,
9087
+ "last_seen": "2026-10-17",
9088
+ "last_usable": ""
9089
+ },
9090
+ "is_web": true,
9091
+ "web": [
9092
+ {
9093
+ "port": 80,
9094
+ "tls_ok": false,
9095
+ "session_ok": true,
9096
+ "status_code": 301,
9097
+ "server": "nginx",
9098
+ "location": "https://146.70.116.130/",
9099
+ "title": "",
9100
+ "cert_subject_cn": "",
9101
+ "cert_subject_o": "",
9102
+ "cert_issuer_dn": "",
9103
+ "cert_browser_trusted": false,
9104
+ "tls_version": "",
9105
+ "first_seen": "2026-09-02",
9106
+ "last_seen": "2026-11-12"
9107
+ },
9108
+ {
9109
+ "port": 443,
9110
+ "tls_ok": true,
9111
+ "session_ok": true,
9112
+ "status_code": 200,
9113
+ "server": "cloudflare",
9114
+ "location": "",
9115
+ "title": "Welcome",
9116
+ "cert_subject_cn": "example.com",
9117
+ "cert_subject_o": "Example Inc.",
9118
+ "cert_issuer_dn": "C=US, O=Example CA, CN=Example CA R1",
9119
+ "cert_browser_trusted": true,
9120
+ "tls_version": "TLSv1.3",
9121
+ "first_seen": "2026-09-02",
9122
+ "last_seen": "2026-11-12"
9123
+ }
9124
+ ]
9125
+ },
9126
+ "condition": {
9127
+ "web": {
9128
+ "status_code": {
9129
+ "gte": 300,
9130
+ "lt": 400
9131
+ }
9132
+ }
9133
+ },
9134
+ "expect": {
9135
+ "blocked": true,
9136
+ "missing": []
9137
+ }
9138
+ },
9139
+ {
9140
+ "name": "list-of-objects-numeric-bound-misses",
9141
+ "why": "A bound no element meets never matches.",
9142
+ "body": {
9143
+ "ip": "45.83.91.1",
9144
+ "is_vpn": true,
9145
+ "is_hosting": true,
9146
+ "is_relay": false,
9147
+ "is_tor": false,
9148
+ "is_cdn": false,
9149
+ "is_resproxy": true,
9150
+ "is_dcproxy": false,
9151
+ "is_mobproxy": false,
9152
+ "vpn": {
9153
+ "provider": "nordvpn",
9154
+ "confidence": "high",
9155
+ "method": "rdns",
9156
+ "last_seen": "2026-09-01"
9157
+ },
9158
+ "hosting": {
9159
+ "provider": "ovh",
9160
+ "confidence": "medium",
9161
+ "last_seen": "2026-09-01"
9162
+ },
9163
+ "relay": {},
9164
+ "tor": {},
9165
+ "cdn": {},
9166
+ "resproxy": {
9167
+ "provider": "brightdata",
9168
+ "first_seen": "2026-06-01",
9169
+ "last_seen": "2026-09-01",
9170
+ "hits": 7,
9171
+ "hits_days_pct": 42,
9172
+ "providers_num": 2
9173
+ },
9174
+ "dcproxy": {},
9175
+ "mobproxy": {},
9176
+ "is_pubproxy": true,
9177
+ "pubproxy": {
9178
+ "entry": true,
9179
+ "exit": true,
9180
+ "protocols": [
9181
+ "socks5"
9182
+ ],
9183
+ "num_ports": 3,
9184
+ "num_proxies": 2,
9185
+ "last_seen": "2026-10-17",
9186
+ "last_usable": ""
9187
+ },
9188
+ "is_web": true,
9189
+ "web": [
9190
+ {
9191
+ "port": 80,
9192
+ "tls_ok": false,
9193
+ "session_ok": true,
9194
+ "status_code": 301,
9195
+ "server": "nginx",
9196
+ "location": "https://146.70.116.130/",
9197
+ "title": "",
9198
+ "cert_subject_cn": "",
9199
+ "cert_subject_o": "",
9200
+ "cert_issuer_dn": "",
9201
+ "cert_browser_trusted": false,
9202
+ "tls_version": "",
9203
+ "first_seen": "2026-09-02",
9204
+ "last_seen": "2026-11-12"
9205
+ },
9206
+ {
9207
+ "port": 443,
9208
+ "tls_ok": true,
9209
+ "session_ok": true,
9210
+ "status_code": 200,
9211
+ "server": "cloudflare",
9212
+ "location": "",
9213
+ "title": "Welcome",
9214
+ "cert_subject_cn": "example.com",
9215
+ "cert_subject_o": "Example Inc.",
9216
+ "cert_issuer_dn": "C=US, O=Example CA, CN=Example CA R1",
9217
+ "cert_browser_trusted": true,
9218
+ "tls_version": "TLSv1.3",
9219
+ "first_seen": "2026-09-02",
9220
+ "last_seen": "2026-11-12"
9221
+ }
9222
+ ]
9223
+ },
9224
+ "condition": {
9225
+ "web": {
9226
+ "status_code": {
9227
+ "gte": 500
9228
+ }
9229
+ }
9230
+ },
9231
+ "expect": {
9232
+ "blocked": false,
9233
+ "missing": []
9234
+ }
9235
+ },
9236
+ {
9237
+ "name": "list-member-empty-list",
9238
+ "why": "An empty list is served, so it matches nothing and is not missing.",
9239
+ "body": {
9240
+ "ip": "45.83.91.1",
9241
+ "is_vpn": true,
9242
+ "is_hosting": true,
9243
+ "is_relay": false,
9244
+ "is_tor": false,
9245
+ "is_cdn": false,
9246
+ "is_resproxy": true,
9247
+ "is_dcproxy": false,
9248
+ "is_mobproxy": false,
9249
+ "vpn": {
9250
+ "provider": "nordvpn",
9251
+ "confidence": "high",
9252
+ "method": "rdns",
9253
+ "last_seen": "2026-09-01"
9254
+ },
9255
+ "hosting": {
9256
+ "provider": "ovh",
9257
+ "confidence": "medium",
9258
+ "last_seen": "2026-09-01"
9259
+ },
9260
+ "relay": {},
9261
+ "tor": {},
9262
+ "cdn": {},
9263
+ "resproxy": {
9264
+ "provider": "brightdata",
9265
+ "first_seen": "2026-06-01",
9266
+ "last_seen": "2026-09-01",
9267
+ "hits": 7,
9268
+ "hits_days_pct": 42,
9269
+ "providers_num": 2
9270
+ },
9271
+ "dcproxy": {},
9272
+ "mobproxy": {},
9273
+ "is_pubproxy": true,
9274
+ "pubproxy": {
9275
+ "entry": true,
9276
+ "exit": true,
9277
+ "protocols": [
9278
+ "socks5"
9279
+ ],
9280
+ "num_ports": 3,
9281
+ "num_proxies": 2,
9282
+ "last_seen": "2026-10-17",
9283
+ "last_usable": ""
9284
+ },
9285
+ "is_web": false,
9286
+ "web": []
9287
+ },
9288
+ "condition": {
9289
+ "web": {
9290
+ "port": 443
9291
+ }
9292
+ },
9293
+ "expect": {
9294
+ "blocked": false,
9295
+ "missing": []
9296
+ }
8594
9297
  }
8595
9298
  ],
8596
9299
  "invalidConditions": [