Re: post-proxy ip address assignment

2013-05-02 Thread Gabriel Marais
do I add the unlang code? > > as you have > I have made the changes in the file proxy-inner-tunnel -- i'm not sure if this is where i'm supposed to be adding the change. > >2. how do i update the reply? > > by updating the reply > > > I cur

Re: post-proxy ip address assignment

2013-05-01 Thread A . L . M . Buxey
pdating the reply >I currently have the following code in my proxy-inner-tunnel file :- >post-proxy { >eap >if (proxy-reply:Access-Accept) { > update proxy-reply { Framed-IP-Address := "%{sql:SELECT Value FROM >`radreply` WHER

Re: post-proxy ip address assignment

2013-05-01 Thread Gabriel Marais
sorry alan, perhaps I'm mixing up my examples in an attempt to get this working... 1. where (or in which file) do I add the unlang code? 2. how do i update the reply? I currently have the following code in my proxy-inner-tunnel file :- post-proxy { eap if (proxy-reply:A

Re: post-proxy ip address assignment

2013-05-01 Thread A . L . M . Buxey
Hi, why are you now talkign about users file? use unlang - as you originally stated and then update the reply alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: post-proxy ip address assignment

2013-05-01 Thread Gabriel Marais
On Wed, May 1, 2013 at 11:15 AM, wrote: > Hi, > > if you look at freeradius running in debug mode, you can see what bits of > the > server are being hit and where you can do the required changes. so > post-proxy > would be okay - but you update the reply > when runn

Re: post-proxy ip address assignment

2013-05-01 Thread A . L . M . Buxey
Hi, if you look at freeradius running in debug mode, you can see what bits of the server are being hit and where you can do the required changes. so post-proxy would be okay - but you update the reply alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

post-proxy ip address assignment

2013-04-30 Thread Gabriel Marais
hi guys i am having a hard time getting a post-proxy setup going. we have a freeradius 2.1.8 server setup for a specific realm. authentication requests are coming from a upstream provider (3g carrier) onto our radius server. our radius server sends the authentication request to another radius

Re: Calling files module in sites-enabled/default post-proxy section

2012-10-15 Thread Arran Cudbard-Bell
On 15 Oct 2012, at 16:35, Gianni Costanzi wrote: > As the subject says, is it possible to call the files module in the > post-proxy section within the default virtual server (sites-enabled/default)? > I'm using a piece of code in unlang to match the realm in the post-proxy >

Calling files module in sites-enabled/default post-proxy section

2012-10-15 Thread Gianni Costanzi
As the subject says, is it possible to call the files module in the post-proxy section within the default virtual server (sites-enabled/default)? I'm using a piece of code in unlang to match the realm in the post-proxy section and when it matches a given value I'd like to tell unlang to

Re: Per-realm post-proxy

2012-08-14 Thread Alan DeKok
Shaun Lowry wrote: > Is it possible to have a per-realm post-proxy section? No. But you can have pre/post proxy sections for home server pools. See proxy.conf. > We need to add a > couple of attributes to our Access-Accepts which vary in content > depending on which realm w

Re: Per-realm post-proxy

2012-08-13 Thread alan buxey
Hi, > Is it possible to have a per-realm post-proxy section? We need to > add a couple of attributes to our Access-Accepts which vary in > content depending on which realm we've proxied. Otherwise, is there > an easy way to distinguish realm in the global post-proxy section?

Re: Per-realm post-proxy

2012-08-13 Thread Phil Mayers
On 13/08/12 17:16, Shaun Lowry wrote: Is it possible to have a per-realm post-proxy section? We need to add a couple of attributes to our Access-Accepts which vary in content depending on which realm we've proxied. Otherwise, is there an easy way to distinguish realm in the global post-

Per-realm post-proxy

2012-08-13 Thread Shaun Lowry
Is it possible to have a per-realm post-proxy section? We need to add a couple of attributes to our Access-Accepts which vary in content depending on which realm we've proxied. Otherwise, is there an easy way to distinguish realm in the global post-proxy section? Shaun. - List

Re: Operator change post proxy

2011-10-20 Thread Bjørn Mork
Dan Fisher | Fluidata writes: > Hi, > > We are using Cisco and Juniper devices as LAC's to terminate DSL > sessions before sending on via L2TP to customer LNS's. We allow our > customers to use radius Attribute 67 via our radius servers to specify > the tunnel-server-endpoint for their sessions.

Re: Operator change post proxy

2011-10-20 Thread Alan DeKok
Dan Fisher | Fluidata wrote: > We have been using Cisco LACs predominantly over the last couple of > The issue I have is that the Juniper device will not process the += > operator based results, That makes no sense. The operators are *not* sent in the RADIUS packet. So changing the operators w

Operator change post proxy

2011-10-20 Thread Dan Fisher | Fluidata
I cannot force all of my customers to change the attributes they send me back from proxying based on the NAS-IP-Address, so I have to make the necessary changes myself on my radius servers. I know I can add a bit of code in post proxy using ulang to carry out something when the Juniper devices

Re: can attr_filter.accounting_response be used in post-proxy section ?

2011-04-26 Thread 魏景鹏
Dear Brian Candler, thank you for focus. I think freeradius may lack the opportunity to change & filter acctcounting-response(reply) in post-proxy. I have done this througth filter proxy-reply. Best regards WeiJingpeng Brian Candler wrote: On Mon, Apr 18, 2011 at 09:13:47PM +0800,

Re: can attr_filter.accounting_response be used in post-proxy section ?

2011-04-26 Thread Brian Candler
On Mon, Apr 18, 2011 at 09:13:47PM +0800, 魏景鹏 wrote: > In post-proxy section, I wrote lines as follows: > > post-proxy { > if(cond) { > attr_filter.accounting_response > } > } > > But it seems not work as expected. > > Any Ideas? How d

can attr_filter.accounting_response be used in post-proxy section ?

2011-04-18 Thread 魏景鹏
Dear All, In post-proxy section, I wrote lines as follows: post-proxy { if(cond) { attr_filter.accounting_response } } But it seems not work as expected. Any Ideas? Best Regards WeiJingPeng - List info/subscribe/unsubscribe? See http://www.freeradius.org

EAP/TTLS : Issue while trying to proxy inner request and to use post proxy filter

2009-04-07 Thread Thomas Fagart
Hello, Sorry to post again for the same subject, but I guess I haven't been very clear in my last question to the list, so I'm trying to ask it differently. I've done some drawing that illustrate the settings I've tried and also provide the whole log, that could be seen here http://www.bro

Re: Post-proxy Perl script availability

2008-08-14 Thread Julien Leloup
9;# /* How many return codes there are */ # Fonction appellee en phase post-proxy sub post_proxy { # Liste des attributs presents en phase Post-Proxy : debug uniquement # &log_attributes; # Recuperation des attributs de QoS Redback, provenant du serveur Radius

Re: Post-proxy Perl script availability

2008-08-14 Thread Alan DeKok
Julien Leloup wrote: > My question is, do I have to make this script (and SQL schema I suppose) > available in the FreeRadius CVS ? I'm not sure it's the kind of script > usefull for a large panel of FreeRadius users, but if I have to make it > available (maybe to respect GPLv2 or if someone is int

Post-proxy Perl script availability

2008-08-14 Thread Julien Leloup
Hello, I developped a little script in Perl working with FreeRadius v2.x, called in post-proxy section to implement QoS Radius attributes translation from "Class" attribute to Alcatel-Lucent QoS attribute "SLA Profile" and "SUB Profile". It's using a data

Re: Setting Post-Proxy-Type ??

2008-06-11 Thread Mustapha Bouikhif
Alan DeKok a écrit : Mustapha Bouikhif wrote: I am having problemes getting Post-Proxy-Type to work in FreeRadius (FR); I did tests with FR v2.0.3 and FR v2.0.5 after update without success; Here is what i want to do: Use attr_rewrite to write some attributes (those for setting VLAN) in

Re: Setting Post-Proxy-Type ??

2008-06-09 Thread Alan DeKok
Mustapha Bouikhif wrote: > I am having problemes getting Post-Proxy-Type to work in FreeRadius (FR); > I did tests with FR v2.0.3 and FR v2.0.5 after update without success; > Here is what i want to do: > Use attr_rewrite to write some attributes (those for setting VLAN) in >

Setting Post-Proxy-Type ??

2008-06-09 Thread Mustapha Bouikhif
Hi All, I am having problemes getting Post-Proxy-Type to work in FreeRadius (FR); I did tests with FR v2.0.3 and FR v2.0.5 after update without success; Here is what i want to do: Use attr_rewrite to write some attributes (those for setting VLAN) in proxy replies received from the home server

Re: Post-proxy and rlm_perl

2008-03-20 Thread Julien Leloup
so), I use the preproxy_user file to add attributes to the proxied requests and attr_filter to block others. In a second phase (post-proxy phase I assume), when the reply comes from the home FreeRadius, I have to go through the same kind of process (add attributes which values are taken from a

Re: Post-proxy and rlm_perl

2008-03-20 Thread Boian Jordanov
for translating attributes between two vendor specific equipements (Alcatel-Lucent and Redback). In a first phase (pre-proxy so), I use the preproxy_user file to add attributes to the proxied requests and attr_filter to block others. In a second phase (post-proxy phase I assume), when the

Post-proxy and rlm_perl

2008-03-20 Thread Julien Leloup
others. In a second phase (post-proxy phase I assume), when the reply comes from the home FreeRadius, I have to go through the same kind of process (add attributes which values are taken from a database), but I can't find a equivalent of preproxy_user file to the post-proxy phase. I think

Re: Post-Proxy attr_filter on Access-Accept Packets only

2007-10-10 Thread Mike O'Connor
Hi Alan > Do you see it in the response packet? Or in debug mode? Or both? > > Yes with verbose turned on in radclient you see the extra value pair printed on the screen. > CVS head has this fixed. You can run separate pre/post proxy sections > for authentication and

Re: Post-Proxy attr_filter on Access-Accept Packets only

2007-10-10 Thread Alan DeKok
Mike O'Connor wrote: > It should ? ok then there is a bug because my radclient tests show it in > the return. Thats the reason why I first when looking for a fix. Do you see it in the response packet? Or in debug mode? Or both? CVS head has this fixed. You can run separate pre

Re: Post-Proxy attr_filter on Access-Accept Packets only

2007-10-10 Thread Mike O'Connor
Hi Alan > Run attr_filter only on the post-auth section. Or, are you doing > proxying? > > Yes this install is a proxy radius. > That doesn't matter too much. It should be stripped out before the > reply is sent. > It should ? ok then there is a bug because my radclient tests show it in

Re: Post-Proxy attr_filter on Access-Accept Packets only

2007-10-10 Thread Alan DeKok
Mike O'Connor wrote: > How do I only add a radius attribute via attr_filter on Accept-Accept > Packets ? Run attr_filter only on the post-auth section. Or, are you doing proxying? > My current config is adding the attribute on accounting reply packets also. That doesn't matter too much. It

Post-Proxy attr_filter on Access-Accept Packets only

2007-10-09 Thread Mike O'Connor
Hi Guys How do I only add a radius attribute via attr_filter on Accept-Accept Packets ? My current config is adding the attribute on accounting reply packets also. Thanks Mike - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: post-proxy section and local proxy

2007-01-24 Thread Alan DeKok
Markus Krause wrote: >> Maybe try the postauth section? That's really for handling replies >> from the current server to the NAS. > hmm, that sounds interesting, but i could not find any information > (which i could unterstand) on how to do that. would that mean to write a > module of my own? ma

Re: post-proxy section and local proxy

2007-01-23 Thread Markus Krause
the realm exists, and it's authoritative. the section "post-proxy", which contains "attr_filter", is _not_ processed. Because the request isn't proxied. Is this really the intended behaviour and if yes, can i change it (without hacking the code on myself?) It

Re: post-proxy section and local proxy

2007-01-23 Thread Alan DeKok
Markus Krause wrote: > i found out that if i am doing local proxying (by setting "authhost = > LOCAL" in proxy.conf) That's NOT local proxying. It's a hack for telling the server that the realm exists, and it's authoritative. > the section "post-pro

Re: post-proxy section and local proxy

2007-01-22 Thread Markus Krause
is not a complaint! maybe i am asking the wrong or a too dump question ...) i found out that if i am doing local proxying (by setting "authhost = LOCAL" in proxy.conf) the section "post-proxy", which contains "attr_filter", is _not_ processed. If i am using a "rea

post-proxy section and local proxy

2007-01-22 Thread Markus Krause
trying different things to solve this (i got no repsonses so far which, of course, is not a complaint! maybe i am asking the wrong or a too dump question ...) i found out that if i am doing local proxying (by setting "authhost = LOCAL" in proxy.conf) the section "post-proxy&

Re: rlm_perl and checking request status in post-proxy

2006-10-20 Thread Jakub Wartak
Dnia czwartek, 19 października 2006 23:55, Pshem Kowalczyk napisał: > Hi, > > I have a simple question - is it possible to check the status of > request (Accept/Reject) in a post-proxy phase using rlm_perl? And if > so - how? > > kind regards > pshemko > - > List i

rlm_perl and checking request status in post-proxy

2006-10-19 Thread Pshem Kowalczyk
Hi, I have a simple question - is it possible to check the status of request (Accept/Reject) in a post-proxy phase using rlm_perl? And if so - how? kind regards pshemko - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Appending attributes post proxy

2006-08-11 Thread Alan DeKok
Peter Nixon <[EMAIL PROTECTED]> wrote: > We are already using "preproxy_users" to > modify packets before we send them to downstream servers but I don't see > any "postproxy_users" file :-( It's in the CVS head, for 2.0. > Whats the easiest way to do this? The rewrite module? Is there any reaso

Appending attributes post proxy

2006-08-11 Thread Peter Nixon
Hi Guys I have the following in the "users" file which works great: DEFAULT Framed-Protocol == PPP Framed-IP-Netmask = 255.255.255.255, Fall-Through = Yes I want to do exactly the same thing but for Access Accept packets that I am proxying from downstream servers. We are already

post-proxy

2006-06-21 Thread Axel Seguin
Hi, What i would like to do is send an attribute in the radius answer but only for proxied request. When the reply comes back from a distant radius server, I would like to add something like : Filter-ID = "Enterasys:version=1:policy=test". But i want to add this only for proxied users whic

Re: post proxy problem

2006-03-09 Thread VannMann32 .
Hi ! See post_proxy_authorize in proxy.conf. Yes, "post_proxy_authorize = yes" was the solution and some hacking in the user file. See also "postproxy_users", which is I think what you want. This file/function "postproxy_users" wasn't documented, maybe someone can do that for the 1.

Re: post proxy problem

2006-03-08 Thread Alan DeKok
"VannMann32 ." <[EMAIL PROTECTED]> wrote: > >Reading the doc/proxy file, i read that the user file is processed as usual > >after accept is received ms radius server. See post_proxy_authorize in proxy.conf. See also "postproxy_users", which is I think what you want. Alan DeKok. - List inf

RE: post proxy problem

2006-03-08 Thread VannMann32 .
Hi ! I'm trying to set up Freeradius (1.1.0) to proxy ms-chap-v2 and when I get the "accept" from ms-win2k3-ias server, then i want to assign a static ip address. Reading the doc/proxy file, i read that the user file is processed as usual after accept is received ms radius server. users : DE

RE: post proxy problem

2006-03-07 Thread VannMann32 .
Hi ! I'm trying to set up Freeradius (1.1.0) to proxy ms-chap-v2 and when I get the "accept" from ms-win2k3-ias server, then i want to assign a static ip address. Found a odd solution : radius.conf : ippool pool-ip { range-start = 192.168.1.100 range-stop =

post proxy problem

2006-03-07 Thread VannMann32 .
Hi ! I'm trying to set up Freeradius (1.1.0) to proxy ms-chap-v2 and when I get the "accept" from ms-win2k3-ias server, then i want to assign a static ip address. Reading the doc/proxy file, i read that the user file is processed as usual after accept is received ms radius server. users : DEF

Re: Adding Attributes to a post proxy request

2005-11-05 Thread Dusty Doris
I have a case where I use Freeradius for proxy auth/acct to home servers. Before the answer goes back to the Nas I need to add some attributes and now looking for the best way of doing this. You can do this with the rlm_attr_filter. Read the attrs file and man rlm_attr_filter. - List info

Re: Adding Attributes to a post proxy request

2005-11-05 Thread Alan DeKok
_attr_rewrite should help. > I´am already that far that I thought I need to patch the files module to > have function for post-proxy which then I could use to parse another users > file adding those Attributes Sure. > BTW I found some parameter in the modules which do read the rea

Adding Attributes to a post proxy request

2005-11-05 Thread Holger Steppke
hose Attributes to the Request Reply) attributes so that there still there when the Home Radius sends an answer ? Of course in a scalable way 20-40 realms. I´am already that far that I thought I need to patch the files module to have function for post-proxy which then I could use to parse another u

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Alan DeKok
"Thor Spruyt" <[EMAIL PROTECTED]> wrote: > > This is allready in CVS. You can checkout release 1.19 of rlm_perl and > > use it with freeradius 1.0.4 > > Sure, but will it be in the next official release? I'll take a look at it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.f

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Thor Spruyt
Boian Jordanov wrote: > On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote: >> I'm wondering if rlm_perl will support pre/post-proxy functions in >> the next release? >> > > This is allready in CVS. You can checkout release 1.19 of rlm_perl and > use

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Boian Jordanov
On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote: > I'm wondering if rlm_perl will support pre/post-proxy functions in the next > release? > This is allready in CVS. You can checkout release 1.19 of rlm_perl and use it with freeradius 1.0.4 -- Best Regards, Boia

rlm_perl support for pre/post-proxy in next release?

2005-09-01 Thread Thor Spruyt
Hi, I'm wondering if rlm_perl will support pre/post-proxy functions in the next release? Also, is there any chance to get bug 275 into next release? http://bugs.freeradius.org/show_bug.cgi?id=275 Or does it have to be discussed further on the list? -- Groeten, Regards, Salutations, Thor S

Re: adding user-name to post-proxy logs

2005-07-29 Thread Alan DeKok
Tariq Rashid <[EMAIL PROTECTED]> wrote: > those that are at > $PREFIX/var/log/radius/radacct/1.2.3.4/post-proxy-detail-20050729 and > $PREFIX/var/log/radius/radacct/1.2.3.4/pre-proxy-detail-20050729 for example Ah. The reason the username isn't there is because it's no

RE: adding user-name to post-proxy logs

2005-07-29 Thread Tariq Rashid
those that are at $PREFIX/var/log/radius/radacct/1.2.3.4/post-proxy-detail-20050729 and $PREFIX/var/log/radius/radacct/1.2.3.4/pre-proxy-detail-20050729 for example - written by the following directgives in radiusd.conf : # This module logs packets proxied to a home server. #

Re: adding user-name to post-proxy logs

2005-07-28 Thread Alan DeKok
Tariq Rashid <[EMAIL PROTECTED]> wrote: > since the state must be maintained in the freeradius proxy - is it possible > to add it to the logs so that troubleshooting is easier? currently i have to > match the timestamps. Which log are you talking about? Alan DeKok. - List info/subscribe/uns

adding user-name to post-proxy logs

2005-07-28 Thread Tariq Rashid
hi - i'm logging the pre-proxy and post-proxy logs. this works fine. the proxy-logs show the user-name (and password attribute) and that is fine. however the post-proxy logs don't contain the user-name because the reply from the backend radius server doesn't necessarily send the

Post-Proxy attr_rewrite based on an if condition

2005-05-09 Thread wilduty
in = reply            replacewith = "180"    new_attribute = yes        attribute = Session-Timeout     } }   }   post-proxy {     test }     Thank you,   Wilhelm

