Operating Systems > Linux and UNIX
Netcraft - Web Server Signatures help
Master of Reality:
this all isnt really giving you anymore security though.. quite amusing however. That supercomputer running some crapass webserver would be quite humourous. I want to change mine so it looks like a C64 running apache. Of course people have run apache on C64 but it cant handle more than a few requests and is slow as hell.
preacher:
Here are the results of rpm -qa | grep -i apache
apache-conf-1.3.26-3mdk
apache-1.3.26-6.1mdk
apache-modules-1.3.26-6.1mdk
apache-mod_perl-1.3.26_1.27-7mdk
apache-common-1.3.26-6.1mdk
The exact version of Mandrake I use is Mandrake Linux 9.0 2.4.19-16mdk i686
voidmain:
quote:Originally posted by The Master of Reality / B0B:
this all isnt really giving you anymore security though.. quite amusing however. That supercomputer running some crapass webserver would be quite humourous. I want to change mine so it looks like a C64 running apache. Of course people have run apache on C64 but it cant handle more than a few requests and is slow as hell.
--- End quote ---
You are correct that it doesn't make your system any more secure, however added obscurity can not hurt. If your server has holes it really doesn't matter much. The obscurity can throw a few would be kiddies off the trail (or attract more, either way I don't care, just wanted to do it).
voidmain:
quote:Originally posted by ThePreacher:
Here are the results of rpm -qa | grep -i apache
apache-conf-1.3.26-3mdk
apache-1.3.26-6.1mdk
apache-modules-1.3.26-6.1mdk
apache-mod_perl-1.3.26_1.27-7mdk
apache-common-1.3.26-6.1mdk
The exact version of Mandrake I use is Mandrake Linux 9.0 2.4.19-16mdk i686
--- End quote ---
Ok, this one should be quite easy. First let me say that I am not sure of the Mandrake RPM build tree. In Red Hat it's /usr/src/redhat/*, I believe in Mandrake it is /usr/src/RPM/*. If this is not so it will be something similar. Here we go:
First download the SRC RPM and install it:
# wget ftp://csociety-ftp.ecn.purdue.edu/pub/Mandrake/updates/9.0/SRPMS/apache-1.3.26-6.1mdk.src.rpm
# rpm -i apache-1.3.26-6.1mdk.src.rpm
Now let's hack:
# cd /usr/src/RPM/SOURCES
# bunzip2 apache-1.3.26-baseversion.patch.bz2
Edit the "apache-1.3.26-baseversion.patch" file (I suggest vim ) and change the line that looks like this:
--- Code: ---
--- End code ---
to something like:
--- Code: ---
--- End code ---
Now bzip2 it back up:
# bzip2 apache-1.3.26-baseversion.patch
and build the binary RPM by:
# cd ../SPECS
# rpmbuild -bb apache.spec
If everything goes according to plan you should have binary RPMs for Apache somewhere under "/usr/src/RPM/RPMS/*
You should only have to install the base server since all the versions of the other RPMS will be exact. Since the same version is already installed you may have to force it:
# rpm -Uvh apache-1.3.26-6.1mdk.i586.rpm --force --nodeps
Now restart the Apache service. No sweat right?
P.S. If this works for you without much modification (let me know if something is incorrect) maybe I will start a Mandrake tips page with this as the first entry.
P.S.S. This also assumes you have development packages installed (gcc, make etc) and the rpm developement packages installed (rpm-build, etc) which I am not sure if Mandrake 9.0 does by default. And I am not 100% sure if all of the ones I mentioned are necessary and if more than what I mention are necessary, I would have to look that up. The easiest way to tell if something is missing is to just try the instructions. If there is an error about something not found then you need to install something else.
[ December 04, 2002: Message edited by: void main ]
preacher:
Dont worry I have all the development packages installed. Ill update you on this tommorrow seeing as how I soon have to go to work.
By the way Id like to reprint this tutorial on my website with your permission and giving you the proper credit of course.
[ December 04, 2002: Message edited by: ThePreacher ]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version