DAP bypass pfsense squid bandwidth throttling



  • i configured Overall bandwidth throttling 100 and per user 20 and its working fine with normal downloads but when  i use DAP software i can bypass the bandwidth throttling… any idea to block it ???



  • if you happened to know DAP's ports # or range you can try throttling based on ports and see how it goes from there. By the way what's DAP can you elaborate what it does?



  • download accelerator plus is software, how can we identify the ports used by the DAP??? when i check the states it shows

    udp  203.219.84.69:51883 <- 10.1.18.3:54476  MULTIPLE:MULTIPLE 
    udp 10.1.18.3:54476 -> 202.88.230.180:46751 -> 203.219.84.69:51883 MULTIPLE:MULTIPLE
    udp 211.32.204.207:42791 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:36771 -> 211.32.204.207:42791 MULTIPLE:MULTIPLE
    udp 216.197.139.64:56141 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:4719 -> 216.197.139.64:56141 MULTIPLE:MULTIPLE
    udp 90.218.14.9:31801 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:58806 -> 90.218.14.9:31801 MULTIPLE:MULTIPLE
    udp 173.206.249.218:40991 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:1683 -> 173.206.249.218:40991 MULTIPLE:MULTIPLE
    udp 184.57.88.152:33846 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:24419 -> 184.57.88.152:33846 MULTIPLE:MULTIPLE
    udp 173.88.253.234:26281 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:10488 -> 173.88.253.234:26281 MULTIPLE:MULTIPLE
    udp 216.188.231.20:51530 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:48297 -> 216.188.231.20:51530 MULTIPLE:MULTIPLE
    udp 216.197.196.220:51331 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:11677 -> 216.197.196.220:51331 MULTIPLE:MULTIPLE
    udp 76.235.26.158:22415 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:15874 -> 76.235.26.158:22415 MULTIPLE:MULTIPLE
    udp 75.13.89.209:47498 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:37277 -> 75.13.89.209:47498 MULTIPLE:MULTIPLE
    udp 99.28.228.245:20667 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:54576 -> 99.28.228.245:20667 MULTIPLE:MULTIPLE
    udp 184.58.218.47:57774 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:32462 -> 184.58.218.47:57774 MULTIPLE:MULTIPLE
    udp 99.224.211.95:20236 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:6496 -> 99.224.211.95:20236 MULTIPLE:MULTIPLE
    udp 70.48.159.112:51403 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:52226 -> 70.48.159.112:51403 MULTIPLE:MULTIPLE
    udp 67.193.113.51:18218 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:3757 -> 67.193.113.51:18218 MULTIPLE:MULTIPLE
    udp 46.116.98.248:31897 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:27424 -> 46.116.98.248:31897 MULTIPLE:MULTIPLE
    udp 142.68.83.169:18549 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:1665 -> 142.68.83.169:18549 MULTIPLE:MULTIPLE
    udp 220.136.33.134:50458 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:34915 -> 220.136.33.134:50458 MULTIPLE:MULTIPLE
    udp 98.92.77.220:26394 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:20547 -> 98.92.77.220:26394 MULTIPLE:MULTIPLE
    udp 94.14.239.46:24327 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:19206 -> 94.14.239.46:24327 MULTIPLE:MULTIPLE
    udp 220.253.222.134:16025 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:58471 -> 220.253.222.134:16025 MULTIPLE:MULTIPLE
    udp 93.96.137.118:29346 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:44234 -> 93.96.137.118:29346 MULTIPLE:MULTIPLE
    udp 174.88.42.49:47467 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:23106 -> 174.88.42.49:47467 MULTIPLE:MULTIPLE
    udp 99.7.192.96:42742 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:49352 -> 99.7.192.96:42742 MULTIPLE:MULTIPLE
    udp 87.223.63.189:28071 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:25311 -> 87.223.63.189:28071 MULTIPLE:MULTIPLE
    udp 86.128.139.53:22122 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:6793 -> 86.128.139.53:22122 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:3733 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:3735 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:3736 ESTABLISHED:FIN_WAIT_2
    udp 204.83.247.102:18099 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:11091 -> 204.83.247.102:18099 MULTIPLE:MULTIPLE
    udp 175.38.171.86:22139 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:35102 -> 175.38.171.86:22139 MULTIPLE:MULTIPLE
    udp 204.83.223.37:56276 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:4697 -> 204.83.223.37:56276 MULTIPLE:MULTIPLE
    udp 96.231.31.174:28204 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:46957 -> 96.231.31.174:28204 MULTIPLE:MULTIPLE
    udp 83.189.185.51:50841 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:8624 -> 83.189.185.51:50841 MULTIPLE:MULTIPLE
    udp 80.216.113.187:22654 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:25145 -> 80.216.113.187:22654 MULTIPLE:MULTIPLE
    udp 174.117.226.126:22752 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:20892 -> 174.117.226.126:22752 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:3984 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:3986 ESTABLISHED:FIN_WAIT_2
    udp 184.56.202.134:35353 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:17334 -> 184.56.202.134:35353 MULTIPLE:MULTIPLE
    udp 118.128.5.47:25711 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:3637 -> 118.128.5.47:25711 MULTIPLE:MULTIPLE
    udp 109.240.58.130:41978 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:10949 -> 109.240.58.130:41978 MULTIPLE:MULTIPLE
    udp 198.53.181.181:43879 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:1817 -> 198.53.181.181:43879 MULTIPLE:MULTIPLE
    udp 188.24.20.251:53256 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:5616 -> 188.24.20.251:53256 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:4122 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4124 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4126 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4127 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4133 FIN_WAIT_2:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4135 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4137 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4138 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4139 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4140 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4142 ESTABLISHED:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4148 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4153 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4156 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4157 ESTABLISHED:ESTABLISHED
    tcp 10.1.1.17:8080 <- 10.1.18.3:4158 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4159 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4161 FIN_WAIT_2:FIN_WAIT_2
    tcp 10.1.1.17:8080 <- 10.1.18.3:4162 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4163 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4164 TIME_WAIT:TIME_WAIT
    udp 174.3.226.90:27648 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:18246 -> 174.3.226.90:27648 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:4165 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4166 ESTABLISHED:ESTABLISHED
    tcp 10.1.1.17:8080 <- 10.1.18.3:4167 ESTABLISHED:ESTABLISHED
    tcp 10.1.1.17:8080 <- 10.1.18.3:4168 ESTABLISHED:ESTABLISHED
    tcp 10.1.1.17:8080 <- 10.1.18.3:4172 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4173 TIME_WAIT:TIME_WAIT
    tcp 10.1.1.17:8080 <- 10.1.18.3:4174 FIN_WAIT_2:FIN_WAIT_2
    udp 110.174.146.231:18196 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:7707 -> 110.174.146.231:18196 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:4175 TIME_WAIT:TIME_WAIT
    udp 122.106.28.229:59590 <- 10.1.18.3:54476 NO_TRAFFIC:SINGLE
    udp 10.1.18.3:54476 -> 202.88.230.180:60422 -> 122.106.28.229:59590 SINGLE:NO_TRAFFIC
    tcp 10.1.1.17:8080 <- 10.1.18.3:4180 TIME_WAIT:TIME_WAIT
    udp 99.240.251.237:18136 <- 10.1.18.3:54476 MULTIPLE:MULTIPLE
    udp 10.1.18.3:54476 -> 202.88.230.180:13694 -> 99.240.251.237:18136 MULTIPLE:MULTIPLE
    tcp 10.1.1.17:8080 <- 10.1.18.3:4181 TIME_WAIT:TIME_WAIT
    tcp 130.158.6.56:80 <- 10.1.18.3:4183 CLOSED:SYN_SENT
    tcp 10.1.18.3:4183 -> 202.88.230.180:7413 -> 130.158.6.56:80 SYN_SENT:CLOSED
    tcp 130.158.6.56:80 <- 10.1.18.3:4186 CLOSED:SYN_SENT
    tcp 10.1.18.3:4186 -> 202.88.230.180:30391 -> 130.158.6.56:80 SYN_SENT:CLOSED
    tcp 130.158.6.56:80 <- 10.1.18.3:4190 CLOSED:SYN_SENT
    tcp 10.1.18.3:4190 -> 202.88.230.180:46746 -> 130.158.6.56:80 SYN_SENT:CLOSED
    udp 202.88.238.3:53 <- 10.1.18.3:2635 MULTIPLE:MULTIPLE
    udp 10.1.18.3:2635 -> 202.88.230.180:41421 -> 202.88.238.3:53 MULTIPLE:MULTIPLE
    udp 95.211.88.51:80 <- 10.1.18.3:54476 NO_TRAFFIC:SINGLE
    udp 10.1.18.3:54476 -> 202.88.230.180:51750 -> 95.211.88.51:80 SINGLE:NO_TRAFFIC
    tcp 130.158.6.56:80 <- 10.1.18.3:4193 CLOSED:SYN_SENT
    tcp 10.1.18.3:4193 -> 202.88.230.180:57250 -> 130.158.6.56:80 SYN_SENT:CLOSED



  • Squid only throttle http requests made thru either transparent port 80 or 3128, seem like DAP is using non-standard ports which explain why it was able bypassing squid's throttling.



  • when i checked again thru squid only then the states are like,
    tcp    10.1.1.17:8080 <- 10.1.18.3:4122    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4124    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4126    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4127    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4133    FIN_WAIT_2:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4135    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4137    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4138    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4139    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4140    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4142    ESTABLISHED:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4148    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4153    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4156    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4157    ESTABLISHED:ESTABLISHED   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4158    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4159    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4161    FIN_WAIT_2:FIN_WAIT_2   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4162    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4163    TIME_WAIT:TIME_WAIT   
    tcp    10.1.1.17:8080 <- 10.1.18.3:4164    TIME_WAIT:TIME_WAIT

    i think dap creating multiple connections for a single download in the downloading window of DAP it showing 4 connections, is thr any method to limit connections?


Locked