Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18812

lnet: restrict IP addresses that socklnd listens on

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.17.0
    • 3
    • 9223372036854775807

    Description

      The socklnd acceptor listens for new connections on port 988 by default on all IP addresses:

      # netstat -an | grep -w 988
      tcp        0      0 0.0.0.0:988             0.0.0.0:*               LISTEN     
      tcp        0      0 192.168.20.159:1022     192.168.20.1:988        ESTABLISHED
      tcp        0      0 192.168.20.159:1023     192.168.20.1:988        ESTABLISHED
      tcp        0      0 192.168.20.159:1021     192.168.20.1:988        ESTABLISHED
      

      In some scenarios, it is desirable to not listen for connections on all addresses. It should be possible to limit the acceptor to listen only on specific addresses.

      Attachments

        Activity

          [LU-18812] lnet: restrict IP addresses that socklnd listens on

          "Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59673
          Subject: LU-18812 lnet: restrict IP addresses that socklnd listens on
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6391ce5f5d1bb1cf560a77a5c6e9077f2a8273ea

          gerrit Gerrit Updater added a comment - "Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/59673 Subject: LU-18812 lnet: restrict IP addresses that socklnd listens on Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6391ce5f5d1bb1cf560a77a5c6e9077f2a8273ea

          People

            ssmirnov Serguei Smirnov
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: