Tungkol sa Akin

Aking larawan
Manila, Catholic, Philippines
Si Albert Einstein[1] (Marso 14, 1879–Abril 18, 1955) ay isang Aleman-Swiss-Amerikanong pisikong teoretikal na kinikilala bilang isa sa pinakamahalagang siyentista/siyentipiko sa ika-dalawampung siglo at isa sa pinakamahusay na pisikong nabuhay sa kasaysayan ng agham. Ang pinakamahalagang papel na kanyang ginampanan sa agham ay ang pagbuo ng espesyal na teoriya ng relatibidad at teoriyang pangkalahatang relatibidad. Sa karagdagan, marami siyang naiambag sa teoriyang kwantum at mekaniks na estatistikal. Siya ay naparangalan ng Gantimpalang Nobel sa kanyang paliwanag sa epektong potoelektrika noong 1905. Si Einstein ay nakilala sa buong mundo matapos na mapatunayan ang prediksiyon ng kanyang teoriyang pangkalahatang relatibidad na ang sinag(light rays) ng malalayong bituin ay malilihis ng grabidad ng araw. Ito ay napatunayan noong Nobyembre 7, 1919 sa ekspedisyon na ginawa ng mga inglaterong siyentipiko upang pagmasdan ang Eklipseng solar na naganap nang taong iyon sa Aprika. Dahil sa kanyang katalinuhan at orihinalidad, ang salitang "Einstein" ay naging sinonimo ng salitang "henyo"

Lunes, Abril 23, 2012

How to setup a VSFTPD

Install Vsftpd FTP Server

Install the vsftpd package via yum command:
# yum install vsftpd

Vsftpd Defaults

  1. Default port: TCP / UDP - 21 and 20
  2. The main configuration file: /etc/vsftpd/vsftpd.conf
  3. Users that are not allowed to login via ftp: /etc/vsftpd/ftpusers

Configure Vsftpd Server

Open the configuration file, type:
# vi /etc/vsftpd/vsftpd.conf
Turn off standard ftpd xferlog log format:
xferlog_std_format=NO
Turn on verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log:
log_ftp_protocol=YES
Above to directives will enable logging of all FTP transactions. Lock down users to their home directories:
chroot_local_user=YES
Create warning banners for all FTP users:
banner_file=/etc/vsftpd/issue
Create /etc/vsftpd/issue file with a message compliant with the local site policy or a legal disclaimer:
NOTICE TO USERS
Use of this system constitutes consent to security monitoring and testing.
All activity is logged with your host name and IP address.

Turn On Vsftpd Service

Turn on vsftpd on boot:
chkconfig vsftpd on
Start the service:
# service vsftpd start
netstat -tulpn | grep :21

Configure Iptables To Protect The FTP Server

Open file /etc/sysconfig/iptables, enter:
# vi /etc/sysconfig/iptables
Add the following lines, ensuring that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT:
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT
Open file /etc/sysconfig/iptables-config, enter:
# vi /etc/sysconfig/iptables-config
Ensure that the space-separated list of modules contains the FTP connection tracking module:
IPTABLES_MODULES="ip_conntrack_ftp"
Save and close the file. Restart firewall:
# service iptables restarthttp://www.cyberciti.biz/tips/rhel-fedora-centos-vsftpd-installation.html