patrickkasie
Verified User
Dear DirectAdmin forum,
We have an API on a website that uses an excessive amount of connections. The limit for CT_LIMIT = 20. However, because this IP address would get blocked/blacklisted from time to time, I had to put it in the /etc/csf/csf.allow file in order for it to no longer be blacklisted. I don't want to increase the limit for this IP address, I would like to limit its connections through other means so it won't hog the resources on the server.
DirectAdmin, CSF, CentOS7
We have an API on a website that uses an excessive amount of connections. The limit for CT_LIMIT = 20. However, because this IP address would get blocked/blacklisted from time to time, I had to put it in the /etc/csf/csf.allow file in order for it to no longer be blacklisted. I don't want to increase the limit for this IP address, I would like to limit its connections through other means so it won't hog the resources on the server.
Code:
Connection counts:
1 111.108.22.64
1 14.10.134.160
1 143.110.213.54
1 153.246.131.250
1 157.55.39.61
1 17.241.75.151
1 17.241.75.216
1 17.246.19.148
1 176.145.198.120
1 223.17.134.133
1 45.201.229.242
1 45.94.31.47
1 54.226.0.140
1 66.249.74.69
1 77.240.183.231
1 77.95.98.84
1 84.104.100.28
1 84.243.253.203
1 85.208.98.16
1 92.66.73.176
1 95.108.213.106
2 119.25.13.246
2 125.202.108.75
2 126.51.231.131
2 138.197.26.31
2 144.91.106.14
2 185.6.6.50
2 192.168.1.102
2 212.181.223.40
2 2a02
2 5.88.236.6
2 85.208.98.19
2 85.208.98.29
2 87.95.223.88
3 179.43.159.200
3 185.220.101.37
3 2001
3 219.75.73.27
3 44.230.252.91
3 52.167.144.140
3 58.29.250.44
3 62.83.209.66
3 92.66.139.169
3 94.211.167.127
3 95.108.213.225
4 120.253.227.22
4 85.208.98.20
5 5.40.103.162
7 133.6.56.33
8 31.134.203.187
9 127.0.0.1
24 2a01
1012 188.166.201.130
DirectAdmin, CSF, CentOS7