Changeset 175

Show
Ignore:
Timestamp:
02/28/06 01:01:17 (3 years ago)
Author:
zoeloelip
Message:

- Changed the module entry url to eaccelerator.net and year
- Removed the crash function
- Disable the keys, session and content cache by default. These could

result in a local DoS by cache poisioning

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r174 r175  
     12006-02-28  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2 
     3        * Changed the module entry url to eaccelerator.net and year 
     4        * Removed the crash function 
     5        * Disable the keys, session and content cache by default. These could  
     6          result in a local DoS by cache poisioning 
     7 
    182006-02-24  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    29 
  • eaccelerator/trunk/config.m4

    r150 r175  
    1414 
    1515PHP_ARG_ENABLE(eaccelerator, whether to enable eaccelerator support, 
    16 [  --enable-eaccelerator        Enable eaccelerator support]) 
     16[  --enable-eaccelerator                    Enable eaccelerator support]) 
    1717 
    1818AC_ARG_WITH(eaccelerator-crash-detection, 
    19 [  --without-eaccelerator-crash-detection  Do not include eaccelerator crash detection],[ 
     19[  --without-eaccelerator-crash-detection  Do not include eaccelerator crash detection],[ 
    2020  eaccelerator_crash_detection=$withval 
    2121],[ 
     
    2424 
    2525AC_ARG_WITH(eaccelerator-optimizer, 
    26 [  --without-eaccelerator-optimizer        Do not include eaccelerator optimizer],[ 
     26[  --without-eaccelerator-optimizer        Do not include eaccelerator optimizer],[ 
    2727  eaccelerator_optimizer=$withval 
    2828],[ 
     
    3131 
    3232AC_ARG_WITH(eaccelerator-encoder, 
    33 [  --without-eaccelerator-encoder          Do not include eaccelerator encoder],[ 
     33[  --without-eaccelerator-encoder          Do not include eaccelerator encoder],[ 
    3434  eaccelerator_encoder=$withval 
    3535],[ 
     
    3838 
    3939AC_ARG_WITH(eaccelerator-loader, 
    40 [  --without-eaccelerator-loader           Do not include eaccelerator loader],[ 
     40[  --without-eaccelerator-loader            Do not include eaccelerator loader],[ 
    4141  eaccelerator_loader=$withval 
    4242],[ 
     
    4545 
    4646AC_ARG_WITH(eaccelerator-shared-memory, 
    47 [  --without-eaccelerator-shared-memory           Do not include eaccelerator shared memory functions],[ 
     47[  --with-eaccelerator-shared-memory        Include eaccelerator shared memory functions],[ 
    4848  eaccelerator_shm=$withval 
    4949],[ 
    50   eaccelerator_shm=yes 
     50  eaccelerator_shm=no 
    5151]) 
    5252 
    5353AC_ARG_WITH(eaccelerator-webui, 
    54 [  --without-eaccelerator-webui        Do not include the eaccelerator WebUI],[ 
     54[  --without-eaccelerator-webui             Do not include the eaccelerator WebUI],[ 
    5555  eaccelerator_webui=$withval 
    5656],[ 
     
    5959 
    6060AC_ARG_WITH(eaccelerator-sessions, 
    61 [  --without-eaccelerator-sessions         Do not include eaccelerator sessions],[ 
     61[  --with-eaccelerator-sessions             Include eaccelerator sessions],[ 
    6262  eaccelerator_sessions=$withval 
    6363],[ 
    64   eaccelerator_sessions=yes 
     64  eaccelerator_sessions=no 
    6565]) 
    6666 
    6767AC_ARG_WITH(eaccelerator-content-caching, 
    68 [  --without-eaccelerator-content-caching  Do not include eaccelerator content caching],[ 
     68[  --with-eaccelerator-content-caching      Include eaccelerator content caching],[ 
    6969  eaccelerator_content_caching=$withval 
    7070],[ 
    71   eaccelerator_content_caching=yes 
     71  eaccelerator_content_caching=no 
    7272]) 
    7373 
    7474AC_ARG_WITH(eaccelerator-disassembler, 
    75 [  --with-eaccelerator-disassembler        Include disassembler],[ 
     75[  --with-eaccelerator-disassembler        Include disassembler],[ 
    7676  eaccelerator_disassembler=$withval 
    7777],[ 
     
    8080 
    8181AC_ARG_WITH(eaccelerator-use-inode, 
    82 [  --without-eaccelerator-use-inode            Don't use inodes to determine hash keys (never used on win32)],[ 
     82[  --without-eaccelerator-use-inode         Don't use inodes to determine hash keys (never used on win32)],[ 
    8383  eaccelerator_inode=$withval 
    8484],[ 
     
    8787 
    8888AC_ARG_WITH(eaccelerator-debug, 
    89 [  --with-eaccelerator-debug                   Enable the debug code so eaccelerator logs verbose.],[ 
     89[  --with-eaccelerator-debug                Enable the debug code so eaccelerator logs verbose.],[ 
    9090  eaccelerator_debug=$withval 
    9191],[ 
  • eaccelerator/trunk/eaccelerator.c

    r173 r175  
    33   | eAccelerator project                                                 | 
    44   +----------------------------------------------------------------------+ 
    5    | Copyright (c) 2004 - 2005 eAccelerator                               | 
     5   | Copyright (c) 2004 - 2006 eAccelerator                               | 
    66   | http://eaccelerator.net                                                      | 
    77   +----------------------------------------------------------------------+ 
     
    16551655} 
    16561656 
    1657 /* let eaccelerator crash */ 
    1658 #ifdef WITH_EACCELERATOR_CRASH 
    1659 PHP_FUNCTION(eaccelerator_crash) { 
    1660   char *x = NULL; 
    1661   strcpy(x,"Hello"); 
    1662 } 
    1663 #endif 
    1664  
    16651657/******************************************************************************/ 
    16661658/* 
     
    22602252  PHP_FE(eaccelerator_cache_output, NULL) 
    22612253  PHP_FE(eaccelerator_cache_result, NULL) 
    2262 #endif 
    2263 #ifdef WITH_EACCELERATOR_CRASH 
    2264   PHP_FE(eaccelerator_crash, NULL) 
    22652254#endif 
    22662255#ifdef ZEND_ENGINE_2 
     
    25632552  EACCELERATOR_VERSION, 
    25642553  "eAccelerator", 
    2565   "http://eaccelerator.sourceforge.net", 
    2566   "Copyright (c) 2004-2005 eAccelerator", 
     2554  "http://eaccelerator.net", 
     2555  "Copyright (c) 2004-2006 eAccelerator", 
    25672556  eaccelerator_zend_startup, 
    25682557  NULL, 
     
    25922581  EACCELERATOR_VERSION, 
    25932582  "eAccelerator", 
    2594   "http://eaccelerator.sourceforge.net", 
    2595   "Copyright (c) 2004-2004 eAccelerator", 
     2583  "http://eaccelerator.net", 
     2584  "Copyright (c) 2004-2006 eAccelerator", 
    25962585  eaccelerator_zend_startup, 
    25972586  NULL,