TCP and UDP Small Servers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

TCP and UDP Small Servers

Document ID: 12815

Introduction
Prerequisites
Requirements
Components Used
Conventions
TCP and UDP Small Servers
TCP Small Servers
UDP Small Servers
TCP and UDP Commands
NetPro Discussion Forums Featured Conversations
Related Information

Introduction
This document explains what Transport Control Protocol (TCP) and User Datagram Protocol (UDP) small
servers are, how to enable or disable them on a router, and describes the various available services associated
with them.

Prerequisites
Requirements
There are no specific requirements for this document.

Components Used
The information in this document is based on Cisco IOS Software Version 12.2(10b).

The information in this document was created from the devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If your network is live, make sure
that you understand the potential impact of any command.

Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.

TCP and UDP Small Servers


TCP and UDP small servers are servers (daemons, in Unix parlance) that run in the router which are useful for
diagnostics.

TCP Small Servers


The TCP small servers are:

Cisco TCP and UDP Small Servers


Echo: Echoes back whatever you type through the telnet x.x.x.x echo command.
Chargen: Generates a stream of ASCII data. Use the telnet x.x.x.x chargen command.
Discard: Throws away whatever you type. Use the telnet x.x.x.x discard command.
Daytime: Returns system date and time, if it is correct. It is correct if you run Network Time Protocol
(NTP), or have set the date and time manually from the exec level. Use the telnet x.x.x.x daytime
command.

Replace x.x.x.x with the IP address of your router. Most routers inside Cisco run the small servers.

UDP Small Servers


The UDP small servers are:

Echo: Echoes the payload of the datagram you send.


Discard: Silently pitches the datagram you send.
Chargen: Pitches the datagram you send, and responds with a 72character string of ASCII
characters terminated with a CR+LF.

Notes:

Almost all Unix boxes support the small servers listed above.
The router also offers finger service and async line bootp service, which you can independently turn
off with the configuration global commands no service finger and no ip bootp server, respectively.

TCP and UDP Commands


The commands to enable for the TCP and UDP small servers are service tcpsmallservers and service
udpsmallservers.

The TCP and UDP small servers are enabled by default on Cisco IOS Software Version 11.2 and earlier. They
may be disabled using the commands no service tcpsmallservers and no service udpsmallservers.
They are disabled by default on Cisco IOS Software Versions 11.3 and later.

It is recommended that you do not enable these services unless it is absolutely necessary. These services could
be exploited indirectly to gain information about the target system or directly as is the case with the fraggle
attack which uses UDP echo.

NetPro Discussion Forums Featured Conversations


Networking Professionals Connection is a forum for networking professionals to share questions, suggestions,
and information about networking solutions, products, and technologies. The featured links are some of the
most recent conversations available in this technology.

NetPro Discussion Forums Featured Conversations for Router and IOS Architecture
Network Infrastructure: LAN Routing and Switching
Network Infrastructure: WAN Routing and Switching

Cisco TCP and UDP Small Servers


Related Information
Defining Strategies to Protect Against UDP Diagnostic Port DenialofService Attacks
Technical Support Cisco Systems

All contents are Copyright 19922006 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement.

Updated: Aug 01, 2006 Document ID: 12815

Cisco TCP and UDP Small Servers

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy