Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

71%
+3 −0
Q&A Why is 32768-60999 the default for local/ephemeral ports?

The local port range on my Arch Linux installation is 32768-60999 according to cat /proc/sys/net/ipv4/ip_local_port_range Wikipedia states that this range is "used by many Linux kernels" and th...

0 answers  ·  posted 7mo ago by Matthias Braun‭  ·  edited 7mo ago by Michael‭

Question networking ports
#3: Post edited by user avatar Michael‭ · 2024-05-04T20:56:41Z (7 months ago)
Fix typo. Tiny grammar improvement.
Why is 32768-60999 the default for local/ephemeral ports?
  • The local port range on my Arch Linux installation is 32768-60999 according to
  • cat /proc/sys/net/ipv4/ip_local_port_range
  • [Wikipedia](https://en.wikipedia.org/wiki/Ephemeral_port#Range) states that this range is "used by many Linux kernels" and [the kernel documentation](https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables) says it's the default range.
  • I'm especially interested in the reason for exluding ports 61000 to 65535 from use as local/ephemeral ports per default.
  • The local port range on my Arch Linux installation is 32768-60999 according to
  • cat /proc/sys/net/ipv4/ip_local_port_range
  • [Wikipedia][] states that this range is "used by many Linux kernels" and [the kernel documentation][kernel] says it's the default range.
  • I'm especially interested in the reason for excluding ports 61000 to 65535 from use as local/ephemeral ports by default.
  • [wikipedia]: https://en.wikipedia.org/wiki/Ephemeral_port#Range
  • [kernel]: https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables
#2: Post edited by user avatar Matthias Braun‭ · 2024-05-01T18:38:21Z (7 months ago)
Punctuation
  • The local port range on my Arch Linux installation is 32768-60999 according to
  • cat /proc/sys/net/ipv4/ip_local_port_range
  • [Wikipedia](https://en.wikipedia.org/wiki/Ephemeral_port#Range) states that this range is "used by many Linux kernels" and [the kernel documentation](https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables) says it's the default range.
  • I'm especially interested in the reason for exluding ports 61000 to 65535 from use as local/ephemeral ports per default?
  • The local port range on my Arch Linux installation is 32768-60999 according to
  • cat /proc/sys/net/ipv4/ip_local_port_range
  • [Wikipedia](https://en.wikipedia.org/wiki/Ephemeral_port#Range) states that this range is "used by many Linux kernels" and [the kernel documentation](https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables) says it's the default range.
  • I'm especially interested in the reason for exluding ports 61000 to 65535 from use as local/ephemeral ports per default.
#1: Initial revision by user avatar Matthias Braun‭ · 2024-05-01T14:34:33Z (7 months ago)
Why is 32768-60999 the default for local/ephemeral ports?
The local port range on my Arch Linux installation is 32768-60999 according to

    cat /proc/sys/net/ipv4/ip_local_port_range

[Wikipedia](https://en.wikipedia.org/wiki/Ephemeral_port#Range) states that this range is "used by many Linux kernels" and [the kernel documentation](https://www.kernel.org/doc/html/latest//networking/ip-sysctl.html#ip-variables) says it's the default range.

I'm especially interested in the reason for exluding ports 61000 to 65535 from use as local/ephemeral ports per default?