To install pip on Synology: $ curl -k https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python Setup to use pip: $ ln -s /var/packages/python/target/bin/pip /usr/bin/ $ export PYTHONPATH=/volume1/@appstore/python/lib/python2.7/site-packages/
Category Archives: synology
PHP.Exploit.CVE_2015_2331-3 false positive
An error with ClamAV database flagged “zip” binary as a potential PHP.Exploit.CVE_2015_2331-3 exploit on Synology. The binary “zip” can be easily restored from Synology’s quarantine interface.
owncloud and synology: can’t access file
Though a simple owncloud user can upload a file on an owncloud hosted on a synology box. He or she may not be able to download that file. Firefox will complain by saying it can’t find that file. There is a simple fix for that on Synology DSM 5. All one would need to do …
Add piwik to Synology Photo Station
There is no clean solution to add Piwik tracker to Synology’s Photo Station 6. But there is a way to add Piwik tracker, simply add the tracking code after </head> in /volume1/@appstore/PhotoStation/photo/index.php After each update of Photo Station, the above procedure should be repeated.
enforcing https on synology’s roundcube
To enforce HTTPS mode on Synology’s Mail Station (roundcube), edit this file. /volume1/@appstore/MailStation/roundcubemail/config/main.inc.php Locate these lines: // enforce connections over https // with this option enabled, all non-secure connections will be redirected $rcmail_config[‘force_https’] = FALSE; Change the last line to read TRUE: $rcmail_config[‘force_https’] = TRUE; Save and exit the file and then all ‘http’ connections …
security: cookies and browsers
With Firefox 22, a new option is introduced to block third-party cookies from web sites which you haven’t explicitly visited before, thus making it harder to employ cross-site user tracking based on such cookies. The browser should send this cookie over an SSL connection so that it is harder for an attacker to steal the cookie …
synology: wget issue
It appears that a wrong version of wget might lead to domain> ipkg update Downloading http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz An error ocurred, return value: 1. Collected errors: ipkg_download: ERROR: Command failed with return value 41: `wget –passive-ftp -q -P /opt/ipkg-2J5uxR http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/Packages.gz’ Fix: domain> export PATH=/opt/bin:$PATH