/*
* This array holds the first and last local port number.
* For high-usage systems, use sysctl to change this to
* 32768-61000
*/
int sysctl_local_port_range[2] = { 1024, 4999 };
Note that the suggested alternative range is also wrong :-)
> >I would like to argue in favour of changing the range: first,
> >it's the 'right' thing to do. Secondly, the old range generates
> >problems with applications that expect to be able to bind to
> >'their' port. In particular, I've experienced failures with
> >HylaFAX, because the faxmail delivery agent uses port 4558,
> >which at random times already was occupied. Thirdly, it's
> >trivial to get back the old range with sysctl if you need
> >compatibilty with broken packet filters. There is still time to
> >do this IANA compliancy change now, once 2.4.0 is out we have
> >to wait until at least 2.6, which may be a rather long time.
>
> I think that this makes a lot of sense. Packet filters that are
> broken can be fixed easily enough. Even in the case of binary
> code, a few small hacks into an ELF file should fix things up.
>
> Regardless of the official tree, I think I'm going to change mine
> to use the above ranges you listed simply because I've also
> encountered problems with ports being in use as well.
>
Yes, luckily it's a minor issue which can be easily fixed in the
source or with sysctl. I was just surprised to see that Linux was not
compliant on this point, especially because it can generate buggy behaviour
for applications.
Regards,
Bastiaan Bakker
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/