b426ef0404read returns a READ3res, not a ACCESS3res
Ronnie Sahlberg
2012-01-12 15:19:45 +1100
8724c83390Add function to get root filehandle from a nfs context
Ronnie Sahlberg
2012-01-11 07:04:01 +1100
e6cac86f77Try to rotate the ports we assign when root better so we dont reuse a port htat is in time-wait too frequently
Ronnie Sahlberg
2012-01-03 07:25:25 +1100
59f298f5bfImprove an error message to show the errno value
Ronnie Sahlberg
2012-01-03 07:18:56 +1100
8e9d7dde75MOUNT: describe mount version 1
Ronnie Sahlberg
2012-01-01 10:37:54 +1100
1fbe408023PORTMAPPER: Add set/unset functions
Ronnie Sahlberg
2011-12-31 15:01:38 +1100
5c6b1176c2PMAP: allow to ask for tcp/udp port, dont assume users only ever want the tcp port
Ronnie Sahlberg
2011-12-31 14:24:20 +1100
345422a2e3New version 1.2
Ronnie Sahlberg
2011-12-06 18:02:34 +1100
d7ec001f1aSet IFREG from file type, dont assume mode bits contain it
Ronnie Sahlberg
2011-12-05 13:54:21 +1100
183451cff5Remove all [s]size_t / off_t and replace with [u]int64_t making libnfs 64-bit pure
Ronnie Sahlberg
2011-11-27 14:49:08 +1100
1ec6b50aefAdd MKNOD command support
Ronnie Sahlberg
2011-11-27 14:08:24 +1100
86ef491004New version 1.1
Ronnie Sahlberg
2011-11-27 11:19:18 +1100
71f480591aMake _FILE_OFFSET_BITS=64 always
Ronnie Sahlberg
2011-11-27 11:09:09 +1100
14a062eb59Everytime we use rpc_connect_async() internally, make sure we clear the ->connect_cb so that we dont have a callback function and "private data" being invoked long after the "private data" structure has been free()d.
Ronnie Sahlberg
2011-10-09 19:47:07 +1100
a3d44462cbSync API: Once the sync nfs_mount() functions is finished we have to clear rpc->connect_cb.
Ronnie Sahlberg
2011-10-09 19:10:18 +1100
b990de23c6Only call the "connect callback" if the callback is set to non-NULL
Ronnie Sahlberg
2011-10-09 19:00:24 +1100
8704724f83Change remaining "struct AUTH *" to "AUTH *"
Ronnie Sahlberg
2011-10-09 15:22:05 +1100
7bd7041bd8Merge pull request #19 from Memphiz/auth2
Ronnie Sahlberg
2011-10-08 16:31:20 -0700
fa33813ed4[fix] - fix improper definition of struct AUTH from osx (caution - API change - not clear if typedef is there on all plattforms...)
Memphiz
2011-10-08 18:10:06 +0200
acf31bb24dBump version to 1.0.0
Ronnie Sahlberg
2011-10-04 18:25:05 +1100
d678b73e4dFragment reassembly. Add reassembly of fragmented RPC PDUs
Ronnie Sahlberg
2011-10-04 12:31:56 +1100
1744ef9011Autoreconnect: autoreconnect was completely broken. Reimplement it so that it reconnects properly on session failure.
Ronnie Sahlberg
2011-10-04 11:25:10 +1100
fb69c64c02READDIRPLUS emulation: Some embedded servers do not support READDIRPLUS, so try to trap this and emulate it with READDIR + a LOOKUP loop to get the attributes. Since we are fully async we can do all the lookups in concurrently so it should not be that very exopensive compared to the cheaper READDIRPLUS call.
Ronnie Sahlberg
2011-10-03 10:55:42 +1100
762621fa3dDonr declate AUTH as a struct in libnfs.h make it include rpc/auth.h properly instead
Ronnie Sahlberg
2011-09-19 20:23:45 +1000
46a8a235e8ignore generate libnfs.pc
Mike Frysinger
2011-09-18 11:35:38 +1000
6a14f02fb2tirpc: use pkg-config to find details
Mike Frysinger
2011-09-18 11:35:40 +1000
357f65c0e1Merge branch 'master' of github.com:sahlberg/libnfs
Ronnie Sahlberg
2011-09-19 20:15:47 +1000
5a1f145434add maintainer e-mail to AC_INIT
Mike Frysinger
2011-09-18 11:35:39 +1000
95b7217dc8Merge pull request #15 from OpenELEC/libnfs-pkgconfig
Ronnie Sahlberg
2011-09-16 02:01:11 -0700
ea545df912add support to create a pkgconfig file 'libnfs.pc' on build, and install this with 'make install'
Stephan Raue
2011-09-16 08:23:23 +0200
22e73f32ddupdate README with highly non-portable capability support on some linux kernels
Ronnie Sahlberg
2011-09-13 15:17:21 +1000
1e1b70a24aMerge remote branch 'memphiz/win32'
Ronnie Sahlberg
2011-09-13 15:10:45 +1000
584108f43eMerge remote branch 'memphiz/listservers'
Ronnie Sahlberg
2011-09-13 15:06:21 +1000
e078d276f7[add] - list nfs servers nfsclient-sync
unknown
2011-09-12 19:58:23 +0200
fcc42bfe85[win32] - completed win32 port
Memphiz
2011-09-12 19:22:00 +0200
f650a138b6[fix] - vs2010 project for libnfs
Memphiz
2011-09-12 19:21:02 +0200
dba24f1079[fix] - fixed example - don't exit on read failure during dirent (it could be a directory - non fatal if read fails on that) - fixed sprintf pointer
Memphiz
2011-09-12 18:46:57 +0200
87bfff2643[fix] - fixed example - don't exit on read failure during dirent (it could be a directory - non fatal if read fails on that) - fixed sprintf pointer
Memphiz
2011-09-12 18:46:57 +0200
4e9dcb7665remove debug message
Ronnie Sahlberg
2011-09-12 22:20:56 +1000
07fd0cbc65when creating a socket, spin over a number of low-numbered ports and try to bind to a system port in case the user is root or the binary has the CAP_NET_BIND_SERVICE capability
Ronnie Sahlberg
2011-09-12 22:14:26 +1000
18c27b73ffLarge-Writes: just like for large-reads, chop large writes up into the smallest of 32kb and what the server responded as the max write size and send them out in parallell to the server.
Ronnie Sahlberg
2011-09-11 22:13:28 +1000
83aa785d92Add a call to find the queue-length so we can see how many I/O we have in flight from the application layer.
Ronnie Sahlberg
2011-09-11 21:32:48 +1000
37d14753ceUpdate win32 readme to point to location for oncrpc library for windows
Ronnie Sahlberg
2011-09-03 16:23:44 +1000
4b6737c15cAdd Windows as a supported platform
Ronnie Sahlberg
2011-09-03 15:40:13 +1000
4b0e8df9a9[fix] - fix connect for win32 - return values are inverted
unknown
2011-09-03 00:58:31 +0200
99c14c9b81[add] - implement set_non_blocking for socket
unknown
2011-09-03 00:27:02 +0200
75e8e264d6[WIN32] added nfsclient-sync to the solution. still manually linked with libnfs because the project dependency setting somehow didn't linked it.
WiSo
2011-09-03 00:21:40 +0200
3446e792c1[WIN32] added project file for nfsclient-sync.exe
WiSo
2011-09-03 00:13:28 +0200
cb06480162[WIN32] disable some warnings
WiSo
2011-09-02 23:32:38 +0200
52674a70ea[WIN32] added visual studio project files to libnfs (oncrpc path still hardcoded at several places)
WiSo
2011-09-02 23:24:47 +0200
a8a1b85846[win32] - make it compile on win32
Memphiz
2011-09-01 21:35:54 +0200
4b1097cde2remove old libnfs.def and update the buildscript to the new name libnfs-win32.def
Ronnie Sahlberg
2011-09-03 14:53:10 +1000
db4ea5dd80Revert "Rename libnfs.def to libnfs-win32.def"
Ronnie Sahlberg
2011-09-03 14:51:48 +1000
ea98629aefmemset() is posix, bzero() is not change bzero into memset
Ronnie Sahlberg
2011-09-03 14:11:22 +1000
a3d6cf111eRename libnfs.def to libnfs-win32.def
Ronnie Sahlberg
2011-09-03 13:28:37 +1000
565369e0b2remove some includes that dont exist on windows
Ronnie Sahlberg
2011-09-03 11:30:10 +1000
bb4e9ed6a8cast to char * to avoid compiler warnings for get/setsockopt
Ronnie Sahlberg
2011-09-03 11:25:50 +1000
4ed97718b3Merge branch 'master' into win32-3
Ronnie Sahlberg
2011-09-03 11:11:36 +1000
42f43e48cccast the pointer to char * for all calls to bzero
Ronnie Sahlberg
2011-09-03 11:08:58 +1000
41d82d7d82Merge branch 'win32' into win32-3
Ronnie Sahlberg
2011-09-03 10:57:42 +1000
0804e67d7ausing READDIRPLUS3 we get some extra fields for the direentry structure for free, such as type, mode, size, timestamps
Ronnie Sahlberg
2011-09-02 20:45:30 +1000
f390f18157nfs_opendir() switch to using READDIRPLUS3 instead of READDIR3 when reading directories.
Ronnie Sahlberg
2011-09-02 20:27:01 +1000
e02614571cnfs.x: some rpcgen's can not handle multiple union choices for the same arm. Make sure each choice has a dedicated arm
Ronnie Sahlberg
2011-08-28 19:05:46 +1000
647d2ea11cadd support for opensolaris
Ronnie Sahlberg
2011-09-01 19:48:42 +1000
5733b1e17ewin32 add build script for visual studio
Ronnie Sahlberg
2011-08-30 16:03:26 +1000
66ad6d8438Win32: make the sympols public in a dll
Ronnie Sahlberg
2011-08-30 15:56:53 +1000
427d71c0a7Win32: add a libnfs.def file so we can build libraries/dlls
Ronnie Sahlberg
2011-08-30 15:54:29 +1000
b85c7de2f7use vsnprintf() on all platforms, dont special case win32 for vsnprintf and all other platforms use vasprintf
Ronnie Sahlberg
2011-08-29 19:59:36 +1000
2606f9bb3dWin32: add workaround for lack of vasprintf() and use vsnprintf() on windows on a fixed size buffer
Ronnie Sahlberg
2011-08-29 18:00:09 +1000
0ad9a1f134WIN32: win32 does not have poll() add trivial replacement function
Ronnie Sahlberg
2011-08-28 19:48:01 +1000
dd8fc17555win32 oncrpc environment needx xdr.h before including auth.h
Ronnie Sahlberg
2011-08-28 19:46:12 +1000
f4442bec27wondows dont have vasprintf()
Ronnie Sahlberg
2011-08-28 19:45:00 +1000
6874f61e24Win32: more win32 adaptations
Ronnie Sahlberg
2011-08-28 19:43:33 +1000
fb6510bb68VC10 dont like ';;'
Ronnie Sahlberg
2011-08-28 19:30:10 +1000
d8143ff7d7Win32: the stat structure on win32 does not have blocks or blocksize
Ronnie Sahlberg
2011-08-28 19:29:08 +1000
93e9306f80replace index/rindex with modern equivalents
Ronnie Sahlberg
2011-08-28 19:27:23 +1000
a671a46510replace index/rindex with modern equivalents
Ronnie Sahlberg
2011-08-28 19:27:23 +1000
9896c7155cnfs_set_auth() is a void and does not return anything
Ronnie Sahlberg
2011-08-28 19:25:20 +1000
be337389bfnfs_set_auth() is a void and does not return anything
Ronnie Sahlberg
2011-08-28 19:25:20 +1000
eecdc4f3cdWin32 changes, include files we need when compiling under win32 and some socket ops are slightly different
Ronnie Sahlberg
2011-08-28 19:24:18 +1000
cd03320955nfs.x: some rpcgen's can not handle multiple union choices for the same arm. Make sure each choice has a dedicated arm
Ronnie Sahlberg
2011-08-28 19:05:46 +1000
11ef53a2e6callit_cb() : dont return a value from avoid function
Ronnie Sahlberg
2011-08-28 18:59:13 +1000
b3740e09decallit_cb() : dont return a value from avoid function
Ronnie Sahlberg
2011-08-28 18:59:13 +1000
9115b88cb8bump the configure.ac version to 1.0
Ronnie Sahlberg
2011-08-01 07:32:08 +1000
9f89cfcd15Add packaging directory and script and specfile to build RPM packages
Ronnie Sahlberg
2011-07-31 18:28:09 +1000
b84208a613Dont install slist.h or libnfs-private.h
Ronnie Sahlberg
2011-07-31 18:11:52 +1000
963c2f83beInitialize the rootfh handle when creating the nfs context or else we will try to free a wild pointer if the mount failed and we proceed to call nfs_destroy_context();
Ronnie Sahlberg
2011-07-31 10:59:46 +1000
b077fdeb65Add automatic reconnect after TCP session failure for the sync interface.
Ronnie Sahlberg
2011-07-31 10:46:34 +1000
48593f566fMerge pull request #11 from Memphiz/master
Ronnie Sahlberg
2011-07-20 02:21:02 -0700
4431432424[fix] - install the raw headers ...
Memphiz
2011-07-19 20:11:48 +0200
9f88cb06f5typo
Ronnie Sahlberg
2011-07-18 11:49:21 +1000
51b9335b9cFreeBSD works too
Ronnie Sahlberg
2011-07-18 10:45:54 +1000
c03a1e82acAdd cygwin to supported/tested platforms
Ronnie Sahlberg
2011-07-17 16:45:12 +1000
2b50be4e1cWe need the same uint64_t workaround for cygwin as we have for OSX since rpcgen on cygwin can not handle hyper either
Ronnie Sahlberg
2011-07-17 16:33:27 +1000
fc4bdc2269Add a flag --enable-tirpc to the configure script
Ronnie Sahlberg
2011-07-17 16:32:45 +1000
8c27363e21since UDP is unreliable, send the CALLIT broadcasts 3 times, one second apart when probing for local NFS servers
Ronnie Sahlberg
2011-07-16 17:30:44 +1000
e5964ef905break out the loop for sending a NFSd probe bcast on every interface into a separate function
Ronnie Sahlberg
2011-07-16 17:27:12 +1000