Toon posts:

apache enkel zichtbaar voor zelfde ISP gebruikers ?

Pagina: 1
Acties:
  • 147 views sinds 30-01-2008
  • Reageer

Verwijderd

Topicstarter
Hallo,

ik heb hier een website draaiende op het belgische breedband net
"Telenet", wij hebben een Pro Abonnement ( met static IP )

enigste wat we extra gedaan hebben is inkomende 8080 in onze router
naar port 80 gezet !

nu het probleem is alsvolgt
als ik surf intern ( alles oké ) 172.0.0.1
surf ik op netwerk ( alles oké ) 192.x.x.x
surf ik vanaf het pandora netwerk naar onze server ( alles oké ) 81.82.x.x
surf ik vanaf een ander netwerk ( dan krijg ik page not found ! )

iemand enig idee aan wat dit kan liggen ?
ik gebruik http://ip:port ( om dit te testen ! )


Mijn Configuratie File ( stand. gewoon opgekuist ! ) onder RH9.0
Apaché versie 2.x
ServerTokens OS
ServerRoot "/etc/httpd"
#ScoreBoardFile run/httpd.scoreboard
PidFile run/httpd.pid

Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 1000
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
</IfModule>

# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#Listen 12.34.56.78:80
Listen 8080

Include conf.d/*.conf

LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

<IfModule prefork.c>
LoadModule cgi_module modules/mod_cgi.so
</IfModule>

<IfModule worker.c>
LoadModule cgid_module modules/mod_cgid.so
</IfModule>

#ExtendedStatus On

User apache
Group apache

#eventjes gecensureerd#
ServerAdmin tom@non-of-your-consern.be

#eventjes gecensureerd#
ServerName WANIP:8080
UseCanonicalName Off

DocumentRoot "/var/www/html"


<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<LocationMatch "^/$>
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>

<IfModule mod_userdir.c>
UserDir disable
#UserDir public_html
</IfModule>

#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>

DirectoryIndex index.html index.html.var index.htm index.php
AccessFileName .htaccess

<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

TypesConfig /etc/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
# MIMEMagicFile /usr/share/magic.mime
MIMEMagicFile conf/magic
</IfModule>

HostnameLookups Off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog logs/access_log combined

#CustomLog logs/referer_log referer
#CustomLog logs/agent_log agent
#CustomLog logs/access_log combined
ServerSignature On

Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /manual "/var/www/manual"
<Directory "/var/www/manual">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
</IfModule>

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
Scriptsock run/httpd.cgid
</IfModule>

<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
IndexOptions FancyIndexing VersionSort NameWidth=*
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz

ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

# DefaultLanguage nl
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage he .he
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage kr .kr
AddLanguage pt .pt
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddLanguage zh-tw .tw
AddLanguage hr .hr

LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ltz ca es sv tw
ForceLanguagePriority Prefer Fallback
AddDefaultCharset ISO-8859-1

AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8

AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis

AddType application/x-tar .tgz

#AddHandler cgi-script .cgi
#AddHandler send-as-is asis
AddHandler imap-file map
AddHandler type-map var
AddOutputFilter INCLUDES .shtml

#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html

# Alias /error/include/ "/your/include/path/"
Alias /error/ "/var/www/error/"

<IfModule mod_negotiation.c>
<IfModule mod_include.c>
<Directory "/var/www/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>

ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

</IfModule>
</IfModule>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully

#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>

#<Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Location>

#<IfModule mod_proxy.c>
#ProxyRequests On
#
#<Proxy *>
# Order deny,allow
# Deny from all
# Allow from .your-domain.com
#</Proxy>

#ProxyVia On

#CacheRoot "/etc/httpd/proxy"
#CacheSize 5
#CacheGcInterval 4
#CacheMaxExpire 24
#CacheLastModifiedFactor 0.1
#CacheDefaultExpire 1
#NoCache a-domain.com another-domain.edu joes.garage-sale.com

#</IfModule>
# End of proxy directives.

#NameVirtualHost *
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

  • MikeN
  • Registratie: April 2001
  • Laatst online: 20:02
Dat heeft imho _niets_ met je apache config te maken. Waarschijnlijk blokkeert je provider inkomend verkeer op 1 of meerdere poorten. Het zou goed kunnen dat ze poort 8080 blokkeren omdat 8080 nogal vaak misbruikt kan worden voor open proxies etc.

Verwijderd

Topicstarter
Oh. ( enig idee hoe ik erachter kan komen wat ze zoal blokken en wat openstaat ? )
alvast bedankt voor het snelle antwoord :-)

  • MikeN
  • Registratie: April 2001
  • Laatst online: 20:02
Dat is deels een kwestie van ervaring (zijn er hier meer Telenet gebruikers in de zaal? :P) en een kwestie van gewoon uitproberen.

  • Animal
  • Registratie: Maart 2002
  • Laatst online: 24-04 13:36
Probeer je wel met je externe ip adres?

  • imdos
  • Registratie: Maart 2000
  • Laatst online: 14:00

imdos

I use FreeNAS and Ubuntu

Je provider e-mailen :? of vanaf een of andere scan-service een portscan laten doen

pvoutput. Waarom makkelijk doen, als het ook moeilijk kan! Every solution has a new problem


Verwijderd

ik heb er aan gedacht telenet te gaan aanvragen (als toekomstig inwoner van belgie :P) maar heb toch voor adsl gekozen omdat telenet zoveel poorten blokkeert, waaronder ook 8080 dacht ik :( probeer eens een andere poort uit om het te testen

Verwijderd

Topicstarter
Animal, ja ik gebruik mijn extern ip :-)
hmmm damn, dus met telenet enkel maar problemen dus, voor webserv te draaien
iemand goeie alternative providers ? ( misschien met geen limiet ofzo ? in Belgie - ADSL ? )
en zoja , in welke prijsklasse zit ik dan ( moet niet persé met static ip zijn, dat passen bij hier wel aan :-)

  • Apache
  • Registratie: Juli 2000
  • Laatst online: 03-05 14:38

Apache

amateur software devver

telenet gebruiker hier, probeer eens gewoon Apache letterlijk te laten luisteren op 8080

afaik blokt telenet alles tem 1024 maar daarboven niets. Voor de rest heb ik gewoon alles dubbel draaien, ssh op 22 en 2200, ftp op 21 en 2100, web op 80 en 4000, waste op 1337 en tot nu toe nog geen problemen gehad.

o.a. m'n icoon wordt op m'n eigen server gehost en geen problemen mee.

If it ain't broken it doesn't have enough features


  • Guru Evi
  • Registratie: Januari 2003
  • Laatst online: 17-04 13:12
In belgie enkel UPC of Chello (in het Brusselse) ADSL is te crappy in Belgie (uit ervaring)
Telenet blokkeert net als (vele) providers poorten <1024 en 8080 en zo'n dingen als BO of Netbus.
Een van mijn webservers draait ook onder Telenet (poort 3080)

Pandora FMS - Open Source Monitoring - pandorafms.org


  • Tomsworld
  • Registratie: Maart 2001
  • Niet online

Tomsworld

officieel ele fan :*

Guru Evi schreef op 07 augustus 2003 @ 20:21:
In belgie enkel UPC of Chello (in het Brusselse) ADSL is te crappy in Belgie (uit ervaring)
Telenet blokkeert net als (vele) providers poorten <1024 en 8080 en zo'n dingen als BO of Netbus.
Een van mijn webservers draait ook onder Telenet (poort 3080)
Adsl is wel aardig in belgië je moet ni zo kort door de bocht gaan.

Maar 8080 zou ook op de filter list gezet zijn, al heb ik daar nog nergens bevestiging van gezien gewoon 10080 ofzo proberen.

8080 is een poort die heel vaak voor proxy 's gebruikt wordt, en telenet zal wel weer es een beperking opgelegd hebben om hun domme users te beschermen die een open proxy zouden draaien.

Van telenet naar telenet gebruiker kan je ook op poort 80 bekijken, die poorten worden geblockt op de border routers dus enkel voor mensen die van buitenaf komen.

"De kans dat een snee brood op een nieuw tapijt valt met de beboterde zijde onderaan, is recht evenredig met de prijs van het tapijt"


  • Z-Dragon
  • Registratie: December 2002
  • Laatst online: 02-05 03:47
* Z-Dragon waagt maar een gokje hoor, maar moet je listen to: 8080 niet op 80 zetten? Extern is het wél 8080, maar zodra het door de router is geweest is het 80. Voor Apache is het dan toch poort 80?

Newbee oplossing ;)

[ Voor 5% gewijzigd door Z-Dragon op 08-08-2003 11:10 . Reden: typ0 ]

^ Wat hij zegt.


  • Tha_Butcha
  • Registratie: November 2000
  • Laatst online: 15-04 11:50
Z-dragon heeft gelijk.

- OF laat je router 8080 ontvangen die door-routeert naar 80, maar laat dan wel Apache op poort 80 zetten.
- OF laat je router 8080 ontvangen die door-routeert naar 8080, maar laat dan wel Apache op poort 8080 zetten.

nou klopt je config niet.

Compromises are for the weak


  • Vorkie
  • Registratie: September 2001
  • Niet online
Tha_Butcha schreef op 08 August 2003 @ 18:12:
Z-dragon heeft gelijk.

- OF laat je router 8080 ontvangen die door-routeert naar 80, maar laat dan wel Apache op poort 80 zetten.
- OF laat je router 8080 ontvangen die door-routeert naar 8080, maar laat dan wel Apache op poort 8080 zetten.

nou klopt je config niet.
links uit de bocht modus

Hoe kan die dan wel bij andere telenet gebruikers bij hem op de webserver komen...

  • Tha_Butcha
  • Registratie: November 2000
  • Laatst online: 15-04 11:50
daar heb je op zich wel een punt, maar zijn config stond sowieso verkeerd, dus dat was meer de melding.

en daarbij, hij gebruikt 2.0. Kan die beter niet doen, beter de 1.3 versie (latest secure is geloof ik 1.3.26?)

Compromises are for the weak

Pagina: 1