Avoid DNS Reverse lookups when possible
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Fix segfault when using -R optionutils/ | +1 | 1 reply | |
| 2/3 | Avoid reverse resolution for server nameutils/ utils/ utils/ | +39 | 26 replies | |
| 3/3 | Document new -N optionutils/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Avoid DNS Reverse lookups when possible
This new patchset obsoletes the patch sent earlier today. The first and third patch are obvious.
The second patch implement a new command line option -N that takes an on|off argument.
When 'on' is specified the RPC Server name as passed from the kernel to rpc.gssd is check to see if it really is an actual IP address, if it is the current code is executed (and reverse resolution happens), otherwise the name used at the mount option is used directly w/o any DNS resolution to construct the GSSAPI name.
Avoiding Reverse name resolution helps making the system work when PTR records cannot be properly set on a network (because the amdin does not control DNS for example) and also avoids a potential MITM attack (as explained early on in the original patch thread).
Simo Sorce (3):
Fix segfault when using -R option
Avoid reverse resolution for server name
Document new -N option
utils/gssd/gss_util.h | 2 ++ utils/gssd/gssd.c | 18 ++++++++++++++++-- utils/gssd/gssd.man | 11 ++++++++++- utils/gssd/gssd_proc.c | 25 +++++++++++++++++++++---- 4 files changed, 49 insertions(+), 7 deletions(-)