89331

89331



Examining the Authentication Credentials with read_auth()

The read_auth () function is triggered when an authentication handshake is initiated by the Client. In

the execution sequence, read_auth () occurs immediately after

read_handshake (), so the server

selection has already been madę, but the connection and authorization information

has not yet been

provided to the backend server.

You can obtain the authentication information by examining the

proxy.connection.client

structure. For morę information, see proxy.connection [1943].

For example, you can print the user name and password supplied during authorization using:

function read_auth()

print(" username : " proxy.connection.client.username) print(" password : " .. string.format proxy.connection.client.scrambled_password)) end

You can interrupt the authentication process within this function and return an error packet back to the

client by constructing a new packet and returning proxy. PROXY_SEND_RESULT:

proxy.response.type - proxy.MYSQLD_PACKET_ERR proxy.respon3e.errmsg - "Logins are not allowed" return proxy.PROXY_SEND_RESULT



Wyszukiwarka

Podobne podstrony:
Static Table Characteristics Static format is the defaultfor MylSAMtables. It is used when the table
DMAxTSELx Operation 0000 A transfer is triggered when the DMAREQ bit is set. The DMAREQ bit is auto
DMAxTSELx Operation 0101 A transfer is triggered when the DAC12_0CTL DAC12IFG flag is set. The DAC1
ape 032 PART II.SECTION I. APPLIED PHYSICAL TRAINING. SYSTEM OK WORK. As the best mcntal work is don
3.2 Sectored antenna Since we are unable to use omni directional antennas with N = 4 in the cities w
f10 11 Ą* Untitled - Map Demo File Help Key 3 is associated with the value Three Key 4 is asso
00169 ?8fdc7697ba8e0e2234fcfe61c09204 170 McWilliams satisfy ^3 = r/0 = T] + T2. In addition to exa
4. Examines the principal characteristics and processes of design disciplines including industrial d
break, after 7 days ~5 % of the total core graphite is oxidized, and T(fuel)-max is about the same a
Instr 4 Step 6: Examine piece A13 carefully. Enigmatic, no? Now examine the assembly illustration (f
skanowanie0014 (47) • The communicative teaching is marked by an atmosphere of using and working wit
File0032 a 1 Read the text and correct the sentences. I 1 Tom Hanks is not very rich. I 2 You ve Got
The optimal combination of less stringent restrictions with supplementary measures which keeps Rt be
Relationship with the water allowed to create harming place the Mili Island which is gaining morę an
Azonositó jel: Fizika angol nyelven — cmclt szintInstructions for the examinee The time allowed for
Study period: both winter and summer terms Level: basie Location: Wrocław Examination: The

więcej podobnych podstron