A repository of opam repositories, for use by oi
1opam-version: "2.0"
2synopsis: "X-Forwarded-For parsing and trusted proxy detection"
3description: """\
4Parse X-Forwarded-For headers to extract client IP addresses behind proxies.
5Supports trusted proxy validation using CIDR ranges to prevent IP spoofing.
6Implements de-facto X-Forwarded-For standard and aligns with RFC 7239."""
7maintainer: "thomas@gazagnaire.org"
8authors: "Thomas Gazagnaire"
9license: "ISC"
10tags: ["org:blacksun" "network" "http"]
11homepage: "https://tangled.org/gazagnaire.org/ocaml-xff"
12bug-reports: "https://tangled.org/gazagnaire.org/ocaml-xff/issues"
13depends: [
14 "ocaml" {>= "5.0.0"}
15 "dune" {>= "3.21"}
16 "ipaddr"
17 "fmt"
18 "mdx" {with-test}
19 "alcotest" {with-test}
20 "alcobar" {with-test}
21 "odoc" {with-doc}
22]
23build: [
24 ["dune" "subst"] {dev}
25 [
26 "dune"
27 "build"
28 "-p"
29 name
30 "-j"
31 jobs
32 "@install"
33 "@runtest" {with-test}
34 "@doc" {with-doc}
35 ]
36]
37dev-repo: "git+https://tangled.org/gazagnaire.org/ocaml-xff"
38url {
39 src:
40 "git+https://tangled.org/gazagnaire.org/ocaml-xff#e9ed0d269c44e6a49b9893b2a099f7e2c90d4b61"
41}
42x-d10-archive:
43 "1e46ff4a93ca741910efe68140ed1ad92b07bb1db1c63f8beaa4c4250eb0032f"
44x-maintenance-intent: ["(latest)"]
45x-oi-source-url: "git+https://tangled.org/gazagnaire.org/ocaml-xff#main"
46x-quality-build: "2026-04-15"
47x-quality-fuzz: "2026-04-15"
48x-quality-test: "2026-04-15"