Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4

    How does kernel decide Source port ?


    Hi,

    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 ?

    TIA,
    ~Gaurav

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    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
  •