Commit Graph

4192 Commits

Author SHA1 Message Date
Fabio Erculiani 14bcfbf0ce [entropy.tools] read_elf_real_dynamic_libraries: some final fixes 2010-08-30 23:05:12 +02:00
Fabio Erculiani b6ca4ed514 [entropy.tools] read_elf_real_dynamic_libraries filter out bogus lines 2010-08-30 21:52:10 +02:00
Fabio Erculiani 6702f7a332 [entropy.tools] some minor fixups to read_elf_dynamic_libraries and resolve_dynamic_library 2010-08-30 21:49:07 +02:00
Fabio Erculiani 0acc74ac62 [entropy.tools] add read_elf_real_dynamic_libraries function 2010-08-30 20:33:09 +02:00
Fabio Erculiani 825d9bd02d [entropy.tools] read_elf_broken_symbols: quote elf_file passed to getstatusoutput 2010-08-30 17:59:14 +02:00
Fabio Erculiani 2c157bc6c5 [entropy.tools] read_elf_dynamic_libraries no need to consider another ROOT= 2010-08-30 16:06:41 +02:00
Fabio Erculiani 2f93f2a214 [entropy.tools] read_elf_broken_symbols: no need to consider another ROOT= 2010-08-30 16:06:08 +02:00
Fabio Erculiani 778fa6c23e [tests] test "content safety" metadata 2010-08-30 12:50:26 +02:00
Fabio Erculiani 21413531fa [entropy.server,entropy.client] complete "content safety" feature support 2010-08-30 12:49:33 +02:00
Fabio Erculiani 80fff1ed39 [entropy.services.interfaces] SocketHost: separate non-SSL and SSL log files 2010-08-29 12:20:11 +02:00
Fabio Erculiani 5d860aa17d [entropy.services.interfaces] improve ssl handling code, make some variables protected 2010-08-29 12:15:08 +02:00
Fabio Erculiani dce7a38c69 [entropy.misc] LogFile: remove loggers cache, does more harm than good 2010-08-29 09:49:05 +02:00
Fabio Erculiani 70ade04ff6 [entropy.services.interfaces] fix typo in session's stream_stat item 2010-08-28 18:43:39 +02:00
Fabio Erculiani 821d810aa3 [entropy.db/entropy.spm] introduce content safety metadata collection (sha256, mtime)
The following changes add more security features to Entropy repository
files. Every package will have new security metadata associated, like
sha256 and mtime of package files. Once all packages will contain
such information, the feature can be used, for example, to determine
if a system has been compromised by changing critical executables.
This is not a replacement for rootkit tools such as rkhunter or chkrootkit,
but instead, the base support for their file checking mechanism.

