Oct 21, 2010 10:07
(9:37:55 AM) blodia: so are the ports just basically like... different entrances to our network? i need to draw a cute diagram lol
(9:38:27 AM) Chris: pretty much. imagine our house has an ip address for the address
(9:38:36 AM) blodia: k
(9:38:45 AM) Chris: the directory on the street says "chris and lorien live at x.x.x.x"
(9:38:52 AM) Chris: the directory would be DNS, domain name service
(9:38:59 AM) Chris: that translations URLs to their actual IPs
(9:39:08 AM) Chris: now imagine around our house we have 5000 gates
(9:39:14 AM) Chris: each one labeled 1-5000
(9:39:20 AM) Chris: each one of those gates would be a port
(9:39:35 AM) Chris: and we tell our dog, firewall, to not let anybody in except for the gates we allow
(9:39:36 AM) blodia: oooooooooh.
(9:39:45 AM) blodia: i suppose i should've probably figured out what DNS means
(9:39:54 AM) blodia: oh god lol
(9:40:01 AM) blodia: "firewall", our dog
(9:40:08 AM) blodia: if we ever get a dog we are SO naming it firewal
(9:40:09 AM) blodia: l
(9:40:11 AM) Chris: yeah, he's in the yard watching the gates
(9:40:15 AM) Chris: lol
(9:40:16 AM) blodia: ...
(9:40:23 AM) blodia: that's...
(9:40:25 AM) blodia: that's adorable
(9:40:30 AM) Chris: i like analogies :)
(9:40:37 AM) blodia: me too!
(9:41:04 AM) Chris: so anyway, we say, "firewall, if anybody comes to the 22 gate, you tell them they can come in if they're talking in SSH"
(9:41:19 AM) blodia: LOL
(9:41:22 AM) blodia: okay, this is awesome.
(9:41:25 AM) blodia: /nod, nod??
(9:41:44 AM) Chris: same thing with 80 "let them in if they're talking HTTP"
(9:41:53 AM) Chris: 21, "FTP"
(9:41:58 AM) Chris: 23, "Telnet"
(9:41:59 AM) Chris: etc etc
(9:42:18 AM) Chris: now the firewall also does NAT, network address translation
(9:42:33 AM) blodia: ohhhhhhhhhhhh
(9:42:38 AM) blodia: THAT's what the difference in ports is?
(9:42:42 AM) Chris: and the rule i just added says "if there is somebody at gate 222, please forward them to the webserver on gate 22"
(9:43:02 AM) Chris: yeah, most web protocols have a standard defined default port
(9:43:06 AM) blodia: oho.
(9:43:19 AM) blodia: so not only is firewall a guard dog, he's a butler too?
(9:43:31 AM) Chris: yep
(9:43:38 AM) Chris: he's a good doggy
(9:43:55 AM) blodia: AWWWWWWWWW YAY
(9:43:59 AM) blodia: what breed is he
(9:44:05 AM) Chris: Lava
(9:44:25 AM) Chris: um... whatever clifford the big red dog is
(9:44:28 AM) blodia: ............
(9:44:30 AM) blodia: wat
(9:44:41 AM) Chris: giant dog the color of fire :)
(9:44:51 AM) Chris: seems appropriate
(9:45:01 AM) blodia: oooooooooooooh