pre- and post-proxy processing options and attr_filter

2005-04-28 Thread Tariq Rashid
is this a supported/valid option? post-proxy: * i have the normal attr_filter constraints being applied - which is great. * i'd like however to append additional attributes to the radius proxy reply before it is sent back to the NAS client. what'

Re: Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-14 Thread Pasi Kärkkäinen
On Thu, Apr 14, 2005 at 05:19:46PM +0300, Pasi Kärkkäinen wrote: > On Tue, Apr 12, 2005 at 06:07:02PM -0400, Alan DeKok wrote: > > Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= <[EMAIL PROTECTED]> wrote: > > > If I'm trying to do something that won't work, please tell me.. :) > > > > I have no idea why y

Re: Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-14 Thread Pasi Kärkkäinen
On Tue, Apr 12, 2005 at 06:07:02PM -0400, Alan DeKok wrote: > Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= <[EMAIL PROTECTED]> wrote: > > If I'm trying to do something that won't work, please tell me.. :) > > I have no idea why you're using attr_rewrite to search for nothing, > and add Pool-Name. > >

Re: Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-12 Thread Alan DeKok
Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= <[EMAIL PROTECTED]> wrote: > If I'm trying to do something that won't work, please tell me.. :) I have no idea why you're using attr_rewrite to search for nothing, and add Pool-Name. Why not just add the Pool-Name attribute in the "authorize" section? A

