Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-11-2004, 03:14 PM   #1 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default Changing Service Banners


Hello,
I want to change banners of services like Apache, SMTP (Sendmail) and POP3 on my server...

Server is based on Redhat Linux 3 Enterprise...

any ideas about it guys?

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-11-2004, 05:15 PM   #2 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

apache
go to
/src/include/httpd.h and search for:
#define SERVER_BASEVENDOR “Apache Group�
#define SERVER_BASEPRODUCT “Apache�
#define SERVER_BASEREVISION “�
Change this to the desired values (BASEVENDOR: Microsoft, BASEPRODUCT: Microsoft-IIS, BASEREVISION: 5.0). Now re-compile apache.
Next: open your httpd.conf and search for the ServerTokens directive. If it’s not there, add it. Set ServerTokens to Min (“ServerTokens Min�).

Sendmail
edit the ``/etc/sendmail.cf''
find ...
SmtpGreetingMessage=$j Sendmail $v/$Z; $b
change to:
SmtpGreetingMessage=$j Sendmail $v/$Z; $b NO UCE C=xx L=xx

You should replace the ``xx'' in the ``C=xx L=xx'' entries with your country and location codes. The latter change doesn't actually affect anything, but was recommended in the news.admin.net-abuse.email newsgroup as a legal precaution.

POP

If you are using QPopper then may try to edit popper/banner.h
No idea .....

hope this will help you...

__________________
www.aloke.info
firewall is offline  
Old 13-11-2004, 05:39 PM   #3 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

awesome man...
I am gonna give it a shot on monday....

thanks
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 14-11-2004, 01:23 PM   #4 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Quote:
Originally Posted by firewall
If you are using QPopper then may try to edit popper/banner.h No idea .....
Yes... its something like that.... after changing the header file you have to recompile QPopper from source and reinstall... its source code contains proper documentation on doing this thing properly... do read it...
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 14-11-2004, 02:00 PM   #5 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

to be frank if the thing is gonna be recompling the software and then reinstalling then i am not gonna do it...

I will simply call Racpspace.com people to do it coz in anyways they are gonna upgrade the kernel and other stuff on latest version in few days so i will ask them to do this as well..

actualy we had done Penetration Testing for our company server few days back and in that they had given us suggestions to change banners and all so thats the main reason for asking method to change the service banners...

anyways thanks alot for the help
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 14-11-2004, 02:15 PM   #6 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

arrrey nothing like a big compilation or something ... QPopper just needs a # make; make install; make clean; and its done... as far as i remember, QPopper's Daemon Banner is hard coded inside the binary... this is a wrong thing.... it should be there in its config files... And your webhosting provider bears this responsibility .... ask them only to do it...
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 14-11-2004, 02:18 PM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

okay..will tell them to do it...with kernel upgrade

damn they charge $150 for an hour lol

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 14-11-2004, 02:20 PM   #8 (permalink)
FooBar Guy
 
GNUrag's Avatar
 
Join Date: Jun 2004
Location: GNUmbai
Posts: 1,245
Default

Wwwhhhatt???? $150 .... that's something like 6000 Rs.... dont they give ssh access ? i'd love to do an ssh from here right now and do it .... you can pay me just 1000 Rs....
__________________
- --
http://web.gnuer.org
GNUrag is offline  
Old 14-11-2004, 02:25 PM   #9 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

hehe yes its dedicated server only that's why they charge so much...
thing is anyways we are going to tell them to upgrade the kernel so they are going to charge for that so we will ask them to do this along with it...so it's kind of paisa wasool act....we will ask them to do few more things in 1 hr haha...

actually i can also give it a try and update the softwares there but the only thing i am worried is..if i do anything and something goes wrong then things will be stopped....and on our company site we get around 7000+ visitors a day and in festival time approx 9000+ a day so if something goes wrong inbetween then i will be in mess...

so company is ready to pay then why to worry hehe

i have one more question...i will ask in new post...
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 14-11-2004, 06:32 PM   #10 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

@Deep You can contact with me over YIM for a much cheaper price.


__________________
www.aloke.info
firewall is offline  
Old 15-11-2004, 02:38 PM   #11 (permalink)
Guest
 
Posts: n/a
Default

LOL so changing banner will help you? No friend it will just make life harder! if some one run nmap they will dig out info.. oh yah do we have netcraft.com real server need not chage all this protect them at firewall, run only needed service, quality application, upgrade service (as need in your case it is done by IDC ppl) all these contribute more than banner IMPO
 
Old 15-11-2004, 02:42 PM   #12 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

well i know changing banners is not gonna help much but still i prefer changing banners..

and as far as Netcraft and other port scanners are concern i suppose when they query the server/port ports sends them banner so if we change the banner so it will send diff info...

Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 15-11-2004, 03:05 PM   #13 (permalink)
In The Zone
 
firewall's Avatar
 
Join Date: Mar 2004
Location: Kolkata - INDIA
Posts: 301
Default

thats true.. changing a banner may prevent some scriptkiddies .. but if someone really wants to scan... ( may be using nmap..) it will check the service and the relevent ports...

__________________
www.aloke.info
firewall is offline  
Old 16-11-2004, 10:07 AM   #14 (permalink)
Guest
 
Posts: n/a
Default

These days crackers also smart they look for port and not banner .... it was old good idea ... whatever
 
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by trublu
- by soumya
- by Tenida
- by tv6952

Advertisement




All times are GMT +5.5. The time now is 05:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2