readme.access

来自「geektalkd是一个简单的聊天服务器」· ACCESS 代码 · 共 33 行

ACCESS
33
字号
As of geektalkd 1.07/1.18, the server now supports access control lists due topopular demand.There are some sample access lists at the bottom of this document.You specify hosts on Allow and Deny lines.  In order for a host to have access,it must appear in the allow list, but NOT in the deny list.  The default stateis FORBIDDEN.Allow and Deny lines take multiple arguments in any of these forms:all   All hosts are allowed access.A (partial) domain-name   Hosts whose names match, or end in, this string are allowed access.   Note that this compares whole components:      "bar.edu" would NOT match "foobar.edu"A full IP address   An IP address of a host allowed access.A partial IP address   The first 1 to 3 bytes of an IP address, for subnet restriction.SAMPLES:-------------------------------allow from ncsa.uiuc.eduAll hosts (and ONLY those hosts) in the specified domain are allowed access.-------------------------------allow from alldeny from geektalk.org hurrah.comEveryone EXCEPT *.geektalk.org and *.hurrah.com addresses will be allowed.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?