Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo tag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Acidgen
n00b
n00b


Joined: 01 Mar 2005
Posts: 12

PostPosted: Wed Apr 20, 2005 6:34 pm    Post subject: Gentoo tag Reply with quote

Hey folks!

Does anyone know a way to change ( or remove )the gentoo tag from apache*? Since i (try to) have security in mind, i dont want people to probe and see what version im running, and yes i know i can change the tcp timestamps to match someother machine. But i just want the gentoo tag to go away. Got Solution? ;)


* by gentoo tag i mean the ; "Apache/2.0.52 (Gentoo/Linux)"

Thank you

-- Acidgen
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Wed Apr 20, 2005 6:56 pm    Post subject: Reply with quote

in httpd.conf (or the correct one)

Code:

ServerTokens ProductOnly
ServerSignature Off


http://httpd.apache.org/docs-2.1/mod/core.html#servertokens
Back to top
View user's profile Send private message
mens
Guru
Guru


Joined: 27 Aug 2003
Posts: 392
Location: Belgium

PostPosted: Wed Apr 20, 2005 7:00 pm    Post subject: Reply with quote

Or you modify the ebuild. Change line 82 of apache-2.0.52-r1.ebuild
Back to top
View user's profile Send private message
Lucky B
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 235
Location: Florida

PostPosted: Wed Apr 20, 2005 7:05 pm    Post subject: Reply with quote

mens wrote:
Or you modify the ebuild. Change line 82 of apache-2.0.52-r1.ebuild


Why would you want to do that when a simple config change will do?

You want to do it every single time you emerge sync?

If you're really paranoid emerge mod_security and mod_chroot
Back to top
View user's profile Send private message
mens
Guru
Guru


Joined: 27 Aug 2003
Posts: 392
Location: Belgium

PostPosted: Wed Apr 20, 2005 7:11 pm    Post subject: Reply with quote

Lucky B wrote:


Why would you want to do that when a simple config change will do?

If you want to change it instead of hide it...
Quote:

You want to do it every single time you emerge sync?

That's why you have portage overlay. I'm not saying one is better than the other. I'm just pointing out another option.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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