HW1x - Bitbucket

pastecoolAI and Robotics

Nov 14, 2013 (3 years and 6 months ago)

87 views

Nick Gridinskiy

HW1

February 3, 2011

accept: text/xml, application /xml, application/xhtml+xml,


text/html;q=0
.9
, text/plain;q=0.8, video/x
-
mng, image/png,


image/jpeg, image/gif;q=0.2, */*;q=0.1



Text/html



Application/xml



Application/xhtml+xml



Text/html



Text/plain



Video/x
-
mng



Image/png



Image/jpeg



Image/gif



*/*

One good thing that might come of it is the fact that it can support multi
-
langual applications
, without
the use of modifiers which improves performance

on the other hand it will use more memory fo
r
applications that are

only written for one language.

GET /hmm/oh/well?isThis=right

HTTP/1.1

Host: www.ThisIsATest.net:2012


Because the TCP header already contains that information as part of the protocol.

Tracing route to google.com [74.125.224.84]

over

a maximum of 30 hops:



1 3 ms <1 ms <1 ms 192.168.100.11


2 29 ms 26 ms 40 ms 24.9.56.1


3 11 ms 9 ms 8 ms te
-
8
-
2
-
ur09.denver.co.denver.comcast.net [68.85.

107.69]


4 10 ms 12 ms 25 ms te
-
7
-
3
-
ur10.denver.co.
denver.comcast.net [68.86.

179.130]


5 11 ms 11 ms 15 ms te
-
0
-
4
-
0
-
1
-
ar02.aurora.co.denver.comcast.net [68

.86.179.158]


6 14 ms 11 ms 12 ms pos
-
2
-
4
-
0
-
0
-
cr01.denver.co.ibone.comcast.net [68

.86.91.101]


7 25 ms 28 ms 28 ms p
os
-
2
-
14
-
0
-
0
-
cr01.dallas.tx.ibone.comcast.net [6

8.86.85.178]


8 43 ms 27 ms 28 ms pos
-
0
-
4
-
0
-
0
-
pe01.1950stemmons.tx.ibone.comcast.n

et [68.86.87.218]


9 66 ms 92 ms 66 ms 75.149.231.70


10 82 ms 66 ms 66 ms 72.14.233.85


11

69 ms 66 ms 84 ms 209.85.250.234


12 67 ms 66 ms 70 ms 209.85.253.178


13 65 ms 69 ms 66 ms 64.233.174.19


14 68 ms 66 ms 66 ms 74.125.224.84

This basically means that in order to connect to google.com i must first bo
unce my signal off of these
nodes.

FTP
-

according to
http://www.iana.org/assignments/port
-
numbers

currently IANA has registered both
TCP/UDP 21 and 20 for use.

DNS
-

uses UDP/TCP 53

xns
-
auth

56/tcp XNS Authentication

xns
-
auth 56/udp XNS Authentication


can be found at
http://en.wikipedia.org/wiki/List_of_Internet_top
-
level_domains

includes .c
om, .org, .net, .biz, .tv and so on.

You could make an attempt to telnet to it, or use an advanced network scanner such as nmap or ossec.

The standard IANA registered protocol is:

daytime 13/tcp Daytime (RFC 867)

daytime 13/udp Dayt
ime (RFC 867)

Sound files generally can be encoded using several different codecs, but the uncompressed higher
quality sound format is .wav, while a more common lossy format is mpeg
-
3.

There are ofcourse other
formats, and hence other MIME types that can

be added to this list, but because of the sheer amount i
am not going to.



audio/x
-
wav



audio/mpeg3



audio/midi



VRML


is an acronym for Virtual Reality Markup Language and it was developed for describing virtual
worlds, 3d objects, lights, sounds etc.

Those two protocols are very similar, in terms of the types of messages they return. The actual codes
are specified in a very similar fashion and in fact a lot of the messages mean almost the same thing. But
the differences come in when we are looking at

what those two protocols were meant to do. While http
is meant to server pages, it returns more generic codes, which mean almost nothing except for the
generic i got a problem message, while FTP tries to clarify the issue a bit more. Also i should point

out,
that ftp must receive commands rather than simple requests, thus it must be able to handle a broader
set of functionality.

You would create a robots.txt file that will describe the places that you do not want the crawler going to.

Yahoo.com/robots.tx
t

User
-
agent: *

Disallow: /p/

Disallow: /r/

Disallow: /*?



<input type=”text” value=”&quot;An example is written as &lt;x,b&gt;.” />

<!DOCTYPE html PUBLIC "
-
//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1
-
strict.dtd">

<html>

<
body>

<h1>H1</h1>

<h2>H2</h2>

<h3>H3</h3>

<h4>H4</h4>

<h5>H5</h5>

<h6>H6</h6>

<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

<p>This is a paragraph.</p>

</body>

</html>

I do not see anything wrong with this markup. I have tried it out in w3
schools site and there appears
to be nothing wrong with this.

http://example.com/hw1/icon5.gif

Do not have the book, but based on what i see on the printout is correct.

YES