SlideShare a Scribd company logo
1 of 19
Linux Servers
An Overview
Contents
• Samba Server
• FTP Server
• NFS Server
• Apache Server
• Docker
Samba
• Free software re-implementation of the SMB networking protocol
• File and print services for various Microsoft Windows clients
• Integration with a Microsoft Windows Server domain, either as
a Domain Controller (DC) or as a domain member
• Version 4 Active Directory and Microsoft Windows NT domains
• Runs on most Unix-like systems, such as Linux, Solaris, AIX and
the BSD variants, including Apple's macOS Server,
and macOS client (Mac OS X 10.2 and greater).
Samba
• Runs on a number of other operating systems such
as OpenVMS and IBM i.
• Samba is standard on nearly all distributions of Linux and is
commonly included as a basic system service on other Unix-based
operating systems as well.
• Samba is released under the terms of the GNU General Public
License.
• The name Samba comes from SMB (Server Message Block), the
name of the proprietary protocol used by the Microsoft Windows
network file system.
Security of Samba
• Some versions of Samba 3.6.3 and lower suffer serious
security issues which can allow anonymous users to gain
root access to a system from an anonymous connection,
through the exploitation of an error in Samba's remote
procedure call.
• On 12 April 2016, Badlock, a crucial security bug in Windows
and Samba, was disclosed.
Security of Samba
• On 24 May 2017, it was announced that a remote code
execution vulnerability had been found in Samba named
EternalRed or SambaCry, affecting all versions since 3.5.0.
• On 14 September 2020, a proof-of-concept exploit for the
netlogon vulnerability called Zerologon (CVE-2020-1472) for
which a patch exists since August was published. Some
federal agencies using the software have been ordered to
install the patch.
File Transfer Protocol (FTP)
• Standard communication protocol used for the transfer of computer
files from a server to a client on a computer network.
• Built on a client–server model architecture using separate control
and data connections between the client and the server
• FTP users may authenticate themselves with a clear-text sign-in
protocol, normally in the form of a username and password, but can
connect anonymously if the server is configured to allow it.
• For secure transmission that protects the username and password,
and encrypts the content, FTP is often secured with SSL/TLS (FTPS)
or replaced with SSH File Transfer Protocol (SFTP)
File Transfer Protocol (FTP)
• The first FTP client applications were command-line programs and are still
shipped with most Windows, Unix, and Linux operating systems.
• Many dedicated FTP clients and automation utilities have since been developed
for desktops, servers, mobile devices, and hardware.
• FTP has been incorporated into productivity applications such as HTML editors
and file managers.
• An FTP client used to be commonly integrated in web browsers, where file
servers are browsed with the URI prefix "ftp://".
• Throughout 2021, the two major web browser vendors removed this ability
Data transfer modes in FTP
• Stream mode (MODE S):
• Data is sent as a continuous stream, relieving FTP from doing any processing.
• Rather, all processing is left up to TCP.
• No End-of-file indicator is needed, unless the data is divided into records.
• Block mode (MODE B):
• Designed primarily for transferring record-oriented files (STRU R), although can also
be used to transfer stream-oriented (STRU F) text files.
• FTP puts each record (or line) of data into several blocks (block header, byte count,
and data field) and then passes it on to TCP.
• Compressed mode (MODE C):
• Extends MODE B with data compression using run-length encoding.
Security in FTP
• FTP was not designed to be a secure protocol, and has many security weaknesses.
• In May 1999, the authors of RFC 2577 listed a vulnerability to the following problems:
• Brute-force attack
• FTP bounce attack
• Packet capture
• Port stealing (guessing the next open port and usurping a legitimate connection)
• Spoofing attack
• Username enumeration
• DoS or DDoS
Network File System (NFS)
• A distributed file system protocol originally developed by Sun Microsystems
(Sun) in 1984, allowing a user on a client computer to access files over a
computer network much like local storage is accessed.
• NFS, like many other protocols, builds on the Open Network Computing Remote
Procedure Call (ONC RPC) system.
• NFS is an open IETF standard defined in a Request for Comments (RFC),
allowing anyone to implement the protocol.
Version of NFS
• NFSv1
• for in-house experimental purposes
• NFSv2
• operated only over User Datagram Protocol (UDP)
• NFSv3
• Support 64 bits file sizes
• WebNFS
• Allowing it to function behind restrictive firewalls without the complexity of Portmap and MOUNT
protocols.
• WebNFS had a fixed TCP/UDP port number (2049)
• NFSv4
Apache HTTP Server
• Free and open-source cross-platform web server software
• Developed and maintained by an open community of developers under the
auspices of the Apache Software Foundation.
• The vast majority of Apache HTTP Server instances run on a Linux distribution
but current versions also run on Microsoft Windows, OpenVMS and a wide
variety of Unix-like systems
• As of March 2022, Netcraft estimated that Apache served 23.04% of the million
busiest websites
Security of Apache HTTP Server
• Can be hacked and exploited.
• The main Apache attack tool is Slowloris, which exploits a bug in Apache
software.
• It creates many sockets and keeps each of them alive and busy by sending
several bytes (known as "keep-alive headers") to let the server know that the
computer is still connected and not experiencing network problems.
• The Apache developers have addressed Slowloris with several modules to limit
the damage caused
Docker
• Set of platform as a service (PaaS) products that use OS-level virtualization to
deliver software in packages called containers.
• The service has both free and premium tiers.
• The software that hosts the containers is called Docker Engine.
• It was first started in 2013 and is developed by Docker, Inc.
Feature Apache (Web Server) Samba Server NFS Server FTP Server DNS Server
Purpose/
Function
Web hosting
File and print
sharing for
Windows clients
Network file
sharing
File transfer over
a network
Translate domain
names to IP
addresses
Protocols
Supported
HTTP, HTTPS SMB/CIFS NFS FTP, FTPS, SFTP DNS, DNSSEC
Platform
Compatibility
Cross-platform
Primarily for
Windows, but
compatible with
Linux/Unix
Cross-
platform
Cross-platform Cross-platform
Configuration
Apache configuration
files (httpd.conf,
.htaccess)
smb.conf /etc/exports
Configuration file
(e.g.,
vsftpd.conf)
Named
configuration
(named.conf)
Feature
Apache (Web
Server)
Samba Server NFS Server FTP Server DNS Server
Security
Access control
through
.htaccess,
SSL/TLS
support
User
authentication,
Access control
lists
File permissions,
IP-based access
control
User
authentication,
Encryption
support
DNSSEC for
enhanced
security
Authentication
Basic, Digest,
SSL client
certificates
User
authentication
via Samba, PAM
integration
Typically relies
on system user
authentication
Username/pass
word,
Anonymous
login
N/A
(Authentication
handled by
other systems)
Performance
High-
performance,
scalable
Depends on the
network and
hardware
Efficient for
large file
transfers
Performance
varies based on
configuration
Low-latency
resolution of
domain names
Feature
Apache (Web
Server)
Samba Server NFS Server FTP Server DNS Server
Ease of Use
Configuration
may be
complex for
beginners
Configuration
through
smb.conf can be
challenging
Configuration
can be
straightforward
Configurable,
some GUI
interfaces
available
Configuration
can be complex
for advanced
setups
Community/Supp
ort
Large
community,
extensive
documentation
Active
community,
good support
Established,
well-supported
Varies based on
the specific FTP
server software
Established,
well-supported
Common Use
Cases
Hosting
websites and
web
applications
Sharing files and
printers in
Windows
environments
Sharing files
between
Unix/Linux
systems
Transferring files
over a network
Resolving
domain names
to IP addresses
Feature
Apache (Web
Server)
Samba Server NFS Server FTP Server DNS Server
Popular
Implementations
Apache HTTP
Server
Samba NFS
vsftpd, ProFTPD,
Pure-FTPd
BIND (Berkeley
Internet Name
Domain)
Notable Features
Module
support, URL
rewriting,
Virtual hosting
Integration with
Active Directory,
Printing support
Mounting
remote file
systems, Client
caching
Multiple transfer
modes
(active/passive),
SSL/TLS support
Zone transfers,
DNSSEC support
Open Source Yes Yes Yes Yes Yes

