Re: home_server type = auth+acct+coa in the same port?
Hi, Here i am, talking again about it. I would like to clarify my understanding about the "Packet-Dst-Port". as shown in the example below, exist some way to do that? <my coa> listen { type = coa ipaddr = * port = 3799 virtual_server = carrapato-coa } server carrapato-coa { recv-coa { suffix update reply { &Reply-Message := "Pacote CoA recebido, thanks!" } ok update control { # My idea is change the dst port. &Home-Server-Pool := pool_teste_coa &Packet-Dst-Port = 1812 } updated } send-coa { ok } pre-proxy { } post-proxy { } } home_server teste_coa { type = coa secret = teste ipaddr = 10.1.2.254 port = 3799 proto = udp revive_interval = 240 status_check = none check_interval = 30 num_answers_to_alive = 3 } home_server_pool pool_teste_coa { type = fail-over home_server = teste_coa } home_server teste_auth { type = auth+acct secret = teste ipaddr = 10.1.2.254 port = 1812 proto = udp revive_interval = 240 status_check = none check_interval = 30 num_answers_to_alive = 3 } home_server_pool pool_teste_auth { type = fail-over home_server = teste_auth } </my coa> -- Jorge Pereira On Fri, May 8, 2015 at 4:12 PM, Alan DeKok <aland@deployingradius.com> wrote:
On May 8, 2015, at 12:13 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
I have started this today, hope to finish soon. Btw, do you have suggestions about the targets on the Makefiles or scripts to test the server? Something that can be used to improve the tests!
There aren't any tests which proxy packets. But it's possible to add tests that certain keywords are accepted (or not).
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On May 12, 2015, at 6:08 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
Here i am, talking again about it. I would like to clarify my understanding about the "Packet-Dst-Port". as shown in the example below, exist some way to do that?
No. Each home server is defined by the combination of the following pieces of information: Destination IP Destination port shared secret If you set a destination port, then FreeRADIUS will ignore it. Alan DeKok.
Hi Alan, Thanks for answer! I have checked in the code. But, I just ask thinking if maybe you knew some "ninja solution". Btw, I hope finish the patch for home-server adding support for multiples type as soon. Will be possible to declare a home server like: home_server myhs { type = "acct+auth+coa" # doesnt matter the order proto = "udp" ...... } Aron and Alan, approve the idea? Em 12/05/2015 20:04, "Alan DeKok" <aland@deployingradius.com> escreveu:
On May 12, 2015, at 6:08 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
Here i am, talking again about it. I would like to clarify my understanding about the "Packet-Dst-Port". as shown in the example below, exist some way to do that?
No. Each home server is defined by the combination of the following pieces of information:
Destination IP Destination port shared secret
If you set a destination port, then FreeRADIUS will ignore it.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On May 12, 2015, at 8:23 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
I have checked in the code. But, I just ask thinking if maybe you knew some "ninja solution". Btw, I hope finish the patch for home-server adding support for multiples type as soon.
Thanks.
Will be possible to declare a home server like:
home_server myhs { type = "acct+auth+coa" # doesnt matter the order proto = "udp" ...... }
I'd prefer: ... type = acct type = auth type = coa ... It's better, and more closely matches the rest of the server. Alan DeKok.
On Thu, May 14, 2015 at 10:57 AM, Alan DeKok <aland@deployingradius.com> wrote:
On May 12, 2015, at 8:23 PM, Jorge Pereira <jpereiran@gmail.com> wrote:
I have checked in the code. But, I just ask thinking if maybe you knew some "ninja solution". Btw, I hope finish the patch for home-server adding support for multiples type as soon.
Thanks.
Will be possible to declare a home server like:
home_server myhs { type = "acct+auth+coa" # doesnt matter the order proto = "udp" ...... }
I'd prefer:
... type = acct type = auth type = coa ...
It's better, and more closely matches the rest of the server.
right!
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Jorge Pereira