Menu
Home
Log in / Register
 
Home arrow Computer Science arrow Understanding Network Hacks
< Prev   CONTENTS   Next >

2.12 Architecture

From the perspective of clients a network can have two logical structures: client/server or peer-to-peer (p2p).

A client/server architecture (e.g. HTTP) consists of a computer (server) that implements one or more services and another computer (client) that consumes a service.

The client sends a request and the server answers with a response if it likes the format of the request and thinks the client is authorized to ask.

In a Peer-to-Peer-Architecture (e.g. file sharing) all computers are equal.

Everyone can admit and consume a service at the same time.

Most network connections rely on the client/server architecture.

2.13 Gateway

A gateway connects a network with one or more other networks. The most common task of a gateway is to be the so called “default gateway”, the router to whom all packets are sent, which don't match any other local routes of a computers routing table.

Nowadays a gateway manages the connection of a local area network (LAN) with the internet and is therefore equal to a router. Some decades ago a gateway was responsible to translate between different kind of networks like Ethernet and Token-Ring.

2.14 Router

Looking at router you can differ at least two kinds: internet routers administered by your internet service provider (ISP) and home router to connect your LAN to the internet and hopefully protect you from most attacks.

Home-Router are also often called gateways, because they manage the interaction of a network with another. They receive all packets from internal hosts that should be send to some computer on the internet, write their own public IP address received from the ISP as source address into it and forwards them to the next router of the ISP.

Internet routers also forward packets, but they do so by depending on a more or less huge routing table. They don't have a static routing table but use different protocols like RIP, OSPF and BGP to share routing information between each other and find the shortest or otherwise quickest way to the desired destination.

With the help of the command traceroute one can determine all internet routers a packet passes between the own computer and the destination host at least if the router replies on certain packets.

traceroute springer.com

traceroute to springer.com (62.50.45.35) 1 192.168.1.1 (192.168.1.1) 1.167 ms

2 xdsl-31-164-168-1.adslplus.ch (31.164.168.1) 3 * * *

4 212.161.249.178 (212.161.249.178)

5 equinix-zurich.interoute.net (194.42.48.74)

6 xe-3-2-0-0.fra-006-score-1-re0.interoute.net (212.23.43.250)

7 ae0-0.fra-006-score-2-re0.interoute.net (84.233.207.94)

8 ae1-0.prg-001-score-1-re0.interoute.net (84.233.138.209)

9 ae0-0.prg-001-score-2-re0.interoute.net (84.233.138.206)

10 ae2-0.ber-alb-score-2-re0.interoute.net (84.233.138.234)

11 static-62-50-34-47.irtnet.net (62.50.34.47)

12 static-62-50-45-35.irtnet.net (62.50.45.35)

 
Found a mistake? Please highlight the word and press Shift + Enter  
< Prev   CONTENTS   Next >
 
Subjects
Accounting
Business & Finance
Communication
Computer Science
Economics
Education
Engineering
Environment
Geography
Health
History
Language & Literature
Law
Management
Marketing
Philosophy
Political science
Psychology
Religion
Sociology
Travel