Removing version strings from domain and http services?

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Author Message
hanswuascht
DD-WRT Novice


Joined: 28 Jun 2008
Posts: 11

PostPosted: Wed Sep 08, 2010 8:47    Post subject: Removing version strings from domain and http services? Reply with quote
Running a quick nmap scan on the router reveals the version strings "dnsmasq 2.45" and "DD-WRT milli_httpd" for the domain and http service.

I'd like to hide them from the world, do I need to recompile the corresponding packages or is there another way to do this?

Also, is it possible to hide OS, uptime (which nmap guesses right), and hostname?
Sponsor
hanswuascht
DD-WRT Novice


Joined: 28 Jun 2008
Posts: 11

PostPosted: Fri Sep 10, 2010 7:02    Post subject: Reply with quote
So, I googled a lot and as it turns out:

  • It is possible to hide the uptime by turning off TCP timestamps (so nmap cannot extrapolate anything). This can be done by running
    Code:
    echo 0 > /proc/sys/net/ipv4/tcp_timestamps

    As a side effect, nmap now reports the OS as "OpenWrt Kamikaze 8.09 (Linux 2.4.35.4)" (the kernel I use is 2.4.37).

  • There is no easy way to hide your OS as nmap checks some network metrics (amongst other things) to figure it out. I'm definitely not going to fiddle around with those settings.

I still have no idea how to hide the services' version strings (eg. ssh shows up as "Dropbear sshd 0.52 (protocol 2.0)" and if it's possible to hide the router name/hostname. Any ideas?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum