3
Most read
7
Most read
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).
• 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.
• 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.[27] 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.

More Related Content

PPTX
Linux Servers.pptx
PDF
Linux Servers
PPT
Chapter 05
PPTX
A Presentation on Servers & Splunk
PDF
What is Web Server & It's Types.pdf
PPTX
FILE TRANSFER PROTOCOL BY LAXMI $ Group
PPTX
An overview of ftp
PPTX
solar wind66657657777777544533335567.pptx
Linux Servers.pptx
Linux Servers
Chapter 05
A Presentation on Servers & Splunk
What is Web Server & It's Types.pdf
FILE TRANSFER PROTOCOL BY LAXMI $ Group
An overview of ftp
solar wind66657657777777544533335567.pptx

Similar to Linux Servers (20)

PDF
Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4
PPTX
A comprehensive guide that explains the core functioning of Linux, covering t...
PPTX
File Transfer Protocol
PPTX
Linux Based Network Proposal
PPTX
BITM3730Week10.pptx
PPT
file transfer and access utilities
PPT
Ch18 system administration
PPT
NFS.ppt shshsjsjsjssjsjsksksksksksisisisisi
PPT
Ftp tftp
PPT
11 - ftp & web.ppt
PPT
Telnet and FTP.ppt
PDF
File Transfer Protocol (FTP) in Computer Networks_ A Complete Guide.pdf
PPTX
Ports and services
PPTX
PDF
The NFS Version 4 Protocol
PPTX
Ftp: a slideshow on File transfer protocol
PDF
Application layer and protocols of application layer
PPT
network filesystem briefs
PPT
PPT
Cita310chap09
Ch2 the application layer protocols_ftp_telnet_samba_dhcp_4
A comprehensive guide that explains the core functioning of Linux, covering t...
File Transfer Protocol
Linux Based Network Proposal
BITM3730Week10.pptx
file transfer and access utilities
Ch18 system administration
NFS.ppt shshsjsjsjssjsjsksksksksksisisisisi
Ftp tftp
11 - ftp & web.ppt
Telnet and FTP.ppt
File Transfer Protocol (FTP) in Computer Networks_ A Complete Guide.pdf
Ports and services
The NFS Version 4 Protocol
Ftp: a slideshow on File transfer protocol
Application layer and protocols of application layer
network filesystem briefs
Cita310chap09
Ad

More from Shafaan Khaliq Bhatti (20)

PPTX
1- Introduction to Red Hat
PPTX
5 - Networking in Red Hat
PPTX
2- System Initialization in Red Hat
PPTX
3 - Disk Partitioning in Red Hat
PPTX
6 - Package Management in Red Hat
PPTX
11 - SELinux in Red Hat
PPTX
7 - User Administration in Red Hat
PPTX
12 - System Security in Red Hat
PPTX
15 lecture - acl part1, introduction to access control list
PPTX
13 lecture - introduction and configuration of eigrp
PPTX
10 lecture - ospf part1 , introduction to ospf , areas and abr
PPT
Message Authentication: MAC, Hashes
PPT
Protocols for Public Key Management
PPT
Authentication: keys, MAC
PPT
Public key cryptography and RSA
PPT
Block Ciphers Modes of Operation
PPT
Chapter 3: Block Ciphers and the Data Encryption Standard
PPTX
Chapter 1: Overview of Network Security
PPT
Chapter 3: Processes
PPT
Chapter 2: Operating System Structures
1- Introduction to Red Hat
5 - Networking in Red Hat
2- System Initialization in Red Hat
3 - Disk Partitioning in Red Hat
6 - Package Management in Red Hat
11 - SELinux in Red Hat
7 - User Administration in Red Hat
12 - System Security in Red Hat
15 lecture - acl part1, introduction to access control list
13 lecture - introduction and configuration of eigrp
10 lecture - ospf part1 , introduction to ospf , areas and abr
Message Authentication: MAC, Hashes
Protocols for Public Key Management
Authentication: keys, MAC
Public key cryptography and RSA
Block Ciphers Modes of Operation
Chapter 3: Block Ciphers and the Data Encryption Standard
Chapter 1: Overview of Network Security
Chapter 3: Processes
Chapter 2: Operating System Structures
Ad

Recently uploaded (20)

PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
IP : I ; Unit I : Preformulation Studies
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PPTX
Climate Change and Its Global Impact.pptx
PDF
semiconductor packaging in vlsi design fab
PDF
Complications of Minimal Access-Surgery.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Climate and Adaptation MCQs class 7 from chatgpt
PDF
Empowerment Technology for Senior High School Guide
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
B.Sc. DS Unit 2 Software Engineering.pptx
My India Quiz Book_20210205121199924.pdf
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Journal of Dental Science - UDMY (2021).pdf
IP : I ; Unit I : Preformulation Studies
Core Concepts of Personalized Learning and Virtual Learning Environments
Climate Change and Its Global Impact.pptx
semiconductor packaging in vlsi design fab
Complications of Minimal Access-Surgery.pdf
Computer Architecture Input Output Memory.pptx
Environmental Education MCQ BD2EE - Share Source.pdf
Hazard Identification & Risk Assessment .pdf
LEARNERS WITH ADDITIONAL NEEDS ProfEd Topic
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Climate and Adaptation MCQs class 7 from chatgpt
Empowerment Technology for Senior High School Guide
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx

Linux Servers

  • 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). • 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.
  • 4. 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. • 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.[27] Some federal agencies using the software have been ordered to install the patch.
  • 5. 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)
  • 6. 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
  • 7. 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.
  • 8. 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
  • 9. 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.
  • 10. 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
  • 11. 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
  • 12. 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
  • 13. 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.