Authorize only certain user agents
Hi all, is there a method to blacklist certain SIP user agent or better just allow certain SIP user agent to log-in ? Fabio
Why would you want to? Almost any device can change the user agent it sends, either bypassing a blacklist or hitting a whitelist when it shouldn't. If you really want to, then it would be possible from the dialplan by creating an extension that matches against the sip_user_agent variable and hangs the call up before processing the rest of the dialplan. -Steve On 30 July 2010 17:18, Fabio Pietrosanti (naif) <lists@infosecurity.ch>wrote:
Hi all,
is there a method to blacklist certain SIP user agent or better just allow certain SIP user agent to log-in ?
Fabio
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Mod_xml_curl's directory binding would allow you to control registration, as I think sip_user_agent gets sent to the server. -Steve On 30 July 2010 17:47, Steven Ayre <steveayre@gmail.com> wrote:
Why would you want to? Almost any device can change the user agent it sends, either bypassing a blacklist or hitting a whitelist when it shouldn't.
If you really want to, then it would be possible from the dialplan by creating an extension that matches against the sip_user_agent variable and hangs the call up before processing the rest of the dialplan.
-Steve
On 30 July 2010 17:18, Fabio Pietrosanti (naif) <lists@infosecurity.ch>wrote:
Hi all,
is there a method to blacklist certain SIP user agent or better just allow certain SIP user agent to log-in ?
Fabio
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
http://jira.freeswitch.org/browse/BOUNTY-15 <http://jira.freeswitch.org/browse/BOUNTY-15>Feel free to add to the wiki.... On Fri, Jul 30, 2010 at 11:18 AM, Fabio Pietrosanti (naif) < lists@infosecurity.ch> wrote:
Hi all,
is there a method to blacklist certain SIP user agent or better just allow certain SIP user agent to log-in ?
Fabio
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- -Rupa
participants (3)
-
Fabio Pietrosanti (naif)
-
Rupa Schomaker
-
Steven Ayre