I have a Linux machine connected to a Windows 98 PC on port 104. Now I want to block the OS fingerprinting using nmap for the windows 98 PC. I tried using iptables (blocking that particular port) but that stops the communication altogether on the port. Is there some other solution to this so as to block only the OS fingerprinting and not the communication using nmap or any other tool?
OS fingerprinting also detects OS depending implementation specifics in network responses. A simply port block will not work. For these specific topic an application proxy with a different OS could make your Windows PC invisible.