parent
1d6716e8a2
commit
2907d1942c
1 changed files with 4 additions and 4 deletions
|
@ -262,10 +262,10 @@ def session(connection, client, ip, isssl=False):
|
||||||
return tags + (" " if tags != "" else "")
|
return tags + (" " if tags != "" else "")
|
||||||
try:
|
try:
|
||||||
print("Connected to client IP: {}".format(client))
|
print("Connected to client IP: {}".format(client))
|
||||||
if isssl:
|
#if isssl:
|
||||||
connection.do_handshake()
|
# connection.do_handshake()
|
||||||
tlsver = connection.version()
|
# tlsver = connection.version()
|
||||||
print(f"Got SSL version: {tlsver}")
|
# print(f"Got SSL version: {tlsver}")
|
||||||
connection.settimeout(None)
|
connection.settimeout(None)
|
||||||
connection.sendall(bytes(f":{server} NOTICE * :*** Looking for your hostname...\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} NOTICE * :*** Looking for your hostname...\r\n","UTF-8"))
|
||||||
connection.sendall(bytes(f":{server} NOTICE * :*** Checking your ident...\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} NOTICE * :*** Checking your ident...\r\n","UTF-8"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue