• No results found

ETSF10 Part 3 Lect 2

N/A
N/A
Protected

Academic year: 2021

Share "ETSF10 Part 3 Lect 2"

Copied!
64
0
0

Loading.... (view fulltext now)

Full text

(1)

ETSF10 Part 3

Lect 2

DHCP, DNS,

S

it

Security

Jens A Andersson

Electrical and Information Electrical and Information

(2)

DHCP

• Dynamic Host Configuration Protocol

– bootp is predecessorbootp is predecessor

• Alternative: manual configuration

IP address – IP address – Net mask D f lt t – Default gateway – DNS server(s)

(3)

Figure 21.7 BOOTP client and server on the same and different networks

Relay agent agent often here

(4)

Figure 18.3 Use of UDP ports

(5)
(6)

DHCP address allocation

• Static

– Static mapping MAC – IP addressStatic mapping MAC IP address

– Client always get the same IP address – Used in clients home networkUsed in clients home network

• Dynamic

Cli t t IP dd f l

– Client gets IP address from pool – Used in open networks

(7)

DNS

• Domain Name System/Service • Internets telephone book?Internets telephone book?

• ”Name to Number”

”N b N ”

• ”Number to Name” • Mail to which server • Who’s responsible • MoreMore …

(8)

Figure 25 1 E l f i th DNS i

Figure 25.1 Example of using the DNS service

(9)

Figure 25 2 D i

(10)

Figure 25 8 DNS IN THE INTERNET

Figure 25.8 DNS IN THE INTERNET

(11)
(12)

Table 25.1 Generic domain labels

(13)
(14)

Country domain

y

Root level ae … fr … se … zw lth eit eit anyy any.eit.lth.se

(15)
(16)

Figure 25.3 Domain names and labels

(17)

Figure 25 4 FQDN d PQDN

Figure 25.4 FQDN and PQDN

Note Note the dot

• FQDN = Fully Qualified Domain Name • PQDN = Partially Qualified Domain NameQ y Q

(18)

Figure 25 5 D i

Figure 25.5 Domains

(19)

Figure 25 7 Z d d i

(20)

Figure 25 6 Hi h f

Figure 25.6 Hierarchy of name servers

(21)

Figure 25 12 R i l ti

(22)

Figure 25 13 It ti l ti

Figure 25.13 Iterative resolution

(23)

Caching

• Boost efficieny

– Remember what you’ve learnedRemember what you ve learned

• Local host / client DNS ser ers

• DNS servers • (Zone transfer)

(24)

Figure 25 14 Q d

Figure 25.14 Query and response messages

(25)

Figure 25 15 H d f t

(26)

Adding new domains

• Apply / Register by Regstrar • Registrar:Registrar:

– Commercial entity (many) Accredited by ICANN

(27)

DDNS

• Host may change IP address

• DHCP updates primary name server withDHCP updates primary name server with new binding (IP address – Name)

• Authentication to update • Authentication to update

(28)

Encapsulation

• UDP

– Message less than 512 bytesMessage less than 512 bytes

• TCP

Message more than 512 bytes – Message more than 512 bytes – Example: Zone transfer

(29)

IP Sec

• IP Security

• Collection of protocolsCollection of protocols

• Security for packets on network layer

Alt ti S it t

– Alternative: Security at

• application layer • transport layer • transport layer

(30)

Figure 32 1 C t t f th it t l

Figure 32.1 Common structure of three security protocols

Normally two keys • Payload

• MAC

MAC = Message Authentication Code

(31)

Figure 32 2 TCP/IP t l it d IPS

(32)

Figure 32 3 T t d d t l d f IPS t l

Figure 32.3 Transport mode and tunnel modes of IPSec protocol

(33)

Figure 32 4 T t d i ti

Figure 32.4 Transport mode in action

Host A and Host A and host B addresses fully i bl visable

(34)

Figure 32 5 T l d i ti

Figure 32.5 Tunnel mode in action

IP headers here are for the tunnel’s end-points only

32.34

(35)

Two Protocols

• Authentication Header (AH)

– Provides source authentication and dataProvides source authentication and data

integrity

– No privacyp y

• Encapsulating Security Payload (ESP)

– Provides source authentication and data – Provides source authentication and data

integrity

(36)

Figure 32 6 A th ti ti H d (AH) P t l i t t d

Figure 32.6 Authentication Header (AH) Protocol in transport mode

(37)

Figure 32 7 E l ti S it P l d (ESP) P t l i t t d

(38)

Table 32.1 IPSec services

(39)

Exchange secrets

• Bob and Alice must exchange secrets • For that they need a secured channelFor that they need a secured channel • For the secured channel they nedd to

exchange secrets exchange secrets

• For that they need a secured channel • …

(40)

Asymetric encryption

• Pair of keys

– Public, known by allPublic, known by all

– Private, secure, kept by owner

• Encrypt messages with receivers public key • Encrypt messages with receivers public key

– Can only be decrypted with private key

Si /A th ti t ith i t

• Sign/Authenticate messages with private key

(41)

IPSec

• Security Associations

• Logical secured channel between twoLogical secured channel between two parties

• Internet Key Exchange (IKE) • Internet Key Exchange (IKE)

– Creates SAs (inbound and outbound) in a database

(42)

Figure 32 8 Si l i b d d tb d it i ti

Figure 32.8 Simple inbound and outbound security associations

(43)

Figure 32 9 IKE t

(44)

(Virtual) Private Network

• VPN

• Overlay networkOverlay network

(45)
(46)

Figure 32 10 P i t t k

Figure 32.10 Private network

(47)

Figure 32 11 H b id t k

(48)

Figure 32 13 A VPN

Figure 32.13 A VPN

(49)

SSL/TLS

• Secure Sockets Layer Protocol • Transport Layer SecurityTransport Layer Security

(50)

Figure 32 14 L ti f SSL d TLS i th I t t d l

Figure 32.14 Location of SSL and TLS in the Internet model

(51)
(52)

Table 32 3 SSL cipher suite list (continued)

Table 32.3 SSL cipher suite list (continued)

(53)

SSL

• Created by Netscape • AuthentictationAuthentictation • Message integrity C fid i lli • Confidentiallity

(54)

SSL Services

• Fragmentation

– Create blocks of 2Create blocks of 214 bytes or lessbytes or less

• Compression

Message Integrit • Message Integrity • Confidentiality

(55)

Figure 32 18 P i d b th R d P t l

(56)

Figure 32 15 C ti f t hi t i SSL

Figure 32.15 Creation of cryptographic secrets in SSL

(57)

Figure 32 16 F SSL t l

(58)

Four protocols

• Record Protocol

– The carrier

• Handshake Protocol

– Authentication

– Establishe cipher sets

– Provides keys and security parameters

• ChangeCipherSPec Protocol

– Crypotgraphic Secrets ready

Al P l

• Alert Protocol

(59)

Figure 32 17 H d h k P t l

(60)

Firewalls

• Control system access • Check/Drop packetsCheck/Drop packets

– Network layer, Transport layer Application layer

(61)

Figure 32 22 Fi ll

(62)

Figure 32 23 P k t filt fi ll

Figure 32.23 Packet-filter firewall

(63)

Application Gateway

• Firewall on Application Layer • Acts asActs as

– server against client

client against requested service – client against requested service

• Checks

if i l i i

– if user’s request is legitimate – application data integrity

(64)

Figure 32 24 E l f fi ll f htt

Figure 32.24 Example of proxy firewall for http

Also called application

gateway

32.64

References

Related documents

Keywords — Advance metering, smart electrical meters, energy monitoring, automated meter reading, GSM... later dispatched to customers for

All habitable structures shall be elevated at or above an elevation which places the lowest horizontal structural member above the 100-year storm elevation as determined by

Lost or stolen resources can also lead to costly project delays; lost time and decreased field productivity; injuries caused by the ineffective management of tool inspections

USGS Enterprise Information, Core Science Systems and the Office of Science Quality and Integrity have invested heavily in the support tools necessary to maintain momentum on this

AIMD Additive Increase Multiplicative Decrease is the congestion control algorithm which increases additively the rate of the senders until the particular system

Seen through the theoretical lens of person– environment fit theory (Dawis, 1996; Dawis & Lofquist, 1993), the research aims to illuminate the psychological mediating process

Our analysis shows that – in addition to auditing – existing research on big data in accounting and finance extends across three other genealogies: (1) financial

The objectives of this study are to justify the understanding on awareness among ACIS‟s students towards inheritance‟s management in Islamic perspectives, to