subject

) You are concerned about the possibility of DoS attacks against your web server program. You have
developed a new module for your web server that you feel will prevent DoS attacks by slowing them
down. Your proposal is as follows: every incoming HTTP request is put into a queue, with a timestamp
and a “delayed” bit marked as false. When it is ready to serve a request, the web server takes the first
request in the queue. If the “delayed” bit is false and there are no other requests from the same IP
address in the queue, it serves the request immediately. If the “delayed” bit is false and there is at least
one other request from the same IP address in the queue, the “delayed” bit is set to true and the
request is re-inserted at the end of the queue. If the delayed bit is set to “true,” then the request is
served if the current time is at least 1 second greater than the requested timestamp, otherwise the
request is sent to the end of the queue again. Your idea is that this will allow the site to deal with
requests from legitimate users in preference to DoS attack requests.
a) Will this scheme work to prevent a DoS attack from making your web server unusable by normal
users? Give a detailed explanation.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
Write a program that asks the user to enter the name of an input file. if the file does not exist, the program should prompt the user to enter the file name again. if the user types quit in any uppercase/lowercase combinations, then the program should exit without any further output.
Answers: 3
question
Computers and Technology, 24.06.2019 09:00
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
Which spreadsheet operation does a look function perform?
Answers: 1
You know the right answer?
) You are concerned about the possibility of DoS attacks against your web server program. You have
Questions
question
Geography, 25.08.2019 20:20
question
Mathematics, 25.08.2019 20:20
Questions on the website: 13722363