mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-15 05:55:30 +00:00
I've used router_authbasic as a guide to write this. Placeholders exist for an internal ACL scheme. Syntax follows: router = ^/path acces:hosts -- hosts access router using libwrap, works! router = ^/path access:allow,ipaddr -- internal allow, unimplemented router = ^/path access:deny,ipaddr -- internal deny, unimplemented It's just a few hours hacking and I'm not entirely sure how the internal access control will work, but the hosts access stuff works in openbsd. It returns a 403 on denial.
9 lines
111 B
Python
9 lines
111 B
Python
NAME='router_access'
|
|
CFLAGS = []
|
|
LDFLAGS = []
|
|
LIBS = ['-lwrap']
|
|
|
|
REQUIRES = ['']
|
|
|
|
GCC_LIST = ['router_access']
|