OnIncomingConnection callback
#1

Hello

Well I know, this most likely will be ingored or is already talked about this, but I will try.

Could it be possible to make extra callback to control all incoming.

After such log:
Код:
....
[22:56:42] Incoming connection: 2.96.137.41:59112
[22:56:43] Incoming connection: 92.234.171.4:63558
[22:56:43] Incoming connection: 109.65.117.215:4630
[22:56:43] Incoming connection: 82.114.83.81:60503
[22:56:43] Incoming connection: 109.186.99.145:4385
[22:56:43] Incoming connection: 46.10.19.18:62311
[22:56:44] Incoming connection: 83.227.46.37:63522
[22:56:44] Incoming connection: 2.96.137.41:60324
[22:56:44] Incoming connection: 90.203.219.93:62447
[22:56:44] Incoming connection: 86.18.219.224:63216
[22:56:44] Incoming connection: 92.235.74.138:63358
[22:56:44] Incoming connection: 93.87.141.138:16321
[22:56:45] Incoming connection: 46.10.19.18:57201
[22:56:45] Incoming connection: 92.234.171.4:63559
[22:56:45] Incoming connection: 82.114.83.81:60504
[22:56:46] Incoming connection: 82.47.71.146:56728
[22:56:46] Incoming connection: 109.76.13.61:62198
[22:56:46] Incoming connection: 109.189.220.149:50083
[22:56:46] Incoming connection: 86.18.219.224:63217
[22:56:46] Incoming connection: 92.235.74.138:63359
[22:56:46] Incoming connection: 90.203.219.93:62448
[22:56:46] Incoming connection: 213.107.145.15:2436
[22:56:46] Incoming connection: 93.87.141.138:16322
[22:56:46] Incoming connection: 82.114.83.81:60505
[22:56:47] Incoming connection: 109.189.220.149:50084
[22:56:47] Incoming connection: 94.190.193.17:55182
[22:56:47] Incoming connection: 93.87.141.138:16323
[22:56:47] Incoming connection: 86.18.219.224:63218
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
[23:06:28] Packet was modified, sent by id: 4, ip: 84.202.114.5:55603
..........
I came across a question, once samp server can log such IPs, why we cant decide what to do with them.
If samp server could let us receive these IPs, we could use HTTP or even some smarter functions to send that IP to Firewall ( on VPS for example )

Or

that in server.cfg you can adjust how many connections per IP is allowed.


Thank you
ikey07
Reply
#2

Agreed that this should be added
Reply
#3

You can always create a script in another language to read through the server log for you and firewall any excess connections.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)