More Related Content

Similar to Linux Servers.pptx

Network File System
Network File SystemNetwork File System
Network File SystemDivyang Oza
 
Ports and services
Ports and servicesPorts and services
Ports and servicesIlan Mindel
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Serverswebhostingguy
 
FILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ GroupFILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ Grouprajeev bhatt
 
Presentation on samba server & apache server
Presentation on samba server & apache serverPresentation on samba server & apache server
Presentation on samba server & apache serverManoz Kumar
 
Linux Based Network Proposal
Linux Based Network ProposalLinux Based Network Proposal
Linux Based Network ProposalChris Riccio
 
Mail server on linux
Mail server on linux Mail server on linux
Mail server on linux Roshni17
 
香港六合彩
香港六合彩香港六合彩
香港六合彩csukxnr
 
六合彩 » SlideShare
六合彩 » SlideShare六合彩 » SlideShare
六合彩 » SlideSharemvtqyygx
 
六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideSharedqxjlhfc
 
香港六合彩-六合彩
香港六合彩-六合彩香港六合彩-六合彩
香港六合彩-六合彩qiohms
 
六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShareyqtvdsbl
 
六合彩-香港六合彩 » SlideShare
六合彩-香港六合彩 » SlideShare六合彩-香港六合彩 » SlideShare
六合彩-香港六合彩 » SlideSharemmfirkhw
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideSharecxrcpdu
 
六合彩-香港六合彩
六合彩-香港六合彩六合彩-香港六合彩
六合彩-香港六合彩skpkcd
 
Application layer
Application layerApplication layer
Application layerNeha Kurale
 
Application layer
Application layerApplication layer
Application layerNeha Kurale
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lampNadhi ya
 

Similar to Linux Servers.pptx (20)

Network File System
Network File SystemNetwork File System
Network File System
 
Ports and services
Ports and servicesPorts and services
Ports and services
 
Linux Servers
Linux ServersLinux Servers
Linux Servers
 
Ch 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet ServersCh 22: Web Hosting and Internet Servers
Ch 22: Web Hosting and Internet Servers
 
FILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ GroupFILE TRANSFER PROTOCOL BY LAXMI $ Group
FILE TRANSFER PROTOCOL BY LAXMI $ Group
 
Ubuntu For Intranet Services
Ubuntu For Intranet ServicesUbuntu For Intranet Services
Ubuntu For Intranet Services
 
Presentation on samba server & apache server
Presentation on samba server & apache serverPresentation on samba server & apache server
Presentation on samba server & apache server
 
Linux Based Network Proposal
Linux Based Network ProposalLinux Based Network Proposal
Linux Based Network Proposal
 
Mail server on linux
Mail server on linux Mail server on linux
Mail server on linux
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
六合彩 » SlideShare
六合彩 » SlideShare六合彩 » SlideShare
六合彩 » SlideShare
 
六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare
 
香港六合彩-六合彩
香港六合彩-六合彩香港六合彩-六合彩
香港六合彩-六合彩
 
六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare六合彩,香港六合彩 » SlideShare
六合彩,香港六合彩 » SlideShare
 
六合彩-香港六合彩 » SlideShare
六合彩-香港六合彩 » SlideShare六合彩-香港六合彩 » SlideShare
六合彩-香港六合彩 » SlideShare
 
香港六合彩 » SlideShare
香港六合彩 » SlideShare香港六合彩 » SlideShare
香港六合彩 » SlideShare
 
六合彩-香港六合彩
六合彩-香港六合彩六合彩-香港六合彩
六合彩-香港六合彩
 
Application layer
Application layerApplication layer
Application layer
 
Application layer
Application layerApplication layer
Application layer
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
 

More from ChSheraz3

Servers.pptx
Servers.pptxServers.pptx
Servers.pptxChSheraz3
 
RAID & It’s Levels.pptx
RAID & It’s Levels.pptxRAID & It’s Levels.pptx
RAID & It’s Levels.pptxChSheraz3
 
Network Security.ppt
Network Security.pptNetwork Security.ppt
Network Security.pptChSheraz3
 
