Proposal: IP subnet-based access control module

19 views
Skip to first unread message

Nasser Grainawi

unread,
Apr 28, 2026, 1:13:19 PM (13 hours ago) Apr 28
to Repo and Gerrit Discussion
Hi folks,

I (with a lot of AI assistance) created a new Gerrit module that enforces project access based on
source IP/CIDR. This use case has been mentioned in the past ( [AUTH] how make gerrit support restrict login account by iplist) and came up again internally for me, so I decided to see if it would be reasonable to support it. Turns out it wasn't too challenging.

I think the only existing auth module is modules/virtualhost, so there's no existing prefix convention of something like 'access-', but maybe that was an oversight? Any objections to me creating a repo for 'modules/access-ipsubnet'?

Thanks,
Nasser

Luca Milanesio

unread,
Apr 28, 2026, 1:16:40 PM (13 hours ago) Apr 28
to Repo and Gerrit Discussion, Luca Milanesio, Nasser Grainawi
LGTM, thanks for sharing it !

Luca.

Reply all
Reply to author
Forward
0 new messages