APF is really no good at fighting dDos'es (it is conveniant for brute force attacks though). The problem with dDos is, that it saturates the uplink (not with a 40 Mbps, but that is not what causes the problems).
The only thing you can do, is avoid any risk factors and communicate with your isp, so they can blackhole/nullroute the problem.