added hostmask support from sfan5