Depuis de nombreux mois, j'ai installé un serveur web sur ma machine perso. Mais j'ai remarqué aussi que le site est souvent down suite à te très nombreuses connexions intempestives.
Voici un extrait de ma access_log
- Code: Tout sélectionner
220.113.1.42 - - [30/Apr/2006:13:12:47 +0200] "GET http://a248.e.akamai.net/7/800/1128/1135271687/network.realmedia.com/RealMedia/ads/Creatives/OasDefault/DEF2002020001_29_NewOrleans_INTL/NewOrleans300x250.gif HTTP/1.0" 200 16885 "http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/zonsoft/300x250/ron/tchentgms/ss/%22%20+%20a4eHTM+%20%22?\"+uniqueA4EIdForTag2+destObj.Version+innerTempTopLayerAdURL+\"a4eflag&fn=\"+eval(" "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)"8.2.119.135 - - [30/Apr/2006:13:12:52 +0200] "GET http://www.google.com/search?num=100&hl=en&lr=&c2coff=1&q=Montero+photos&btnG=Search HTTP/1.1" 406 434 "http://www.google.com" "-"
222.129.216.123 - - [30/Apr/2006:13:12:50 +0200] "GET http://a248.e.akamai.net/7/800/1128/1144330079/network.realmedia.com/RealMedia/ads/Creatives/OasDefault/DEF2002020001_06_HOUSE_CITYKIDS/citykids_728x90.gif HTTP/1.0" 200 9915 "http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/news2it/728x90/ron/tchnws/ss/a@Top1" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
220.231.44.207 - - [30/Apr/2006:13:12:49 +0200] "GET http://www.actnowendbreastcancer.org/ HTTP/1.0" 302 335 "http://www.autoplans.net" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
220.231.44.217 - - [30/Apr/2006:13:12:50 +0200] "GET http://ad.yieldmanager.com/imp?z=0&s=7024&y=28 HTTP/1.0" 302 - "http://www.arroundmedia.com/index.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
219.233.2.64 - - [30/Apr/2006:13:12:50 +0200] "GET http://www.nickelsbyemail.com/affiliate/affiliate8.gif HTTP/1.1" 200 9621 "http://www.autohits247.com" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)"
221.219.141.208 - - [30/Apr/2006:13:12:49 +0200] "GET http://web.adknowledge.com/js/showAd.js?adkBref=http%3A//network.realmedia.com/RealMedia/ads/adstream_sx.ads/medbroadcast/300x250/ron/hlt/ss/%27%2520+%2520iSRC%2520+%2520%27&AWID=728&AHGT=90&pubID=247media&ran=wuJLXGiWE1pbxKy7 HTTP/1.0" 200 5626 "http://network.realmedia.com/RealMedia/ads/adstream_sx.ads/medbroadcast/300x250/ron/hlt/ss/'%20+%20iSRC%20+%20'" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
82.40.26.221 - - [30/Apr/2006:13:12:47 +0200] "GET http://www.revenuepilot.com/terms.html HTTP/1.0" 200 26992 "http://www.revenuepilot.com/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
220.231.44.207 - - [30/Apr/2006:13:12:51 +0200] "GET http://network.realmedia.com/RealMedia/ads/adstream_jx.ads/autoplans/728x90/ron/autmen/ss/a@Top1 HTTP/1.0" 200 478 "http://www.autoplans.net" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
72.232.111.82 - - [30/Apr/2006:13:12:50 +0200] "GET http://elitestockings.com/cj_out.php HTTP/1.0" 302 - "http://elitestockings.com/?easyvids.com" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;)"
172.142.131.254 - - [30/Apr/2006:13:12:50 +0200] "HEAD http://www.sun.com/ HTTP/1.0" 200 - "-" "Mozilla/5.0 ( Windows; U; Windows XP; NetCaptor )"
72.197.144.195 - - [30/Apr/2006:13:12:50 +0200] "GET http://members.girlsgonewild.com/ HTTP/1.0" 200 318 "http://members.girlsgonewild.com" "Mozilla/5.0 ( Windows; U; Windows NT5.0; ezn IE )"
66.246.218.214 - - [30/Apr/2006:13:12:51 +0200] "CONNECT www.gamegrene.com:80 HTTP/1.0" 403 304 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
61.129.117.5 - - [30/Apr/2006:13:12:51 +0200] "GET http://www.ispcheck.com.pk/adsense/c/adclick.php?adv=1001&camp_id=209&rank=1000000.00025&CH=1&UIP=82.245.193.202.FR.001&tmotwt=|no@0.800&loc_id=&ch=001&pub=2129&xml_ver=310A_271C800&offset=0&c_id=867e6cff9f80afc2b56d63ad7c5a1edb&cnty=FR&rgn=&keyd=&zn=001&rnum=1&rnum_tot=3&page_referred= HTTP/1.1" 302 - "http://www.esearchall.com/" "Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.2)"
220.231.44.100 - - [30/Apr/2006:13:12:51 +0200] "GET http://static.clicktorrent.info/pasbanner.php?campid=20&bannerid=3&collid=1&affid=p196827.subbannercon&referrer=http%3A//www.gaminghormone.com/120x600place.shtml HTTP/1.0" 200 3083 "http://ad.yieldmanager.com/imp?z=1&Z=120x600&s=39657&t=3&m=2&u=http%3A%2F%2Fwww.gaminghormone.com%2F120x600place.shtml&r=1" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
220.231.44.221 - - [30/Apr/2006:13:12:49 +0200] "GET http://a248.e.akamai.net/7/800/1128/1116354393/network.realmedia.com/RealMedia/ads/Creatives/OasDefault/DEF2002020001_06_HOUSE_CITYKIDS/citykids_160x600.gif HTTP/1.0" 200 15098 "http://www.arroundmedia.com/ds_divider_balls_dividers_variant_page_balls1.html" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
66.55.130.18 - - [30/Apr/2006:13:12:44 +0200] "POST http://nwa.jokealot.net/guestbook.php?do=add_form HTTP/1.1" 200 14143 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
Donc je me suis dis rajoute un ipcop pour résoudre ce problème. Ce que j'ai fais.
Après avoir installé ipcop en RED+GREEN, j'ai fais un transfert de port sur le 80 afin d'ouvrir l'accès au serveur.
Au pasage : que je soit chez moi ou de l'extérieur l'accès marche (je dis ça car j'ai vu que l'accès n'été pas possible dans le reséau green)
J'ai ensuite rajouté su le serveur apache le mod_security, il marche mais ceux n'est pas encore ça.
Ma question est donc comment faire ?? j'ai vu très peu de mod pour l'interface RED donc je ne sais plus trop où fouiller...
J'attend vos conseils et remarques avec impatiences. Merci