/srv/irclogs.ubuntu.com/2015/10/03/#ubuntu-server.txt

=== markthomas is now known as markthomas|away
skrpi run an nfs server on freebsd. i can mount it on my other freebsd box but when i try to mount on ubuntu i get " Access denied by server07:19
lordievaderGood morning.07:51
=== Lcawte|Away is now known as Lcawte
=== Lcawte is now known as Lcawte|Away
jdvoooook. What could cause APFs deny_hosts.rules to flush out rules I add?09:36
jdvthere is no cron09:36
=== lukasa is now known as lukasa_away
bithonHello18:17
bithonIs anyone here in a mood to help another fellow newbie in need of help :D18:18
bithonin mood*18:18
bithonIll state my problem anyway so if anyone's in mood to help I'd appreciate it18:18
bithonSo I'm trying to configure a web server in VirtualBox and so far I've been quite succesful18:19
bithonthe only problem that I face right now is permissions and such18:19
bithonYou see, I use this VM as my dev box. I ssh to it and write code directly from it in vim18:19
bithonso I setup a wordpress blog and I wish to modify some code but18:19
bithonI constantly have to switch file permissions of my virtualhost's folder18:20
bithonfrom www-data to my account's group18:20
bithonand it's annoying18:20
bithondoes anyone know a way to bypass this18:20
bithon?18:20
bithonso that wordpress's happy and is able to modify whatever it pleases dynamically without me interfering and at the same time allow me to modify code with my own account18:21
lordievaderbithon: Acl's or a shared group.18:21
bithonOh18:22
bithonI tried placing my account (bithon) to www-data group18:22
bithonbut that doesn't work :S18:22
lordievaderDoes the group have rw access?18:22
bithonyeah18:22
bithon -rwxrwxr-x18:22
lordievaderThen it should work.18:23
bithonThere are the permissions18:23
bithonThese*18:23
bithonI don't like using chmod 77518:24
bithonIs there a way around it ?18:24
bithonoh and I'm running apache 2.4 if anyone's wondering18:24
lordievaderbithon: See what I said above.18:24
bithonOkay I'll look into it and get back to you in a bit. Thanks18:24
bithonHmm ACL seems overly complicated18:38
bithonon Arch Linux wiki it states that I have to mount my partition with ACL18:38
bithonwhich complicates a really simple thing that I'm trying to accomplish18:38
andrewjs18hi all, any iptables gurus in here?20:43
tewardandrewjs18: depends on what you define as a 'guru' and what you want to achieve :P20:59
andrewjs18teward, I'm still a newb, so I'm sure anyone better than me will suffice.21:00
andrewjs18anyways, I'm trying to block China through iptables but I'm getting some errors, and I'm not sure why21:00
andrewjs18I'm using this guide: https://mattwilcox.net/web-development/unexpected-ddos-blocking-china-with-ipset-and-iptables21:00
tewardblocking countries by iptables is incredibly difficult21:00
andrewjs18I'm using ipset to do it21:01
andrewjs18let me test something real fast though21:01
andrewjs18adding this bit of code to the file I load for my iptables rules is causing it to fail: -A INPUT -p tcp -m set --match-set china src -j DROP21:02
andrewjs18if I comment it out and then load the rules, no issues.21:02
Slingandrewjs18: what kind of requests do you want to block? remember that if you put all of this in iptables, it will need to be parsed for every incoming packet on every port/protocol21:23
Slingfor a lot of subnets (think thousands or more) this might cost valuable CPU%21:23
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!