mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Merge remote-tracking branch 'origin/master' into next
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
boot/boot.cmd
|
|
||||||
boot/boot.scr
|
|
||||||
etc/system-release
|
|
||||||
etc/issue
|
|
||||||
srv/web/ipfire/cgi-bin/credits.cgi
|
|
||||||
var/ipfire/langs
|
|
||||||
etc/rc.d/init.d/aws
|
|
||||||
etc/rc.d/init.d/unbound
|
|
||||||
srv/web/ipfire/cgi-bin/dnsforward.cgi
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
boot/boot.cmd
|
||||||
|
boot/boot.scr
|
||||||
1
config/rootfiles/oldcore/127/filelists/bind
Symbolic link
1
config/rootfiles/oldcore/127/filelists/bind
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/bind
|
||||||
@@ -16,5 +16,7 @@ srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
|||||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||||
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
srv/web/ipfire/cgi-bin/vpnmain.cgi
|
||||||
usr/lib/firewall/firewall-lib.pl
|
usr/lib/firewall/firewall-lib.pl
|
||||||
|
usr/local/bin/xt_geoip_update
|
||||||
var/ipfire/backup/include
|
var/ipfire/backup/include
|
||||||
|
var/ipfire/general-functions.pl
|
||||||
var/ipfire/geoip-functions.pl
|
var/ipfire/geoip-functions.pl
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# along with IPFire; if not, write to the Free Software #
|
# along with IPFire; if not, write to the Free Software #
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||||
# #
|
# #
|
||||||
# Copyright (C) 2018 IPFire-Team <info@ipfire.org>. #
|
# Copyright (C) 2019 IPFire-Team <info@ipfire.org>. #
|
||||||
# #
|
# #
|
||||||
############################################################################
|
############################################################################
|
||||||
#
|
#
|
||||||
@@ -48,6 +48,14 @@ ldconfig
|
|||||||
# Regenerate squid configuration file
|
# Regenerate squid configuration file
|
||||||
sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi
|
sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi
|
||||||
|
|
||||||
|
# If not exist create ovpn ca index.txt(.attr) and fix rights
|
||||||
|
touch /var/ipfire/ovpn/ca/index.txt.attr
|
||||||
|
chmod 644 /var/ipfire/ovpn/ca/index.txt.attr
|
||||||
|
chown nobody:nobody /var/ipfire/ovpn/ca/index.txt.attr
|
||||||
|
touch /var/ipfire/ovpn/ca/index.txt
|
||||||
|
chmod 644 /var/ipfire/ovpn/ca/index.txt
|
||||||
|
chown nobody:nobody /var/ipfire/ovpn/ca/index.txt
|
||||||
|
|
||||||
# Start services
|
# Start services
|
||||||
/etc/init.d/unbound restart
|
/etc/init.d/unbound restart
|
||||||
/etc/init.d/squid start
|
/etc/init.d/squid start
|
||||||
@@ -58,6 +66,12 @@ sysctl -p
|
|||||||
# Re-run depmod
|
# Re-run depmod
|
||||||
depmod -a
|
depmod -a
|
||||||
|
|
||||||
|
# Update xt_geoip
|
||||||
|
/usr/local/bin/xt_geoip_update
|
||||||
|
|
||||||
|
# This update needs a reboot...
|
||||||
|
touch /var/run/need_reboot
|
||||||
|
|
||||||
# Finish
|
# Finish
|
||||||
/etc/init.d/fireinfo start
|
/etc/init.d/fireinfo start
|
||||||
sendprofile
|
sendprofile
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# IPFire.org - A linux based firewall #
|
||||||
# Copyright (C) 2014 IPFire Development Team <info@ipfire.org> #
|
# Copyright (C) 2019 IPFire Development Team <info@ipfire.org> #
|
||||||
# #
|
# #
|
||||||
# This program is free software: you can redistribute it and/or modify #
|
# This program is free software: you can redistribute it and/or modify #
|
||||||
# it under the terms of the GNU General Public License as published by #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -26,7 +26,7 @@ SCRIPT_PATH=/usr/local/bin
|
|||||||
DEST_PATH=/usr/share/xt_geoip
|
DEST_PATH=/usr/share/xt_geoip
|
||||||
DB_PATH=/var/lib/GeoIP
|
DB_PATH=/var/lib/GeoIP
|
||||||
|
|
||||||
DL_URL=http://geolite.maxmind.com/download/geoip/database/
|
DL_URL=http://geolite.maxmind.com/download/geoip/database
|
||||||
DL_FILE=GeoLite2-Country-CSV.zip
|
DL_FILE=GeoLite2-Country-CSV.zip
|
||||||
|
|
||||||
eval $(/usr/local/bin/readhash /var/ipfire/proxy/settings)
|
eval $(/usr/local/bin/readhash /var/ipfire/proxy/settings)
|
||||||
|
|||||||
Reference in New Issue
Block a user