Dear All
I installed nginx and configured it to use /var/www/default-page as its
root folder for static web pages. ls -l /var/www returns
drwxrw----. 2 nginx nginx 4096 Mar 9 11:00 default-page
I do connect to the HOST where nginx is installed using ssh with
public key encryption: ssh my_user@HOST
my_user is just a plain vanilla user. I added my_user to group
nginx. I used my_user to create web content such as a index.html file.
ls -l /var/www/default-page returns
-rw-r--r--. my_user my_user 827 Mar 5 21:30 index.html
Does anyone see any security problems with this setup?
When I remove execute permission for nginx of default-page (drwxrw----
-> drw-rw----) I get an error message (403 Forbidden) when I want to
see index.html using a browser. I do not understand what nginx has to
execute in default-page folder. Can anyone explain why nginx uses this
execute permission?
Regards
Sam
--
Samuel Bächler
Obere Bläsistrasse 1
8049 Zürich
Web: boeser.ch
Tel: +41(0)43 817 46 28
Mob: +41(0)79 478 49 42
Hi Please excuse a newbie style question, but I'm pulling my hair out
trying to get sendmail to allow apache to send an email.I'm now
beginning to wonder if it is somemystic magic that I need know.
Getting the
Mar 9 18:05:35 bf01 sendmail[9756]: NOQUEUE: SYSERR(apache): can not
chdir(/var/spool/clientmqueue/): Permission denied
Message. I have spent most of the afternoon checking permissions,
checking selinux settings, and virtually every thing inbetween. Anyone
got any ideas
Thanks
Richard
Hi,
If you don't have any domain names for which BitFolk serves
secondary DNS for then you can ignore the rest of this email. This
is mainly of interest for users of our secondary DNS service:
https://tools.bitfolk.com/wiki/Secondary_DNS_service
I've decided to rename a.authns.bitfolk.com to
a.authns.bitfolk.co.uk in order to have authoritative server names
in two different TLDs. This is so that your domains will still be
served in the event of some calamity such as one of those two TLDs
breaking, or one of those domains unexpectedly expiring.
Therefore when you find time you should adjust your registrar
details and zone files to list a.authns.bitfolk.co.uk instead of
a.authns.bitfolk.com.
There is no rush; a.authns.bitfolk.com remains in existence, will
always have the same IP address as a.authns.bitfolk.co.uk, and there
is no intention to move away from bitfolk.com in the future, so you
can put this off for as long as you like.
b.authns.bitfolk.com and c.authns.bitfolk.com remain unchanged.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
_______________________________________________
announce mailing list
announce(a)lists.bitfolk.com
https://lists.bitfolk.com/mailman/listinfo/announce
Before I start, I should say that this problem doesn't actually relate
to my Bitfolk VM, but I hope it's OK to mention it here. It does relate
to Xen and I suspect there are a lot of people here who use Xen.
I have a non-serious Xen host at school, used to let pupils do
recreational programming. One Xen host (running on a Mac mini) with one
guest. Both host and guest run Debian Squeeze, and the configuration
has been stable for a long time.
This morning I applied the latest security updates and re-booted them as
follows:
* Upgrade guest
* Shut down guest
* Upgrade host
* Re-boot host
The re-boot was because the updates included a new kernel.
I expected the guest to come back up as normal but it didn't. Trying to
start it manually I got:
hydra:/etc/xen# xm create pragma.cfg
Using config file "./pragma.cfg".
Error: Boot loader didn't return any data!
hydra:/etc/xen#
Doing a web search for this error message produces lots of hits, but
very little information. xend.log contains lots of debug information
from xend, but as far as I can see none from Pygrub. xend invokes
pygrub, pygrub doesn't do its thing, xend then halts the process.
Both systems are backed up nightly so I have very recent backups. I can
mount the guest's root file system on the host and examining it nothing
significant seems to have changed, and certainly all the obvious files
which were there before are still there and still in the same place
(although some are updated versions).
It's unfortunate that I did both upgrades at the same time, because I
now don't know which one is causing the problem.
Can anyone give me any suggestions about how I could get Pygrub to give
me more information on what it is unhappy with?
TIA,
John
On Tue, Mar 5, 2013 at 8:25 PM, Andy Smith <andy(a)bitfolk.com> wrote:
> On Tue, Mar 05, 2013 at 07:23:46PM +0000, Andy Smith wrote:
>> RewriteRule ^(.*) http:// crzyluxtds in/go.php?sid=1 [L,R=302]
>
> Quite a few people rejected this email, probably because of the
> above URL (now obfuscated as I should have done before). If you did,
> you can find the original in the archives:
>
> http://lists.bitfolk.com/lurker/message/20130305.192346.4455264a.en.html
Do we know which version of WordPress was compromised?
And that it was definitely WordPress not another service?
Hi all,
I'm a bit confused by this, I suspect, because I'm more used to setting this up with IPv4 through nice, easy to use control panels!
I want to give my VPS's IPv6 address a reverse DNS entry.
- DNS for my domain is provided by 123-reg.
- I can see in the Bitfolk panel that I can delegate RDNS to various name servers.
- 123-reg don't offer the option of PTR records in their control panel
- I can see how to make zone files here http://rdns6.com/zone
Am I stuck if 123-reg won't let me create PTR records?
Can I use the bitfolk panel to delegate to a completely different name server? Would there be a problem using my VPS as the name server?
There's probably a fairly fundamental gap in my understanding so any pointers would be appreciated.
Thanks
Alex
Hi,
Yesterday we received numerous abuse reports regarding a web site
hosted at BitFolk being mentioned in an email spam run. The spam
email looked like this:
http://pastie.org/private/vjxjhjkpfxqby0fkrv87oq
(http://[elided]/wp-content/themes/mantra/uploads/wps.php?v20120226
being the link that was hosted at BitFolk)
The link, when visited from a conventional browser, was a harmless
redirect to microsoft.com, however when visited from a mobile
browser redirected to a porn site.
The customer was contacted and their port 80 immediately firewalled
off.
Later the customer advised that they were unwilling to spend the
time to discover exactly how Wordpress had been compromised,
preferring instead to completely remove it.
The following .htaccess file was found in several places throughout
the wp-content directory:
RewriteEngine On
RewriteCond %{HTTP:X-WAP-PROFILE} !^$ [OR]
RewriteCond %{HTTP_USER_AGENT}
^.*(Alcatel|Asus|Android|BlackBerry|Ericsson|Fly|Huawei|i-mate|iPAQ|iPhone|iPod|LG-|LGE-|MDS_|MOT-|Nokia|Palm|Panasonic|Pantech|Philips|Sagem|Samsung|Sharp|SIE-|Symbian|Vodafone|Voxtel|WebOS|Windows\s+CE|ZTE-|Zune).*$
[NC,OR]
RewriteCond %{HTTP_ACCEPT} application/vnd.wap.xhtml\+xml [NC,OR]
RewriteCond %{HTTP_ACCEPT} text/vnd.wap.wml [NC]
RewriteRule ^(.*) http://crzyluxtds.in/go.php?sid=1 [L,R=302]
The customer says that no plugins were installed, so it must have
been a base Wordpress install that was compromised (may have been
out of date or installed incorrectly).
Cheers,
Andy
About this email:
https://tools.bitfolk.com/wiki/Security_incident_postings
--
http://bitfolk.com/ -- No-nonsense VPS hosting
When I first setup my VPS I installed apache because at the time I
didn't know about alternatives but am now thing about switching to
nginx. Not that I have had any problems with apache but nginx
apparently isn't as memory hungry.
I have very basic needs. I have only a few websites to serve and
apart from one that uses gallery2 the content is all static html.
I don't remember if I had to enable any thing in apache2 to be able to
use gallery2 but it looks like I'd need to do something with rewrite
rules to use it with nginx
Has anyone switched from apache2 to nginx and are there any 'gotchas' to
be aware of.
--
John Lewis
Debian & the GeneWeb genealogical data server