Ruby on Rails Monday, January 5, 2015

On Mon, Jan 5, 2015 at 2:22 PM, Robby O'Connor <robby.oconnor@gmail.com> wrote:

> This sounds like someone doesn't truely understand how networking works...

True, but these days, many (most?) developers don't. So, I'm tempted
to just cut him some slack, and point him in the direction of some
learning.

Yasin, the "standard model" of networking in general can be found at:

http://en.wikipedia.org/wiki/OSI_model

The "real" Internet stack is a little bit different, and can be found at:

http://www.w3.org/People/Frystyk/thesis/TcpIp.html

(though this omits the bottom layers found in OSI). You can find a
more general description of protocol stacks at:

http://en.wikipedia.org/wiki/Protocol_stack

One important thing to remember is that in a layered architecture
(such as this), each layer should generally be as ignorant as possible
of what's going on at the lower layers. So, I would very much doubt
that a MAC address would be found in an HTTP request, unless some
specially modified application were adding it in a custom header or
some such.

-Dave

--
Dave Aronson, consulting software developer of Codosaur.us,
PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQigZzGAVh6OQuTqoHTSRTWDjrPZx6dYOAA%3DniwgCWiVw8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment