I was looking into the idea of port spoofing, and I came across this GitHub repository. I'm mainly looking to disguise my computer as something else, whereas this program opens every TCP port and emulates a service on it. Could I use something similar to say, only emulate a printer service?

  • 2
    Yes, just pull out the code from the repo and create your own script. Feb 24, 2022 at 2:56

1 Answer 1


"Is it possible to...?" should prompt the inverse question "What is stopping me from ...?"

And in this case: Nothing.

You can set up your system to accept a TCP handshake on every port and perform some sort of printing service, without actually printing anything.

Tools like nmap can't tell whether or not there is really anything printing - only that the program behind acts like printing service.

  • Thank you for clarifying. Is there a method of setting this up you would recommend? I've tried searching for something to work like this but kept ending back to that same repository.
    – sketch54
    Feb 24, 2022 at 19:59
  • @sketch54 tcp-wrappers is a good way to start
    – user163495
    Feb 25, 2022 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .