Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Temas - manyblue

#1
[phpBB Debug] PHP Notice: in file /index.php on line 86: date() [[URL="http://manyblue.homeunix.com/phpBB3/function.date"]function.date[/URL]]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for 'WET/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [[URL="http://manyblue.homeunix.com/phpBB3/function.getdate"]function.getdate[/URL]]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for 'WET/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)


PHPBB3

problemas de escritura en archivos

/usr/local/www/apache22/data/Opencart/store/config.php
/usr/local/www/apache22/data/Opencart/store/admin/config.php


Le dais permisos chmor 777 (archivo/directorio)  o  chmod ugo+rwr (archivo/directorioo)

problemas de escritura en directorios

/usr/local/www/apache22/data/phpBB3/cache/
/usr/local/www/apache22/data/phpBB3/download/
/usr/local/www/apache22/data/phpBB3/files/
/usr/local/www/apache22/data/phpBB3/cache/
/usr/local/www/apache22/data/phpBB3/store/


Le dais permisos chmor 777 (archivo/directorio)  o  chmod ugo+rwr (archivo/directorioo)


Para los mensajitos de la zona horaria os vai y editais el archivo commong.php y haceis esto:

buscad estas lineas que creo estan al final del archivo

foreach ($cache->obtain_hooks() as $hook)
{
    @include($phpbb_root_path . 'includes/hooks/' . $hook . '.' . $phpEx);
}


y añadis inmediatamente despues esto

// Timezone Fix.
date_default_timezone_set(Europe/LOndon);


pues yo tengo zona horaria de Greenech

OPENCART

no me dieron problemas los mesanjitos pero si los permisos de

/usr/local/www/apache22/data/Opencart/store/config.php
/usr/local/www/apache22/data/Opencart/store/admin/config.php



/usr/local/www/apache22/data/Opencart/store/system/cache/
/usr/local/www/apache22/data/Opencart/store/system/logs/
/usr/local/www/apache22/data/Opencart/store/image/
/usr/local/www/apache22/data/Opencart/store/image/data/
/usr/local/www/apache22/data/Opencart/store/download/



Le dais permisos chmor 777 (archivo/directorio)  o  chmod ugo+rwr (archivo/directorioo)

Salud

#2
Seguridad / Consulta seguridad servers
15 Diciembre 2010, 15:54 PM
En primer lugar un saludo.
Tengo un srver con freeBSD y esta mañana al encender el monitor me encuentro esto:

Dec 15 08:36:50 manyblue sshd[62354]: reverse mapping checking getaddrinfo for host-41.35.85.224.tedata.net [41.35.85.224] failed - POSSIBLE BREAK-IN ATTEMPT!
Dec 15 08:36:51 manyblue sshd[62349]: error: PAM: authentication error for root from 89.204.50.236
Dec 15 08:36:51 manyblue sshd[62349]: Failed keyboard-interactive/pam for root from 89.204.50.236 port 4492 ssh2
Dec 15 08:36:51 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:51 manyblue sshd[62349]: error: PAM: authentication error for root from 89.204.50.236
Dec 15 08:36:51 manyblue sshd[62349]: Failed keyboard-interactive/pam for root from 89.204.50.236 port 4492 ssh2
Dec 15 08:36:51 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:52 manyblue sshd[62349]: error: PAM: authentication error for root from 89.204.50.236
Dec 15 08:36:52 manyblue sshd[62349]: Failed keyboard-interactive/pam for root from 89.204.50.236 port 4492 ssh2
Dec 15 08:36:52 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:52 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:52 manyblue sshd[62354]: Failed keyboard-interactive/pam for root from 41.35.85.224 port 3825 ssh2
Dec 15 08:36:52 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:52 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:53 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:53 manyblue sshd[62354]: Failed keyboard-interactive/pam for root from 41.35.85.224 port 3825 ssh2
Dec 15 08:36:53 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:53 manyblue sshd[62354]: error: PAM: authentication error for root from 41.35.85.224
Dec 15 08:36:53 manyblue sshd[62354]: Failed keyboard-interactive/pam for root from 41.35.85.224 port 3825 ssh2
Dec 15 08:36:53 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:53 manyblue sshd[62361]: Failed keyboard-interactive/pam for root from 95.52.45.132 port 4874 ssh2
Dec 15 08:36:54 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:54 manyblue sshd[62361]: Failed keyboard-interactive/pam for root from 95.52.45.132 port 4874 ssh2
Dec 15 08:36:54 manyblue sshd[62361]: error: PAM: authentication error for root from 95.52.45.132
Dec 15 08:36:54 manyblue sshd[62361]: Failed keyboard-interactive/pam for root from 95.52.45.132 port 4874 ssh2
Dec 15 08:36:55 manyblue sshd[62373]: error: PAM: authentication error for root from 89.204.50.236


41.32.0.0 - 41.47.255.255
TE Data

Mohamed Hamdy
TE Data,

Smart Village, Building A11-B90, Alex Desert Road,
28 Km
6th October 12577
Egypt
mohamed.hamdy@tedata.net
+2023320700
+2023320804

Ismail Saeed
11 Cleopatra Heliopolies, Cairo
Egypt
+202 4166600
+202 4166700
ismail.saeed@tedata.net


89.204.50.0 - 89.204.51.255
Dynamic distribution IP's for broadband services
OJSC Uralsvyazinform, a Tyumen subsidiary

Uralsvyazinform TFES Administration Staff
11, Moskovskaya str.
Yekaterinburg, 620014
Russian Federation
ipreg@tumen.usi.ru


Imagino que seran intentos de ataque ssh, me lo podeis explicar un poco ?

Que me recomendais para aumentar la seguridad ? no me digais que limite las ip que seria lo mejor por que me conecto via ssh desde muchos sitios y seria imposible para mi estar esclavizado con el server. Tampoco navegar con proxis pues sumado que mi conexion no es sobrada me relentizaria muchisimo dicha conexion.
Mi acceso a root es siempre via usuario y luego su

Podria hacer esto que he leido por ahi y me lo explicais por encima:

* Editas el fichero /etc/ssh/denyusers agregando en una linea la
palabra root.

* Limitar el número de reintentos de login (por ejemplo 5 o 6) y
poniendo un retardo de tiempo para evitar posibles ataques de fuerza
bruta.

*Limitar los usuarios que tienen acceso de modo estricto.

* Crear una key cifrada en un dispositivo usb para acceder...
SSH dota de una funcionalidad muy extensa, merece la pena leer la
documentación (reenvío de las X, ssh tunneling, etc)
Un ejemplo de fichero de configuración podría ser este

# $OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 djm Exp $

# vi /etc/ssh/denyusers

No he añadido nada todavia pues mi actitud es siempre preguntar primero hacer despues pues todavia soy medio novato en esto, he editado este fichero "denyusers" y esta completamente vacio. Añadir estas lineas:

root
with
a
Protocol 2
HostKey /etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_known_hosts
IgnoreRhosts yes
PasswordAuthentication yes
PermitEmptyPasswords no
bypass
UsePAM no
X11Forwarding yes
TCPKeepAlive yes
UsePrivilegeSeparation yes
MaxStartups 16
PermitTunnel no
Banner /etc/ssh/banner.txt
Subsystem sftp /usr/lib64/ssh/sftp-server
Port 22
ListenAddress 0.0.0.0
SyslogFacility AUTH
LogLevel VERBOSE
AllowUsers xxx,yyyy,zzz
LoginGraceTime 300
KeepAlive yes
RSAAuthentication no
PubkeyAuthentication no
AuthorizedKeysFile .ssh/authorized_keys2
PasswordAuthentication yes
IgnoreRhosts yes
PermitEmptyPasswords no
Compression yes
StrictModes yes
PrintMotd yes
PrintLastLog yes
MaxAuthTries 6


Muchas gracias de antemano y un saludo atodos.
#3
En primer lugar saludar a todos los componentes de este foro.

Mi problema es que no logro que php5 corra en apache22 bajo freeBSD.

Por ejemplo si subo un archivo html se visualiza perfectamente

http://manyblue.homeunix.com

subo un archivo php ejemplo phpinfo(); y no me abre

http://manyblue.homeunix.com/test.php

He revisado la instalacion y configuracion y no hallo el problema.

Tambien os envio los httpd.conf, rc.conf, httpd-error.log, httpd-access.log y message pues creo os hara falta para analizar.
Como soy nuevo en BSD no se por donde atacar el problema.

http://www.abogadosodaly14.com/php5_apache.avi (httpd.conf, rc.conf, loader.conf y pkg_info)

http://www.abogadosodaly14.com/error.log_access.log.avi (httpd-error.log y httpd-access.log)

http://www.abogadosodaly14.com/message.avi

Otra cosa más, por que en httpd.conf despues de instalar apache solo aparece en
DirectoryIndex index.html php.html   y no me aparece index.htm.

Espero haber sido bastante conciso con mi problema, si no es asi, decidmelo y os envio la información que necesiteis.

Muchiiiiiisimas gracias de antemano y un saludo.

PD: En el foro oficial de freeBSD en ingles me han respondido esto

Check the allow deny settings for /usr/local/www/apache22/data/, by default apache installs with deny from all order deny,allow I think. Set to allow from all order allow,deny...