Re: How find ruby on rails app client mac address?

This sounds like someone doesn’t truely understand how networking
works…

–Rob
Sent from my cell, please excuse any typos.
On Jan 5, 2015 2:19 PM, “Jason Fleetwood-Boldt” [email protected]
wrote:

I don’t believe the MAC address is passed in a TCP/IP request, this is
used
by the networking (switches & routers) layer only.

Passing MAC addresses around the internet seems like it could lead to
people spoofing other people’s machines easily, so that’s probably why
it
isn’t done.

Generally in a web app you record the user’s browser using a cookie
(which
is tied to a session) and you record the user’s IP address. I’ve never
heard of anyone recording a MAC address.

-Jason

On Jan 5, 2015, at 12:21 PM, Yasin PEHLİVANLI
[email protected]
wrote:

Hi;
How to get client login mac address? (ruby on rails)

i am sorry bad english :slight_smile:


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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/1034b6d2-e1c8-4e0b-90b8-5c16936e9863%40googlegroups.com
https://groups.google.com/d/msgid/rubyonrails-talk/1034b6d2-e1c8-4e0b-90b8-5c16936e9863%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/D93A60CE-913A-494D-B5D9-A16955ADFB82%40datatravels.com
https://groups.google.com/d/msgid/rubyonrails-talk/D93A60CE-913A-494D-B5D9-A16955ADFB82%40datatravels.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Me or the original poster?

If MAC Addresses are passed in the http cycle that is certainly news to
me since I’ve never heard of that. Obviously switches and hubs use Mac
addresses at the TCP/IP layer, but remember that the TCP/IP layer is a
separate layer from the http cycle layer.

-Jason

you understand it fine…Original poster.

–Rob
Sent from my cell, please excuse any typos.
On Jan 5, 2015 2:29 PM, “Jason Fleetwood-Boldt” [email protected]

I meant the original poster did not understand it…which is quite
worrisome.

–Rob
Sent from my cell, please excuse any typos.

On Mon, Jan 5, 2015 at 2:22 PM, Robby O’Connor [email protected]
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:

OSI model - Wikipedia

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

The Internet Protocol Stack

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

Protocol stack - Wikipedia

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 A., consulting software developer of Codosaur.us,
PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com.