FreeRadius: PPTP - RADIUS and client IP address
-
Sorry, if the sequece was wrong. I checked the link but it does not meantion how to make patch. Could adv me how to make the patch?
-
from the console.
pkg_add -r diffutils
rehash
gdiff -urN <original file=""><new file="">And to put it into a filegdiff -urN <original file=""><new file="">> patch.txt
Then you can download or fetch the file from the diagnostics menu.</new></original></new></original>
-
I'm confused. What is the difference between 'diff' and 'patch'?
I've made the diff files with "diff -rub oldfile newfile > file.diff" and attached it this thread as requested by Hoba.I made the diff files as instructed in below link.
http://forum.pfsense.org/index.php/topic,2972.0.html
And I used the latest files from pfsense cvs and made the diff file with it.I think your instruction is also for just making diff files. Then, are diff and patch same thing?
Now I attached the diff files again and am sending them to coreteam@pfsense.com as well.
vpn.inc.diff.txt
vpn_pptp.php.diff.txt
freeradius.inc.diff.txt
freeradius.xml.dif.txt -
I sent the diff files for freeradius.inc and freeradius.xml that were made by jeroen before. But I think he has updated one which have more fuctions.
-
Hey, I was following this thread hoping it would help with our current issues.
I currently have pfsense using pptp and authenticating against our PDC (Win2k3 using microsoft internet authentication service) I know it's microsoft, but our entire company is AD driven and we need to integrate to a single directory service for centralization.
anyway this works fine for authentication, but what we would really like is the ability to have granular firewall control to VPN users.
So basically I am just checking, since microsoft's method also supports assigning static IPs to users, will this new code follow that, and actually assign the ip that radius tells it to? and if so, when will this feature be available to users?
We are hoping to impliment some kind of granular VPN setup very soon, so if there is a way we can apply it (if I just need to apply diffs to the above mentioned code or what) let me know.
Thanks!
-
I have probed other devs and they are interested.
Please email me a final patch set to sullrich@gmail.com
-
currently interested in merging radius code, however lack of time prohibits me from merging it this month. Perhaps somewhere after mid march.
-
Databeestje,
Any update on merging the radius code?
Regards,
Mon
-
Unfortunately I have not had the time at all to even look at it. There have been some other pressing matters I needed to take care of.
Also I have been a bit burned out recently the prevented me from participating in the project. As time permits i'll look at it.
-
databeestje,
Thanks for the update. Sorry to hear you are so busy.
Can anybody else take on this responsibility? I would if I could but I can't! i.e. i'm just a mere mortal.
Regards,
Mon
-
BUMP
-
Any update on this - it has been quite a while now!
-
BUMP
Any updates?
-
i saw great features being added to freeradius at some previous page. How can i add the diff files to my current freeradius files?
Edited : nevermind, i just managed to change the code manually using console. Great job to great writers!
-
azmihamzah,
Sorry for being a bit stuupid - but can you (or anybody else) tell me how you exactly applied the patches/updated code?
-
OK,
I have the four diff files and have located where the files to be patched are on the pfsense server:
/usr/local/pkg
–------------------
freeradius.inc
freeradius.xml/usr/local/www
vpn_pptp.php
/etc/inc
vpn.inc
However, I don't know how to patch the files. The thread has information and links on how to make the diff files. but how do you actually apply/patch these diff files? Can you copy the patch file to the pfsense server and run a command to perform the patch?
Please can somebody provide some simple instructions on how to apply these patches.
Cheers!
-
i just scp -ed to my box and edited those files manually, it took much time and concentration, but it works! I don't know the simpler method…
-
I'm running PFSense 1.2 RC3. The diff files were a little out of date for 1.2 RC3 so I manually applied them. I'm attaching the modified files for anyone who is interested. To use them make sure you are running the same version of PFSense, enable SSH on PFSense, rename the files removing the '.txt' from the filename. Then use sftp to copy them onto your PFSense machine.
I'm working on adding more features to FreeRadius and thought I should first start with the updates that have already been made up to this point. When I have completed the additions then I will create a diff and patch file.
Best Regards to the PFSense team and users.
freeradius.inc.txt
freeradius.xml.txt
vpn.inc.txt
vpn_pptp.php.txt -
Please send me diffs of the files to coreteam@pfsense.com and I will get the changes commited. Thanks for working on this.
-
I created the diff files and sent them to coreteam@pfsense.com. I built them using the following commands:
cd /usr/local/pkg
diff -rub freeradius.xml freeradius.xml.txt > freeradius.xml.diff
diff -rub freeradius.inc freeradius.inc.txt > freeradius.inc.diffcd /usr/local/www
diff -rub vpn_pptp.php vpn_pptp.php.txt > vpn_pptp.php.diffcd /etc/inc
diff -rub vpn.inc vpn.inc.txt > vpn.inc.diff