How to take MAC address

View: New views
6 Messages — Rating Filter:   Alert me  

How to take MAC address

by Chandrakant Solanki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I want to know the MAC address of registered client on kamailio...

suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and 192.168.1.4

from these 3 Client, i am registered successfully with 101, 102, 103@...

But for additional authentication ... i also need MAC address for this Client.

Is there any module, method, function or variable to take MAC address or is there any alternative for the above case.


Waiting for favorable reply...

--
Regards,

Chandrakant Solanki

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to take MAC address

by Brandon Armstead-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

    Most SIP compatible devices will include this in a header, take a network trace at your device making a REGISTER/INVITE request, etc.

As for any specific module in "extracting" this information out, I can not think of anything off the top of my head, however will be fairly easily done with all of the tools available to you, such as AVP's and transformations.

On Wed, Oct 28, 2009 at 1:35 AM, Chandrakant Solanki <solanki.chandrakant@...> wrote:
Hi

I want to know the MAC address of registered client on kamailio...

suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and 192.168.1.4

from these 3 Client, i am registered successfully with 101, 102, 103@...

But for additional authentication ... i also need MAC address for this Client.

Is there any module, method, function or variable to take MAC address or is there any alternative for the above case.


Waiting for favorable reply...

--
Regards,

Chandrakant Solanki

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to take MAC address

by Raúl Alexis Betancor Santana :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 28 October 2009 06:35:28 Chandrakant Solanki wrote:

> Hi
>
> I want to know the MAC address of registered client on kamailio...
>
> suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and
> 192.168.1.4
>
> from these 3 Client, i am registered successfully with 101, 102,
> 103@...
>
> But for additional authentication ... i also need MAC address for this
> Client.
>
> Is there any module, method, function or variable to take MAC address or is
> there any alternative for the above case.
>
>
> Waiting for favorable reply...

You will not have luck outsite "your proxy network" ... I mean ... that if
your proxy is on 192.168.0.10/24 and your clients on any other network, you
will always get's the same MAC, the mac of the 192.168.0.10/24 gateway.

Your only hope is that SOME SIP devices add their MAC as part of some
subscribe or register petition.

I don't see any security increase on this, because MAC's could be easily
spoofed.

--
Raúl Alexis Betancor Santana
Dimensión Virtual

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Parent Message unknown Re: How to take MAC address

by Zahid Mehmood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I know that the Polycom phones can be configured to add the MAC address in one of the headers (probably the user agent hdr).

--
Zahid


----- Original Message -----
From: users-bounces@... <users-bounces@...>
To: users@... <users@...>
Sent: Wed Oct 28 02:58:05 2009
Subject: Re: [Kamailio-Users] How to take MAC address

On Wednesday 28 October 2009 06:35:28 Chandrakant Solanki wrote:

> Hi
>
> I want to know the MAC address of registered client on kamailio...
>
> suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and
> 192.168.1.4
>
> from these 3 Client, i am registered successfully with 101, 102,
> 103@...
>
> But for additional authentication ... i also need MAC address for this
> Client.
>
> Is there any module, method, function or variable to take MAC address or is
> there any alternative for the above case.
>
>
> Waiting for favorable reply...

You will not have luck outsite "your proxy network" ... I mean ... that if
your proxy is on 192.168.0.10/24 and your clients on any other network, you
will always get's the same MAC, the mac of the 192.168.0.10/24 gateway.

Your only hope is that SOME SIP devices add their MAC as part of some
subscribe or register petition.

I don't see any security increase on this, because MAC's could be easily
spoofed.

--
Raúl Alexis Betancor Santana
Dimensión Virtual

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to take MAC address

by Steven C. Blair :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Polycom and other user agents will/can include the MAC address in the User-Agent header. The is no standard encoding of the MAC address in this header as far as I know. Polycom supposedly has a configuration option to enable this feature but I've never had the need to confirm this.

-Steve

-----Original Message-----
From: users-bounces@... [mailto:users-bounces@...] On Behalf Of Zahid Mehmood
Sent: Wednesday, October 28, 2009 7:22 AM
To: rabs@...; users@...
Subject: Re: [Kamailio-Users] How to take MAC address

I know that the Polycom phones can be configured to add the MAC address in one of the headers (probably the user agent hdr).

--
Zahid


----- Original Message -----
From: users-bounces@... <users-bounces@...>
To: users@... <users@...>
Sent: Wed Oct 28 02:58:05 2009
Subject: Re: [Kamailio-Users] How to take MAC address

On Wednesday 28 October 2009 06:35:28 Chandrakant Solanki wrote:

> Hi
>
> I want to know the MAC address of registered client on kamailio...
>
> suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and
> 192.168.1.4
>
> from these 3 Client, i am registered successfully with 101, 102,
> 103@...
>
> But for additional authentication ... i also need MAC address for this
> Client.
>
> Is there any module, method, function or variable to take MAC address or is
> there any alternative for the above case.
>
>
> Waiting for favorable reply...

You will not have luck outsite "your proxy network" ... I mean ... that if
your proxy is on 192.168.0.10/24 and your clients on any other network, you
will always get's the same MAC, the mac of the 192.168.0.10/24 gateway.

Your only hope is that SOME SIP devices add their MAC as part of some
subscribe or register petition.

I don't see any security increase on this, because MAC's could be easily
spoofed.

--
Raúl Alexis Betancor Santana
Dimensión Virtual

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: How to take MAC address

by Bugzilla from ibc@aliax.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/28 Chandrakant Solanki <solanki.chandrakant@...>:

> Hi
>
> I want to know the MAC address of registered client on kamailio...
>
> suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and
> 192.168.1.4
>
> from these 3 Client, i am registered successfully with 101, 102,
> 103@...
>
> But for additional authentication ... i also need MAC address for this
> Client.

Are those clients and the proxy in the *same* network? If not, forget it.
Perhaps some devices can include their MAC in some header but... why
would you rely on it? it can be totally spoofeable!

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users