[Serusers] What is the status of this open relay issue that Jan, Maxim, and Juha discuessed on 2003-10-23?

Java Rockx javarockx at gmail.com
Thu Jun 30 00:12:49 CEST 2005


Thanks Klaus.

Just to make sure I understand what you suggested, I should replace

if (uri!=myself) {
t_relay();
break;
}

with the code snippet you posted. Right?

Many Thanks,
Paul

On 6/29/05, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
> 
> Hi!
> 
> It is simple, it just depends on your routing logic:
> 
> use domain module and check out-of-dialog methodes:
> 
> if ( !is_uri_host_local()) {
> if (is_from_local() {
> t_relay;
> break;
> } else {
> sl_send_reply("403", "Relaying not allowed");
> }
> }
> 
> cheers,
> klaus
> 
> Java Rockx wrote:
> 
> > Hi All.
> >
> > This link is to a discussion on how to keep SER from being an open relay
> > due to the following logic that most everyone uses in their ser.cfgfiles.
> >
> > if (uri!=myself) {
> > t_relay();
> > break;
> > }
> >
> > http://lists.iptel.org/pipermail/serusers/2003-October/003264.html
> >
> > Some time has passed on this issue and the 2003 article described a few
> > "in-progress" patches.
> >
> > Does anyone know if SER now has the ability to prevent malicious users
> > from exploiting (uri!=myself) code blocks?
> >
> > Regards,
> > Paul
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050629/7893929d/attachment.htm>


More information about the sr-users mailing list