Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-29 | merge branch changes into trunk | Jo-Philipp Wich | |
2012-08-29 | [PATCH] nixio HAS_SHADOW test link error | Jo-Philipp Wich | |
The nixio library can mistakenly build without shadow password support due to the compile-time test failing. Because the test for HAS_SHADOW in the nixio Makefile uses the default CC flags, the test may attempt to cross-compile with different VFP abi than libc does and will therefore not link. Passing CCFLAGS on the command line builds the test correctly and will enable HAS_SHADOW if available. | |||
2012-08-27 | libs/nixio: add missing parameter to alarm reset | Jo-Philipp Wich | |
2012-08-27 | libs/nixio: cancel pending alarm after successfully returning from getnameinfo() | Jo-Philipp Wich | |
2012-08-27 | libs/nixio: implement optional timeout for getnameinfo() on Linux | Jo-Philipp Wich | |
2012-03-13 | libs/nixio: reorder linker commandline args to fix build on Ubuntu 11.x | Jo-Philipp Wich | |
2012-03-13 | libs/nixio: disable TLS implementation by default, fixes host builds on ↵ | Jo-Philipp Wich | |
Ubuntu 11.x | |||
2011-12-16 | [PATCH] Abstract address UNIX sockets not binding properly (by ↵ | Jo-Philipp Wich | |
capnbry@gmail.com, #366) In #274, I stated abstract namespace and autobound abstract namespace datagram UNIX domain sockets work perfectly with nixio. However, I may have jumped the gun on that conclusion. Turns out they work perfectly for only one concurrent connection. The problem is that when binding to an abstract address socket, which begins with a NULL byte, nixio strncpy's the name into the sockaddr_un structure, which effectively copies nothing. It then binds to an address of 180 NULLs, which is completely legal, but obviously you run into problems when a second client tries to bind to the same address. The rules are as follows ( http://linux.die.net/man/7/unix) for the names: * If the name is blank, bind() should pass that the addrlen of sizeof(sa_family_t) and Linux will autobind a name that begins with null and is followed by 5 digits. * If the first character of the name is non-null, the name is a pathname and is null-terminated. addrlen should be sizeof(sockaddr_un), but the length can also be the pathname len + sizeof(sa_family_t) as the value will be null-terminated by the kernel unix socket driver * If the first character is null, the address is abstract and the value should not be null-terminated and addrlen is pathname + sizeof(sa_family_t) The attached patch fixes bind/connect/sendto by shortening the addrlen passed to be pathname len + sizeof(sa_family_t), which generates the correct socket names for all 3 cases above. It also fixes the address returned by recvfrom, which currently returns a blank string for any abstract address socket (as they begin with a null). | |||
2011-11-20 | libs/nixio: link with libcrypto when using OpenSSL as digest backend | Jo-Philipp Wich | |
2011-10-24 | libs/nixio: remove forgotten stamp file | Jo-Philipp Wich | |
2011-08-12 | libs/nixio: add missing file in previous commit, revert unrelated change | Jo-Philipp Wich | |
2011-08-12 | libs/nixio: implement getproto(), getprotobyname() and getprotobynumber() | Jo-Philipp Wich | |
2011-08-11 | libs/nixio: allow building without shadow password support | Jo-Philipp Wich | |
2011-08-11 | libs/nixio: fix possible issue with nonblocking bind() | Jo-Philipp Wich | |
2011-07-17 | libs/nixio: Fix recvfrom() return values for unnamed unix sockets, patch by ↵ | Jo-Philipp Wich | |
capnbry@gmail.com (#274) | |||
2011-01-13 | libs/nixio: fix sendto(), implement support for unix domain sockets (#140) | Jo-Philipp Wich | |
2010-06-10 | nixio: Add set_verify_locations for TLS | Steven Barth | |
2010-05-23 | nixio: Add nixio.gettimeofday() per user request | Steven Barth | |
2010-04-05 | libs/nixio: save uhttpd certs as well | Jo-Philipp Wich | |
2010-03-28 | nixio: Fix interface data for layer 3+ interfaces | Steven Barth | |
2010-03-27 | libs/nixio: make TLS support optional | Jo-Philipp Wich | |
2009-12-29 | libs/nixio: fix uninitialized variable warning on Darwin in splice.c | Jo-Philipp Wich | |
2009-12-28 | libs/nixio: properly cast len argument for OS X sendfile() | Jo-Philipp Wich | |
2009-12-28 | libs/nixio: fix compile on OS X | Jo-Philipp Wich | |
2009-11-28 | nixio: Improve number handling with non-double Lua setups | Steven Barth | |
2009-11-01 | nixio: Device stats are unsinged from kernel and likely to overflow so use ↵ | Steven Barth | |
pushnumber instead of pushinteger. | |||
2009-10-31 | System loads are floats | Steven Barth | |
2009-10-26 | Build fixes | Steven Barth | |
2009-10-26 | nixio: store stats and other number information as integer, which works ↵ | Felix Fietkau | |
better when lua number support is downgraded from double to float | |||
2009-08-27 | libs/nixio: protect splice calls with ifdef SPLICE_F_MOVE, fixes compile ↵ | Jo-Philipp Wich | |
error with openwrt trunk x86/glibc | |||
2009-07-29 | Kill abandoned files | Steven Barth | |
2009-07-27 | Code style | Steven Barth | |
2009-07-26 | libs/nixio: d'oh ... import tostring() as well | Jo-Philipp Wich | |
2009-07-26 | libs/nixio: convert data to string in writeall(), this is required for ↵ | Jo-Philipp Wich | |
numeric and udata arguments | |||
2009-07-19 | libs/nixio: don't close stdin, stdout or stderr during garbage collection | Jo-Philipp Wich | |
2009-07-18 | libs/nixio: allow calls to nixio.util.consume() with no iterator given | Jo-Philipp Wich | |
2009-07-18 | libs/nixio: add destination table argument to nixio.util.consume() | Jo-Philipp Wich | |
2009-07-14 | nixio: | Steven Barth | |
Add Rockspec Add bswap to nixio.bit Fix nixio.bit documentation | |||
2009-07-11 | Fix getifaddrs() for BSD | Steven Barth | |
2009-07-11 | nixio: Mark axTLS as discouraged, fix changelog | Steven Barth | |
2009-07-11 | nixio: Update documentation to prepare 0.3 release | Steven Barth | |
2009-07-11 | nixio: Fix accidental closing of file descriptors after dup with two | Steven Barth | |
parameters resulting in strange behaviour when spawning processes | |||
2009-06-30 | libs/nixio: add sysupgrade hook to include /etc/nixio/ (generated certs) ↵ | Jo-Philipp Wich | |
into saved file list | |||
2009-06-21 | nixio: Resolve namespace clashes | Steven Barth | |
2009-06-15 | libs/nixio: wrap $(CC) in quotes, command could break if ccache is used ↵ | Jo-Philipp Wich | |
(CC:=ccache mips-openwrt-linux-uclibc-gcc) | |||
2009-06-15 | Redefine splice() flags for crappy uclibc versions | Steven Barth | |
2009-06-10 | Some sendfile() under Linux 2.4 is broken | Steven Barth | |
2009-06-07 | Revert "adjust axtls level" | Steven Barth | |
This reverts commit b123c99304822a1f1502d00df4915e2707940df3. | |||
2009-06-07 | adjust axtls level | Steven Barth | |
2009-06-07 | nixio: Add support for DER certificates, PX5G fix Certmaster | Steven Barth | |