aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
Commit message (Collapse)AuthorAgeFilesLines
* libubox: update to the latest versionFelix Fietkau2016-12-011-4/+4
| | | | | | | | - Improves C++ compatibility - Adds static initializers for the kvlist API - Use .xz for source tarball Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Merge pull request #212 from seragh/owrt-conntrack-tools-1.4.4Zoltan Herpai2016-11-231-5/+3
|\ | | | | conntrack-tools: bump to 1.4.4
| * libnetfilter-conntrack: bump to 1.0.6Ralph Sennhauser2016-11-131-5/+3
| | | | | | | | Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* | Merge pull request #195 from seragh/owrt-openssl-cryptodev-linuxZoltan Herpai2016-11-235-521/+294
|\ \ | | | | | | openssl: use cryptodev-linux instead of ocf
| * | openssl: fix cryptodev config dependencyRalph Sennhauser2016-11-061-0/+1
| | | | | | | | | | | | Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
| * | openssl: replace ocf-crypto-headers with a header file from cryptodev-linuxFelix Fietkau2016-11-044-521/+293
| | | | | | | | | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* | | Merge pull request #191 from nmav/tmp-nettle-fatZoltan Herpai2016-11-231-2/+3
|\ \ \ | |_|/ |/| | update to 3.3 and enable fat build
| * | nettle: update to 3.3 and enable fat buildNikos Mavrogiannopoulos2016-11-081-2/+3
| |/ | | | | | | | | | | | | This allows to include optimizations such as ARM neon which are detected on run-time. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* / libnftnl: version bump to 1.0.6Ralph Sennhauser2016-11-071-9/+5
|/ | | | | | Also use release tarballs instead of fetching the sources from git. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
* Merge pull request #97 from wigyori/masterZoltan Herpai2016-09-266-19/+19
|\ | | | | openssl: update to 1.0.2j
| * openssl: update to 1.0.2jZoltan HERPAI2016-09-266-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Security fixes: * (Severity: High) OCSP Status Request extension unbounded memory growth (CVE-2016-6304) * (Severity: Moderate) SSL_peek() hang on empty record (CVE-2016-6305) * (Severity: Moderate) Missing CRL sanity check (CVE-2016-7052) * 10 Low severity issues Security advisories: https://www.openssl.org/news/secadv/20160922.txt https://www.openssl.org/news/secadv/20160926.txt Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* | ncurses: install a dummy libtinfo.a for packages that try to link itnbd2016-08-271-0/+1
|/ | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to the latest version, adds a few utility functionsFelix Fietkau2016-08-191-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libs/gmp: update to 6.1.1Hannu Nyman2016-08-181-2/+2
| | | | | | Update libgmp to 6.1.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* cyassl: update to wolfssl version 3.9.6Hauke Mehrtens2016-08-181-2/+2
| | | | | | | | | | | | Changelog: https://www.wolfssl.com/wolfSSL/Docs-wolfssl-changelog.html old size: libcyassl_3.9.0-1_mips_34kc_dsp.ipk 147552 new size: libcyassl_3.9.6-1_mips_34kc_dsp.ipk 150087 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mbedtls: fix missing mbedtls_time_t bug in mbedtls 2.3.0Hauke Mehrtens2016-07-202-1/+22
| | | | | | | This backports a commit from mbedtls current git which adds missing include for platform.h. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mbedtls: update to version 2.3.0Hauke Mehrtens2016-07-202-33/+24
| | | | | | | This fixes 3 minor security problems. SSLv3 is deactivated by default now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* polarssl: update to version 1.3.17Hauke Mehrtens2016-07-202-16/+4
| | | | | | | This fixes 3 minor security problems. SSLv3 is deactivated by default now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ustream-ssl: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* libubox: update to latest git HEADZoltan HERPAI2016-07-111-2/+2
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* libubox: update to the latest versionFelix Fietkau2016-07-071-2/+2
| | | | | | adds a SIGCHLD handling fix and jshn performance improvements Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libiconv-full: add license tagFlorian Eckert2016-07-071-1/+3
| | | | | | show the license for this package in opkg Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
* elfutils: remove unrecognized config optionDirk Neukirchen2016-07-071-1/+0
| | | | | | | fixes: configure: WARNING: unrecognized options: --disable-werror Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* libpcap: remove unrecognized configure optionsDirk Neukirchen2016-07-071-2/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* ustream-ssl: update to the latest version, adds cyassl/wolfssl fixesFelix Fietkau2016-07-071-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* wolfssl: enable openssl 1.0.1 compatibilityKarl Palsson2016-07-072-19/+1
| | | | | | | | | | | >From wolfssl/openssl/opensslv.h, and from skimming the contents of what "--enable-stunnel" actually does, it seems that --enable-opensslextra doesn't give you the "full" openssl compatibility that you may wish for these days. Unfortuantely, while wolfssl writes the build time options into wolfssl/options.h, it doesn't include that file itself. User applications must include that directly. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libunwind: initial version 1.1Yousong Zhou2016-07-074-0/+141
| | | | | | | | | | | | | | The package Makefile was based on work at link [1] with the following changes 1. Disable minidebuginfo support thus no dependency on liblzma 2. Add 2 patches for building against musl-libc and building with mips16 enabled 3. Add LICENSE and DEPENDS info, etc. [1] https://github.com/rpi-openwrt/rpi-packages/tree/master/libs/libunwind Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* polarssl: enable AES-GCM and CAMELLIA-GCM ciphersuitesJo-Philipp Wich2016-07-042-11/+1
| | | | | | | | | | | Recent versions of Chrome require this ciphers to successfully handshake with a TLS enabled uhttpd server using the ustream-polarssl backend. If `CONFIG_GCM` is disabled, `ssl_ciphersuite_from_id()` will return `NULL` when cipher `0x9d` is looked up, causing the calling `ssl_ciphersuite_match()` to fail with `POLARSSL_ERR_SSL_INTERNAL_ERROR`. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* libnetfilter_queue: fix checksum computationAlin Nastac2016-06-271-0/+113
| | | | | | | | | | | There are 2 issues fixed by this patch: - UDP checksum is computed incorrectly, the used pseudo IP header contains transport protocol 6 iso 17 - on big endian arches the UDP/TCP checksum is incorrectly computed when payload length is odd Signed-off-by: Alin Nastac <alin.nastac@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libusb: disable parallel buildingJo-Philipp Wich2016-06-211-1/+1
| | | | | | | The libusb package is not parallel build save, a make -j16 reliably breaks it. Forcibly disable parallel building. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* cyassl/wolfssl: fix commitZoltan HERPAI2016-06-211-19/+0
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* cyassl/wolfssl: update to 3.9.0Dirk Neukirchen2016-06-213-6/+23
| | | | | | | | | | | | | | | | | | | | | wolfssl has a fine grained feature and compatibility control for compiling stunnel, lighthttp or (partly) openssl dropin ustream-ssl uses features that require normally HAVE_SNI, HAVE_STUNNEL and the openssl compatibility headers ar71xx ipkg sizes of wolfssl 3.9.0: - with stunnel: 144022 - this patch (w.o. stunnel): 131712 - without openssl(extra): 111104 - w.o openssl/sni:108515 - w.o openssl/sni/ecc: 93954 so patch 300 saves around 12k compressed ipkg size v2: keep & rename patch 300 for clarity, fixes ustream-ssl/cyassl that broke with v1 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* nettle: update to 3.2Syrone Wong2016-06-211-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-1912-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ncurses: package the tinfo library separately"Luka Perkov2016-06-191-3/+2
| | | | | | This reverts commit r49361 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gettext-full: avoid spurious dependencies on ncursesLuka Perkov2016-06-191-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: package the tinfo library separatelyLuka Perkov2016-06-191-2/+3
| | | | | | | | Some packages expect it that way Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: provide libncurses compatibility symlinks in libncurseswLuka Perkov2016-06-191-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: install pkg-config files to fix util-linux build breakageLuka Perkov2016-06-191-7/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncurses: remove libncurses, provide it via libncurseswLuka Perkov2016-06-191-45/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libiconv: add all ASCII aliasesLuka Perkov2016-06-192-1/+10
| | | | | | | | This patch adds missing ASCII aliases to the libiconv stub in order to avoid conversion errors like https://github.com/openwrt/packages/issues/2373 Signed-off-by: Gergely Kiss <mail.gery@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: Update to version 1.0.2hJo-Philipp Wich2016-06-191-2/+2
| | | | | | | | | | Bump to the latest version, fixes several security issues: * CVE-2016-2107, CVE-2016-2105, CVE-2016-2106, CVE-2016-2109, CVE-2016-2176 More details at https://www.openssl.org/news/openssl-1.0.2-notes.html Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libnl-tiny: backport 'gnet_stats_rate_est64' supportHauke Mehrtens2016-04-171-0/+12
| | | | | | | | | | | | | This has been added to the kernel uapi for a while, and makes sense to have it here too. At the moment we're using it for query-ing qdisc via netlink using libnl-tiny. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/libs/libusb: Update to 1.0.20John Crispin2016-04-011-3/+3
| | | | | | | | Updates libusb to version 1.0.20 and changes copyright to 2016. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/libs/lzo: update version to 2.09John Crispin2016-04-011-3/+3
| | | | | | | | Updates lzo to version 2.09 and changes copyright to 2016. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc++: add a patch to fix memory corruption issues on exceptionsFelix Fietkau2016-03-051-0/+114
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cyassl: disable Intel ASM for nowJo-Philipp Wich2016-03-021-8/+8
| | | | | | | | With ASM support enabled, CyaSSL fails to build on all x86 subtargets. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: update to 1.0.2g (8 CVEs)Jo-Philipp Wich2016-03-014-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CVE-2016-0704 s2_srvr.c overwrite the wrong bytes in the master-key when applying Bleichenbacher protection for export cipher suites. This provides a Bleichenbacher oracle, and could potentially allow more efficient variants of the DROWN attack. CVE-2016-0703 s2_srvr.c did not enforce that clear-key-length is 0 for non-export ciphers. If clear-key bytes are present for these ciphers, they *displace* encrypted-key bytes. This leads to an efficient divide-and-conquer key recovery attack: if an eavesdropper has intercepted an SSLv2 handshake, they can use the server as an oracle to determine the SSLv2 master-key, using only 16 connections to the server and negligible computation. More importantly, this leads to a more efficient version of DROWN that is effective against non-export ciphersuites, and requires no significant computation. CVE-2016-0702 A side-channel attack was found which makes use of cache-bank conflicts on the Intel Sandy-Bridge microarchitecture which could lead to the recovery of RSA keys. The ability to exploit this issue is limited as it relies on an attacker who has control of code in a thread running on the same hyper- threaded core as the victim thread which is performing decryptions. CVE-2016-0799 The internal |fmtstr| function used in processing a "%s" format string in the BIO_*printf functions could overflow while calculating the length of a string and cause an OOB read when printing very long strings. Additionally the internal |doapr_outch| function can attempt to write to an OOB memory location (at an offset from the NULL pointer) in the event of a memory allocation failure. In 1.0.2 and below this could be caused where the size of a buffer to be allocated is greater than INT_MAX. E.g. this could be in processing a very long "%s" format string. Memory leaks can also occur. The first issue may mask the second issue dependent on compiler behaviour. These problems could enable attacks where large amounts of untrusted data is passed to the BIO_*printf functions. If applications use these functions in this way then they could be vulnerable. OpenSSL itself uses these functions when printing out human-readable dumps of ASN.1 data. Therefore applications that print this data could be vulnerable if the data is from untrusted sources. OpenSSL command line applications could also be vulnerable where they print out ASN.1 data, or if untrusted data is passed as command line arguments. Libssl is not considered directly vulnerable. Additionally certificates etc received via remote connections via libssl are also unlikely to be able to trigger these issues because of message size limits enforced within libssl. CVE-2016-0797 In the BN_hex2bn function the number of hex digits is calculated using an int value |i|. Later |bn_expand| is called with a value of |i * 4|. For large values of |i| this can result in |bn_expand| not allocating any memory because |i * 4| is negative. This can leave the internal BIGNUM data field as NULL leading to a subsequent NULL ptr deref. For very large values of |i|, the calculation |i * 4| could be a positive value smaller than |i|. In this case memory is allocated to the internal BIGNUM data field, but it is insufficiently sized leading to heap corruption. A similar issue exists in BN_dec2bn. This could have security consequences if BN_hex2bn/BN_dec2bn is ever called by user applications with very large untrusted hex/dec data. This is anticipated to be a rare occurrence. All OpenSSL internal usage of these functions use data that is not expected to be untrusted, e.g. config file data or application command line arguments. If user developed applications generate config file data based on untrusted data then it is possible that this could also lead to security consequences. This is also anticipated to be rare. CVE-2016-0798 The SRP user database lookup method SRP_VBASE_get_by_user had confusing memory management semantics; the returned pointer was sometimes newly allocated, and sometimes owned by the callee. The calling code has no way of distinguishing these two cases. Specifically, SRP servers that configure a secret seed to hide valid login information are vulnerable to a memory leak: an attacker connecting with an invalid username can cause a memory leak of around 300 bytes per connection. Servers that do not configure SRP, or configure SRP but do not configure a seed are not vulnerable. In Apache, the seed directive is known as SSLSRPUnknownUserSeed. To mitigate the memory leak, the seed handling in SRP_VBASE_get_by_user is now disabled even if the user has configured a seed. Applications are advised to migrate to SRP_VBASE_get1_by_user. However, note that OpenSSL makes no strong guarantees about the indistinguishability of valid and invalid logins. In particular, computations are currently not carried out in constant time. CVE-2016-0705 A double free bug was discovered when OpenSSL parses malformed DSA private keys and could lead to a DoS attack or memory corruption for applications that receive DSA private keys from untrusted sources. This scenario is considered rare. CVE-2016-0800 A cross-protocol attack was discovered that could lead to decryption of TLS sessions by using a server supporting SSLv2 and EXPORT cipher suites as a Bleichenbacher RSA padding oracle. Note that traffic between clients and non- vulnerable servers can be decrypted provided another server supporting SSLv2 and EXPORT ciphers (even with a different protocol such as SMTP, IMAP or POP) shares the RSA keys of the non-vulnerable server. This vulnerability is known as DROWN (CVE-2016-0800). Recovering one session key requires the attacker to perform approximately 2^50 computation, as well as thousands of connections to the affected server. A more efficient variant of the DROWN attack exists against unpatched OpenSSL servers using versions that predate 1.0.2a, 1.0.1m, 1.0.0r and 0.9.8zf released on 19/Mar/2015 (see CVE-2016-0703 below). Users can avoid this issue by disabling the SSLv2 protocol in all their SSL/TLS servers, if they've not done so already. Disabling all SSLv2 ciphers is also sufficient, provided the patches for CVE-2015-3197 (fixed in OpenSSL 1.0.1r and 1.0.2f) have been deployed. Servers that have not disabled the SSLv2 protocol, and are not patched for CVE-2015-3197 are vulnerable to DROWN even if all SSLv2 ciphers are nominally disabled, because malicious clients can force the use of SSLv2 with EXPORT ciphers. OpenSSL 1.0.2g and 1.0.1s deploy the following mitigation against DROWN: SSLv2 is now by default disabled at build-time. Builds that are not configured with "enable-ssl2" will not support SSLv2. Even if "enable-ssl2" is used, users who want to negotiate SSLv2 via the version-flexible SSLv23_method() will need to explicitly call either of: SSL_CTX_clear_options(ctx, SSL_OP_NO_SSLv2); or SSL_clear_options(ssl, SSL_OP_NO_SSLv2); as appropriate. Even if either of those is used, or the application explicitly uses the version-specific SSLv2_method() or its client or server variants, SSLv2 ciphers vulnerable to exhaustive search key recovery have been removed. Specifically, the SSLv2 40-bit EXPORT ciphers, and SSLv2 56-bit DES are no longer available. In addition, weak ciphers in SSLv3 and up are now disabled in default builds of OpenSSL. Builds that are not configured with "enable-weak-ssl-ciphers" will not provide any "EXPORT" or "LOW" strength ciphers. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest git HEADJohn Crispin2016-02-261-2/+2
| | | | | | | | adds isdir support to json_script Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/glibc: remove obsolete versionsFelix Fietkau2016-02-251-5/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48780 3c298f89-4303-0410-b956-a3cf2f4a3e73