Re: Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-12 Thread Pasi Kärkkäinen
, I _need_ to assign IP-addresses in the _Proxy_ based on realm. > > I set up rlm_ippool for each realm. Now, I need to assign Pool-Name > attribute for all requests based on realm. I do this: > > users-file: > > DEFAULT Realm == "foo.com", Post-Proxy-Type :=

Re: Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-11 Thread Pasi Kärkkäinen
. but that didn't work either. rlm_ippool still says it cannot find the Pool-Name attribute. Thanks for your help! - Pasi Kärkkäinen > users-file: > > DEFAULT Realm == "foo.com", Post-Proxy-Type := post.proxy.foo >Fall-Through = 1

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-04-06 Thread Alan DeKok
Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= <[EMAIL PROTECTED]> wrote: > This patch is required for freeradius 1.02 to run modules in > > post-proxy { This is fixed in the latest CVS snapshots. The patch won't go into 1.0.2, because it's more of a new feature, and the 1.0.x

Post-Proxy-Type + rlm_rewrite + rlm_ippool does not work

2005-04-06 Thread Pasi Kärkkäinen
home servers based on realm. Now, I _need_ to assign IP-addresses in the _Proxy_ based on realm. I set up rlm_ippool for each realm. Now, I need to assign Pool-Name attribute for all requests based on realm. I do this: users-file: DEFAULT Realm == "foo.com", Post-Proxy-Type := post.proxy.fo

Re: How to add attribute in post-proxy?

2005-04-06 Thread Pasi Kärkkäinen
On Sun, Jan 02, 2005 at 10:51:11PM +0100, Nicolas Baradakis wrote: > Pasi Kärkkäinen wrote: > > > I need to add Post-Proxy-Type based on realm of the proxied > > request. > > > > I can't figure out how to express this with the sql tables: > > &qu

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-04-06 Thread Pasi Kärkkäinen
On Tue, Feb 15, 2005 at 04:22:48PM +0100, Nicolas Baradakis wrote: > Alan DeKok wrote: > > > Please do not put pre-proxy code into the "authorize" section of a > > module. We will fix the server. > > The following patch will make the server run the module

Re: Post Proxy Authorize

2005-03-07 Thread Nicolas Baradakis
utes returned > by the ACE server, without traversing the file twice? You may add the Class attribute in the post-proxy section. In recent CVS snapshots of FreeRADIUS, you can use the "Post-Proxy-Type" stanza. Therefore you can write in the users file: <<<<< DEF

Post Proxy Authorize

2005-03-03 Thread Sandworm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello We assign VPN profiles based on LDAP group membership and the devices that users enter from. The users are authenticated via an ACE server that we proxy to and get replies from. In an older version of FreeRadius (0.8.1), the following types of

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-17 Thread Massimiliano Liccardo
Alle 15:17, domenica 13 febbraio 2005, Nicolas Baradakis ha scritto: > > Post-Proxy-Type is a check item, therefore I think you can set it in > the first pass of authorization, then the server remember it when it > receives the reply from the realm server. good I noticed the free

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-15 Thread Nicolas Baradakis
Alan DeKok wrote: > Please do not put pre-proxy code into the "authorize" section of a > module. We will fix the server. The following patch will make the server run the modules in one of the {Pre,Post}-Proxy-Type stanzas. Index: src/i

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-13 Thread Nicolas Baradakis
Massimiliano Liccardo wrote: > Maybe cuold be useful to patch the rlm_files in order to provide a > prost_proxy file as the pre_proxy one? Could be useful for setting > the Post-Proxy-Type without re-passing the authorize section and > using rlm_files directy into Post-Proxy, i.e.

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-13 Thread Massimiliano Liccardo
!! Maybe cuold be useful to patch the rlm_files in order to provide a prost_proxy file as the pre_proxy one? Could be useful for setting the Post-Proxy-Type without re-passing the authorize section and using rlm_files directy into Post-Proxy, i.e. modules { .. # Li

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-12 Thread Nicolas Baradakis
Alan DeKok wrote: > I'm not sure why it was changed. I'll have to look into the reasons > for it. It looks like the {Pre,Post}-Proxy-Type stanzas were never supported in the first place. That's why Paul removed them from the documentation. The module_{pre,post}_proxy fu

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Massimiliano Liccardo
Alle 18:44, giovedì 10 febbraio 2005, Alan DeKok ha scritto: > Please do not put pre-proxy code into the "authorize" section of a > module. It's just a temporary workaround. > We will fix the server. fine! > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.htm

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Alan DeKok
Massimiliano Liccardo <[EMAIL PROTECTED]> wrote: > My problem is that I'm developing rml_modules on my own and if I use > Autz-Type , I should write the pre/post-proxy code into the authorization > callback of any module instead of pre-proxy/post-proxy (yes, pre-proxy is &g

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Alan DeKok
Nicolas Baradakis <[EMAIL PROTECTED]> wrote: > Looking at src/main/modules.c, the functions module_pre_proxy / > module_post_proxy (and the function module_preacct, too) don't have a > supplementary argument for the subcomponent name. > > I was thinking it will not work for that reason, but perhap

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Massimiliano Liccardo
Alle 12:34, giovedì 10 febbraio 2005, Massimiliano Liccardo ha scritto: > My problem is that I'm developing rml_modules on my own and if I use > Autz-Type , I should write the pre/post-proxy code into the authorization > callback of any module instead of pre-proxy/post-proxy (yes

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Massimiliano Liccardo
Nicolas, thanks a lot for your tip...maybe could became a FAQ :) My problem is that I'm developing rml_modules on my own and if I use Autz-Type , I should write the pre/post-proxy code into the authorization callback of any module instead of pre-proxy/post-proxy (yes, pre-proxy is just an

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Nicolas Baradakis
Massimiliano Liccardo wrote: > I'm using a freeRADIUS to proxy different realm to home servers. > I need to use different rlm_modules for each realm during pre-proxy and > post-proxy but I cannot realize how to set something like Autz-Type.. I need exactly the same thing as you,

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Massimiliano Liccardo
Alle 11:15, giovedì 10 febbraio 2005, Nicolas Baradakis ha scritto: > Alan DeKok wrote: > > Massimiliano Liccardo <[EMAIL PROTECTED]> wrote: > > > At the moment pre-proxy/post-proxy only work for all the realms.no > > > possibility to differentiate like auto

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-10 Thread Nicolas Baradakis
Alan DeKok wrote: > Massimiliano Liccardo <[EMAIL PROTECTED]> wrote: > > > At the moment pre-proxy/post-proxy only work for all the realms.no > > possibility to differentiate like autorize/authentication.. > > Maybe I'm wrong? > > It works, it&#x

Re: Pre-Proxy-Type, Post-Proxy-Type

2005-02-09 Thread Alan DeKok
Massimiliano Liccardo <[EMAIL PROTECTED]> wrote: > I'm using a freeRADIUS to proxy different realm to home servers. > I need to use different rlm_modules for each realm during pre-proxy and > post-proxy but I cannot realize how to set something like Autz-Type..i.e It > coul

Pre-Proxy-Type, Post-Proxy-Type

2005-02-09 Thread Massimiliano Liccardo
Hi, I'm using a freeRADIUS to proxy different realm to home servers. I need to use different rlm_modules for each realm during pre-proxy and post-proxy but I cannot realize how to set something like Autz-Type..i.e It could be perfect If users: DEFAULT Realm== "foo" , Pre-Pr

Re: post-proxy

2005-02-08 Thread Nicolas Baradakis
Joe H wrote: > Error: rlm_attr_filter: Authorize method will be deprecated. [...] > I'm just wondering about that error. Don't bother about it, this is always printed at module initialization. -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.

post-proxy

2005-02-08 Thread Joe H
this be changing soon? I don't have the attr_filter module listed in the authorize section. The attr_filter is in the post-proxy section of the radiusd.conf like suggested. I have post_proxy_authorize set to no in the proxy.conf. It does work the way I have it setup, I'm just wonde

Re: How to add attribute in post-proxy?

2005-01-02 Thread Nicolas Baradakis
Pasi Kärkkäinen wrote: > I need to add Post-Proxy-Type based on realm of the proxied > request. > > I can't figure out how to express this with the sql tables: > "DEFAULT Realm == "foo.net", Post-Proxy-Type := post.proxy.foo" > > There's no R

Re: How to add attribute in post-proxy?

2004-12-30 Thread Pasi Kärkkäinen
vsweb.cgi/~checkout~/radiusd/doc/rlm_sql?rev=1.4 > Back to this problem after some time. I have read both of those links.. but still I can't figure out how to do this in sql-users: >You need one module instance of rlm_attr_rewrite for each realm. >In the "users" file you pu

Re: How to add attribute in post-proxy?

2004-11-15 Thread Nicolas Baradakis
Pasi Kärkkäinen wrote: > But, I'm using sql-users.. How do you put that kind of entries to > (my)sql? http://www.frontios.com/freeradius.html http://www.freeradius.org/cgi-bin/cvsweb.cgi/~checkout~/radiusd/doc/rlm_sql?rev=1.4 -- Nicolas Baradakis - List info/subscribe/unsubscribe? See http:/

Re: How to add attribute in post-proxy?

2004-11-15 Thread Pasi Kärkkäinen
On Thu, Nov 11, 2004 at 10:50:35PM +0100, Nicolas Baradakis wrote: > Pasi Kärkkäinen wrote: > > > > > > > How do I add new attribute in post-proxy section? > > > > > > > > > > See module rlm_attr_rewrite. > > > > But you can

Re: How to add attribute in post-proxy?

2004-11-11 Thread Nicolas Baradakis
Pasi Kärkkäinen wrote: > > > > > How do I add new attribute in post-proxy section? > > > > > > > > See module rlm_attr_rewrite. > > But you can't use this to add value based on realm.. You need one module instance of rlm_attr_rewrite for each

Re: How to add Pool-Name in post-proxy / for proxy reply packets?

2004-11-11 Thread Pasi Kärkkäinen
m not stripping realms > when > proxying), and the user was accepted by the another radius server, I need to > add "foo_pool" value for Pool-Name, so the user get's an IP from the > foo_pool. > > Pool-Name is freeradius Internal attribute, so I can't return it fr

