Never fails....I find the answer just after I hit send.... if((port = rndnum(60000)) < 1024) port += 2139;
Looks like 1024 to 60000 (with a slightly higher preference for ports roughly 2139 thru 3162). So.....thoughts on security? :) On Wed, 2003-08-13 at 12:02, Dennis Skinner wrote: > Hello, > > I've just started looking at the STREAM command to clamd. What is the > port range that it randomly chooses from? So far I have seen as low as > 4700 and upwards of 59000. The docs seem a little sparse in describing > this functionality. I looked briefly at the source code, but I thought > someone here could save me a little time an eye-strain. :) > > We generally run iptables on all of our machines and only open necessary > ports from specific machines. Looks like we will need to leave a very > large range of ports open to our mail server. Has anyone been able to > make this more secure? > > Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
