Presented by Liang-Chang Yu

Slides:



Advertisements
Similar presentations
RSDB Installation & Configuration
Advertisements

Configuring a Router Harold Hernandez, MS, CCNI. 3.1 Configuring a Router Name a router Set passwords Examine show commands Configure a serial interface.
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Welcome to the CardSaver VoIP Billing & Call Management Demonstration © 2004, Parwan Electronics Corporation.
Extern name server - translates addresses of s messages - enables users to use aliases - … ID cards system - controls entrance to buildings,
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
DIMES Planner The DIMES Project Tel Aviv University October-2010.
Configuring Linux Radius Server
DT211 Stage 2 Databases Lab 1. Get to know SQL Server SQL server has 2 parts: –A client, running on your machine, in the lab. You access the database.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
Remote User Authentication. Module Objectives By the end of this module participants will be able to: Describe the methods available for authenticating.
Linux+ Guide to Linux Certification, Second Edition
Chapter 18 RADIUS. RADIUS  Remote Authentication Dial-In User Service  Protocol used for communication between NAS and AAA server  Supports authentication,
Implementing RADIUS AAA Phil & Rick. Content Terms and Concepts Access Control What is AAA? Benefits of AAA What is RADIUS? Microsoft IAS Overview Installation.
RADIUS Server (Brocade Controller)
Course 6421A Module 7: Installing, Configuring, and Troubleshooting the Network Policy Server Role Service Presentation: 60 minutes Lab: 60 minutes Module.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
INTERNET APPLICATION DEVELOPMENT For More visit:
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
1 CCNA 3 v3.1 Module 6 Switch Configuration Claes Larsen, CCAI.
1 © 2006 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Confidential Configuring Attendant Console.
© Copyright AARNet Pty Ltd Iptel’s SIP Express Router (SER) SIP Proxy Server SIP Workshop AARNet By Stephen Kingham
Iptel’s SIP Express Router (SER) SIP Proxy Server SIP Workshop AARNet By Stephen Kingham
Configuring Linux Radius Server Objectives –This chapter will show you how to install and use Radius Contents –An Overview Of How Radius Works –Configruation.
Looking for simple php script Language: PHP Must be php>>>>> I can not use an other language Budget: $30.0 If more than $30.0 Please do not bid Login page.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
A Brief Documentation.  Provides basic information about connection, server, and client.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 11: Internet Authentication Service.
1 Radius + MySQL Authentication and Accounting AFNOG 2000 Cape Town, South Africa.
Chapter 3: Authentication, Authorization, and Accounting
2/26/021 Pegasus Security Architecture Author: Nag Boranna Hewlett-Packard Company.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
DataFlow Diagram – Level 0
Scaling Dovecot using Mysql and Virtual Users AfNOG 2013 Scalable Internet Services (SS-E) Lusaka, Zambia Presented by Michuki Mwangi.
OPTION section It is the first section of the named.conf User can use only one option statement and many option-value pair under the section. Syntax is.
How To Start a SQL server Connecting to SQL Server.
FreeRADIUS Install and Configuration Frank A. Kuse 27/05/2008.
Wireless Security - Encryption Joel Jaeggli For AIT Wireless and Security Workshop.
FreeRADIUS Install and Configuration Joel Jaeggli 05/04/2006.
WholeSale Model 10. WholeSale Model This feature enables the Nomadix device to act as an L2TP Access Concentrator (LAC) and initiate single or multiple.
Xerox Analyst Training
Postgres and LDAP By Lloyd Albin Postgres and LDAP 10/4/2016.
UC Pro Troubleshooting Guide
Welcome to the CardSaver VoIP Billing & Call Management Demonstration
Microsoft Windows NT 4.0 Authentication Protocols
Configuring Attendant Console
Module Overview Installing and Configuring a Network Policy Server
Frank Kuse Presented at AfNOG 2017 NAIROBI
Implementing Network Access Protection
LINUX ADMINISTRATION 1
Simulation of FortiMail with MSISDN
CMS Central Version 1.0 Made by Eden Sun Jan 2010.
Radius, LDAP, Radius used in Authenticating Users
FreeRADIUS Install and Configuration
Pass4itsure Cisco Dumps
Chapter 19 Domain Name System (DNS)
2018 Huawei H Real Questions Killtest
2018 Valid Cisco Exam Dumps IT-Dumps
Cisco Real Exam Dumps IT-Dumps
IIS.
Server-to-Client Remote Access and DirectAccess
Chapter 8 Working with Databases and MySQL
Configuring a Router Module 3 Semester 2.
BRIA Android Configuration
Ch. 7 Network Management CIS 187 Multilayer Switched Networks CCNP version 7 Rick Graziani Spring 2016.
BRIA Android Configuration
Practical Exercise Overview
Presentation transcript:

Presented by Liang-Chang Yu Scenario 4 - testing of ser and b2bua and freeradius with Mysql-enabled Presented by Liang-Chang Yu

