Get MAC address from Jetty HTTPServletRequest
- by Chris Thompson
Hi all,
Does anybody know if there is a way to get the sender's MAC address from an HTTPServletRequest in Jetty? (Note: by sender, I mean immediate sender aka the last hop before my server). If there isn't a direct way, does anybody know a way to translate an IP address to a MAC address in Java?
Other note: I completely realize that MAC addresses do not leave the local subnet, and that's the intended functionality.
I know this seems like an odd question, but trust me, I know what I'm doing :-) If you're curious, I'd be happy to explain why I want this.
Thanks,
Chris