SameNetwork makes hba match connection attempts from IP addresses in any subnet to which the server is directly connected.
()
| 171 | // SameNetwork makes hba match connection attempts from IP addresses in any |
| 172 | // subnet to which the server is directly connected. |
| 173 | func (hba *HostBasedAuthentication) SameNetwork() *HostBasedAuthentication { |
| 174 | hba.address = "samenet" |
| 175 | return hba |
| 176 | } |
| 177 | |
| 178 | // TLS makes hba match connection attempts made using TCP/IP with TLS. |
| 179 | func (hba *HostBasedAuthentication) TLS() *HostBasedAuthentication { |
no outgoing calls