Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How does kernel decide Source port ?


    I am using a third party application, which sends out some packets.

    The source port for the first message is 1025, source port for subsequent messages is incremented by 1.

    Where in the kernel code, this port is decided ?


  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Tokyo, Japan
    i dont think the kernel decides which port to pick as source port but instead its the application that decides it.
    Linux and me it's a love story

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts