10 അഡ്വാൻസ് VsFTP അഭിമുഖ ചോദ്യങ്ങളും ഉത്തരങ്ങളും - ഭാഗം II


ഞങ്ങളുടെ അവസാന ലേഖനത്തിന് ലഭിച്ച പ്രതികരണത്തിൽ ഞങ്ങൾ ആശ്ചര്യപ്പെട്ടു. വളരെ സുരക്ഷിതമായ ഫയൽ ട്രാൻസ്ഫർ പ്രോട്ടോക്കോളിൽ ഞങ്ങൾ 10 അത്ഭുതകരമായ ചോദ്യങ്ങൾ അവതരിപ്പിച്ചു. VSFTP അഭിമുഖ ലേഖനം തുടരുന്നു, ഞങ്ങൾ നിങ്ങൾക്ക് മറ്റൊരു 10 അഡ്വാൻസ് ഇന്റർവ്യൂ ചോദ്യങ്ങൾ അവതരിപ്പിക്കുന്നു, അത് തീർച്ചയായും നിങ്ങളെ സഹായിക്കും.

  1. 10 അടിസ്ഥാന Vsftp അഭിമുഖ ചോദ്യം/ഉത്തരങ്ങൾ - ഭാഗം I

ഈ ലേഖനത്തിൽ വ്യക്തമാക്കിയിട്ടുള്ള കോൺഫിഗറേഷന്റെ വിവിധ വശങ്ങൾ നിയന്ത്രിക്കാൻ vsftpd.conf ഫയൽ ഉപയോഗിക്കുന്നുവെന്നത് ശ്രദ്ധിക്കുക. സ്ഥിരസ്ഥിതിയായി, /etc/vsftpd/vsftpd.conf എന്നതിന് കീഴിലുള്ള കോൺഫിഗറേഷൻ ഫയലിനായി vsftpd തിരയുന്നു. എന്നിരുന്നാലും, ഫയലിന്റെ ഫോർമാറ്റ് വളരെ ലളിതമാണ്, അതിൽ അഭിപ്രായമോ നിർദ്ദേശമോ അടങ്ങിയിരിക്കുന്നു. കമന്റ് ലൈനുകൾ '#' എന്നതിൽ ആരംഭിക്കുന്നു, അവഗണിച്ചു, ഒരു ഡയറക്uടീവ് ലൈനിന് ഇനിപ്പറയുന്ന ഫോർമാറ്റ് ഉണ്ട്.

option=value

ഞങ്ങൾ ചോദ്യവും അവരുടെ വിശദമായ ഉത്തരവും ആരംഭിക്കുന്നതിന് മുമ്പ് \ആരാണ് FTP ഇന്റർവ്യൂവിൽ പങ്കെടുക്കാൻ പോകുന്നത്? എന്ന ചോദ്യത്തിന് ഉത്തരം നൽകാൻ ഞങ്ങൾ ആഗ്രഹിക്കുന്നു. ശരി ആരും ഇല്ല. ഒരുപക്ഷെ ആരും FTP ഇന്റർവ്യൂവിൽ പങ്കെടുക്കില്ലായിരിക്കാം. എന്നാൽ ഞങ്ങൾ വിഷയം തിരിച്ചുള്ള ചോദ്യങ്ങൾ അവതരിപ്പിക്കുകയാണ്. ഒരു ചിട്ടയായ സമീപനം നിലനിർത്തുക, അതുവഴി ഏതെങ്കിലും അഭിമുഖത്തിൽ, ഞങ്ങൾ ഇവിടെ ഉൾപ്പെടുത്തിയിരിക്കുന്ന ഏതെങ്കിലും വിഷയങ്ങളെക്കുറിച്ചോ വിഷയങ്ങളെക്കുറിച്ചോ നിങ്ങൾക്ക് അറിയാത്ത ഒരു പുതിയ ചോദ്യം നിങ്ങൾക്ക് ലഭിക്കില്ല.

'/etc/hosts.deny' ഫയൽ തുറക്കുക.

# vi /etc/hosts.deny

FTP-യിലേക്കുള്ള ആക്uസസ്സ് തടയാൻ നിങ്ങൾ ആഗ്രഹിക്കുന്ന IP വിലാസത്തിനൊപ്പം ഫയലിന്റെ ചുവടെ ഇനിപ്പറയുന്ന വരി ചേർക്കുക.

#
# hosts.deny    This file contains access rules which are used to
#               deny connections to network services that either use
#               the tcp_wrappers library or that have been
#               started through a tcp_wrappers-enabled xinetd.
#
#               The rules in this file can also be set up in
#               /etc/hosts.allow with a 'deny' option instead.
#
#               See 'man 5 hosts_options' and 'man 5 hosts_access'
#               for information on rule syntax.
#               See 'man tcpd' for information on tcp_wrappers
#
vsftpd:172.16.16.1

പ്രത്യേക IP വിലാസത്തിലേക്കുള്ള FTP ആക്സസ് തടയുന്നതിന്, iptables INPUT ചെയിനിലേക്ക് ഇനിപ്പറയുന്ന ഡ്രോപ്പ് റൂൾ ചേർക്കുക.

iptables -A RH-Firewall-1-INPUT -p tcp -s 172.16.16.1 -m state --state NEW -m tcp --dport 21 -j DROP
# Add this line to enable secured SSL connection to anonymous users.
allow_anon_ssl=YES
# Uncomment this to enable any form of FTP write command.
write_enable=YES
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
# Add this line to enable read only permission to anonymous users.
allow_anon_ssl=YES
# Add this line to chmod all anonymous uploads automatically.
chmod_enable=YES
# Add this line to disable directory listing.
dirlist_enable=NO
# Add this line to maintain session logins.
session_support=YES
# Add this line to display directory listing in local time zone.
usr_localtime=YES
# Add this line to limit the ftp transfer rate.
anon_max_rate=0 # 0 means unlimited
# Add this line to set the ftp timeout session.
idle_session_timeout=300

ഇപ്പോഴത്തേക്ക് ഇത്രമാത്രം. ഞങ്ങൾ അടുത്ത ലേഖനവുമായി വളരെ വേഗം വരും, അതുവരെ തുടർന്നും ബന്ധം പുലർത്തുക, ഞങ്ങളുടെ അഭിപ്രായ വിഭാഗത്തിൽ നിങ്ങളുടെ വിലയേറിയ ഫീഡ്uബാക്ക് ഞങ്ങൾക്ക് നൽകാൻ മറക്കരുത്.