Commits

Author Commit Message Labels Comments Date
Olaf Kirch
Introduce __rpc_set_netbuf helper The RPC code contains a number of places where a netbuf is initialized with some data. All the mem_alloc/memcpy stuff is open-coded. Introduce a helper function and convert the code. Signed-off-by: Olaf Kirch <okir@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Olaf Kirch
Kill map_ipv4_to_ipv6 After the change to svc_vc.c performed in the previous patch, this function is no longer needed. Signed-off-by: Olaf Kirch <okir@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Olaf Kirch
Fix xp_raddr handling in svc_fd_create etc Currently svc_fd_create tries to do some clever tricks with IPv4/v6 address mapping. This is broken for several reasons. 1. We don't want IPv4 based transport to look like IPv6 transports. Old applications compiled against tirpc will expect AF_INET addresses, and are not equipped to deal with AF_INET6. 2. There's a buffer overflow. memcpy(&sin6, &ss, sizeof(ss)); copies a full struct soc…
Steve Dickson
- Fixed version-info in src/Makefile.am to reflect the correct version - Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and src/clnt_raw.c - Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c that was not being used... Signed-off-by: Steve Dickson <steved@redhat.com>
Olaf Kirch
Fix for taddr2addr conversion bug of local addresses When converting af_local socket addresses in taddr2uaddr, an incorrect sizeof() would result in a truncated path string. As a result, rpcbind will report the local /var/lib/rpcbind address to clients as "/v" on a 32bit machine. Signed-off-by: okir@suse.de Signed-off-by: Steve Dickson <steved@redhat.com>
Olaf Kirch
Always make IPv6 sockets V6ONLY Assume you have a netconfig file looking like this: udp tpi_clts v inet udp - - udp6 tpi_clts v inet6 udp - - ... a call to svc_tli_create(... &someaddr, "udp") will fail to create an IPv6 server socket. The problem is that on Linux, passive IPv6 sockets will also accept packets/connections from IPv4, and will simply map the sender's addr…
Olaf Kirch
Fix incorrect sizeof() in __rpc_getbroadifs __rpc_getbroadifs returns bad broadcast addresses on 32bit machines because when copying the broadcast addresses, ite applies the sizeof() operator to a pointer to a sockaddr, rather than the sockaddr itself. Signed-off-by: Olaf Kirch <okir@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Release 0.1.9 Signed-off-by: Steve Dickson <steved@dickson.boston.devel.redhat.com>
Aurelien Charbon
Updated COPYING with new license agreement. Signed-off-by: Steve Dickson <steved@dickson.boston.devel.redhat.com>
CHIKAMA Masaki
Added super-H(sh3,sh4) architecture support Signed-off-by: CHIKAMA Masaki <masaki.chikama@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Use $(DESTDIR) in the installation of /etc/netconfig Set the -version-info in the LDFLAGS Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Fixed infinite loop in svc_run() Signed-off-by: Steve Dickson <steved@dickson.boston.devel.redhat.com>
Steve Dickson
Added in svc_auth_none needed by the GSSAPI code. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Release 0.1.8 Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Install man pages in the 3t section Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Fixed typo in libtirpc.pc.in Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Added that libtirpc.pc.in that will create the /usr/lib/pkgconfig/libtirpc.pc file that is used by the pkg-config(1) command Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Protect from buffer overflow in the GSS code. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
When the configuration --enable-gss used, the libgssglue library will be used instead of the libgssapi. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Cleaned out all the stale autoconf files Added autogen.sh script used to generate all the autoconf files. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Added " || defined(__arm__)" to xdr_float.c which allows libtirpc to build on ARM processors. Author-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
- Change the order of network ids in /etc/netconfg putting ipv4 ids before ipv6. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
- Make sure remote address (xp_rtaddr) is populated with the correct type of address. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Added IP_RECVERR processing with to clnt_dg_call() so application will see errors instead of timing out Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
A couple ntohs() were needed in bindresvport_sa() Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Ignore the return value of snprintf() and use strlen() instead to bump the pointer in clnt_sperror() Also removed calls to assert(), not needed. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Fixed mutex locking problem in clnt_raw.c. One should grab the clntraw_lock before accessing at clntraw_private, not after. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Added a optimization to bindresvport that allows more ports to be tried. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Check for buffer overflow in xdr_string. Signed-off-by: Steve Dickson <steved@redhat.com>
Steve Dickson
Added SVCAUTH_DESTROY and svcauth_destroy macros to fix undefined errors Signed-off-by: Steve Dickson <steved@redhat.com>
  1. Prev
  2. Next