+ All Categories
Home > Documents > Michael Schloh von Bennewitz [email protected] 18. Juni 2002 INTERNET PROTOCOLS An overview of ten...

Michael Schloh von Bennewitz [email protected] 18. Juni 2002 INTERNET PROTOCOLS An overview of ten...

Date post: 01-Jan-2016
Category:
Upload: marilyn-wade
View: 215 times
Download: 0 times
Share this document with a friend
Popular Tags:
17
Michael Schloh von Bennewitz [email protected] 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot them
Transcript
Page 1: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

Michael Schloh von [email protected]. Juni 2002

INTERNET PROTOCOLSAn overview of ten most common Internet protocols, and how to troubleshoot them

Page 2: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

2

What Is a Protocol?

A standard procedure for regulating data transmission between computers.

Allows communication between network nodes.

Page 3: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

3

Common Attributes

Standard port num Connection(less) Header structure Text, binary data Encrypted data Useful tools

Generic telnet Generic tcpdump Specific OpenPKG

Complete Frame

HTTP data

TCP header/data

IP header/data

Ethernet header/data

Caution! Not only Ralf hasstrange and clever quotesduring a presentation...

Page 4: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

4

General OSI Layout

7 Application

HTTP TLS SMTPNNTP

FTPLDAP

NTPTFTP

DHCP DNS

6 Presentation

5 Session

4 Transport TCP UDP

3 Network IP

2 Data LinkHardware

1 Physical

also

Page 5: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

5

FTP File Transfer Protocol

Ports 21 and 20 Control on port 21 Data on port 20

TCP stream based Text data Unencrypted telnet host 21

Page 6: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

6

HTTP Hypertext Transfer Protocol

Port 80 TCP stream Text data Unencrypted telnet host 80

OSSP is an acronym for:Onion Soup & Sweet Potato

Page 7: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

7

NNTP Network News Transfer Protocol

Port 119 TCP stream Text data Unencrypted telnet host 119

Page 8: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

8

LDAP Lightweight Directory Access Protocol

Port 389 TCP stream Binary data Unencrypted ldapsearch host

LDAP Message Fields

controls

messageID

protocolOp

controlType

criticality

controlValueYou can pick your friends,and you can pick your nose.But you can‘t pick yourfriends‘ noses.

Page 9: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

9

SMTP Simple Mail Transfer Protocol

Port 25 TCP stream Text data Unencrypted telnet host 25

Page 10: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

10

TLS Transport Layer Security

Port 56 TCP stream Binary data Encrypted openssl host

If I can surf the Internetwith my keyboard, thenwhy can‘t I download thebeach with my surfboard?

Page 11: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

11

DHCP Dynamic Host Configuration Protocol

Ports 67 and 68 UDP datagram Binary data Unencrypted dhcping -c client \

-s server -h mac

DHCP Packet Fields

bpOpcode bpHtype

bpGiaddrbpCiaddr bpYiaddr bpSiaddr

bpHlen bpHops

bpXid

bpSecs bpFlags

bpChaddr[] bpSname[]

bpFile[] bpOptions[]

Page 12: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

12

Example DHCP Session

Page 13: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

13

DNS Domain Name System

Port 53 UDP datagram Binary data Unencrypted host dnszone dnstrace dnszone lamers dnszone

PESP is an acronym for:Pickled Eggs & Salted Peanuts

DNS Message Fields

Header

Question

Answer, Authority, Additional

NAME

CLASS

RDLENGTH

...

ID ...

RCODE

QNAME ...

Page 14: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

14

NTP Network Time Protocol

Port 123 UDP datagram Binary data Unencrypted ntpdate -q host

NTP Packet Fields

Type Precision

Leap Indicator Status

Reference Clock Id Reference Timestmp

Estimated Error Estimated Drift Rate

Transmit Timestmp

Originate TimestmpReceive Timestmp

Page 15: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

15

TFTP Trivial File Transfer Protocol

Port 69 UDP datagram Binary data Unencrypted tftp

TFTP Packet types

RRQ

DATA

ACK

ERROR

Opcode Block no

Block no

Opcode Errorcode

ErrMsg 0

Opcode Block no

Block no

Block no

Opcode Filename

Mode 00

This space available for rent.

Page 16: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

16

IETF RFC References

FTP (RFC 959) HTTP (RFC 1945) NNTP (RFC 977) LDAP (RFC 1777) SMTP (RFC 2821) TLS (RFC 2246)

DHCP (RFC 2131) DNS (RFC 1101) NTP (RFC 958) TFTP (RFC 1350)

Not all protocols have RFCs, and some like SSHhave Internet drafts or other documentation.

Page 17: Michael Schloh von Bennewitz michael@schloh.com 18. Juni 2002 INTERNET PROTOCOLS An overview of ten most common Internet protocols, and how to troubleshoot.

An overview of the ten most common Internet protocols

17

Fin


Recommended