0

If I see port 25 is open, but I dont have access to the program running the smtp server, could It be flooded with enough information to make it unusable (but not affect any other services)?

November
  • 505
  • 1
  • 5
  • 12

3 Answers3

9

You could make the program behind the port unusable. If the given program handles the DoS so badly that it actually fully crashes and thus dies, the program will give up the port, and the OS will reclaim it after a moment or two. After that, it's available for use for any application running on the machine. Assuming it has the right priviledge to use that port and so forth.

Louis
  • 266
  • 1
  • 3
2

Opened or Listening Port means a service working and listening to this port(s) in order to do something.

Like Web server, it's listening on port 80 which mean a particular service listens to this port

to stop the port you have to stop the service it self. You can stop the service by kill its process or Attack it by DoS (if it's vulnerable) or DDoS by flooding this service.

KING SABRI
  • 675
  • 1
  • 5
  • 6
  • If you DoS attack the daemon listening on that port, you won't close it properly, unless the daemon actually dies rather than freezes. If I'm not mistaken the TCP handshake has occurred before the daemon gets a chance to accept the connection, meaning that a client will be able to connect to that port. To the client it will appear that the daemon is up but not responding to any requests. If I am mistaken about when the TCP handshake occurs then it will appear as if the port has been filtered. In neither case is it actually "closed". – Oskar Skog Jan 15 '17 at 16:15
1

I asked this question without a good understanding of ports, however, I now do.

A port is not a fixed bandwidth like a usb plug or cat5 connection, just a way to tell the kernel what application is to be reached.

It is therefor not possible to flood a specific port and prevent access to only that port in the way ddos does to an entire server

November
  • 505
  • 1
  • 5
  • 12