Network security.ppt
Network security.pptNetwork security.ppt
Network security.pptChSheraz3
 
Organizations and Team Structure
Organizations and Team StructureOrganizations and Team Structure
Organizations and Team StructureChSheraz3
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.pptChSheraz3
 

More from ChSheraz3 (8)

NS 2.pptx
NS 2.pptxNS 2.pptx
NS 2.pptx
 
MISch04
MISch04MISch04
MISch04
 
Servers.pptx
Servers.pptxServers.pptx
Servers.pptx
 
RAID & It’s Levels.pptx
RAID & It’s Levels.pptxRAID & It’s Levels.pptx
RAID & It’s Levels.pptx
 
Network Security.ppt
Network Security.pptNetwork Security.ppt
Network Security.ppt
 
Network security.ppt
Network security.pptNetwork security.ppt
Network security.ppt
 
Organizations and Team Structure
Organizations and Team StructureOrganizations and Team Structure
Organizations and Team Structure
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

Linux Servers.pptx

  • 2. Contents • Samba Server • FTP Server • NFS Server • Apache Server • Docker
  • 3. Samba • Free software re-implementation of the SMB networking protocol • File and print services for various Microsoft Windows clients • Integration with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member • Version 4 Active Directory and Microsoft Windows NT domains • Runs on most Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple's macOS Server, and macOS client (Mac OS X 10.2 and greater).
  • 4. Samba • Runs on a number of other operating systems such as OpenVMS and IBM i. • Samba is standard on nearly all distributions of Linux and is commonly included as a basic system service on other Unix-based operating systems as well. • Samba is released under the terms of the GNU General Public License. • The name Samba comes from SMB (Server Message Block), the name of the proprietary protocol used by the Microsoft Windows network file system.
  • 5. Security of Samba • Some versions of Samba 3.6.3 and lower suffer serious security issues which can allow anonymous users to gain root access to a system from an anonymous connection, through the exploitation of an error in Samba's remote procedure call. • On 12 April 2016, Badlock, a crucial security bug in Windows and Samba, was disclosed.
  • 6. Security of Samba • On 24 May 2017, it was announced that a remote code execution vulnerability had been found in Samba named EternalRed or SambaCry, affecting all versions since 3.5.0. • On 14 September 2020, a proof-of-concept exploit for the netlogon vulnerability called Zerologon (CVE-2020-1472) for which a patch exists since August was published. Some federal agencies using the software have been ordered to install the patch.
  • 7. File Transfer Protocol (FTP) • Standard communication protocol used for the transfer of computer files from a server to a client on a computer network. • Built on a client–server model architecture using separate control and data connections between the client and the server • FTP users may authenticate themselves with a clear-text sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. • For secure transmission that protects the username and password, and encrypts the content, FTP is often secured with SSL/TLS (FTPS) or replaced with SSH File Transfer Protocol (SFTP)
  • 8. File Transfer Protocol (FTP) • The first FTP client applications were command-line programs and are still shipped with most Windows, Unix, and Linux operating systems. • Many dedicated FTP clients and automation utilities have since been developed for desktops, servers, mobile devices, and hardware. • FTP has been incorporated into productivity applications such as HTML editors and file managers. • An FTP client used to be commonly integrated in web browsers, where file servers are browsed with the URI prefix "ftp://". • Throughout 2021, the two major web browser vendors removed this ability
  • 9. Data transfer modes in FTP • Stream mode (MODE S): • Data is sent as a continuous stream, relieving FTP from doing any processing. • Rather, all processing is left up to TCP. • No End-of-file indicator is needed, unless the data is divided into records. • Block mode (MODE B): • Designed primarily for transferring record-oriented files (STRU R), although can also be used to transfer stream-oriented (STRU F) text files. • FTP puts each record (or line) of data into several blocks (block header, byte count, and data field) and then passes it on to TCP. • Compressed mode (MODE C): • Extends MODE B with data compression using run-length encoding.
  • 10. Security in FTP • FTP was not designed to be a secure protocol, and has many security weaknesses. • In May 1999, the authors of RFC 2577 listed a vulnerability to the following problems: • Brute-force attack • FTP bounce attack • Packet capture • Port stealing (guessing the next open port and usurping a legitimate connection) • Spoofing attack • Username enumeration • DoS or DDoS
  • 11. Network File System (NFS) • A distributed file system protocol originally developed by Sun Microsystems (Sun) in 1984, allowing a user on a client computer to access files over a computer network much like local storage is accessed. • NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. • NFS is an open IETF standard defined in a Request for Comments (RFC), allowing anyone to implement the protocol.
  • 12. Version of NFS • NFSv1 • for in-house experimental purposes • NFSv2 • operated only over User Datagram Protocol (UDP) • NFSv3 • Support 64 bits file sizes • WebNFS • Allowing it to function behind restrictive firewalls without the complexity of Portmap and MOUNT protocols. • WebNFS had a fixed TCP/UDP port number (2049) • NFSv4
  • 13. Apache HTTP Server • Free and open-source cross-platform web server software • Developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. • The vast majority of Apache HTTP Server instances run on a Linux distribution but current versions also run on Microsoft Windows, OpenVMS and a wide variety of Unix-like systems • As of March 2022, Netcraft estimated that Apache served 23.04% of the million busiest websites
  • 14. Security of Apache HTTP Server • Can be hacked and exploited. • The main Apache attack tool is Slowloris, which exploits a bug in Apache software. • It creates many sockets and keeps each of them alive and busy by sending several bytes (known as "keep-alive headers") to let the server know that the computer is still connected and not experiencing network problems. • The Apache developers have addressed Slowloris with several modules to limit the damage caused
  • 15. Docker • Set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. • The service has both free and premium tiers. • The software that hosts the containers is called Docker Engine. • It was first started in 2013 and is developed by Docker, Inc.
  • 16. Feature Apache (Web Server) Samba Server NFS Server FTP Server DNS Server Purpose/ Function Web hosting File and print sharing for Windows clients Network file sharing File transfer over a network Translate domain names to IP addresses Protocols Supported HTTP, HTTPS SMB/CIFS NFS FTP, FTPS, SFTP DNS, DNSSEC Platform Compatibility Cross-platform Primarily for Windows, but compatible with Linux/Unix Cross- platform Cross-platform Cross-platform Configuration Apache configuration files (httpd.conf, .htaccess) smb.conf /etc/exports Configuration file (e.g., vsftpd.conf) Named configuration (named.conf)
  • 17. Feature Apache (Web Server) Samba Server NFS Server FTP Server DNS Server Security Access control through .htaccess, SSL/TLS support User authentication, Access control lists File permissions, IP-based access control User authentication, Encryption support DNSSEC for enhanced security Authentication Basic, Digest, SSL client certificates User authentication via Samba, PAM integration Typically relies on system user authentication Username/pass word, Anonymous login N/A (Authentication handled by other systems) Performance High- performance, scalable Depends on the network and hardware Efficient for large file transfers Performance varies based on configuration Low-latency resolution of domain names
  • 18. Feature Apache (Web Server) Samba Server NFS Server FTP Server DNS Server Ease of Use Configuration may be complex for beginners Configuration through smb.conf can be challenging Configuration can be straightforward Configurable, some GUI interfaces available Configuration can be complex for advanced setups Community/Supp ort Large community, extensive documentation Active community, good support Established, well-supported Varies based on the specific FTP server software Established, well-supported Common Use Cases Hosting websites and web applications Sharing files and printers in Windows environments Sharing files between Unix/Linux systems Transferring files over a network Resolving domain names to IP addresses
  • 19. Feature Apache (Web Server) Samba Server NFS Server FTP Server DNS Server Popular Implementations Apache HTTP Server Samba NFS vsftpd, ProFTPD, Pure-FTPd BIND (Berkeley Internet Name Domain) Notable Features Module support, URL rewriting, Virtual hosting Integration with Active Directory, Printing support Mounting remote file systems, Client caching Multiple transfer modes (active/passive), SSL/TLS support Zone transfers, DNSSEC support Open Source Yes Yes Yes Yes Yes