![]() |
[split] Security Problem detected - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: [split] Security Problem detected (/thread-1277.html) |
RE: Security Problem detected - joximu - 08-18-2007 09:57 PM Domain Alias is ok but maybe should be discussed. eg. you have 2 domains and want to shoe the same website then this is an alias. If a second domains shows a completly different website (and you can create completly defferent mailboxes) then it's more a second domain which should - IMHO - be created by the reseller. RE: Security Problem detected - raphael - 08-19-2007 07:53 AM Quote:If a domain (or hostname) does not point to the own server then the domain should not be activated - an admin should activate it (or maybe he can allow a reseller to do that, but this depends if the reseller are serious...)yup, some 'toapprove' status and display it to the resellers; Anyways... I'm disabling local DNS look ups RE: Security Problem detected - joximu - 08-19-2007 08:28 AM raphael Wrote:Quote:If a domain (or hostname) does not point to the own server then the domain should not be activated - an admin should activate it (or maybe he can allow a reseller to do that, but this depends if the reseller are serious...)yup, some 'toapprove' status and display it to the resellers; better: the admin can give the reseller a right to approve such things (or not) - I as a admin won't even trust a "reseller", because the reseller doesn't have the technical knowledge/background what risk a "false" domain can be... So: maybe a check if the domain is already active *and* a approvement from the reseller with a comment for the reseller that the domain already is active at another hoster... This would be fine. Of course a mail to the admin :-) raphael Wrote:Anyways... I'm disabling local DNS look ups Maybe a good start: the setup routine should not write 127.0.0.1 into resolve.conf - see Post #8 http://www.isp-control.net/forum/security-problem-detected-t-1178.html#pid9592 IMHO postfix does not need a domain lookup - it's enough if the domain is in the "/etc/postfix/ispcp/domains"-file (and mailboxes of course). /Joximu RE: Security Problem detected - raphael - 08-19-2007 10:47 AM Quote:Maybe a good start: the setup routine should not write 127.0.0.1 into resolve.conf - see Post #8 http://www.isp-control.net/forum/securit...ml#pid9592that's what I said... 'disabling' means not including any extra nameserver in /etc/resolv.conf RE: Security Problem detected - joximu - 08-19-2007 07:25 PM raphael Wrote:Quote:Maybe a good start: the setup routine should not write 127.0.0.1 into resolve.conf - see Post #8 http://www.isp-control.net/forum/securit...ml#pid9592that's what I said... 'disabling' means not including any extra nameserver in /etc/resolv.conf Ok, but it's still possible to hijack the mails because postfix has the domain in his local domain list. So to really fix this we need some type of double check... or control for new domains... Thanx Raphael RE: Security Problem detected - kilburn - 08-20-2007 08:01 AM The REAL solution regarding DNS hijacking is to separate the resolver from the DNS cache server (the one in /etc/resolv.conf). See http://cr.yp.to/djbdns/separation.html for reference. RE: Security Problem detected - joximu - 08-20-2007 08:37 AM kilburn Wrote:The REAL solution regarding DNS hijacking is to separate the resolver from the DNS cache server (the one in /etc/resolv.conf). See http://cr.yp.to/djbdns/separation.html for reference. I think this is done by what Raphael did: taking the 127.0.0.1 out of resolve.conf - well someone can put it back, but this is another problem... What I mean: even if you separate the DNS thing, its possible to hijack mails for the domains since the configuration of the MTA says the domain is local (the MTA does not need to ask a DNS). /Joximu RE: Security Problem detected - raphael - 08-20-2007 10:05 AM I'll see what I can do RE: Security Problem detected - hjansen - 09-02-2007 05:59 PM What about checking the ip adress of the domain that will be added. If it is one of the servers ip adress -> adding will be allowed If not it will be denied. From my point of view it would not make any sense to add a domain that is not pointing to the server ... When Domain Management will be redsigned in the next version there could be also something like a regular check for a new added domains. For example if a domain is being new registered and the dns entrys aren't allready pointing at the ip adresses that it will recheck the ip adress regulary and add it finally with all the needed entrys. The domain could just stay in the status "toadd" until everything is fine ... RE: Security Problem detected - RatS - 09-02-2007 06:08 PM the main problem ATM is that the dns-entry is added on installing domain. There are no further nameserver needed - we have to redesign this. |