[Merge] lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 into lp:ubuntu/rpcbind
    Jorge Niedbalski 
    jorge.niedbalski at canonical.com
       
    Tue Mar 17 18:48:24 UTC 2015
    
    
  
Jorge Niedbalski has proposed merging lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 into lp:ubuntu/rpcbind.
Requested reviews:
  Ubuntu branches (ubuntu-branches)
For more details, see:
https://code.launchpad.net/~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181/+merge/253260
[Description]
There is no way to prevent rpcbind from listening on all interfaces for TCP connections. The setting "-h" only applies to UDP connections.
Without this patch, starting rpcbind with -h makes no effect to listen on a specific address:
$ rpcbind -h 192.168.100.2
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      22011/rpcbind   
tcp6       0      0 :::111                  :::*                    LISTEN      22011/rpcbind   
udp        0      0 127.0.0.1:111           0.0.0.0:*                           22011/rpcbind   
udp        0      0 0.0.0.0:986             0.0.0.0:*                           22011/rpcbind   
udp6       0      0 ::1:111                 :::*                                22011/rpcbind   
udp6       0      0 :::986                  :::*                                22011/rpcbind  
With this patch, starting rpcbind with -h makes effect to listen to a specific address
$ rpcbind -h 192.168.100.2
tcp        0      0 192.168.100.2:111       0.0.0.0:*               LISTEN      24826/rpcbind   
tcp        0      0 127.0.0.1:111           0.0.0.0:*               LISTEN      24826/rpcbind   
tcp6       0      0 ::1:111                 :::*                    LISTEN      24826/rpcbind   
-- 
Your team Ubuntu branches is requested to review the proposed merge of lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 into lp:ubuntu/rpcbind.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 8395 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20150317/d710c77d/attachment-0001.diff>
    
    
More information about the Ubuntu-reviews
mailing list