Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



What is an Authentication Services - RADIUS in PHP?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-03-2010
Member
 
Join Date: Aug 2006
Posts: 221
What is an Authentication Services - RADIUS in PHP?
  

Hello friends,
I am an intermediate programmer, but do not have enough knowledge about the PHP programming language. I am starting with an authentication services that are included in PHP. I want to know about the Radius, which is an authentication service. SO thought that you guys can help me in this topic.!! Please tell me what is an Authentication Services - RADIUS in PHP? Hope tat you got my point and would reply soon.!!

__________________
AMD Sempron 2800+ @ 2Ghz
Asus A7V8X-LA
120Gb Seagate barracuda 7200Rpm Ultra-ATA 100
Elixir 512mb DDR Pc3200 (Soon 1Gb)
Club 3D Radeon 9600 256Mb
Lite-On Cd & Dvd writer combo
IDE-Dvd drive
400w Psu
Windows Xp Pro Sp2
Advent Wireless Mouse & Keyboard.
Reply With Quote
  #2  
Old 07-03-2010
Member
 
Join Date: Mar 2008
Posts: 349
Re: What is an Authentication Services - RADIUS in PHP?

The radius is the package which is based on the libradius (Remote Authentication Dial In User Service) of FreeBSD. It allows customers to identify and make representations through network applications on remote servers. This PECL extension supports any protocol Radius Authentication for full identification and Radius Accounting. This package is available for Unix (tested on FreeBSD and Linux) but also for Windows. These functions are available in the standard PHP module, which is always available.
Reply With Quote
  #3  
Old 07-03-2010
Member
 
Join Date: Aug 2006
Posts: 235
Re: What is an Authentication Services - RADIUS in PHP?

The radius is an extension of PECL which is not bundled with PHP. The following are the Predefined Constants :
  • RADIUS_ACCESS_REQUEST ()
  • RADIUS_ACCESS_ACCEPT ()
  • RADIUS_ACCESS_REJECT ()
  • RADIUS_ACCOUNTING_REQUEST ()
  • RADIUS_ACCOUNTING_RESPONSE ()
  • RADIUS_USER_NAME (string)
  • RADIUS_USER_PASSWORD (string)
  • RADIUS_CHAP_PASSWORD (string)
__________________
3.2 (northwood)
2gig ram
ATI AIW X800xt 256mb
Gigabyte GA-8knxp 875p Chipset
Optiwrite 8X DVD Burner
Win XP PRO Sp2 (Works Perfectly)
2 SATA Raptor 74gig Raid 0
2 7200 IDE 320gig HD
Reply With Quote
  #4  
Old 07-03-2010
Member
 
Join Date: Jul 2006
Posts: 286
Re: What is an Authentication Services - RADIUS in PHP?

I have provided you more predefined constants that can be useful for you. These constants are defined by this extension, and are only available when the extension has been compiled into PHP or dynamically loaded at runtime. The following are the predefined constants :
  • RADIUS_NAS_IP_ADDRESS (string)
  • RADIUS_NAS_PORT (integer)
  • RADIUS_SERVICE_TYPE (integer)
  • RADIUS_FRAMED_IP_ADDRESS (string)
  • RADIUS_FRAMED_IP_NETMASK (string)
  • RADIUS_FRAMED_ROUTING (integer)
  • RADIUS_FILTER_ID (string)
__________________
IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....
Reply With Quote
  #5  
Old 07-03-2010
Member
 
Join Date: Jul 2006
Posts: 442
Re: What is an Authentication Services - RADIUS in PHP?

You should follow the steps mentioned below while using the Radius Service :
  1. First, you will have to retrieve a radius resource
  2. Then configure the library
  3. After that create the request
  4. Add the attributes
  5. Send request
  6. After sending retrieve attributes
  7. Lastly close the radius resource (optional)
__________________
"When they give you ruled paper, write the other way..." J.R.J.
Reply With Quote
  #6  
Old 07-03-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: What is an Authentication Services - RADIUS in PHP?

I have provided you with the functions of Radius that can be useful in coding :
  • radius_acct_open - Creates a Radius handle for accounting
  • radius_add_server - Adds a server
  • radius_auth_open - Creates a Radius handle for authentication
  • radius_close - Frees all resources Radius
  • radius_config - Causes the library to read a given configuration file
  • radius_create_request - Create an account application or identification
  • radius_cvt_addr - Converts raw data to IP address
  • radius_cvt_int - Converts raw data to integer
  • radius_cvt_string - Converts raw data to string
  • radius_demangle_mppe_key - Derives mppe key data from
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is an Authentication Services - RADIUS in PHP?"
Thread Thread Starter Forum Replies Last Post
How to test Radius authentication for DDWRT Udi-Baba Networking & Security 4 27-04-2012 02:27 PM
The Blast radius in Prototype 2 is quite small BSOD.K Video Games 1 26-04-2012 01:15 PM
How can I apply QoS profile by using RADIUS attributes? ChittiBabu Networking & Security 2 04-01-2012 11:24 AM
Windows Server 2008 NPS RADIUS FFCookie Operating Systems 5 21-08-2010 05:31 AM
How to setup RADIUS for WLAN on SBS 2008 2muchreality Small Business Server 2 29-01-2010 10:09 AM


All times are GMT +5.5. The time now is 09:14 AM.