Entropy Client support (equo, mainly) is planned in the near future.
2010-08-28 17:07:15 +02:00
Fabio Erculiani a6da16e9f0 [entropy.spm] PortagePlugin: properly calculate package size even when package is injected 2010-08-28 16:08:25 +02:00
Fabio Erculiani 4be9cb5a94 [entropy.client.interfaces.dep] trivial docstring update 2010-08-24 13:24:06 +02:00
Fabio Erculiani b4488b1a59 [entropy.transceivers] make SSH transceiver working on non-standard SSH ports (regression) 2010-08-24 09:54:37 +02:00
Fabio Erculiani 1970a36d14 [tests] add another revision bump test 2010-08-20 15:37:02 +02:00
Fabio Erculiani 3fcf104316 [entropy.server] fix revision bumping support
Packages were removed before the revision bumping logic code had
a chance to calculate the new package revision.
2010-08-20 14:14:36 +02:00
Fabio Erculiani 4352f39d1b [tests] server: add package revision bumping test 2010-08-20 14:14:15 +02:00
Fabio Erculiani a2649b3413 [entropy.db] fix regression in EntropyRepository.retrieveUseflags 2010-08-18 21:42:29 +02:00
Fabio Erculiani 47690cea4b [entropy.db] more list to tuple conversion, see previous commit 2010-08-18 21:41:49 +02:00
Fabio Erculiani c86ba293f5 [entropy.db] EntropyRepositoryBase: prefer tuple over list when returning objects
This commit drastically changes EntropyRepository API, return object
are now either tuple or frozenset for most functions. This aims to
improve metadata reliability across function calls, making impossible
to change their content. Frozenset and tuple are immutable types.
2010-08-18 20:58:15 +02:00
Fabio Erculiani 72b14eb71e [entropy.db] EntropyRepositoryBase: return frozenset objects instead of set 2010-08-18 17:42:56 +02:00
Fabio Erculiani 9d3f942095 Revert "[entropy.db] copy objects before pushing/popping to/from on-RAM cache"
This reverts commit 38c875a72e.
2010-08-18 15:59:38 +02:00
Fabio Erculiani 38c875a72e [entropy.db] copy objects before pushing/popping to/from on-RAM cache 2010-08-18 15:54:33 +02:00
Fabio Erculiani 4042bf9a4f [entropy.db] EntropyRepository: drop deprecated methods 2010-08-18 15:50:36 +02:00
Fabio Erculiani 20f5be83ae Tagging Entropy version 0.99.49.21 2010-08-18 14:40:50 +02:00
Fabio Erculiani 26c80211a4 [entropy.db] EntropyRepository: rewrite live cache support to improve robustness, cache object is now static 2010-08-18 14:01:58 +02:00
Fabio Erculiani 051ca2bfce [entropy.db] EntropyRepository: fix searchEclassedPackages(), it didn't work 2010-08-18 09:03:16 +02:00
Fabio Erculiani 6523d778a5 [entropy.db.skel] EntropyRepositoryBase.searchEclassedPackages always returns list 2010-08-18 09:02:29 +02:00
Fabio Erculiani 0a3148308b Tagging Entropy version 0.99.49.20 2010-08-17 18:29:53 +02:00
Fabio Erculiani 1b02cbb7e0 [entropy.transceivers] FTP plugin: fix temporary file handling in EntropyFtpUriHandler.download() 2010-08-17 18:27:53 +02:00
Fabio Erculiani f2e4a8f2b2 [entropoy.client.interfaces.package] add docstring 2010-08-17 17:47:24 +02:00
Fabio Erculiani 91d9476758 [entropy.db] EntropyRepository: introduce more on-RAM caching, improving Entropy Client queries speed 2010-08-16 20:08:38 +02:00
Fabio Erculiani f225a7dab5 [entropy.fetchers] fix MultipleUrlFetcher output update function 2010-08-16 19:58:09 +02:00
Fabio Erculiani 526da6ba81 [entropy.client] trivial string update 2010-08-16 19:49:24 +02:00
Fabio Erculiani 16ef7d892e [entropy.db] EntropyRepository: fix bogus implementation of searchKeySlot 2010-08-16 19:29:26 +02:00
Fabio Erculiani 59d499df6f [entropy.client] when waiting in Client.wait_resources() and resources get unlocked, throw all cache away 2010-08-16 18:31:19 +02:00
Fabio Erculiani 11126779c2 [entropy.db] EntropyRepository: taint live cache items when updating them 2010-08-15 23:23:59 +02:00
Fabio Erculiani 01784d79e1 [entropy.db] update API (changed searchNameCategory arguments) and 2x speed of atomMatch() by caching several functions 2010-08-15 17:29:29 +02:00
Fabio Erculiani 46ba83ace2 [entropy.db] EntropyRepository.retrieveName: use cursor object returned by execute() 2010-08-15 16:59:57 +02:00
Fabio Erculiani c719ec4f74 [entropy.db] EntropyRepository.addPackage: clear cache at the beginning of the function 2010-08-15 16:25:26 +02:00
Fabio Erculiani 3749ed5486 [entropy.db] EntropyRepository: remove unused attribute 2010-08-15 16:21:59 +02:00
Fabio Erculiani 6b8b7ab3d1 [entropy.spm] PortagePlugin: improve unpack_xpak() reliability 2010-08-15 15:41:32 +02:00
Fabio Erculiani 0d6dbc3f0a [entropy.server] replace "database" with "repository" in ui messages 2010-08-15 15:32:25 +02:00
Fabio Erculiani 80c85b55d8 [entropy.client.interfaces.repository] move back post update repository hook execution to Repository class 2010-08-15 15:18:01 +02:00
Fabio Erculiani b7a8dfc30a [entropy.server] Server.add_packages_to_repository: fix blacklisted dependencies handling 2010-08-15 00:41:17 +02:00
Fabio Erculiani ab0cc98a52 [entropy.server] repo_blacklist object must be list 2010-08-14 22:32:39 +02:00
Fabio Erculiani dd622c18e5 [entropy.server] add support for per-package dependency blacklist 2010-08-14 19:18:17 +02:00