View Issue Details

IDProjectCategoryView StatusLast Update
0004103unrealircdpublic2012-04-09 10:54
ReporterIsmatAssigned Tosyzop 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2.9 
Target VersionFixed in Version3.2.10-rc1 
Summary0004103: WebIRC clients hosts are being resolved (Even though the dont-resolve; is set)
DescriptionDears,

As per the summary,this is a part of my unrealircd.conf configuration:

/* ====================================== */
set {
    kline-address "klines@blah.org";
    modes-on-connect "+ixw";
    modes-on-oper "+xwgs";
    auto-join "#blah";
    options {
        hide-ulines;
        show-connect-info;
        dont-resolve;
        fail-oper-warn;
    };
};

allow {
           ip 64.62.228.82;
           hostname *@*;
           class clients;
           maxperip 800;
};
allow {
           ip 207.192.75.252;
           hostname *@*;
           class clients;
           maxperip 800;
};
allow {
           ip 78.129.202.38;
           hostname *@*;
           class clients;
           maxperip 800;
};
allow {
           ip 109.169.29.95;
           hostname *@*;
           class clients;
           maxperip 800;
};

cgiirc {
       type webirc;
       hostname 64.62.228.82;
       password mibbitPassword;
};
// Datacenter two:
cgiirc {
       type webirc;
       hostname 207.192.75.252;
       password mibbitPassword;
};
// Datacenter three:
cgiirc {
       type webirc;
       hostname 78.129.202.38;
       password mibbitPassword;
};
// Datacenter four:
cgiirc {
       type webirc;
       hostname 109.169.29.95;
       password mibbitPassword;
};

/* ====================================== */

Users using any IRC client, are avoiding the rDNS resolve. But mibbit clients aren't.

So, any user whose joining using any IRC client his IP will look like this: Blah@A4212D36.467D3394.4305C4B3.IP
But for mibbit users: Mibbit@Blah.Org-2A4A1DA7.hooya.net.au

There should be a be a cgiirc block option thatd make Unreal ignore the supplied rDNS host name that was supplied in the WEBIRC message.
TagsNo tags attached.
3rd party modules

Activities

nenolod

2012-04-09 02:55

reporter   ~0016972

I'll fix this on my branch momentarily; stand by.

nenolod

2012-04-09 03:06

reporter  

unreal-webirc-iponly.patch (1,148 bytes)

nenolod

2012-04-09 03:07

reporter   ~0016973

Fix for this has been committed to my branch at http://bitbucket.org/nenolod/unreal .

The exact HG changeset is also attached here for importing into Syzop's tree.

syzop

2012-04-09 10:54

administrator   ~0016977

- If set::options::dont-resolve is enabled, then use only the IP information
  from a WEBIRC message, reported by Ismat (0004103).

http://hg.unrealircd.com/hg/unreal/rev/940c09f39f76

Issue History

Date Modified Username Field Change
2012-04-07 00:47 Ismat New Issue
2012-04-09 02:55 nenolod Note Added: 0016972
2012-04-09 03:06 nenolod File Added: unreal-webirc-iponly.patch
2012-04-09 03:07 nenolod Note Added: 0016973
2012-04-09 03:07 nenolod Status new => has patch
2012-04-09 10:54 syzop Note Added: 0016977
2012-04-09 10:54 syzop Status has patch => resolved
2012-04-09 10:54 syzop Fixed in Version => 3.2.10-rc1
2012-04-09 10:54 syzop Resolution open => fixed
2012-04-09 10:54 syzop Assigned To => syzop