5-4-1 The figure of scenario4 - call from laksman@voip to 8899@voip 8899@voip.lges.chc.edu.tw MySQL Server laksman@voip.lges.chc.edu.tw

5-4-1 The testing of scenario 4 - call from laksman@voip to 8899@voip

5-4-3 The log information displayed on b2bua – call from laksman@voip to 8899@voip 20040924-114657.220 [149018624] WARN B2bUa: AAATransceiver.cxx:196 Problem with Radius message ,reason:VRadiusException: No attributes of type 27 found in Attribute list

5-4-4 The log information displayed on radius – call from laksman@voip to 8899@voip Module: Loaded SQL Module: Instantiated sql (sql) Module: Loaded Acct-Unique-Session-Id Module: Instantiated acct_unique (acct_unique) rad_recv: Access-Request packet from host 163.23.112.61:1024, id=0, length=74 User-Name = "laksman" User-Password = "." NAS-IP-Address = 163.23.112.61 NAS-Port = 1000 Called-Station-Id = "8899" Calling-Station-Id = "laksman“ Login OK: [laksman/.] (from client localhost port 1000 cli laksman) Sending Access-Accept of id 0 to 163.23.112.61:1024

5-4-5 The Config of ser.cfg of senario4 # if the request URI is numerical, forward the request to B2BUA server... if (uri=~"^sip:[0-9]+@voip.lges.chc.edu.tw") { forward (voip.lges.chc.edu.tw, 5065); };

5-4-6 The Config of b2bConfig.xml of senario4 <B2BUA_Configuration> <SIP> <Local> <Port>5065</Port> <Transport>UDP</Transport> </Local> <Proxy_Server> <Address>163.23.112.61</Address> <Port>5069</Port> </Proxy_Server> <Registration> <Register>no</Register> <Port>5060</Port> <Expires>600</Expires> </Registration> </SIP> <RADIUS> <Authentication_Port>1812</Authentication_Port> <Accounting_Port>1813</Accounting_Port> <Billing_Server> <Password>testing123</Password> </Billing_Server> </RADIUS> <PrePaid> <Billing> <Option>mandatory</Option> <Refresh_Time>60</Refresh_Time> <Extract_User_Id_From>Proxy-Authorization</Extract_User_Id_From> <User_Id_Decode_Scheme>Basic</User_Id_Decode_Scheme> </Billing> <Use_SIP_INFO>no</Use_SIP_INFO> <Use_HTTP>no</Use_HTTP> </PrePaid> <Redundancy /> </B2BUA_Configuration>

5-4-7 The Config of radiusd.conf of freeradius of senario4 In authorize and accounting section, umcomment # of sql line. Like this: authorize { # auth_log # attr_filter chap mschap # digest # IPASS suffix # ntdomain eap # Read the 'users' file files # # Look in an SQL database. The schema of the database # is meant to mirror the "users" file. # See "Authorization Queries" in sql.conf sql # etc_smbpasswd # ldap # daily # checkval } . accounting { unix radutmp # sradutmp # main_pool # Log traffic to an SQL database. # See "Accounting queries" in sql.conf # Cisco VoIP specific bulk accounting # pgsql-voip

5-4-8 The Config of clients.conf of freeradius of senario4 In clients.conf, add these lines like below: client 163.23.112.61 { secret = testing123 shortname = localhost password = testing123 } client voip.lges.chc.edu.tw {

5-4-9 The Config of sql.conf of freeradius of senario4 In sql.conf, put the right rootpassword sql { # Database type # Current supported are: rlm_sql_mysql, rlm_sql_postgresql, # rlm_sql_iodbc, rlm_sql_oracle, rlm_sql_unixodbc, rlm_sql_freetds driver = "rlm_sql_mysql" # Connect info server = "localhost" login = "root" password = "rootpassword" # Database table configuration radius_db = "radius" # If you want both stop and start records logged to the # same SQL table, leave this as is. If you want them in # different tables, put the start table in acct_table1 # and stop table in acct_table2 acct_table1 = "radacct" acct_table2 = "radacct" # Allow for storing data after authentication postauth_table = "radpostauth" authcheck_table = "radcheck" authreply_table = "radreply" groupcheck_table = "radgroupcheck" groupreply_table = "radgroupreply" usergroup_table = "usergroup" # Remove stale session if checkrad does not see a double login deletestalesessions = yes # Print all SQL statements when in debug mode (-x) sqltrace = yes sqltracefile = ${logdir}/sqltrace.sql … }

5-4-10 The value of each table of radius in MySQL of senario4 #1 #cd /usr/ports/distfiles/freeradius-1.0.0/src/modules/rlm_sql/drivers/rlm_sql_mysql # mysql –uroot –prootpasswd radius < db_mysql.sql Then, In radcheck table, add like this: In radreply table, add like this:

5-4-10 The value of each table of radius in MySQL of senario4 #2 In radgroupcheck table, add like this: In radgroupreply table, add like this: In usergroup table, add like this: