Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th June 2011, 00:28
defconjuan defconjuan is offline
Junior Member
 
Join Date: Apr 2011
Posts: 17
Thanks: 1
Thanked 2 Times in 1 Post
Angry domain block similar to shelluser_blacklist

Is there a file similar to shelluser_blacklist for domains?

Let's say I want to prevent the creation of sites (i.e. how2forge.com, twitter.com, google.com, microsoft.com, apple.com) from the ISPConfig interface. What's the best way to achieve this? (I realize I could create them under an account that I never use, but that seems excessive. I don't need to load that many sites, I just want to block them from being used anywhere in ISPConfig.)
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2011, 09:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You can use the Domain module. It lets the administrator specify a list of domains for use in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th June 2011, 17:17
defconjuan defconjuan is offline
Junior Member
 
Join Date: Apr 2011
Posts: 17
Thanks: 1
Thanked 2 Times in 1 Post
Default

Appreciate the quick reply. I enabled the module, read the domain module sections in the ISPConfig 3 manual (that I bought ), and I trolled the forums a bit on the subject.

It sounds like to accomplish shelluser_blacklist like functionality I have two options using the Domain Module:

Option 1) Add a list of blacklisted domains, one-at-a-time, to my admin account in which case no one would see them (but, the admin user would on every screen where they could add a domain - ie. Email Domain Add, Site Add, Shell User Add, FTP User Add, etc.).

Option 2) Create a dummy admin/holding account where I would add each of these blacklisted domains to, one-at-a-time, to this holding account so it won't show elsewhere.

Am I correct?
Reply With Quote
  #4  
Old 28th June 2011, 11:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,763
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

You can never block all external domains like this simply because you can not add all these millions of domains to a blacklist. For that resaon, you normally use the opposite approach for such a problem as it is implemented in the domain module. So you dont blacklist domains, instaed you whitleist domains and assign them to your clients by using the domain module.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th June 2011, 06:23
defconjuan defconjuan is offline
Junior Member
 
Join Date: Apr 2011
Posts: 17
Thanks: 1
Thanked 2 Times in 1 Post
 
Default

Sorry, for not being clear. I'm not trying to checks if a domain already exists nor do I want to populate a table with millions or even hundreds of records.

It's the very same rational as the shelluser_blacklist file: There are user names that you want to block for obvious reasons. The same seems logic seems rational with domains/sites/email domains. Obviously anyone creating a site Microsoft, Dell, or HowToForge is bogus. Or say I were the Champions League and I was opening the ability for fans to create fan sites. I would want to block them from creating 20-100 sites with a domain_blocklist like:

manchesterunited.tld
fcbarcelona.*
chelseafc.*

Anyhow, by the two replys I received, it doesn't sound like this or anything similar exists.
Reply With Quote
Reply

Bookmarks

Tags
block, domain, filter, sites

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Baruwa - The Perfect Spamsnake Ubuntu 10.10 neofire HOWTO-Related Questions 44 31st May 2011 15:09
Forwarding SPAM to quarantine. tomrichmond Server Operation 8 20th April 2011 18:50
WebDAV doesn't start - DAVLockDB not created - error 405 Method not allowed maljam Server Operation 2 23rd March 2011 16:06
block all outgoing email except one Virtual Domain precessionone Installation/Configuration 2 20th November 2010 13:09
How to block some domain in ISPConfig??? leeeonardo Server Operation 11 27th August 2007 17:30


All times are GMT +2. The time now is 07:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.