How to add Pool-Name in post-proxy / for proxy reply packets?

2004-11-11 Thread Pasi Kärkkäinen
IP from the foo_pool. Pool-Name is freeradius Internal attribute, so I can't return it from the another radius server. So it seems I have to do something in the post-proxy section to add Pool-Name attribute to the reply? I tried with attr_rewrite, but you can't do it based on realm with at

Re: How to add attribute in post-proxy?

2004-11-11 Thread Pasi Kärkkäinen
On Wed, Nov 10, 2004 at 06:41:25PM +0100, Nicolas Baradakis wrote: > Pasi Kärkkäinen wrote: > > > > > How do I add new attribute in post-proxy section? > > > > > > See module rlm_attr_rewrite. > > > > Thanks for you reply. > > > > Re

Re: How to add attribute in post-proxy?

2004-11-10 Thread Nicolas Baradakis
Pasi Kärkkäinen wrote: > > > How do I add new attribute in post-proxy section? > > > > See module rlm_attr_rewrite. > > Thanks for you reply. > > Reading the man-page, I didn't see how to _add_ attribute with > rlm_attr_rewrite. You can add an attribute

Re: How to add attribute in post-proxy?

2004-11-10 Thread Pasi Kärkkäinen
On Tue, Nov 09, 2004 at 07:34:33PM +0100, Nicolas Baradakis wrote: > Pasi Kärkkäinen wrote: > > > How do I add new attribute in post-proxy section? > > See module rlm_attr_rewrite. > Thanks for you reply. Reading the man-page, I didn't see how to _add_ attri

  1   2   >