Page 1 of 1

LF_SELECT and custom ports

Posted: 10 Feb 2014, 18:26
by Ilia
Dear guys, hi!

Is there a way to make LF_SELECT work with custom ports. For example, if I change IMAP port to some 34433, then it doesnt work, as on deny list you only have 143,193 and no custom port is appearing there?

I checked lfd.pl and found a set of default ports there:

Code: Select all

if ($config{LF_SELECT} and !$config{LF_TRIGGER}) {
	$ports{pop3d} = "110,995";
	$ports{imapd} = "143,993";
	$ports{htpasswd} = "80,443";
	$ports{mod_security} = "80,443";
	$ports{mod_qos} = "80,443";
	$ports{symlink} = "80,443";
	$ports{cxs} = "80,443";
	$ports{bind} = "53";
	$ports{suhosin} = "80,443";
	$ports{cpanel} = "2077,2078,2082,2083,2086,2087,2095,2096";
	$ports{ftpd} = "20,21";
	$ports{smtpauth} = "25,465,587";
	$ports{eximsyntax} = "25,465,587";
	$ports{webmin} = "10000";
}
I manually added there custom ports that I needed but this is not cool to do it all the time, right?

Is there a way to add this functionality to conf file? Or I am missing something?

Thanks!

Re: LF_SELECT and custom ports

Posted: 10 Feb 2014, 21:14
by ForumAdmin
It's hard-coded, so you will need to modify those ports manually for now in lfd.pl