Re: [SOLVED] CHAP Modification

This is a discussion on Re: [SOLVED] CHAP Modification within the FreeRADIUS Users forums, part of the Networking and Network Related category; Alan DeKok-4 wrote: > > Um... rlm_example? Or the files in doc/? > > It's not like the ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2007
ChristosH
 
Posts: n/a
Default Re: [SOLVED] CHAP Modification




Alan DeKok-4 wrote:
>
> Um... rlm_example? Or the files in doc/?
>
> It's not like the module system is that complicated. A C file, a tiny
> Makefile, and you're pretty much done.
>
>> Or would I just include the chappatch.c file in the same directory,
>> include the header file chappatch.h into the rlm_chap.c file (where do
>> you
>> stick the header files?) and recompile the whole thing?

>
> You can do that if you want. But rlm_chap may change, and your patch
> may not work any more.
>
> Alan DeKok.
>


I can't seem to find where in rlm_example it tells me how to create all the
stuff to integrate my own module.

I get that I'm going to have to create a slightly modified 'clone' of
rlm_chap, and it's going to have to have it's own header file and makefile
(for right now I'll refer to my module as rlm_altchap). The makefile looks
relatively easy to do, the header looks simple enough also (just has to list
functions contained in my module).

Now, how do I make sure that my new module is included? Is everything in the
modules folder complied in with FreeRadius every time you make it?

Finally, how would I also set the module to intercept any CHAP requests? I
was thinking to set the Auth-Type := altCHAP.
--
View this message in context: http://www.nabble.com/CHAP-Modificat....html#a9273523
Sent from the FreeRadius - User mailing list archive at Nabble.com.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0