Merge lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 into lp:ubuntu/vivid/rpcbind
| Status: | Work in progress |
|---|---|
| Proposed branch: | lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 |
| Merge into: | lp:ubuntu/vivid/rpcbind |
| Diff against target: |
274 lines (+254/-0) 3 files modified
debian/changelog (+8/-0) debian/patches/rcpbind-tcp-bind-specific-addrs.patch (+245/-0) debian/patches/series (+1/-0) |
| To merge this branch: | bzr merge lp:~niedbalski/ubuntu/vivid/rpcbind/fix-lp-1430181 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu branches | 2015-03-17 | Pending | |
|
Review via email:
|
|||
Description of the Change
[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
| Robie Basak (racb) wrote : | # |
| Sebastien Bacher (seb128) wrote : | # |
settings as "work in progress" rather than "needs review", seems it needs more work/discussion and is not ready for sponsoring
Unmerged revisions
- 43. By Jorge Niedbalski on 2015-03-17
-
debian/
patches/ rcpbind- tcp-bind- specific- addrs.patch: Make it possible
for rpcbind(8) to bind TCP listening socket to an IP other than INADDR_ANY.
Fixes Bug LP: #1430181.


I'm not sure this is appropriate to land at this point in the cycle, or in its current form, so I've made general review comments in the bug instead of here.