[TYPO3-core] RFC: allow access from private nets

Karsten Dambekalns karsten at typo3.org
Wed Jun 21 10:15:00 CEST 2006


Hi.

On Thursday 20 April 2006 10:48, Martin Kutschker wrote:
> The code in typo3/install/index.php checks if the access comes from
> localhost (127.0.0.1) or from the private net class C (192.168.0.0).
 ...
> Solution add this to the check:
>
> substr($_SERVER['REMOTE_ADDR'],0,3)!='10.' &&
> substr($_SERVER['REMOTE_ADDR'],0,7)!='172.16.'

And what about IPv6? This is true for other places as well. Ah, life was 
better in the old days...

Karsten
-- 
fishfarm netsolutions - Karsten Dambekalns
Hamburger Straße 273 B - 38114 Braunschweig

Tel. +49 531 1232902  k.dambekalns at fishfarm.de
Fax. +49 531 1232906  http://www.fishfarm.de/
-----------------------------------------------

-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060621/c2ca5515/attachment.pgp 


More information about the TYPO3-team-core mailing list