Bugzilla – Bug 131036
Hylafax hosts.hfaxd and SUSE 10 issue
Last modified: 2005-11-02 20:52:43 UTC
Hello, I have been using SUSE 9.1 before I decided to start using SUSE 10.0. SUSE 10.0 is fantastic! Now the problem: In the hosts.hfaxd file (SUSE 9.1), the user can enter an IP address in this format 192/.168/.2/.::: and that will allow all valid clients from 192.168.2.XXX to login and fax (obviously the IP numbers can be different, this is just for the example). I have used this setup before with SUSE 9.1, Hylafax, and WHFC. It works perfectly! Unfortunately, this does not work in SUSE 10.0 (at least I cannot figure out how to make it work with 10.0). Setting up the hosts.hfaxd file exactly the same way as before does not work. I can enter, say, 192.168.2.105 (specific client) and connect without requiring a password, but I cannot setup an entire range as before (i.e. 192/.168/.2/.::: does not allow clients to logon without requiring a password as before). Please help! Thanks very much!
Might be a bug, or the syntax could have been changed. Karsten: Please enlighten us.
The format has be restricted because security issues (for details see bug #64550) and is described in the documentation (e.g. man hosts.hfaxd) Here some hints: For example, hosts.hfaxd entries that may be common are 192.168.0 username:uid:pass:adminpass user@host After updating, these entries will need to be changed in order to continue to function. Respectively, the correct entries should be 192.168.0.[0-9]+ username@:uid:pass:adminpass user@host Unless such maching of "username" with "otherusername" and "host" with "hostname" is desired, the proper form of these entries should include the delimiter and markers like this @192.168.0.[0-9]+$ ^username@:uid:pass:adminpass ^user@host$ So 192/.168/.2/.::: is invalid and should be @192.168.2.[0-255]+$
A more correct string is: @192.168.2.[0-9]+$