Inserted into a data line which has to be protected and which connects the network and the server or client computers is an electronic device which is provided with a data medium containing a computer software which contains the program steps [0048] defense against DoS and DDoS attacks (flood attacks) whereas [0049] each IP SYN (IP connection request) is registered and answered with a SYN ACK for