slides27 Flashcards

1
Q

other char encodings

A

Indian Script Code for Information Interchange (ISCII)

Mac OS Roman (extends ASCII)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does big endian format imply when storing an integer

A

de facto order used on most networks is big endian

this stores the most significant byte of an integer (the big end) at the lowest machine address, less significant bytes at increasing addresses
00 00 00 2A, for integer 42 hex 0000002A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does little endian format imply when storing an integer

A

the least significant byte (little end) is stored at the lowest machine address, more significant bytes at increasing addresses
00 00 00 2A, for integer 42: 704643072 (hex 2A000000)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

wat does lil endian do wen he communicates

A

A little endian machine must reverse the order of the bytes as it sends or receives
A little endian machine always converts, even when connected to another little endian machine
This is simpler than having a protocol to negotiate endianness and having separate chunks of code for each combination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how to agree on presentation

A

The External Data Representation (XDR) package is one approach to the presentation problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is XDR

A

It is a collection of functions that convert data in and out of a standard network format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how Multipurpose Internet Mail Extension (MIME) allowed more freedom in emails

A

Early email systems only supported 7-bit ASCII text and MIME was developed to allow emailing of pictures, sounds and so on, by converting everything to a common, 7-bit-based format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

how MIME encoding works

A

MIME regards data as a sequence of 8 bit bytes and encodes them in one of a variety of ways
• 7bit: no transformation, only useful if the data were already ASCII
• 8bit: no transformation, for some of the basic extensions to ASCII; don’t regard the top bit being set as an error
• quoted-printable: bytes with values less than 128 represent themselves. Values over 128 are represented by an ASCII ’=’ followed by a two digit hex value, written in ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

base64 (review)

A

the input is transformed into a 65 character subset of ASCII, namely A-Z a-z 0-9 + / plus = as a special pad character
The 64 non-pad characters can be represented in 6 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ISO-4489-15 character set

A

a simple 8-bit extension to ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

how to represent the end of a line in a text file?

A
  • Unix-derived systems use a linefeed (LF, character 10 in ASCII)
  • Windows systems use a carriage return (CR, ASCII 13) followed by a LF
  • Pre-MacOS X used a single CR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Telnet

A

Logging in to a remote machine for interactive use: first appear in 1969. Uses TCP

Telnet was one of the earliest applications developed for the Internet as telnet’s main purpose is to give remote access to machines and the original purpose of the Internet was to give remote access to machines
This connection is insecure in that data — including the login password — is readable by machines that route the packets as they travel
An eavesdropper could read confidential information as it goes past
So telnet is no longer recommended and has been replaced by the more sophisticated secure shell (ssh)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

File Transfer Protocol (FTP)

A

A basic way of transferring files. TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SMTP, DNS

A
  • Simple Mail Transfer Protocol (SMTP). Email. TCP

* Domain Name System (DNS). Already seen, mostly UDP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

NFS

A

• Network File System (NFS). Allows remote disks to appear as a local file system. UDP and TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

HTTP

A

• HyperText Transfer Protocol (HTTP). For requesting and transferring Web pages. Web pages are encoded using Hypertext Markup Language (HTML). TCP

17
Q

VoIP

A

• Voice over IP (VoIP). Telephone over the Internet. UDP

18
Q

Other application layer implementations

A

Finger, whois, LDAP, X Window System, ssh, pop, imap, USENET news, network time synchronisation, and so on

19
Q

Netcat

A

Netcat is a computer networking utility for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts