Network makes hba match connection attempts from a block of IP addresses in CIDR notation.
(block string)
| 143 | |
| 144 | // Network makes hba match connection attempts from a block of IP addresses in CIDR notation. |
| 145 | func (hba *HostBasedAuthentication) Network(block string) *HostBasedAuthentication { |
| 146 | hba.address = hba.quote(block) |
| 147 | return hba |
| 148 | } |
| 149 | |
| 150 | // NoSSL makes hba match connection attempts made over TCP/IP without SSL. |
| 151 | func (hba *HostBasedAuthentication) NoSSL() *HostBasedAuthentication { |