[Serusers] What is the status of this open relay issue that Jan, Maxim, and Juha discuessed on 2003-10-23?
Bruno Lopes F. Cabral
bruno at openline.com.br
Thu Jun 30 02:43:34 CEST 2005
Hello there
Zeus Ng wrote:
> Yes, you just replace that one. Alternatively, if you don't want to load the
> domain module, you can try from_uri.
>
> if (!uri == myself) {
> if (from_uri == myself) {
> t_relay();
> break;
> } else {
> sl_send_reply("403", "Relaying not allowed");
please forgive my ignorance but shouldn't a "break" be included here?
> }
> }
another related doubt: shouldn't one protect the statements bellow, too?
# loose-route processing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
t_relay();
break;
};
Cheers
!3runo
More information about the sr-users
mailing list