summaryrefslogtreecommitdiffstats
path: root/src/portmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Try reconnecting if rpcbind EPIPEs usNalin Dahyabhai2013-10-011-50/+80
| | | | | | | If the NIS server encounters an EPIPE while attempting to communicate with the portmapper, try to reconnect before giving up on registering. Depending on which RPC implementation is used, rpcbind may drop idle clients after 30 seconds, and our startup can take longer than that.
* Use MSG_NOSIGNAL when sending a request to portmapNalin Dahyabhai2013-10-011-1/+1
|
* Up the log severity on portmap errorsNalin Dahyabhai2013-10-011-9/+9
| | | | | | Log errors encountered while talking to portmap/rpcbind at level SLAPI_LOG_FATAL rather than at the previous SLAPI_LOG_PLUGIN, so that they show up even when we're not actively debugging.
* Omit an unnecessary switch caseNalin Dahyabhai2013-08-271-2/+0
|
* Fix a missing xdr_free()Nalin Dahyabhai2013-08-271-1/+1
|
* Suppress some compiler warningsNalin Dahyabhai2013-08-121-0/+1
|
* Fix some uninitialized-jump warningsNalin Dahyabhai2013-05-231-0/+2
| | | | | | Clear buffers that we encode data into before encoding them, to avoid valgrind warnings that their contents are used before they're written to.
* - don't assume that libc will provide yp headers -- build them ourselvesNalin Dahyabhai2011-05-131-2/+2
|
* - in main(), return an error exit result if we can't create a socket toNalin Dahyabhai2011-01-031-0/+4
| | | | use for talking to the portmapper (defect #10100)
* - in main(), return an error exit status if socket() fails (defect #10101)Nalin Dahyabhai2011-01-031-0/+4
|
* - actually send portmap registrations to the right serverslapi-nis-0.17Nalin Dahyabhai2009-05-141-1/+1
|
* - remove unused variablesNalin Dahyabhai2009-05-061-1/+0
|
* - drop a debug messageNalin Dahyabhai2009-02-121-4/+0
| | | | - default to not using libtirpc
* - move client socket creation here, so that we don't have to know how toNalin Dahyabhai2009-02-121-182/+372
| | | | | | | | | | do it elsewhere - refactor the send/receive logic out so that it can be used for either rpcbind or portmap - try to connect to rpcbind over a local socket first, else assume we have to use portmap over IP - use our own rpcb encode/decode function to avoid mixing the one from libtirpc with the rest of libc's XDR functions -- THAT WOULD BE BAD
* - first (non-working) pass at registering with rpcbindNalin Dahyabhai2009-02-111-17/+138
|
* - use our own bind-reserve-port helper, which should work with eitherNalin Dahyabhai2009-02-111-11/+25
| | | | | ipv4 or ipv6 sockets - make portmap_register()/portmap_unregister() require the address family
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - more build machineryNalin Dahyabhai2008-05-291-0/+21
| | | | | - license text in source files - elaborate on what's still to be done
* - build cleanupsNalin Dahyabhai2008-05-291-4/+10
| | | | - remove some more NSPRisms in cases when XDRisms are even more portable
* - some header cleanupNalin Dahyabhai2008-04-021-0/+1
| | | | - always build a dummy plugin
* - finish getting the basic NIS server going againNalin Dahyabhai2008-04-011-18/+19
|
* try to clean this up a bitNalin Dahyabhai2008-03-271-7/+28
|
* - bind to privileged ports using bindresvport() and not a hard-coded valueNalin Dahyabhai2007-11-211-20/+51
| | | | - get portmapper registration/deregistration working
* - working on splitting out the portmap registration/unregistrationNalin Dahyabhai2007-11-201-0/+211
- beginning to break out schema management