Go to advanced search

by soydepr
Sun Sep 23, 2018 12:22 am
Forum: General discussion
Topic: fail2ban multiple expression in single filter
Replies: 12
Views: 1103

Re: fail2ban multiple expression in single filter

So only the first check is identified Running tests ============= Use failregex filter file : owncloud, basedir: /etc/fail2ban Uselog file : /var/www/html/owncloud/data/owncloud.log Useencoding : UTF-8 Results ======= Failregex: 14 total |- #) [# of hits] regular expression | 1) [14] {.*Login failed...
by soydepr
Sat Sep 22, 2018 12:48 pm
Forum: General discussion
Topic: nginx 504 gateway time out
Replies: 7
Views: 954

Re: nginx 504 gateway time out

yes files in place. i retried with lighttpd and no issues .
i really want to switch as owncloud does not support lighty but is working for me not sure why nginx does not find it
by soydepr
Sat Sep 22, 2018 12:45 pm
Forum: General discussion
Topic: fail2ban multiple expression in single filter
Replies: 12
Views: 1103

Re: fail2ban multiple expression in single filter

how do i give you 5 stars, your always helpful thanks encountered this 018-09-22 08:37:32,140 fail2ban.filter [25209]: INFO Set findtime = 600 2018-09-22 08:37:32,142 fail2ban.filter [25209]: INFO Added logfile = /var/www/html/owncloud/data/owncloud.log 2018-09-22 08:37:32,147 fail2ban.filter [25209...
by soydepr
Sat Sep 22, 2018 11:39 am
Forum: General discussion
Topic: fail2ban multiple expression in single filter
Replies: 12
Views: 1103

fail2ban multiple expression in single filter

how do i handle 2 or 3 expressions in a filter obviously below is wrong

[Definition]
failregex={.*Login failed: \'.*\' \(Remote IP: \'<HOST>\'\)"}
#failregex={.*Trusted domain error. \'.*\' \(Remote IP: \'<HOST>\'\)"}
ignoreregex =
by soydepr
Sat Sep 22, 2018 10:42 am
Forum: General discussion
Topic: nginx 504 gateway time out
Replies: 7
Views: 954

Re: nginx 504 gateway time out

thanks

is nginx really better than lighttpd?

now im getting 404 after adjusting all parameters wtf i think im going back to lighty
by soydepr
Sat Sep 22, 2018 3:12 am
Forum: General discussion
Topic: nginx 504 gateway time out
Replies: 7
Views: 954

nginx 504 gateway time out

where is this file located
But, you should also change set request_terminate_timeout parameter (commented by default) at www.conf file from PHP-FPM:

following this https://www.scalescale.com/tips/nginx/5 ... ing-nginx/

pico -w /etc/php-fpm.d/www.conf not in raspbian ?
by soydepr
Fri Sep 21, 2018 12:29 am
Forum: General discussion
Topic: simple ssl help
Replies: 0
Views: 301

simple ssl help

i followed this http://redmine.lighttpd.net/projects/lighttpd/wiki/HowToSimpleSSL for a simple ssl now i have 2 questions when i visit https://foo.com site still says non-secure ? also how would i add certificate to my browser when i add the pem file tells me certificate is missing trying to add ssl...
by soydepr
Sun Sep 16, 2018 3:08 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

i treid .pem and .cr same error
by soydepr
Sun Sep 16, 2018 1:03 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

sorry to ask but how do i do that

when i tried to import i got
certificate Import Error
The Private Key for this Client Certificate is missing or invalid
by soydepr
Sun Sep 16, 2018 12:57 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

thanks appreciate feedback
so do i need to pay letsencrypt for a certificate
by soydepr
Sun Sep 16, 2018 12:20 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

until i can overcome that limitation i tried this :
https://redmine.lighttpd.net/projects/l ... oSimpleSSL

works but browser keeps telling me certificate is invalid ? why ?

i am able to log into the page but why is browser telling me cert is invalid
by soydepr
Sat Sep 15, 2018 10:15 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

ran into this error i am using freedns

2018-09-15 18:14:17,589:ERROR:certbot.log:There were too many requests of a given type ::ran into this
by soydepr
Sat Sep 15, 2018 10:02 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

ok python completed

How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Spin up a temporary webserver (standalone)
2: Place files in webroot directory (webroot)


1 or 2
by soydepr
Sat Sep 15, 2018 9:58 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

Re: lets encrypt

firstl ink hangs here

certbot-auto certonly
installing pythong just hangs
by soydepr
Sat Sep 15, 2018 9:08 pm
Forum: General discussion
Topic: lets encrypt
Replies: 12
Views: 4685

lets encrypt

trying to add ssl to lighttpd is giving me this error when when i try to add lets encrypt . please help any good toturials for lighttpd and ssl # apt-get install certbot -t stretch-backports Reading package lists... Done E: The value 'stretch-backports' is invalid for APT::Default-Release as such a ...
by soydepr
Wed Sep 12, 2018 9:36 pm
Forum: General discussion
Topic: Fail2ban-client
Replies: 4
Views: 470

Re: Fail2ban-client

i did that but it appears i had install -dont remmber- a separate fail2ban. i thought readers would understand there was a conflict of 2 version and i removed the local one
by soydepr
Wed Sep 12, 2018 2:31 pm
Forum: General discussion
Topic: Fail2ban-client
Replies: 4
Views: 470

Re: Fail2ban-client solved

solution

rm /usr/local/bin/fail2ban-client
by soydepr
Wed Sep 12, 2018 1:07 am
Forum: General discussion
Topic: Fail2ban-client
Replies: 4
Views: 470

Fail2ban-client

Fail2ban-client status is giving
[email protected]:/home/soydepr# fail2ban-client status
unsupported pickle protocol: 4

Main problem seem to be server is running python 3

How can i fix this i am running stretch
by soydepr
Tue Sep 11, 2018 11:38 pm
Forum: General discussion
Topic: fstab
Replies: 12
Views: 1191

Re: fstab

no luck still read only

For more details see mount(8).
[email protected]:/ $ sudo sudo mount /dev/sda1 /mnt/lacie -t hfsplus -o rw,uid=pi,gid=pi,umask=000
[email protected]:/ $ cd /mnt/lacie
[email protected]:/mnt/lacie $ touch tesrt
touch: cannot touch 'tesrt': Read-only file system
by soydepr
Mon Sep 10, 2018 9:06 pm
Forum: General discussion
Topic: fstab
Replies: 12
Views: 1191

Re: fstab

thanks appreciate [email protected]:/var/www/html/owncloud/data# sudo mount /dev/sda1 /mnt -t hfsplus -o rw,uid=pi,gid=pi,umask=000 mount: /dev/sda1 is already mounted or /mnt busy /dev/sda1 is already mounted on /media/pi/LaCie seem to have work after unmounting /dev/sda1 1.9T 1.2G 1.9T 1% /mnt however s...
by soydepr
Sun Sep 09, 2018 11:29 pm
Forum: General discussion
Topic: fstab
Replies: 12
Views: 1191

Re: fstab

/dev/sda1 on /media/pi/LaCie type hfsplus (ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)
by soydepr
Sun Sep 09, 2018 11:19 pm
Forum: General discussion
Topic: fstab
Replies: 12
Views: 1191

fstab

need help adding this usb drive to fstab.

currently is mounted read only and i would like to have it rw
/dev/sda1 1.9T 1.2G 1.9T 1% /media/pi/LaCie
by soydepr
Wed Aug 22, 2018 7:01 pm
Forum: Networking and servers
Topic: Can’t connect from outside network
Replies: 6
Views: 578

Re: Can’t connect from outside network

question

concerning OC anything i have o consider if i switch from lighttp to apache as web server . i want to test with apache see if i have better luck
by soydepr
Wed Aug 22, 2018 6:29 pm
Forum: Networking and servers
Topic: Can’t connect from outside network
Replies: 6
Views: 578

Re: Can’t connect from outside network

i think this is my problem Kernel IP routing table default should be 192.168.1.1 " how can i change this Destination Gateway Genmask Flags Metric Ref Use Iface Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default openrg.home 0.0.0.0 UG 303 0 0 wlan0 10.8.0.0 0.0.0.0...
by soydepr
Wed Aug 22, 2018 6:02 pm
Forum: Networking and servers
Topic: Can’t connect from outside network
Replies: 6
Views: 578

Re: Can’t connect from outside network

I’m using freedns.afraid.org as dns that points to my router . This was working fine on my previous pi

Go to advanced search