mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 11:05:54 +02:00
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into monit
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
ENABLED=off
|
||||
ENABLED_BLUE=off
|
||||
ENABLED_ORANGE=off
|
||||
DDEST_PORT=1149
|
||||
DDEST_PORT=1194
|
||||
DPROTOCOL=udp
|
||||
VPN_IP=
|
||||
|
||||
@@ -21,7 +21,7 @@ usr/lib/daq
|
||||
#usr/lib/libdaq.la
|
||||
#usr/lib/libdaq.so
|
||||
usr/lib/libdaq.so.2
|
||||
usr/lib/libdaq.so.2.0.1
|
||||
usr/lib/libdaq.so.2.0.2
|
||||
#usr/lib/libdaq_static.a
|
||||
#usr/lib/libdaq_static.la
|
||||
#usr/lib/libdaq_static_modules.a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#sbin/extlinux
|
||||
#usr/bin/gethostip
|
||||
#usr/bin/isohybrid
|
||||
usr/bin/isohybrid
|
||||
#usr/bin/isohybrid.pl
|
||||
#usr/bin/keytab-lilo
|
||||
#usr/bin/lss16toppm
|
||||
|
||||
@@ -30,7 +30,6 @@ usr/bin/u2spewfoo
|
||||
#usr/include/snort/dynamic_preproc/bitop.h
|
||||
#usr/include/snort/dynamic_preproc/cpuclock.h
|
||||
#usr/include/snort/dynamic_preproc/file_api.h
|
||||
#usr/include/snort/dynamic_preproc/file_lib.h
|
||||
#usr/include/snort/dynamic_preproc/idle_processing.h
|
||||
#usr/include/snort/dynamic_preproc/ipv6_port.h
|
||||
#usr/include/snort/dynamic_preproc/mempool.h
|
||||
@@ -180,11 +179,14 @@ usr/sbin/snort
|
||||
#usr/share/doc/snort/README.dnp3
|
||||
#usr/share/doc/snort/README.dns
|
||||
#usr/share/doc/snort/README.event_queue
|
||||
#usr/share/doc/snort/README.file
|
||||
#usr/share/doc/snort/README.file_ips
|
||||
#usr/share/doc/snort/README.filters
|
||||
#usr/share/doc/snort/README.flowbits
|
||||
#usr/share/doc/snort/README.frag3
|
||||
#usr/share/doc/snort/README.ftptelnet
|
||||
#usr/share/doc/snort/README.gre
|
||||
#usr/share/doc/snort/README.ha
|
||||
#usr/share/doc/snort/README.http_inspect
|
||||
#usr/share/doc/snort/README.imap
|
||||
#usr/share/doc/snort/README.ipip
|
||||
|
||||
20
config/rootfiles/core/78/exclude
Normal file
20
config/rootfiles/core/78/exclude
Normal file
@@ -0,0 +1,20 @@
|
||||
boot/config.txt
|
||||
etc/collectd.custom
|
||||
etc/ipsec.conf
|
||||
etc/ipsec.secrets
|
||||
etc/ipsec.user.conf
|
||||
etc/ipsec.user.secrets
|
||||
etc/localtime
|
||||
etc/shadow
|
||||
etc/ssh/ssh_config
|
||||
etc/ssh/sshd_config
|
||||
etc/ssl/openssl.cnf
|
||||
etc/sudoers
|
||||
etc/sysconfig/firewall.local
|
||||
etc/sysconfig/rc.local
|
||||
etc/udev/rules.d/30-persistent-network.rules
|
||||
srv/web/ipfire/html/proxy.pac
|
||||
var/ipfire/ovpn
|
||||
var/log/cache
|
||||
var/state/dhcp/dhcpd.leases
|
||||
var/updatecache
|
||||
1
config/rootfiles/core/78/filelists/armv5tel/linux-kirkwood
Symbolic link
1
config/rootfiles/core/78/filelists/armv5tel/linux-kirkwood
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/armv5tel/linux-kirkwood
|
||||
1
config/rootfiles/core/78/filelists/armv5tel/linux-multi
Symbolic link
1
config/rootfiles/core/78/filelists/armv5tel/linux-multi
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/armv5tel/linux-multi
|
||||
1
config/rootfiles/core/78/filelists/armv5tel/linux-rpi
Symbolic link
1
config/rootfiles/core/78/filelists/armv5tel/linux-rpi
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/armv5tel/linux-rpi
|
||||
1
config/rootfiles/core/78/filelists/daq
Symbolic link
1
config/rootfiles/core/78/filelists/daq
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/daq
|
||||
16
config/rootfiles/core/78/filelists/files
Normal file
16
config/rootfiles/core/78/filelists/files
Normal file
@@ -0,0 +1,16 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
srv/web/ipfire/cgi-bin/ddns.cgi
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
srv/web/ipfire/cgi-bin/logs.cgi/firewalllogcountry.dat
|
||||
srv/web/ipfire/cgi-bin/logs.cgi/showrequestfromcountry.dat
|
||||
srv/web/ipfire/cgi-bin/modem-status.cgi
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||
srv/web/ipfire/html/themes/ipfire/include/functions.pl
|
||||
usr/local/bin/setddns.pl
|
||||
var/ipfire/langs
|
||||
var/ipfire/menu.d/20-status.menu
|
||||
var/ipfire/menu.d/70-log.menu
|
||||
var/ipfire/modem-lib.pl
|
||||
var/ipfire/ovpn/openssl/ovpn.cnf
|
||||
1
config/rootfiles/core/78/filelists/i586/grub
Symbolic link
1
config/rootfiles/core/78/filelists/i586/grub
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/grub
|
||||
1
config/rootfiles/core/78/filelists/i586/linux
Symbolic link
1
config/rootfiles/core/78/filelists/i586/linux
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/linux
|
||||
1
config/rootfiles/core/78/filelists/i586/syslinux
Symbolic link
1
config/rootfiles/core/78/filelists/i586/syslinux
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../common/i586/syslinux
|
||||
1
config/rootfiles/core/78/filelists/openvpn
Symbolic link
1
config/rootfiles/core/78/filelists/openvpn
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/openvpn
|
||||
1
config/rootfiles/core/78/filelists/ppp
Symbolic link
1
config/rootfiles/core/78/filelists/ppp
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/ppp
|
||||
1
config/rootfiles/core/78/filelists/snort
Symbolic link
1
config/rootfiles/core/78/filelists/snort
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/snort
|
||||
1
config/rootfiles/core/78/filelists/squid
Symbolic link
1
config/rootfiles/core/78/filelists/squid
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/squid
|
||||
1
config/rootfiles/core/78/filelists/vnstat
Symbolic link
1
config/rootfiles/core/78/filelists/vnstat
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/vnstat
|
||||
1
config/rootfiles/core/78/meta
Normal file
1
config/rootfiles/core/78/meta
Normal file
@@ -0,0 +1 @@
|
||||
DEPS=""
|
||||
292
config/rootfiles/core/78/update.sh
Normal file
292
config/rootfiles/core/78/update.sh
Normal file
@@ -0,0 +1,292 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
# #
|
||||
# This file is part of the IPFire Firewall. #
|
||||
# #
|
||||
# IPFire is free software; you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
# the Free Software Foundation; either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# IPFire is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2014 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
|
||||
|
||||
function add_to_backup ()
|
||||
{
|
||||
# Add path to ROOTFILES but remove old entries to prevent double
|
||||
# files in the tar
|
||||
grep -v "^$1" /opt/pakfire/tmp/ROOTFILES > /opt/pakfire/tmp/ROOTFILES.tmp
|
||||
mv /opt/pakfire/tmp/ROOTFILES.tmp /opt/pakfire/tmp/ROOTFILES
|
||||
echo $1 >> /opt/pakfire/tmp/ROOTFILES
|
||||
}
|
||||
|
||||
#
|
||||
# Remove old core updates from pakfire cache to save space...
|
||||
core=78
|
||||
for (( i=1; i<=${core}; i++ ))
|
||||
do
|
||||
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
|
||||
done
|
||||
|
||||
#
|
||||
# Do some sanity checks.
|
||||
case $(uname -r) in
|
||||
*-ipfire-versatile )
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: ERROR cannot update. versatile support is dropped."
|
||||
# Report no error to pakfire. So it does not try to install it again.
|
||||
exit 0
|
||||
;;
|
||||
*-ipfire-xen )
|
||||
BOOTSIZE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f2 | tail -n 1`
|
||||
if [ $BOOTSIZE -lt 28000 ]; then
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: ERROR cannot update because not enough space on boot."
|
||||
exit 2
|
||||
fi
|
||||
;;
|
||||
*-ipfire* )
|
||||
# Ok.
|
||||
;;
|
||||
* )
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: ERROR cannot update. No IPFire Kernel."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
KVER="xxxKVERxxx"
|
||||
MOUNT=`grep "kernel" /boot/grub/grub.conf 2>/dev/null | tail -n 1 `
|
||||
# Nur den letzten Parameter verwenden
|
||||
echo $MOUNT > /dev/null
|
||||
MOUNT=$_
|
||||
if [ ! $MOUNT == "rw" ]; then
|
||||
MOUNT="ro"
|
||||
fi
|
||||
|
||||
#
|
||||
# check if we the backup file already exist
|
||||
if [ -e /var/ipfire/backup/core-upgrade${core}_${KVER}.tar.xz ]; then
|
||||
echo Moving backup to backup-old ...
|
||||
mv -f /var/ipfire/backup/core-upgrade${core}_${KVER}.tar.xz \
|
||||
/var/ipfire/backup/core-upgrade${core}_${KVER}-old.tar.xz
|
||||
fi
|
||||
echo First we made a backup of all files that was inside of the
|
||||
echo update archive. This may take a while ...
|
||||
# Add some files that are not in the package to backup
|
||||
add_to_backup lib/modules
|
||||
add_to_backup boot
|
||||
|
||||
# Backup the files
|
||||
tar cJvf /var/ipfire/backup/core-upgrade${core}_${KVER}.tar.xz \
|
||||
-C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' --exclude='/var/cache' > /dev/null 2>&1
|
||||
|
||||
# Check diskspace on root
|
||||
ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
|
||||
|
||||
if [ $ROOTSPACE -lt 100000 ]; then
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: ERROR cannot update because not enough free space on root."
|
||||
exit 2
|
||||
fi
|
||||
|
||||
|
||||
echo
|
||||
echo Update Kernel to $KVER ...
|
||||
#
|
||||
# Remove old kernel, configs, initrd, modules ...
|
||||
#
|
||||
rm -rf /boot/System.map-*
|
||||
rm -rf /boot/config-*
|
||||
rm -rf /boot/ipfirerd-*
|
||||
rm -rf /boot/vmlinuz-*
|
||||
rm -rf /boot/uImage-ipfire-*
|
||||
rm -rf /boot/uInit-ipfire-*
|
||||
rm -rf /lib/modules
|
||||
|
||||
case $(uname -m) in
|
||||
i?86 )
|
||||
#
|
||||
# Backup grub.conf
|
||||
#
|
||||
cp -vf /boot/grub/grub.conf /boot/grub/grub.conf.org
|
||||
;;
|
||||
esac
|
||||
#
|
||||
#Stop services
|
||||
/etc/init.d/snort stop
|
||||
/etc/init.d/squid stop
|
||||
/etc/init.d/ipsec stop
|
||||
/etc/init.d/apache stop
|
||||
|
||||
# rename /etc/modprobe.d files
|
||||
for i in $(find /etc/modprobe.d/* | grep -v ".conf"); do
|
||||
mv $i $i.conf
|
||||
done
|
||||
|
||||
#
|
||||
#Extract files
|
||||
tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C /
|
||||
|
||||
# Check diskspace on boot
|
||||
BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
|
||||
|
||||
if [ $BOOTSPACE -lt 1000 ]; then
|
||||
case $(uname -r) in
|
||||
*-ipfire-kirkwood )
|
||||
# Special handling for old kirkwood images.
|
||||
# (install only kirkwood kernel)
|
||||
rm -rf /boot/*
|
||||
tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p \
|
||||
--numeric-owner -C / --wildcards 'boot/*-kirkwood*'
|
||||
;;
|
||||
* )
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: FATAL-ERROR space run out on boot. System is not bootable..."
|
||||
/etc/init.d/apache start
|
||||
exit 4
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
# Update Language cache
|
||||
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
|
||||
|
||||
#
|
||||
# Start services
|
||||
#
|
||||
/etc/init.d/apache start
|
||||
/etc/init.d/squid start
|
||||
/etc/init.d/snort start
|
||||
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
case $(uname -m) in
|
||||
i?86 )
|
||||
#
|
||||
# Modify grub.conf
|
||||
#
|
||||
echo
|
||||
echo Update grub configuration ...
|
||||
ROOT=`mount | grep " / " | cut -d" " -f1`
|
||||
|
||||
if [ ! -z $ROOT ]; then
|
||||
ROOTUUID=`blkid -c /dev/null -sUUID $ROOT | cut -d'"' -f2`
|
||||
fi
|
||||
|
||||
if [ ! -z $ROOTUUID ]; then
|
||||
sed -i "s|ROOT|UUID=$ROOTUUID|g" /boot/grub/grub.conf
|
||||
else
|
||||
sed -i "s|ROOT|$ROOT|g" /boot/grub/grub.conf
|
||||
fi
|
||||
sed -i "s|KVER|$KVER|g" /boot/grub/grub.conf
|
||||
sed -i "s|MOUNT|$MOUNT|g" /boot/grub/grub.conf
|
||||
|
||||
if [ "$(grep "^serial" /boot/grub/grub.conf.org)" == "" ]; then
|
||||
echo "grub use default console ..."
|
||||
else
|
||||
echo "grub use serial console ..."
|
||||
sed -i -e "s|splashimage|#splashimage|g" /boot/grub/grub.conf
|
||||
sed -i -e "s|#serial|serial|g" /boot/grub/grub.conf
|
||||
sed -i -e "s|#terminal|terminal|g" /boot/grub/grub.conf
|
||||
sed -i -e "s| panic=10 | console=ttyS0,115200n8 panic=10 |g" /boot/grub/grub.conf
|
||||
fi
|
||||
|
||||
#
|
||||
# ReInstall grub
|
||||
#
|
||||
echo "(hd0) ${ROOT::`expr length $ROOT`-1}" > /boot/grub/device.map
|
||||
grub-install --no-floppy ${ROOT::`expr length $ROOT`-1}
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# Force (re)install pae kernel if pae is supported
|
||||
rm -rf /opt/pakfire/db/*/meta-linux-pae
|
||||
if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
|
||||
ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
|
||||
BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
|
||||
if [ $BOOTSPACE -lt 12000 -o $ROOTSPACE -lt 90000 ]; then
|
||||
/usr/bin/logger -p syslog.emerg -t ipfire \
|
||||
"core-update-${core}: WARNING not enough space for pae kernel."
|
||||
else
|
||||
echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae
|
||||
echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-pae
|
||||
echo "Release: 0" >> /opt/pakfire/db/installed/meta-linux-pae
|
||||
echo "Name: linux-pae" > /opt/pakfire/db/meta/meta-linux-pae
|
||||
echo "ProgVersion: 0" >> /opt/pakfire/db/meta/meta-linux-pae
|
||||
echo "Release: 0" >> /opt/pakfire/db/meta/meta-linux-pae
|
||||
fi
|
||||
fi
|
||||
|
||||
# Force reinstall xen kernel if it was installed
|
||||
if [ -e "/opt/pakfire/db/installed/meta-linux-xen" ]; then
|
||||
echo "Name: linux-xen" > /opt/pakfire/db/installed/meta-linux-xen
|
||||
echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-xen
|
||||
echo "Release: 0" >> /opt/pakfire/db/installed/meta-linux-xen
|
||||
echo "Name: linux-xen" > /opt/pakfire/db/meta/meta-linux-xen
|
||||
echo "ProgVersion: 0" >> /opt/pakfire/db/meta/meta-linux-xen
|
||||
echo "Release: 0" >> /opt/pakfire/db/meta/meta-linux-xen
|
||||
# Add xvc0 to /etc/securetty
|
||||
echo "xvc0" >> /etc/securetty
|
||||
fi
|
||||
|
||||
#
|
||||
# After pakfire has ended run it again and update the lists and do upgrade
|
||||
#
|
||||
echo '#!/bin/bash' > /tmp/pak_update
|
||||
echo 'while [ "$(ps -A | grep " update.sh")" != "" ]; do' >> /tmp/pak_update
|
||||
echo ' sleep 1' >> /tmp/pak_update
|
||||
echo 'done' >> /tmp/pak_update
|
||||
echo 'while [ "$(ps -A | grep " pakfire")" != "" ]; do' >> /tmp/pak_update
|
||||
echo ' sleep 1' >> /tmp/pak_update
|
||||
echo 'done' >> /tmp/pak_update
|
||||
echo '/opt/pakfire/pakfire update -y --force' >> /tmp/pak_update
|
||||
echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
|
||||
echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
|
||||
echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
|
||||
echo '/usr/bin/logger -p syslog.emerg -t ipfire "Core-upgrade finished. If you use a customized grub.cfg"' >> /tmp/pak_update
|
||||
echo '/usr/bin/logger -p syslog.emerg -t ipfire "Check it before reboot !!!"' >> /tmp/pak_update
|
||||
echo '/usr/bin/logger -p syslog.emerg -t ipfire " *** Please reboot... *** "' >> /tmp/pak_update
|
||||
echo 'touch /var/run/need_reboot ' >> /tmp/pak_update
|
||||
#
|
||||
killall -KILL pak_update
|
||||
chmod +x /tmp/pak_update
|
||||
/tmp/pak_update &
|
||||
|
||||
sync
|
||||
|
||||
#
|
||||
#Finish
|
||||
(
|
||||
/etc/init.d/fireinfo start
|
||||
sendprofile
|
||||
) >/dev/null 2>&1 &
|
||||
|
||||
# Update Package list for addon installation
|
||||
/opt/pakfire/pakfire update -y --force
|
||||
|
||||
echo
|
||||
echo Please wait until pakfire has ended...
|
||||
echo
|
||||
#Don't report the exitcode last command
|
||||
exit 0
|
||||
|
||||
@@ -4,21 +4,22 @@ usr/bin/clamconf
|
||||
usr/bin/clamdscan
|
||||
usr/bin/clamdtop
|
||||
usr/bin/clamscan
|
||||
usr/bin/clamsubmit
|
||||
usr/bin/freshclam
|
||||
usr/bin/sigtool
|
||||
#usr/include/clamav.h
|
||||
#usr/lib/libclamav.la
|
||||
usr/lib/libclamav.so
|
||||
usr/lib/libclamav.so.6
|
||||
usr/lib/libclamav.so.6.1.20
|
||||
usr/lib/libclamav.so.6.1.22
|
||||
#usr/lib/libclamunrar.la
|
||||
usr/lib/libclamunrar.so
|
||||
usr/lib/libclamunrar.so.6
|
||||
usr/lib/libclamunrar.so.6.1.20
|
||||
usr/lib/libclamunrar.so.6.1.22
|
||||
#usr/lib/libclamunrar_iface.la
|
||||
usr/lib/libclamunrar_iface.so
|
||||
usr/lib/libclamunrar_iface.so.6
|
||||
usr/lib/libclamunrar_iface.so.6.1.20
|
||||
usr/lib/libclamunrar_iface.so.6.1.22
|
||||
#usr/lib/pkgconfig/libclamav.pc
|
||||
usr/sbin/clamd
|
||||
usr/share/clamav
|
||||
@@ -27,6 +28,7 @@ usr/share/clamav
|
||||
#usr/share/man/man1/clamdscan.1
|
||||
#usr/share/man/man1/clamdtop.1
|
||||
#usr/share/man/man1/clamscan.1
|
||||
#usr/share/man/man1/clamsubmit.1
|
||||
#usr/share/man/man1/freshclam.1
|
||||
#usr/share/man/man1/sigtool.1
|
||||
#usr/share/man/man5/clamav-milter.conf.5
|
||||
|
||||
2
config/rootfiles/packages/sslscan
Normal file
2
config/rootfiles/packages/sslscan
Normal file
@@ -0,0 +1,2 @@
|
||||
usr/bin/sslscan
|
||||
#usr/share/man/man1/sslscan.1
|
||||
@@ -121,7 +121,7 @@ mkdir $MNThdd/boot/grub
|
||||
echo "timeout 10" > $MNThdd/boot/grub/grub.conf
|
||||
echo "default 0" >> $MNThdd/boot/grub/grub.conf
|
||||
echo "title IPFire ($KERN_TYPE-kernel)" >> $MNThdd/boot/grub/grub.conf
|
||||
echo " kernel /vmlinuz-$KVER-ipfire-xen root=/dev/xvda3 rootdelay=10 panic=10 console=$CONSOLE ro" \
|
||||
echo " kernel /vmlinuz-$KVER-ipfire-$KERN_TYPE root=/dev/xvda3 rootdelay=10 panic=10 console=$CONSOLE ro" \
|
||||
>> $MNThdd/boot/grub/grub.conf
|
||||
echo " initrd /ipfirerd-$KVER-$KERN_TYPE.img" >> $MNThdd/boot/grub/grub.conf
|
||||
echo "# savedefault 0" >> $MNThdd/boot/grub/grub.conf
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
WARNING: translation string unused: Client status and controlc
|
||||
WARNING: translation string unused: ConnSched scheduler
|
||||
WARNING: translation string unused: ConnSched select profile
|
||||
WARNING: translation string unused: HDD temperature
|
||||
@@ -364,6 +363,7 @@ WARNING: translation string unused: network time
|
||||
WARNING: translation string unused: network traffic graphs
|
||||
WARNING: translation string unused: network updated
|
||||
WARNING: translation string unused: networks settings
|
||||
WARNING: translation string unused: never
|
||||
WARNING: translation string unused: new optionsfw must boot
|
||||
WARNING: translation string unused: no alcatelusb firmware
|
||||
WARNING: translation string unused: no cfg upload
|
||||
@@ -410,7 +410,10 @@ WARNING: translation string unused: outgoing firewall warning
|
||||
WARNING: translation string unused: override mtu
|
||||
WARNING: translation string unused: ovpn config
|
||||
WARNING: translation string unused: ovpn dl
|
||||
WARNING: translation string unused: ovpn engines
|
||||
WARNING: translation string unused: ovpn log
|
||||
WARNING: translation string unused: ovpn reneg sec
|
||||
WARNING: translation string unused: ovpn_fastio
|
||||
WARNING: translation string unused: ovpn_fragment
|
||||
WARNING: translation string unused: ovpn_mssfix
|
||||
WARNING: translation string unused: ovpn_mtudisc
|
||||
@@ -456,16 +459,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -596,7 +595,6 @@ WARNING: translation string unused: use dov
|
||||
WARNING: translation string unused: use ibod
|
||||
WARNING: translation string unused: view log
|
||||
WARNING: translation string unused: vpn aggrmode
|
||||
WARNING: translation string unused: vpn configuration main
|
||||
WARNING: translation string unused: vpn incompatible use of defaultroute
|
||||
WARNING: translation string unused: vpn mtu invalid
|
||||
WARNING: translation string unused: vpn on blue
|
||||
@@ -612,19 +610,21 @@ WARNING: translation string unused: xtaccess all error
|
||||
WARNING: translation string unused: xtaccess bad transfert
|
||||
WARNING: translation string unused: year-graph
|
||||
WARNING: translation string unused: yearly firewallhits
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: addons
|
||||
WARNING: untranslated string: bytes
|
||||
WARNING: untranslated string: community rules
|
||||
WARNING: untranslated string: dead peer detection
|
||||
WARNING: untranslated string: dns servers
|
||||
WARNING: untranslated string: downlink
|
||||
WARNING: untranslated string: emerging rules
|
||||
WARNING: untranslated string: firewall logs country
|
||||
WARNING: untranslated string: first
|
||||
WARNING: untranslated string: fwhost err hostip
|
||||
WARNING: untranslated string: last
|
||||
WARNING: untranslated string: monitor interface
|
||||
WARNING: untranslated string: qos add subclass
|
||||
WARNING: untranslated string: route config changed
|
||||
WARNING: untranslated string: routing config added
|
||||
WARNING: untranslated string: routing config changed
|
||||
WARNING: untranslated string: routing table
|
||||
WARNING: untranslated string: source ip country
|
||||
WARNING: untranslated string: uplink
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
WARNING: translation string unused: Client status and controlc
|
||||
WARNING: translation string unused: ConnSched scheduler
|
||||
WARNING: translation string unused: ConnSched select profile
|
||||
WARNING: translation string unused: HDD temperature
|
||||
@@ -146,6 +145,7 @@ WARNING: translation string unused: destination ip bad
|
||||
WARNING: translation string unused: destination ip or net
|
||||
WARNING: translation string unused: destination net
|
||||
WARNING: translation string unused: destination port overlaps
|
||||
WARNING: translation string unused: dh name is invalid
|
||||
WARNING: translation string unused: dhcp base ip fixed lease
|
||||
WARNING: translation string unused: dhcp create fixed leases
|
||||
WARNING: translation string unused: dhcp fixed lease err1
|
||||
@@ -389,6 +389,7 @@ WARNING: translation string unused: network time
|
||||
WARNING: translation string unused: network traffic graphs
|
||||
WARNING: translation string unused: network updated
|
||||
WARNING: translation string unused: networks settings
|
||||
WARNING: translation string unused: never
|
||||
WARNING: translation string unused: new optionsfw must boot
|
||||
WARNING: translation string unused: no alcatelusb firmware
|
||||
WARNING: translation string unused: no cfg upload
|
||||
@@ -436,9 +437,10 @@ WARNING: translation string unused: outgoing firewall warning
|
||||
WARNING: translation string unused: override mtu
|
||||
WARNING: translation string unused: ovpn config
|
||||
WARNING: translation string unused: ovpn dl
|
||||
WARNING: translation string unused: ovpn engines
|
||||
WARNING: translation string unused: ovpn log
|
||||
WARNING: translation string unused: ovpn reneg sec
|
||||
WARNING: translation string unused: ovpn_fastio
|
||||
WARNING: translation string unused: ovpn_fragment
|
||||
WARNING: translation string unused: ovpn_mssfix
|
||||
WARNING: translation string unused: ovpn_mtudisc
|
||||
WARNING: translation string unused: ovpn_processprio
|
||||
@@ -484,16 +486,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -548,6 +546,7 @@ WARNING: translation string unused: successfully refreshed updates list
|
||||
WARNING: translation string unused: system graphs
|
||||
WARNING: translation string unused: system log viewer
|
||||
WARNING: translation string unused: system status information
|
||||
WARNING: translation string unused: teovpn_fragment
|
||||
WARNING: translation string unused: test
|
||||
WARNING: translation string unused: test email could not be sent
|
||||
WARNING: translation string unused: test email was sent
|
||||
@@ -631,7 +630,6 @@ WARNING: translation string unused: use dov
|
||||
WARNING: translation string unused: use ibod
|
||||
WARNING: translation string unused: view log
|
||||
WARNING: translation string unused: vpn aggrmode
|
||||
WARNING: translation string unused: vpn configuration main
|
||||
WARNING: translation string unused: vpn incompatible use of defaultroute
|
||||
WARNING: translation string unused: vpn mtu invalid
|
||||
WARNING: translation string unused: vpn on blue
|
||||
@@ -647,13 +645,16 @@ WARNING: translation string unused: xtaccess all error
|
||||
WARNING: translation string unused: xtaccess bad transfert
|
||||
WARNING: translation string unused: year-graph
|
||||
WARNING: translation string unused: yearly firewallhits
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: bytes
|
||||
WARNING: untranslated string: dns servers
|
||||
WARNING: untranslated string: downlink
|
||||
WARNING: untranslated string: first
|
||||
WARNING: untranslated string: fwhost err hostip
|
||||
WARNING: untranslated string: last
|
||||
WARNING: untranslated string: monitor interface
|
||||
WARNING: untranslated string: route config changed
|
||||
WARNING: untranslated string: routing config added
|
||||
WARNING: untranslated string: routing config changed
|
||||
WARNING: untranslated string: routing table
|
||||
WARNING: untranslated string: source ip country
|
||||
WARNING: untranslated string: uplink
|
||||
|
||||
@@ -420,16 +420,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -579,6 +575,7 @@ WARNING: untranslated string: ConnSched reboot
|
||||
WARNING: untranslated string: ConnSched shutdown
|
||||
WARNING: untranslated string: MB read
|
||||
WARNING: untranslated string: MB written
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: Set time on boot
|
||||
@@ -638,8 +635,9 @@ WARNING: untranslated string: dead peer detection
|
||||
WARNING: untranslated string: deprecated fs warn
|
||||
WARNING: untranslated string: details
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: dnat address
|
||||
WARNING: untranslated string: dns servers
|
||||
WARNING: untranslated string: dnsforward
|
||||
@@ -877,7 +875,9 @@ WARNING: untranslated string: outgoing firewall p2p allow
|
||||
WARNING: untranslated string: outgoing firewall p2p deny
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn errmsg green already pushed
|
||||
WARNING: untranslated string: ovpn errmsg invalid ip or mask
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
|
||||
@@ -431,16 +431,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -590,6 +586,7 @@ WARNING: untranslated string: ConnSched reboot
|
||||
WARNING: untranslated string: ConnSched shutdown
|
||||
WARNING: untranslated string: MB read
|
||||
WARNING: untranslated string: MB written
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: addons
|
||||
@@ -648,8 +645,9 @@ WARNING: untranslated string: dead peer detection
|
||||
WARNING: untranslated string: deprecated fs warn
|
||||
WARNING: untranslated string: details
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: dnat address
|
||||
WARNING: untranslated string: dns address deleted txt
|
||||
WARNING: untranslated string: dns servers
|
||||
@@ -888,7 +886,9 @@ WARNING: untranslated string: other
|
||||
WARNING: untranslated string: outgoing firewall access
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
WARNING: untranslated string: ovpn ha
|
||||
WARNING: untranslated string: ovpn hmac
|
||||
|
||||
@@ -485,16 +485,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -648,14 +644,16 @@ WARNING: translation string unused: xtaccess all error
|
||||
WARNING: translation string unused: xtaccess bad transfert
|
||||
WARNING: translation string unused: year-graph
|
||||
WARNING: translation string unused: yearly firewallhits
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: atm device
|
||||
WARNING: untranslated string: bytes
|
||||
WARNING: untranslated string: capabilities
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: dns servers
|
||||
WARNING: untranslated string: drop outgoing
|
||||
WARNING: untranslated string: firewall logs country
|
||||
@@ -681,7 +679,9 @@ WARNING: untranslated string: monitor interface
|
||||
WARNING: untranslated string: not a valid dh key
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
WARNING: untranslated string: ovpn ha
|
||||
WARNING: untranslated string: ovpn hmac
|
||||
|
||||
@@ -420,16 +420,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -579,6 +575,7 @@ WARNING: untranslated string: ConnSched reboot
|
||||
WARNING: untranslated string: ConnSched shutdown
|
||||
WARNING: untranslated string: MB read
|
||||
WARNING: untranslated string: MB written
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: Set time on boot
|
||||
@@ -638,8 +635,9 @@ WARNING: untranslated string: dead peer detection
|
||||
WARNING: untranslated string: deprecated fs warn
|
||||
WARNING: untranslated string: details
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: dnat address
|
||||
WARNING: untranslated string: dns servers
|
||||
WARNING: untranslated string: dnsforward
|
||||
@@ -877,7 +875,9 @@ WARNING: untranslated string: outgoing firewall p2p allow
|
||||
WARNING: untranslated string: outgoing firewall p2p deny
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn errmsg green already pushed
|
||||
WARNING: untranslated string: ovpn errmsg invalid ip or mask
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
|
||||
@@ -425,16 +425,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -583,6 +579,7 @@ WARNING: untranslated string: ConnSched shutdown
|
||||
WARNING: untranslated string: Edit an existing route
|
||||
WARNING: untranslated string: MB read
|
||||
WARNING: untranslated string: MB written
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: addons
|
||||
@@ -642,8 +639,9 @@ WARNING: untranslated string: dead peer detection
|
||||
WARNING: untranslated string: deprecated fs warn
|
||||
WARNING: untranslated string: details
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: disk access per
|
||||
WARNING: untranslated string: dnat address
|
||||
WARNING: untranslated string: dns servers
|
||||
@@ -872,7 +870,9 @@ WARNING: untranslated string: outgoing firewall access
|
||||
WARNING: untranslated string: outgoing traffic in bytes per second
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
WARNING: untranslated string: ovpn ha
|
||||
WARNING: untranslated string: ovpn hmac
|
||||
|
||||
@@ -484,16 +484,12 @@ WARNING: translation string unused: released
|
||||
WARNING: translation string unused: removable device advice
|
||||
WARNING: translation string unused: reportfile
|
||||
WARNING: translation string unused: requested data
|
||||
WARNING: translation string unused: reserved dst port
|
||||
WARNING: translation string unused: reserved src port
|
||||
WARNING: translation string unused: restore hardware settings
|
||||
WARNING: translation string unused: root
|
||||
WARNING: translation string unused: root path
|
||||
WARNING: translation string unused: root user password
|
||||
WARNING: translation string unused: route subnet is invalid
|
||||
WARNING: translation string unused: router ip
|
||||
WARNING: translation string unused: rsvd dst port overlap
|
||||
WARNING: translation string unused: rsvd src port overlap
|
||||
WARNING: translation string unused: rules already up to date
|
||||
WARNING: translation string unused: safe removal of umounted device
|
||||
WARNING: translation string unused: save error
|
||||
@@ -647,13 +643,15 @@ WARNING: translation string unused: xtaccess all error
|
||||
WARNING: translation string unused: xtaccess bad transfert
|
||||
WARNING: translation string unused: year-graph
|
||||
WARNING: translation string unused: yearly firewallhits
|
||||
WARNING: untranslated string: MTU settings
|
||||
WARNING: untranslated string: Number of Countries for the pie chart
|
||||
WARNING: untranslated string: Scan for Songs
|
||||
WARNING: untranslated string: bytes
|
||||
WARNING: untranslated string: capabilities
|
||||
WARNING: untranslated string: dh
|
||||
WARNING: untranslated string: dh key move failed
|
||||
WARNING: untranslated string: dh key warn
|
||||
WARNING: untranslated string: dh name is invalid
|
||||
WARNING: untranslated string: dh key warn1
|
||||
WARNING: untranslated string: firewall logs country
|
||||
WARNING: untranslated string: fwhost err hostip
|
||||
WARNING: untranslated string: gen dh
|
||||
@@ -677,7 +675,9 @@ WARNING: untranslated string: monitor interface
|
||||
WARNING: untranslated string: not a valid dh key
|
||||
WARNING: untranslated string: ovpn crypt options
|
||||
WARNING: untranslated string: ovpn dh
|
||||
WARNING: untranslated string: ovpn dh name
|
||||
WARNING: untranslated string: ovpn dh new key
|
||||
WARNING: untranslated string: ovpn dh parameters
|
||||
WARNING: untranslated string: ovpn dh upload
|
||||
WARNING: untranslated string: ovpn generating the root and host certificates
|
||||
WARNING: untranslated string: ovpn ha
|
||||
WARNING: untranslated string: ovpn hmac
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
############################################################################
|
||||
< addon
|
||||
< ccd maxclients
|
||||
< ovpn_fragment
|
||||
############################################################################
|
||||
# Checking install/setup translations for language: fr #
|
||||
############################################################################
|
||||
@@ -79,8 +80,9 @@
|
||||
< deprecated fs warn
|
||||
< details
|
||||
< dh
|
||||
< dh key move failed
|
||||
< dh key warn
|
||||
< dh name is invalid
|
||||
< dh key warn1
|
||||
< dnat address
|
||||
< dns address deleted txt
|
||||
< dnsforward
|
||||
@@ -90,8 +92,6 @@
|
||||
< dnsforward entries
|
||||
< dnsforward forward_server
|
||||
< dnsforward zone
|
||||
< dns servers
|
||||
< downlink
|
||||
< dpd delay
|
||||
< dpd timeout
|
||||
< drop action
|
||||
@@ -119,8 +119,8 @@
|
||||
< fireinfo why enable
|
||||
< fireinfo why read more
|
||||
< fireinfo your profile id
|
||||
< firewall logs country
|
||||
< firewall rules
|
||||
< first
|
||||
< flag
|
||||
< forward firewall
|
||||
< fw default drop
|
||||
@@ -319,7 +319,6 @@
|
||||
< ipsec
|
||||
< ipsec network
|
||||
< ipsec no connections
|
||||
< last
|
||||
< least preferred
|
||||
< lifetime
|
||||
< mac filter
|
||||
@@ -342,11 +341,14 @@
|
||||
< modem sim information
|
||||
< modem status
|
||||
< most preferred
|
||||
< MTU settings
|
||||
< never
|
||||
< no hardware random number generator
|
||||
< not a valid dh key
|
||||
< notice
|
||||
< ntp common settings
|
||||
< ntp sync
|
||||
< Number of Countries for the pie chart
|
||||
< openvpn default
|
||||
< openvpn destination port used
|
||||
< openvpn disabled
|
||||
@@ -363,7 +365,10 @@
|
||||
< outgoing firewall access
|
||||
< ovpn crypt options
|
||||
< ovpn dh
|
||||
< ovpn dh name
|
||||
< ovpn dh new key
|
||||
< ovpn dh parameters
|
||||
< ovpn dh upload
|
||||
< ovpn engines
|
||||
< ovpn generating the root and host certificates
|
||||
< ovpn ha
|
||||
< ovpn hmac
|
||||
@@ -377,6 +382,7 @@
|
||||
< ovpn mtu-disc yes
|
||||
< ovpn no connections
|
||||
< ovpn port in root range
|
||||
< ovpn reneg sec
|
||||
< p2p block
|
||||
< p2p block save notice
|
||||
< proxy reports
|
||||
@@ -392,6 +398,7 @@
|
||||
< snat new source ip address
|
||||
< snort working
|
||||
< software version
|
||||
< source ip country
|
||||
< ssh
|
||||
< static routes
|
||||
< support donation
|
||||
@@ -453,7 +460,6 @@
|
||||
< tor use exit nodes
|
||||
< updxlrtr sources
|
||||
< updxlrtr standard view
|
||||
< uplink
|
||||
< upload dh key
|
||||
< upload new ruleset
|
||||
< uptime
|
||||
@@ -590,8 +596,9 @@
|
||||
< deprecated fs warn
|
||||
< details
|
||||
< dh
|
||||
< dh key move failed
|
||||
< dh key warn
|
||||
< dh name is invalid
|
||||
< dh key warn1
|
||||
< dnat address
|
||||
< dnsforward
|
||||
< dnsforward add a new entry
|
||||
@@ -600,8 +607,6 @@
|
||||
< dnsforward entries
|
||||
< dnsforward forward_server
|
||||
< dnsforward zone
|
||||
< dns servers
|
||||
< downlink
|
||||
< dpd delay
|
||||
< dpd timeout
|
||||
< drop action
|
||||
@@ -629,8 +634,8 @@
|
||||
< fireinfo why enable
|
||||
< fireinfo why read more
|
||||
< fireinfo your profile id
|
||||
< firewall logs country
|
||||
< firewall rules
|
||||
< first
|
||||
< flag
|
||||
< forward firewall
|
||||
< fw default drop
|
||||
@@ -829,7 +834,6 @@
|
||||
< ipsec
|
||||
< ipsec network
|
||||
< ipsec no connections
|
||||
< last
|
||||
< least preferred
|
||||
< lifetime
|
||||
< mac filter
|
||||
@@ -852,9 +856,12 @@
|
||||
< modem sim information
|
||||
< modem status
|
||||
< most preferred
|
||||
< MTU settings
|
||||
< never
|
||||
< no hardware random number generator
|
||||
< not a valid dh key
|
||||
< notice
|
||||
< Number of Countries for the pie chart
|
||||
< openvpn default
|
||||
< openvpn destination port used
|
||||
< openvpn disabled
|
||||
@@ -885,7 +892,10 @@
|
||||
< outgoing firewall view group
|
||||
< ovpn crypt options
|
||||
< ovpn dh
|
||||
< ovpn dh name
|
||||
< ovpn dh new key
|
||||
< ovpn dh parameters
|
||||
< ovpn dh upload
|
||||
< ovpn engines
|
||||
< ovpn errmsg green already pushed
|
||||
< ovpn errmsg invalid ip or mask
|
||||
< ovpn generating the root and host certificates
|
||||
@@ -901,6 +911,7 @@
|
||||
< ovpn mtu-disc yes
|
||||
< ovpn no connections
|
||||
< ovpn port in root range
|
||||
< ovpn reneg sec
|
||||
< ovpn routes push
|
||||
< ovpn routes push options
|
||||
< p2p block
|
||||
@@ -918,6 +929,7 @@
|
||||
< show dh
|
||||
< snat new source ip address
|
||||
< software version
|
||||
< source ip country
|
||||
< ssh
|
||||
< static routes
|
||||
< support donation
|
||||
@@ -979,7 +991,6 @@
|
||||
< tor use exit nodes
|
||||
< updxlrtr sources
|
||||
< updxlrtr standard view
|
||||
< uplink
|
||||
< upload dh key
|
||||
< uptime
|
||||
< uptime load average
|
||||
@@ -1092,8 +1103,9 @@
|
||||
< deprecated fs warn
|
||||
< details
|
||||
< dh
|
||||
< dh key move failed
|
||||
< dh key warn
|
||||
< dh name is invalid
|
||||
< dh key warn1
|
||||
< dnat address
|
||||
< dnsforward
|
||||
< dnsforward add a new entry
|
||||
@@ -1102,8 +1114,6 @@
|
||||
< dnsforward entries
|
||||
< dnsforward forward_server
|
||||
< dnsforward zone
|
||||
< dns servers
|
||||
< downlink
|
||||
< dpd delay
|
||||
< dpd timeout
|
||||
< drop action
|
||||
@@ -1123,8 +1133,8 @@
|
||||
< extrahd unable to read
|
||||
< extrahd unable to write
|
||||
< extrahd you cant mount
|
||||
< firewall logs country
|
||||
< firewall rules
|
||||
< first
|
||||
< flag
|
||||
< forward firewall
|
||||
< fw default drop
|
||||
@@ -1323,7 +1333,6 @@
|
||||
< ipsec
|
||||
< ipsec network
|
||||
< ipsec no connections
|
||||
< last
|
||||
< least preferred
|
||||
< lifetime
|
||||
< mac filter
|
||||
@@ -1346,9 +1355,12 @@
|
||||
< modem sim information
|
||||
< modem status
|
||||
< most preferred
|
||||
< MTU settings
|
||||
< never
|
||||
< no hardware random number generator
|
||||
< not a valid dh key
|
||||
< notice
|
||||
< Number of Countries for the pie chart
|
||||
< openvpn default
|
||||
< openvpn destination port used
|
||||
< openvpn disabled
|
||||
@@ -1365,7 +1377,10 @@
|
||||
< outgoing firewall access
|
||||
< ovpn crypt options
|
||||
< ovpn dh
|
||||
< ovpn dh name
|
||||
< ovpn dh new key
|
||||
< ovpn dh parameters
|
||||
< ovpn dh upload
|
||||
< ovpn engines
|
||||
< ovpn errmsg green already pushed
|
||||
< ovpn errmsg invalid ip or mask
|
||||
< ovpn generating the root and host certificates
|
||||
@@ -1381,6 +1396,7 @@
|
||||
< ovpn mtu-disc yes
|
||||
< ovpn no connections
|
||||
< ovpn port in root range
|
||||
< ovpn reneg sec
|
||||
< ovpn routes push
|
||||
< ovpn routes push options
|
||||
< p2p block
|
||||
@@ -1397,6 +1413,7 @@
|
||||
< show dh
|
||||
< snat new source ip address
|
||||
< software version
|
||||
< source ip country
|
||||
< ssh
|
||||
< static routes
|
||||
< support donation
|
||||
@@ -1457,7 +1474,6 @@
|
||||
< tor use exit nodes
|
||||
< updxlrtr sources
|
||||
< updxlrtr standard view
|
||||
< uplink
|
||||
< upload dh key
|
||||
< uptime
|
||||
< uptime load average
|
||||
@@ -1572,8 +1588,9 @@
|
||||
< deprecated fs warn
|
||||
< details
|
||||
< dh
|
||||
< dh key move failed
|
||||
< dh key warn
|
||||
< dh name is invalid
|
||||
< dh key warn1
|
||||
< disk access per
|
||||
< dnat address
|
||||
< dnsforward
|
||||
@@ -1583,8 +1600,6 @@
|
||||
< dnsforward entries
|
||||
< dnsforward forward_server
|
||||
< dnsforward zone
|
||||
< dns servers
|
||||
< downlink
|
||||
< dpd delay
|
||||
< dpd timeout
|
||||
< drop action
|
||||
@@ -1605,8 +1620,8 @@
|
||||
< extrahd unable to read
|
||||
< extrahd unable to write
|
||||
< extrahd you cant mount
|
||||
< firewall logs country
|
||||
< firewall rules
|
||||
< first
|
||||
< flag
|
||||
< forward firewall
|
||||
< frequency
|
||||
@@ -1808,7 +1823,6 @@
|
||||
< ipsec
|
||||
< ipsec network
|
||||
< ipsec no connections
|
||||
< last
|
||||
< least preferred
|
||||
< lifetime
|
||||
< mac filter
|
||||
@@ -1832,9 +1846,12 @@
|
||||
< modem status
|
||||
< month-graph
|
||||
< most preferred
|
||||
< MTU settings
|
||||
< never
|
||||
< no hardware random number generator
|
||||
< not a valid dh key
|
||||
< notice
|
||||
< Number of Countries for the pie chart
|
||||
< openvpn default
|
||||
< openvpn destination port used
|
||||
< openvpn disabled
|
||||
@@ -1852,7 +1869,10 @@
|
||||
< outgoing traffic in bytes per second
|
||||
< ovpn crypt options
|
||||
< ovpn dh
|
||||
< ovpn dh name
|
||||
< ovpn dh new key
|
||||
< ovpn dh parameters
|
||||
< ovpn dh upload
|
||||
< ovpn engines
|
||||
< ovpn generating the root and host certificates
|
||||
< ovpn ha
|
||||
< ovpn hmac
|
||||
@@ -1866,6 +1886,7 @@
|
||||
< ovpn mtu-disc yes
|
||||
< ovpn no connections
|
||||
< ovpn port in root range
|
||||
< ovpn reneg sec
|
||||
< p2p block
|
||||
< p2p block save notice
|
||||
< proxy reports
|
||||
@@ -1880,6 +1901,7 @@
|
||||
< show dh
|
||||
< snat new source ip address
|
||||
< software version
|
||||
< source ip country
|
||||
< ssh
|
||||
< static routes
|
||||
< support donation
|
||||
@@ -1940,7 +1962,6 @@
|
||||
< tor use exit nodes
|
||||
< updxlrtr sources
|
||||
< updxlrtr standard view
|
||||
< uplink
|
||||
< upload dh key
|
||||
< uptime
|
||||
< uptime load average
|
||||
|
||||
@@ -253,8 +253,11 @@ $checked{'SERVICE'}{'nsupdate'} = '';
|
||||
$checked{'SERVICE'}{'ovh.com'} = '';
|
||||
$checked{'SERVICE'}{'regfish.com'} = '';
|
||||
$checked{'SERVICE'}{'selfhost.de'} = '';
|
||||
$checked{'SERVICE'}{'spdns.org'} = '';
|
||||
$checked{'SERVICE'}{'strato.com'} = '';
|
||||
$checked{'SERVICE'}{'twodns.de'} = '';
|
||||
$checked{'SERVICE'}{'tzo.com'} = '';
|
||||
$checked{'SERVICE'}{'variomedia.de'} = '';
|
||||
$checked{'SERVICE'}{'zoneedit.com'} = '';
|
||||
$checked{'SERVICE'}{$settings{'SERVICE'}} = "selected='selected'";
|
||||
|
||||
@@ -349,8 +352,11 @@ print <<END
|
||||
<option $checked{'SERVICE'}{'ovh.com'}>ovh.com</option>
|
||||
<option $checked{'SERVICE'}{'regfish.com'}>regfish.com</option>
|
||||
<option $checked{'SERVICE'}{'selfhost.de'}>selfhost.de</option>
|
||||
<option $checked{'SERVICE'}{'spdns.org'}>spdns.org</option>
|
||||
<option $checked{'SERVICE'}{'strato.com'}>strato.com</option>
|
||||
<option $checked{'SERVICE'}{'twodns.de'}>twodns.de</option>
|
||||
<!-- <option $checked{'SERVICE'}{'tzo.com'}>tzo.com</option> comment this service out until a working fix is developed -->
|
||||
<option $checked{'SERVICE'}{'variomedia.de'}>variomedia.de</option>
|
||||
<option $checked{'SERVICE'}{'zoneedit.com'}>zoneedit.com</option>
|
||||
</select></td>
|
||||
<td width='20%' class='base'>$Lang::tr{'hostname'}: <img src='/blob.gif' alt='*' /></td>
|
||||
|
||||
@@ -263,9 +263,9 @@ if (-e "/etc/snort/snort.conf") {
|
||||
####################### End added for snort rules control #################################
|
||||
|
||||
if ($snortsettings{'RULES'} eq 'subscripted') {
|
||||
$url=" http://www.snort.org/sub-rules/snortrules-snapshot-2953.tar.gz/$snortsettings{'OINKCODE'}";
|
||||
$url=" http://www.snort.org/sub-rules/snortrules-snapshot-2961.tar.gz/$snortsettings{'OINKCODE'}";
|
||||
} elsif ($snortsettings{'RULES'} eq 'registered') {
|
||||
$url=" http://www.snort.org/reg-rules/snortrules-snapshot-2950.tar.gz/$snortsettings{'OINKCODE'}";
|
||||
$url=" http://www.snort.org/reg-rules/snortrules-snapshot-2960.tar.gz/$snortsettings{'OINKCODE'}";
|
||||
} elsif ($snortsettings{'RULES'} eq 'community') {
|
||||
$url=" http://s3.amazonaws.com/snort-org/www/rules/community/community-rules.tar.gz";
|
||||
} else {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2972,11 +2972,23 @@ sub writepacfile
|
||||
print FILE <<END
|
||||
if (
|
||||
(isPlainHostName(host)) ||
|
||||
(dnsDomainIs(host, ".$mainsettings{'DOMAINNAME'}")) ||
|
||||
(isInNet(host, "127.0.0.1", "255.0.0.0")) ||
|
||||
(isInNet(host, "10.0.0.0", "255.0.0.0")) ||
|
||||
(isInNet(host, "172.16.0.0", "255.240.0.0")) ||
|
||||
(isInNet(host, "192.168.0.0", "255.255.0.0")) ||
|
||||
END
|
||||
;
|
||||
|
||||
if ($netsettings{'GREEN_DEV'}) {
|
||||
print FILE " (isInNet(host, \"$netsettings{'GREEN_NETADDRESS'}\", \"$netsettings{'GREEN_NETMASK'}\")) ||\n";
|
||||
}
|
||||
|
||||
if (&Header::blue_used() && $netsettings{'BLUE_DEV'}) {
|
||||
print FILE " (isInNet(host, \"$netsettings{'BLUE_NETADDRESS'}\", \"$netsettings{'BLUE_NETMASK'}\")) ||\n";
|
||||
}
|
||||
|
||||
if (&Header::orange_used() && $netsettings{'ORANGE_DEV'}) {
|
||||
print FILE " (isInNet(host, \"$netsettings{'ORANGE_NETADDRESS'}\", \"$netsettings{'ORANGE_NETMASK'}\")) ||\n";
|
||||
}
|
||||
|
||||
print FILE <<END
|
||||
(isInNet(host, "169.254.0.0", "255.255.0.0"))
|
||||
)
|
||||
return "DIRECT";
|
||||
|
||||
@@ -194,7 +194,7 @@ sub openpagewithoutmenu {
|
||||
sub closepage () {
|
||||
open(FILE, "</etc/system-release");
|
||||
my $system_release = <FILE>;
|
||||
$system_release =~ s/core/Core Update/;
|
||||
$system_release =~ s/core/Core Update /;
|
||||
close(FILE);
|
||||
|
||||
print <<END;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%tr = (
|
||||
%tr,
|
||||
|
||||
'Act as' => 'Konfiguriert als',
|
||||
'Act as' => 'Konfiguriert als:',
|
||||
'Add Level7 rule' => 'Level7-Regel hinzufügen',
|
||||
'Add Port Rule' => 'Port-Regel hinzufügen',
|
||||
'Add Rule' => 'Regel hinzufügen',
|
||||
@@ -10,7 +10,6 @@
|
||||
'Choose Rule' => 'Wählen Sie <u>eine</u> der untenstehenden Regeln aus.',
|
||||
'Class' => 'Klasse',
|
||||
'Class was deleted' => 'wurde mit eventuell vorhandenen Unterklassen gelöscht',
|
||||
'Client status and controlc' => 'Client-Status und -Kontrolle',
|
||||
'ConnSched action' => 'Aktion:',
|
||||
'ConnSched add action' => 'Aktion hinzufügen',
|
||||
'ConnSched change profile title' => 'Wechsle zu Profil:',
|
||||
@@ -39,7 +38,9 @@
|
||||
'Local VPN IP' => 'Internes Netzwerk (GREEN)',
|
||||
'MB read' => 'MB gelesen',
|
||||
'MB written' => 'MB geschrieben',
|
||||
'MTU' => 'MTU Size:',
|
||||
'MTU' => 'MTU-Größe:',
|
||||
'MTU settings' => 'MTU-Einstellungen:',
|
||||
'Number of Countries for the pie chart' => 'Anzahl der angezeigten Länder im Diagramm',
|
||||
'Number of IPs for the pie chart' => 'Anzahl der angezeigten IPs im Diagramm',
|
||||
'Number of Ports for the pie chart' => 'Anzahl der angezeigten Ports im Diagramm',
|
||||
'OVPN' => 'OpenVPN',
|
||||
@@ -661,9 +662,10 @@
|
||||
'details' => 'Mehr',
|
||||
'device' => 'Gerät',
|
||||
'devices on blue' => 'Geräte auf Blau',
|
||||
'dh' => 'Diffie-Hellman Key',
|
||||
'dh key warn' => 'Keys mit 1024 und 2048 Bit können mehrere Minuten, 3072 und 4096 Bit bis zu mehreren Stunden dauern. Bitte haben sie Geduld.',
|
||||
'dh name is invalid' => 'Name ist ungültig, bitte "dh1024.pem" verwenden.',
|
||||
'dh' => 'Diffie-Hellman-Parameter',
|
||||
'dh key move failed' => 'Verschieben der Diffie-Hellman-Parameter fehlgeschlagen.',
|
||||
'dh key warn' => 'Das Generieren der Diffie-Hellman-Parameter mit 1024 oder 2048 Bit dauert üblicherweise mehrere Minuten. Schlüssellängen von 3072 oder 4096 Bit beanspruchen mehrere Stunden. Bitte haben Sie etwas Geduld.',
|
||||
'dh key warn1' => 'Bei schwachen Systemen oder Systeme mit wenig Entropie wird empfohlen lange Diffie-Hellman-Parameter über die Upload-Funktion hochzuladen.',
|
||||
'dhcp advopt add' => 'DHCP Option hinzufügen',
|
||||
'dhcp advopt added' => 'DHCP Option hinzugefügt',
|
||||
'dhcp advopt blank value' => 'Wert für DHCP Option darf nicht leer sein',
|
||||
@@ -736,8 +738,7 @@
|
||||
'dns proxy server' => 'DNS-Proxyserver',
|
||||
'dns saved' => 'Erfolgreich gespeichert!',
|
||||
'dns saved txt' => 'Die beiden eingegebenen DNS-Server-Adressen wurde erfolgreich gespeichert.<br/>Um die Änderung wirksam zu machen, müssen Sie neustarten oder wiederverbinden!',
|
||||
'dns server' => 'DNS-Server',
|
||||
'dns servers' => 'DNS-Server',
|
||||
'dns server' => 'DNS Server',
|
||||
'dns title' => 'Domain Name System',
|
||||
'dnsforward' => 'DNS-Weiterleitung',
|
||||
'dnsforward add a new entry' => 'Neuen Eintrag hinzufügen',
|
||||
@@ -761,7 +762,6 @@
|
||||
'donation-text' => '<strong>IPFire</strong> wird von Freiwilligen in ihrer Freizeit betrieben und auch betreut. Um dieses Projekt am Laufen zu halten, entstehen uns natürlich auch Kosten. Wenn Sie uns unterstützen wollen, würden wir uns über eine kleine Spende sehr freuen.',
|
||||
'dos charset' => 'DOS Charset',
|
||||
'down and up speed' => 'Geben Sie bitte hier ihre Download- bzw. Upload-Geschwindigkeit ein <br /> und klicken Sie danach auf <i>Speichern</i>.',
|
||||
'downlink' => 'Downlink',
|
||||
'downlink speed' => 'Downlink-Geschwindigkeit (kBit/sek)',
|
||||
'downlink std class' => 'Downloadstandardklasse',
|
||||
'download' => 'herunterladen',
|
||||
@@ -907,13 +907,13 @@
|
||||
'firewall log' => 'Firewall-Protokoll',
|
||||
'firewall log viewer' => 'Betrachter der Firewall-Logdateien',
|
||||
'firewall logs' => 'Firewall-Logdateien',
|
||||
'firewall logs country' => 'Fw-Logdiagramme (Land)',
|
||||
'firewall logs ip' => 'Fw-Logdiagramme (IP)',
|
||||
'firewall logs port' => 'Fw-Logdiagramme (Port)',
|
||||
'firewall rules' => 'Firewallregeln',
|
||||
'firewallhits' => 'Firewalltreffer',
|
||||
'firmware' => 'Firmware',
|
||||
'firmware upload' => 'Hochladen der Firmware/Treiber',
|
||||
'first' => 'Erste',
|
||||
'fixed ip lease added' => 'Feste IP-Zuordnung hinzugefügt',
|
||||
'fixed ip lease modified' => 'Feste IP-Zuordnung geändert',
|
||||
'fixed ip lease removed' => 'Feste IP-Zuordnung gelöscht',
|
||||
@@ -1124,7 +1124,7 @@
|
||||
'fwhost wo subnet' => '(Ohne Subnetz)',
|
||||
'gateway' => 'Gateway',
|
||||
'gateway ip' => 'Gateway-IP',
|
||||
'gen dh' => 'Diffie-Hellman Key erzeugen',
|
||||
'gen dh' => 'Neuen Diffie-Hellman-Parameter erzeugen',
|
||||
'gen static key' => 'Statischen Schlüssel erzeugen',
|
||||
'generate' => 'Root/Host-Zertifikate generieren',
|
||||
'generate a certificate' => 'Erzeuge ein Zertifikat:',
|
||||
@@ -1339,7 +1339,6 @@
|
||||
'lan' => 'LAN',
|
||||
'lang' => 'de',
|
||||
'languagepurpose' => 'Wählen Sie eine Sprache, in der IPFire angezeigt werden soll:',
|
||||
'last' => 'Letzte',
|
||||
'last activity' => 'Letzte Aktivität',
|
||||
'lateprompting' => 'Late prompting',
|
||||
'lease expires' => 'Zuordnung verfällt',
|
||||
@@ -1544,6 +1543,7 @@
|
||||
'network traffic graphs others' => 'Netzwerk (sonstige)',
|
||||
'network updated' => 'Benutzerdefiniertes Netzwerk aktualisiert',
|
||||
'networks settings' => 'Firewall - Netzwerkeinstellungen',
|
||||
'never' => 'Nie',
|
||||
'new optionsfw later' => 'Einige Einstellungen werden erst nach einem Neustart aktiv',
|
||||
'new optionsfw must boot' => 'Sie müssen Ihren IPFire neu starten',
|
||||
'newer' => 'Neuer',
|
||||
@@ -1565,7 +1565,7 @@
|
||||
'nonetworkname' => 'Kein Netzwerkname wurde eingegeben',
|
||||
'noservicename' => 'Kein Dienstname wurde eingegeben',
|
||||
'not a valid ca certificate' => 'Kein gültiges CA Zertifikat.',
|
||||
'not a valid dh key' => 'Kein gültiger Diffie-Hellman Schlüssel. Bitte nur 1024, 2048, 3072 oder 4096 Bit im PKCS#3 Format verwenden.',
|
||||
'not a valid dh key' => 'Kein gültiger Diffie-Hellman-Parameter. Es sind nur Parameter mit einer Länge von 1024, 2048, 3072 oder 4096 Bit im PKCS#3-Format erlaubt.',
|
||||
'not enough disk space' => 'Nicht genügend Plattenplatz vorhanden',
|
||||
'not present' => '<B>Nicht</B> vorhanden',
|
||||
'not running' => 'nicht gestartet',
|
||||
@@ -1658,15 +1658,18 @@
|
||||
'ovpn con stat' => 'OpenVPN Verbindungs-Statistik',
|
||||
'ovpn config' => 'OVPN-Konfiguration',
|
||||
'ovpn crypt options' => 'Kryptografieoptionen',
|
||||
'ovpn device' => 'OpenVPN-Gerät:',
|
||||
'ovpn dh' => 'Diffie-Hellman Key Länge',
|
||||
'ovpn dh name' => 'Diffie-Hellman Key Name',
|
||||
'ovpn device' => 'OpenVPN-Gerät',
|
||||
'ovpn dh' => 'Diffie-Hellman-Parameter-Länge',
|
||||
'ovpn dh new key' => 'Neuen Diffie-Hellman Parameter erstellen',
|
||||
'ovpn dh parameters' => 'Diffie-Hellman-Parameter-Optionen',
|
||||
'ovpn dh upload' => 'Neuen Diffie-Hellman-Parameter hochladen',
|
||||
'ovpn dl' => 'OVPN-Konfiguration downloaden',
|
||||
'ovpn engines' => 'Krypto Engine',
|
||||
'ovpn errmsg green already pushed' => 'Route für grünes Netzwerk wird immer gesetzt',
|
||||
'ovpn errmsg invalid ip or mask' => 'Ungültige Netzwerk-Adresse oder Subnetzmaske',
|
||||
'ovpn generating the root and host certificates' => 'Die Erzeugung der Root- und Host-Zertifikate kann lange Zeit dauern.',
|
||||
'ovpn ha' => 'Hash Algorithmus',
|
||||
'ovpn hmac' => 'HMAC Optionen',
|
||||
'ovpn ha' => 'Hash-Algorithmus',
|
||||
'ovpn hmac' => 'HMAC-Optionen',
|
||||
'ovpn log' => 'OVPN-Log',
|
||||
'ovpn mgmt in root range' => 'Ein Port von 1024 oder höher ist erforderlich.',
|
||||
'ovpn mtu-disc' => 'Path MTU Discovery',
|
||||
@@ -1681,12 +1684,14 @@
|
||||
'ovpn on orange' => 'OpenVPN auf ORANGE:',
|
||||
'ovpn on red' => 'OpenVPN auf ROT:',
|
||||
'ovpn port in root range' => 'Ein Port von 1024 oder höher ist erforderlich.',
|
||||
'ovpn reneg sec' => 'Session Key Lifetime',
|
||||
'ovpn routes push' => 'Routen (eine pro Zeile) z.b. 192.168.10.0/255.255.255.0 192.168.20.0/24',
|
||||
'ovpn routes push options' => 'Route push Optionen',
|
||||
'ovpn server status' => 'OpenVPN-Server-Status',
|
||||
'ovpn subnet' => 'OpenVPN-Subnetz:',
|
||||
'ovpn subnet is invalid' => 'Das OpenVPN-Subnetz ist ungültig.',
|
||||
'ovpn subnet overlap' => 'OpenVPNSubnetz überschneidet sich mit ',
|
||||
'ovpn_fastio' => 'Fast-IO',
|
||||
'ovpn_fragment' => 'Fragmentgrösse',
|
||||
'ovpn_mssfix' => 'MSSFIX-Grösse',
|
||||
'ovpn_mtudisc' => 'MTU-Discovery',
|
||||
@@ -1927,7 +1932,7 @@
|
||||
'show ca certificate' => 'CA Zertifikat anzeigen',
|
||||
'show certificate' => 'Zertifikat anzeigen',
|
||||
'show crl' => 'Certificate Revocation List anzeigen',
|
||||
'show dh' => 'Diffie-Hellman Key anzeigen',
|
||||
'show dh' => 'Diffie-Hellman-Parameter anzeigen',
|
||||
'show host certificate' => 'Host-Zertifikat anzeigen',
|
||||
'show last x lines' => 'die letzten x Zeilen anzeigen',
|
||||
'show root certificate' => 'Root-Zertifikat anzeigen',
|
||||
@@ -1965,6 +1970,7 @@
|
||||
'source ip' => 'Quell-IP-Adresse',
|
||||
'source ip and port' => 'Quell-IP:Port',
|
||||
'source ip bad' => 'Ungültige Quell-IP-Adresse.',
|
||||
'source ip country' => 'Quell-IP-Adresse Land',
|
||||
'source ip in use' => 'Benutzte Quell-IP:',
|
||||
'source ip or net' => 'Quellen-IP oder Netz',
|
||||
'source net' => 'Quell-Netz',
|
||||
@@ -2256,14 +2262,13 @@
|
||||
'updxlrtr weekly' => 'wöchentlich',
|
||||
'updxlrtr year' => 'einem Jahr',
|
||||
'upgrade' => 'upgrade',
|
||||
'uplink' => 'Uplink',
|
||||
'uplink speed' => 'Uplink-Geschwindigkeit (kBit/sek)',
|
||||
'uplink std class' => 'Uploadstandardklasse',
|
||||
'upload' => 'Hochladen',
|
||||
'upload a certificate' => 'Ein Zertifikat hochladen:',
|
||||
'upload a certificate request' => 'Eine Zertifikatsanfrage hochladen:',
|
||||
'upload ca certificate' => 'CA-Zertifikat hochladen',
|
||||
'upload dh key' => 'Diffie-Hellman Key hochladen',
|
||||
'upload dh key' => 'Diffie-Hellman-Parameter hochladen',
|
||||
'upload file' => 'Datei zum hochladen',
|
||||
'upload new ruleset' => 'Neuen Regelsatz hochladen',
|
||||
'upload p12 file' => 'PKCS12-Datei hochladen',
|
||||
@@ -2514,7 +2519,6 @@
|
||||
'vpn aggrmode' => 'IKE Aggressive Mode zugelassen. Wenn möglich, vermeiden (preshared Schlüssel wird im Klartext übertragen)!',
|
||||
'vpn altname syntax' => 'Der Subjekt Alternativ Name ist eine durch Komma getrennte Liste von Email, DNS, URI, RID und IP Objekten. <br />Email: eine Email Adresse. Syntax Email: \'copy\' benutzt die Email Adresse aus dem Zertifikatfeld. <br />DNS: ein gültiger Domain Name.<br />URI: eine gültige URI.<br />RID: Registriertes Objekt Identifikation.<br />IP: eine IP Adresse.<br />Bitte beachten: der Zeichensatz ist eingeschränkt und die Groß-/Kleinschreibung ist entscheidend.<br />Beispiel:<br /><b>email:</b>info@ipfire.org<b>,email:</b>copy<b>,DNS:</b>www.ipfire.org<b>,IP:</b>127.0.0.1<b>,URI:</b>http://url/nach/irgendwo',
|
||||
'vpn auth-dn' => 'Peer wird identifiziert durch entweder ein IPV4_ADDR, FQDN, USER_FQDN oder DER_ASN1_DN string in Remote ID Feld',
|
||||
'vpn configuration main' => 'VPN-Konfiguration',
|
||||
'vpn delayed start' => 'Verzögerung bevor VPN gestartet wird (Sekunden)',
|
||||
'vpn delayed start help' => 'Falls notwendig, kann diese Verzögerung dazu verwendet werden, um Dynamic-DNS-Updates ordnungsgemäß anzuwenden. 60 ist ein gängiger Wert, wenn ROT (RED) eine dynamische IP Adresse ist.',
|
||||
'vpn incompatible use of defaultroute' => 'Hostname=%defaultroute nicht zulässig',
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
'Choose Rule' => 'Choose <u>one</u> of the following rules.',
|
||||
'Class' => 'Class',
|
||||
'Class was deleted' => 'with potential subclasses was deleted',
|
||||
'Client status and controlc' => 'Client status and control:',
|
||||
'ConnSched action' => 'Action:',
|
||||
'ConnSched add action' => 'Add action',
|
||||
'ConnSched change profile title' => 'Change to profile:',
|
||||
@@ -40,6 +39,8 @@
|
||||
'MB read' => 'MB read',
|
||||
'MB written' => 'MB written',
|
||||
'MTU' => 'MTU size:',
|
||||
'MTU settings' => 'MTU settings:',
|
||||
'Number of Countries for the pie chart' => 'Number of Countries for the pie chart',
|
||||
'Number of IPs for the pie chart' => 'Number of IPs for the pie chart',
|
||||
'Number of Ports for the pie chart' => 'Number of ports for the pie chart',
|
||||
'OVPN' => 'OpenVPN',
|
||||
@@ -424,7 +425,7 @@
|
||||
'behind a proxy' => 'Behind a proxy:',
|
||||
'bewan adsl pci st' => 'TO BE REMOVED',
|
||||
'bewan adsl usb' => 'TO BE REMOVED',
|
||||
'bit' => 'Bit',
|
||||
'bit' => 'bit',
|
||||
'bitrate' => 'Bitrate',
|
||||
'bleeding rules' => 'Bleeding Edge Snort Rules',
|
||||
'blue' => 'BLUE',
|
||||
@@ -683,8 +684,10 @@
|
||||
'details' => 'Details',
|
||||
'device' => 'Device',
|
||||
'devices on blue' => 'Devices on BLUE',
|
||||
'dh' => 'Diffie-Hellman Key',
|
||||
'dh key warn' => 'Keys with 1024 and 2048 bit takes up to several minutes, 3072 and 4096 bit might needs several hours. Please be patient.',
|
||||
'dh' => 'Diffie-Hellman parameters',
|
||||
'dh key move failed' => 'Diffie-Hellman parameters move failed.',
|
||||
'dh key warn' => 'Creating Diffie-Hellman parameters with lengths of 1024 or 2048 bits takes up to several minutes. Lengths of 3072 or 4096 bits might needs several hours. Please be patient.',
|
||||
'dh key warn1' => 'For weak systems or systems with little entropy, it is recommended to upload long Diffie-Hellman parameters by usage of the upload function.',
|
||||
'dh name is invalid' => 'Name is invalid, please use "dh1024.pem".',
|
||||
'dhcp advopt add' => 'Add a DHCP option',
|
||||
'dhcp advopt added' => 'DHCP option added',
|
||||
@@ -761,7 +764,6 @@
|
||||
'dns saved' => 'Successfully saved!',
|
||||
'dns saved txt' => 'The two entered DNS server addresses have been saved successfully.<br />You have to reboot or reconnect that the changes have effect!',
|
||||
'dns server' => 'DNS Server',
|
||||
'dns servers' => 'DNS Servers',
|
||||
'dns title' => 'Domain Name System',
|
||||
'dnsforward' => 'DNS Forwarding',
|
||||
'dnsforward add a new entry' => 'Add a new entry',
|
||||
@@ -786,7 +788,6 @@
|
||||
'done' => 'Do it',
|
||||
'dos charset' => 'DOS Charset',
|
||||
'down and up speed' => 'Enter your Down- and Uplink-Speed <br /> and then press <i>Save</i>.',
|
||||
'downlink' => 'Downlink',
|
||||
'downlink speed' => 'Downlink speed (kbit/sec)',
|
||||
'downlink std class' => 'downlink standard class',
|
||||
'download' => 'download',
|
||||
@@ -940,7 +941,6 @@
|
||||
'firewallhits' => 'firewallhits',
|
||||
'firmware' => 'Firmware',
|
||||
'firmware upload' => 'Upload Firmware/Drivers',
|
||||
'first' => 'First',
|
||||
'fixed ip lease added' => 'Fixed IP lease added',
|
||||
'fixed ip lease modified' => 'Fixed IP lease modified',
|
||||
'fixed ip lease removed' => 'Fixed IP lease removed',
|
||||
@@ -1153,11 +1153,11 @@
|
||||
'g.lite' => 'TO BE REMOVED',
|
||||
'gateway' => 'Gateway',
|
||||
'gateway ip' => 'Gateway IP',
|
||||
'gen dh' => 'Generate Diffie-Hellman key',
|
||||
'gen dh' => 'Generate new Diffie-Hellman parameters',
|
||||
'gen static key' => 'Generate a static key',
|
||||
'generate' => 'Generate root/host zertifikate',
|
||||
'generate a certificate' => 'Generate a certificate:',
|
||||
'generate dh key' => 'Generate Diffie-Hellman key',
|
||||
'generate dh key' => 'Generate Diffie-Hellman parameters',
|
||||
'generate iso' => 'Generate ISO',
|
||||
'generate root/host certificates' => 'Generate root/host certificates',
|
||||
'generate tripwire keys and init' => 'generate tripwire keys and init',
|
||||
@@ -1369,7 +1369,6 @@
|
||||
'lan' => 'LAN',
|
||||
'lang' => 'en',
|
||||
'languagepurpose' => 'Select the language you wish IPFire to display in:',
|
||||
'last' => 'Last',
|
||||
'last activity' => 'Last Activity',
|
||||
'lateprompting' => 'Lateprompting',
|
||||
'lease expires' => 'Lease expires',
|
||||
@@ -1574,6 +1573,7 @@
|
||||
'network traffic graphs others' => 'Network (others)',
|
||||
'network updated' => 'Custom Network updated',
|
||||
'networks settings' => 'Firewall - Network settings',
|
||||
'never' => 'Never',
|
||||
'new optionsfw later' => 'Some options need a reboot to take effect',
|
||||
'new optionsfw must boot' => 'You must reboot your IPFire',
|
||||
'newer' => 'Newer',
|
||||
@@ -1595,7 +1595,7 @@
|
||||
'nonetworkname' => 'No Network Name entered',
|
||||
'noservicename' => 'No Service Name entered',
|
||||
'not a valid ca certificate' => 'Not a valid CA certificate.',
|
||||
'not a valid dh key' => 'Not a valid Diffie-Hellman key. Please use 1024, 2048, 3072 or 4096 bit in PKCS#3 format.',
|
||||
'not a valid dh key' => 'Not a valid Diffie-Hellman parameters file. Please use a length of 1024, 2048, 3072 or 4096 bits and the PKCS#3 format.',
|
||||
'not enough disk space' => 'Not enough disk space',
|
||||
'not present' => '<b>Not</b> present',
|
||||
'not running' => 'not running',
|
||||
@@ -1690,9 +1690,12 @@
|
||||
'ovpn config' => 'OVPN-Config',
|
||||
'ovpn crypt options' => 'Cryptographic options',
|
||||
'ovpn device' => 'OpenVPN device:',
|
||||
'ovpn dh' => 'Diffie-Hellman key lenght',
|
||||
'ovpn dh name' => 'Diffie-Hellman key name',
|
||||
'ovpn dh' => 'Diffie-Hellman parameters length',
|
||||
'ovpn dh new key' => 'Generate new Diffie-Hellman parameters',
|
||||
'ovpn dh parameters' => 'Diffie-Hellman parameters options',
|
||||
'ovpn dh upload' => 'Upload new Diffie-Hellman parameters',
|
||||
'ovpn dl' => 'OVPN-Config Download',
|
||||
'ovpn engines' => 'Crypto engine',
|
||||
'ovpn errmsg green already pushed' => 'Route for green network is always set',
|
||||
'ovpn errmsg invalid ip or mask' => 'Invalid network-address or subnetmask',
|
||||
'ovpn generating the root and host certificates' => 'Generating the root and host certifictae can take a long time.',
|
||||
@@ -1712,6 +1715,7 @@
|
||||
'ovpn on orange' => 'OpenVPN on ORANGE:',
|
||||
'ovpn on red' => 'OpenVPN on RED:',
|
||||
'ovpn port in root range' => 'A port number of 1024 or higher is required.',
|
||||
'ovpn reneg sec' => 'Session key lifetime:',
|
||||
'ovpn routes push' => 'Routes (one per line) e.g. 192.168.10.0/255.255.255.0 192.168.20.0/24',
|
||||
'ovpn routes push options' => 'Route push options',
|
||||
'ovpn server status' => 'Current OpenVPN server status:',
|
||||
@@ -1719,7 +1723,6 @@
|
||||
'ovpn subnet is invalid' => 'OpenVPN subnet is invalid.',
|
||||
'ovpn subnet overlap' => 'OpenVPN Subnet overlaps with : ',
|
||||
'ovpn_fastio' => 'Fast-IO',
|
||||
'ovpn_fragment' => 'Fragmentsize',
|
||||
'ovpn_mssfix' => 'MSSFIX Size',
|
||||
'ovpn_mtudisc' => 'MTU-Discovery',
|
||||
'ovpn_processprio' => 'Process priority',
|
||||
@@ -1963,7 +1966,7 @@
|
||||
'show ca certificate' => 'Show CA certificate',
|
||||
'show certificate' => 'Show certificate',
|
||||
'show crl' => 'Show certificate revocation list',
|
||||
'show dh' => 'Show Diffie-Hellman key',
|
||||
'show dh' => 'Show Diffie-Hellman parameters',
|
||||
'show host certificate' => 'Show host certificate',
|
||||
'show last x lines' => 'Show last x lines',
|
||||
'show lines' => 'Show lines',
|
||||
@@ -2002,6 +2005,7 @@
|
||||
'source ip' => 'Source IP',
|
||||
'source ip and port' => 'Source IP: Port',
|
||||
'source ip bad' => 'Not a valid IP address or a network address.',
|
||||
'source ip country' => 'Source IP Country',
|
||||
'source ip in use' => 'Source IP in use:',
|
||||
'source ip or net' => 'Source IP or Net',
|
||||
'source net' => 'Source Net',
|
||||
@@ -2082,6 +2086,7 @@
|
||||
'telephone not set' => 'Telephone not set.',
|
||||
'template' => 'Preset',
|
||||
'template warning' => 'You have two options to set up Qos. The First, you press the save button and generate the classes and rules on your own. The second, you press the preset button and classes and rules will be set up by a template.',
|
||||
'teovpn_fragment' => 'Fragmentsize',
|
||||
'test' => 'test',
|
||||
'test email could not be sent' => 'Could not sent Testemail',
|
||||
'test email was sent' => 'Testemail was send successfully',
|
||||
@@ -2296,14 +2301,13 @@
|
||||
'updxlrtr weekly' => 'weekly',
|
||||
'updxlrtr year' => 'one year',
|
||||
'upgrade' => 'upgrade',
|
||||
'uplink' => 'Uplink',
|
||||
'uplink speed' => 'Uplink speed (kbit/sec)',
|
||||
'uplink std class' => 'uplink standard class',
|
||||
'upload' => 'Upload',
|
||||
'upload a certificate' => 'Upload a certificate:',
|
||||
'upload a certificate request' => 'Upload a certificate request:',
|
||||
'upload ca certificate' => 'Upload CA certificate',
|
||||
'upload dh key' => 'Upload Diffie-Hellman key',
|
||||
'upload dh key' => 'Upload Diffie-Hellman parameters',
|
||||
'upload fcdsl.o' => 'TO BE REMOVED',
|
||||
'upload file' => 'Upload file',
|
||||
'upload new ruleset' => 'Upload new ruleset',
|
||||
@@ -2555,7 +2559,6 @@
|
||||
'vpn aggrmode' => 'IKE aggressive mode allowed. Avoid if possible (preshared key is transmitted in clear text)!',
|
||||
'vpn altname syntax' => 'SubjectAltName is a comma separated list of e-mail, dns, uri, rid and ip objects.<br />email:an email address. Syntax email:copy takes the email field from the cert to be used.<br />DNS:a valid domain name.<br />URI:any valid uri.<br />RID:registered object identifier.<br />IP:an IP address.<br />Note:charset is limited and case is significant.<br />Example:<br /><b>e-mail:</b>ipfire@foo.org<b>,email:</b>copy<b>,DNS:</b>www.ipfire.org<b>,IP:</b>127.0.0.1<b>,URI:</b>http://url/to/something',
|
||||
'vpn auth-dn' => 'Peer is identified by either IPV4_ADDR, FQDN, USER_FQDN or DER_ASN1_DN string in remote ID field',
|
||||
'vpn configuration main' => 'VPN Configuration',
|
||||
'vpn delayed start' => 'Delay before launching VPN (seconds)',
|
||||
'vpn delayed start help' => 'If required, this delay can be used to allow dynamic DNS updates to propagate properly. 60 is a common value when RED is a dynamic IP.',
|
||||
'vpn incompatible use of defaultroute' => 'hostname=%defaultroute not allowed',
|
||||
|
||||
@@ -54,7 +54,7 @@ char *tr_tr[] = {
|
||||
/* TR_JOURNAL_EXT3 */
|
||||
"Ext3 için günlük oluşturuluyor...",
|
||||
/* TR_CHOOSE_NETCARD */
|
||||
"Aşağıdaki ara birim için bir ağ kartı seçin - %s.",
|
||||
"Aşağıdan şu ara birim için bir ağ kartı seçin - %s",
|
||||
/* TR_NETCARDMENU2 */
|
||||
"Genişletilmiş Ağ Listesi",
|
||||
/* TR_ERROR_INTERFACES */
|
||||
@@ -132,7 +132,7 @@ char *tr_tr[] = {
|
||||
/* TR_DNS_AND_GATEWAY_SETTINGS */
|
||||
"DNS ve Ağ Geçidi ayarları",
|
||||
/* TR_DNS_AND_GATEWAY_SETTINGS_LONG */
|
||||
"DNS ve ağ geçidi bilgilerini girin. Bu ayarlar sadece KIRMIZI arabirim adres ayarlarında Sabit seçenği seçilmişse kullanılır. Eğer KIRMIZI arabirim adres ayarlarında DHCP seçeneğini seçtiyseniz bu alanı boş bırakabilirsiniz.",
|
||||
"DNS ve ağ geçidi bilgilerini girin. Bu ayarlar sadece KIRMIZI ara birim adres ayarlarında Statik seçenği seçilmişse kullanılır. Eğer KIRMIZI ara birim adres ayarlarında DHCP seçeneğini seçtiyseniz bu alanı boş bırakabilirsiniz.",
|
||||
/* TR_DNS_GATEWAY_WITH_GREEN */
|
||||
"Yapılandırmanız KIRMIZI ara birim için ethernet adaptörünü kullanamaz. DNS ve Çevirmeli ağ kullanıcıları için ağ geçidi bilgisi çevirmeli ağda otomatik olarak yapılandırılır.",
|
||||
/* TR_DOMAINNAME */
|
||||
@@ -164,7 +164,7 @@ char *tr_tr[] = {
|
||||
/* TR_ENTER_ADDITIONAL_MODULE_PARAMS */
|
||||
"Bazı ISDN kartları (özellikle ISA olanlar) IRQ ve GÇ adres bilgilerini ayarlamak için ek modül parametrelerine ihtiyaç duyar.Böyle bir ISDN kartınız varsa burada bu ek parametreleri girin. Örneğin: \"io = 0x280 irq = 9 \". Bunlar kart algılama sırasında kullanılacaktır.",
|
||||
/* TR_ENTER_ADMIN_PASSWORD */
|
||||
"%s 'admin' kullanıcı parolasını giriniz. Bu, %s web yönetimi sayfalarının kayıtlarına erişebilen kullanıcıdır.",
|
||||
"%s 'admin' kullanıcı parolasını girin. Bu, %s web yönetimi sayfalarının kayıtlarına erişebilen kullanıcıdır.",
|
||||
/* TR_ENTER_DOMAINNAME */
|
||||
"Alan adını girin",
|
||||
/* TR_ENTER_HOSTNAME */
|
||||
@@ -228,7 +228,7 @@ char *tr_tr[] = {
|
||||
/* TR_INTERFACE_FAILED_TO_COME_UP */
|
||||
"Ara birim yükseltmesi başarısız oldu.",
|
||||
/* TR_INVALID_FIELDS */
|
||||
"Aşağıdaki alan geçersizdir:\n\n",
|
||||
"Aşağıdaki alan geçersiz:\n\n",
|
||||
/* TR_INVALID_IO */
|
||||
"Girilen GÇ bağlantı noktası detayları geçersiz. ",
|
||||
/* TR_INVALID_IRQ */
|
||||
@@ -354,7 +354,7 @@ char *tr_tr[] = {
|
||||
/* TR_PHONENUMBER_CANNOT_BE_EMPTY */
|
||||
"Telefon numarası boş olamaz.",
|
||||
/* TR_PREPARE_HARDDISK */
|
||||
"Sabit disk kurulum programı /dev/sda üzerindeki %s sabit diski hazırlayacak. İlk olarak diskiniz bölümlendirilir ve daha sonra bu bölüme dosya sistemleri oluşturulur.\n\nDİSKTEKİ TÜM VERİLER SİLİNECEKTİR. Kabul ediyor musunuz?",
|
||||
"Sabit disk kurulum programı %s üzerindeki sabit diski hazırlayacak. İlk olarak diskiniz bölümlendirilir ve daha sonra bu bölüme dosya sistemleri oluşturulur.\n\nDİSKTEKİ TÜM VERİLER SİLİNECEKTİR. Kabul ediyor musunuz?",
|
||||
/* TR_PRESS_OK_TO_REBOOT */
|
||||
"Yeniden Başlat",
|
||||
/* TR_PRIMARY_DNS */
|
||||
@@ -428,7 +428,7 @@ char *tr_tr[] = {
|
||||
/* TR_SETTING_SETUP_PASSWORD */
|
||||
"KALDIRILACAK",
|
||||
/* TR_SETUP_FINISHED */
|
||||
"Kurulum tamamlandı. Tamam tuşuna basın.",
|
||||
"Kurulum tamamlandı. Tamam seçneği ile ilerleyin.",
|
||||
/* TR_SETUP_NOT_COMPLETE */
|
||||
"Başlangıç kurulumu tamamlanamadı. Şimdi kurulumu tekrar çalıştırarak ayarlarınızın düzgün yapılmış olduğundan emin olun.",
|
||||
/* TR_SETUP_PASSWORD */
|
||||
@@ -444,7 +444,7 @@ char *tr_tr[] = {
|
||||
/* TR_START_ADDRESS_CR */
|
||||
"Başlangıç adresi\n",
|
||||
/* TR_STATIC */
|
||||
"Sabit",
|
||||
"Statik",
|
||||
/* TR_SUGGEST_IO */
|
||||
"(öneri %x)",
|
||||
/* TR_SUGGEST_IRQ */
|
||||
@@ -546,7 +546,7 @@ char *tr_tr[] = {
|
||||
/* TR_WARNING */
|
||||
"UYARI",
|
||||
/* TR_WARNING_LONG */
|
||||
"Bu IP adresini değiştiriseniz %s makinesi ile uzak oturum bağlantısı kopar ve yeniden IP adresi girmeniz gerekir. Bu riskli bir işlemdir. Bu işlem sırasında bir şeyler ters giderse düzeltmek için makineye fiziksel erişiminiz varsa denemelisiniz.",
|
||||
"Bu IP adresini değiştiriseniz %s makinesi ile uzak oturum bağlantısı kopar ve yeniden IP adresi girmeniz gerekir. Bu riskli bir işlemdir. Bu işlem sırasında bir şeyler ters giderse düzeltmek için makineye fiziksel erişiminiz olmalıdır. Makineye fiziksel erişiminiz varsa bu işlemi gerçekleştirin.",
|
||||
/* TR_WELCOME */
|
||||
"%s kurulum programına hoş geldiniz. Sonraki ekranların herhangi birinde İptal seçeneğini seçtiğinizde bilgisayar yeniden başlatılacaktır.",
|
||||
/* TR_YOUR_CONFIGURATION_IS_SINGLE_GREEN_ALREADY_HAS_DRIVER */
|
||||
@@ -588,9 +588,9 @@ char *tr_tr[] = {
|
||||
/* TR_DHCP_FORCE_MTU */
|
||||
"DHCP mtu zorla:",
|
||||
/* TR_IDENTIFY */
|
||||
"Identify",
|
||||
"Belirle",
|
||||
/* TR_IDENTIFY_SHOULD_BLINK */
|
||||
"Selected port should blink now ...",
|
||||
"Seçilen bağlantı noktasının şimdi yanıp sönmesi gerekir...",
|
||||
/* TR_IDENTIFY_NOT_SUPPORTED */
|
||||
"Function is not supported by this port.",
|
||||
"İşlev bu bağlantı noktası tarafından desteklenmiyor.",
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 0.98.1
|
||||
VER = 0.98.3
|
||||
|
||||
THISAPP = clamav-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = clamav
|
||||
PAK_VER = 24
|
||||
PAK_VER = 25
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = b1ec7b19dea8385954515ef1d63576d8
|
||||
$(DL_FILE)_MD5 = b649d35ee85d4d6075a98173dd255c17
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -96,6 +96,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Disable PaX mprotect for clamd and freshclam
|
||||
paxctl -cm /usr/sbin/clamd
|
||||
paxctl -cm /usr/bin/clamscan
|
||||
paxctl -cm /usr/bin/freshclam
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
|
||||
4
lfs/daq
4
lfs/daq
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.0.1
|
||||
VER = 2.0.2
|
||||
|
||||
THISAPP = daq-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 044aa3663d44580d005293eeb8ccf175
|
||||
$(DL_FILE)_MD5 = 865bf9b750a2a2ca632591a3c70b0ea0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
10
lfs/openvpn
10
lfs/openvpn
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# 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 #
|
||||
@@ -24,10 +24,10 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.3.2
|
||||
VER = 2.3.4
|
||||
|
||||
THISAPP = openvpn-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 06e5f93dbf13f2c19647ca15ffc23ac1
|
||||
$(DL_FILE)_MD5 = 9b70be9fb45e407117c3c9b118e4ba22
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -69,7 +69,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/var/ipfire/ovpn \
|
||||
|
||||
7
lfs/ppp
7
lfs/ppp
@@ -73,9 +73,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && rm -f include/pcap-int.h include/linux/if_pppol2tp.h
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0003-build-sys-utilize-compiler-flags-handed-to-us-by-rpm.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0012-pppd-we-don-t-want-to-accidentally-leak-fds.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
|
||||
cd $(DIR_APP) && sed -i -e "s+/etc/ppp/connect-errors+/var/log/connect-errors+" pppd/pathnames.h
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CC="gcc $(CFLAGS)"
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CC="gcc" RPM_OPT_FLAGS="$(CFLAGS)"
|
||||
cd $(DIR_APP) && make install
|
||||
cd $(DIR_APP) && make install-etcppp
|
||||
touch /var/log/connect-errors
|
||||
|
||||
30
lfs/snort
30
lfs/snort
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.9.5.3
|
||||
VER = 2.9.6.1
|
||||
|
||||
THISAPP = snort-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = f99465c0734a6173bfca899dcb72266b
|
||||
$(DL_FILE)_MD5 = d7c0f1ddb2e70b70acdaa4664abb5fb0
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -70,14 +70,26 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/snort* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls \
|
||||
--sysconfdir=/etc/snort --target=i586 \
|
||||
--enable-linux-smp-stats --enable-smb-alerts \
|
||||
--enable-gre --enable-mpls --enable-targetbased \
|
||||
--enable-decoder-preprocessor-rules --enable-ppm \
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--disable-nls \
|
||||
--sysconfdir=/etc/snort \
|
||||
--target=i586 \
|
||||
--enable-linux-smp-stats \
|
||||
--enable-smb-alerts \
|
||||
--enable-gre --enable-mpls \
|
||||
--enable-targetbased \
|
||||
--enable-decoder-preprocessor-rules \
|
||||
--enable-ppm \
|
||||
--enable-non-ether-decoders \
|
||||
--enable-perfprofiling --enable-zlib --enable-active-response \
|
||||
--enable-normalizer --enable-reload --enable-react --enable-flexresp3
|
||||
--enable-perfprofiling \
|
||||
--enable-zlib \
|
||||
--enable-active-response \
|
||||
--enable-normalizer \
|
||||
--enable-reload \
|
||||
--enable-react \
|
||||
--enable-flexresp3
|
||||
|
||||
cd $(DIR_APP) && make
|
||||
cd $(DIR_APP) && make install
|
||||
mv /usr/bin/snort /usr/sbin/
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 3.4.4
|
||||
VER = 3.4.5
|
||||
|
||||
THISAPP = squid-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = dc2bcb967fc6b15bbbc6b961010c0c00
|
||||
$(DL_FILE)_MD5 = a831efb36cfbaa419f8dc7a43cba72c9
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
|
||||
83
lfs/sslscan
Normal file
83
lfs/sslscan
Normal file
@@ -0,0 +1,83 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2014 Michael Tremer & Christian Schmidt #
|
||||
# #
|
||||
# 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 #
|
||||
# the Free Software Foundation, either version 3 of the License, or #
|
||||
# (at your option) any later version. #
|
||||
# #
|
||||
# This program is distributed in the hope that it will be useful, #
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
||||
# GNU General Public License for more details. #
|
||||
# #
|
||||
# You should have received a copy of the GNU General Public License #
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 1.10.2
|
||||
|
||||
THISAPP = sslscan-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = sslscan
|
||||
PAK_VER = 1
|
||||
|
||||
DEPS = ""
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 41ecff92303cecfd00bf3c7de509af14
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(CFLAGS)"
|
||||
cd $(DIR_APP) && make install PREFIX=/usr
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
3
make.sh
3
make.sh
@@ -25,7 +25,7 @@
|
||||
NAME="IPFire" # Software name
|
||||
SNAME="ipfire" # Short name
|
||||
VERSION="2.15" # Version number
|
||||
CORE="77" # Core Level (Filename)
|
||||
CORE="78" # Core Level (Filename)
|
||||
PAKFIRE_CORE="77" # Core Level (PAKFIRE)
|
||||
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch
|
||||
SLOGAN="www.ipfire.org" # Software slogan
|
||||
@@ -798,6 +798,7 @@ buildipfire() {
|
||||
ipfiremake iptraf-ng
|
||||
ipfiremake iotop
|
||||
ipfiremake stunnel
|
||||
ipfiremake sslscan
|
||||
}
|
||||
|
||||
buildinstaller() {
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
From d729b06f0ac7a5ebd3648ef60bef0499b59bf82d Mon Sep 17 00:00:00 2001
|
||||
From: Michal Sekletar <msekleta@redhat.com>
|
||||
Date: Fri, 4 Apr 2014 11:29:39 +0200
|
||||
Subject: [PATCH 03/25] build-sys: utilize compiler flags handed to us by
|
||||
rpmbuild
|
||||
|
||||
---
|
||||
chat/Makefile.linux | 2 +-
|
||||
pppd/Makefile.linux | 3 +--
|
||||
pppd/plugins/Makefile.linux | 2 +-
|
||||
pppd/plugins/pppoatm/Makefile.linux | 2 +-
|
||||
pppd/plugins/radius/Makefile.linux | 2 +-
|
||||
pppd/plugins/rp-pppoe/Makefile.linux | 2 +-
|
||||
pppdump/Makefile.linux | 2 +-
|
||||
pppstats/Makefile.linux | 2 +-
|
||||
8 files changed, 8 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/chat/Makefile.linux b/chat/Makefile.linux
|
||||
index 1065ac5..848cd8d 100644
|
||||
--- a/chat/Makefile.linux
|
||||
+++ b/chat/Makefile.linux
|
||||
@@ -10,7 +10,7 @@ CDEF3= -UNO_SLEEP # Use the usleep function
|
||||
CDEF4= -DFNDELAY=O_NDELAY # Old name value
|
||||
CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4)
|
||||
|
||||
-COPTS= -O2 -g -pipe
|
||||
+COPTS= $(RPM_OPT_FLAGS)
|
||||
CFLAGS= $(COPTS) $(CDEFS)
|
||||
|
||||
INSTALL= install
|
||||
diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux
|
||||
index 5a44d30..63872eb 100644
|
||||
--- a/pppd/Makefile.linux
|
||||
+++ b/pppd/Makefile.linux
|
||||
@@ -32,8 +32,7 @@ endif
|
||||
|
||||
CC = gcc
|
||||
#
|
||||
-COPTS = -O2 -pipe -Wall -g
|
||||
-LIBS =
|
||||
+COPTS = -Wall $(RPM_OPT_FLAGS)
|
||||
|
||||
# Uncomment the next 2 lines to include support for Microsoft's
|
||||
# MS-CHAP authentication protocol. Also, edit plugins/radius/Makefile.linux.
|
||||
diff --git a/pppd/plugins/Makefile.linux b/pppd/plugins/Makefile.linux
|
||||
index 0a7ec7b..e09a369 100644
|
||||
--- a/pppd/plugins/Makefile.linux
|
||||
+++ b/pppd/plugins/Makefile.linux
|
||||
@@ -1,5 +1,5 @@
|
||||
#CC = gcc
|
||||
-COPTS = -O2 -g
|
||||
+COPTS = $(RPM_OPT_FLAGS)
|
||||
CFLAGS = $(COPTS) -I.. -I../../include -fPIC
|
||||
LDFLAGS = -shared
|
||||
INSTALL = install
|
||||
diff --git a/pppd/plugins/pppoatm/Makefile.linux b/pppd/plugins/pppoatm/Makefile.linux
|
||||
index 20f62e6..5a81447 100644
|
||||
--- a/pppd/plugins/pppoatm/Makefile.linux
|
||||
+++ b/pppd/plugins/pppoatm/Makefile.linux
|
||||
@@ -1,5 +1,5 @@
|
||||
#CC = gcc
|
||||
-COPTS = -O2 -g
|
||||
+COPTS = $(RPM_OPT_FLAGS)
|
||||
CFLAGS = $(COPTS) -I../.. -I../../../include -fPIC
|
||||
LDFLAGS = -shared
|
||||
INSTALL = install
|
||||
diff --git a/pppd/plugins/radius/Makefile.linux b/pppd/plugins/radius/Makefile.linux
|
||||
index 24ed3e5..45b3b8d 100644
|
||||
--- a/pppd/plugins/radius/Makefile.linux
|
||||
+++ b/pppd/plugins/radius/Makefile.linux
|
||||
@@ -12,7 +12,7 @@ VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
|
||||
INSTALL = install
|
||||
|
||||
PLUGIN=radius.so radattr.so radrealms.so
|
||||
-CFLAGS=-I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON
|
||||
+CFLAGS=-I. -I../.. -I../../../include $(RPM_OPT_FLAGS) -DRC_LOG_FACILITY=LOG_DAEMON
|
||||
|
||||
# Uncomment the next line to include support for Microsoft's
|
||||
# MS-CHAP authentication protocol.
|
||||
diff --git a/pppd/plugins/rp-pppoe/Makefile.linux b/pppd/plugins/rp-pppoe/Makefile.linux
|
||||
index 5d7a271..352991a 100644
|
||||
--- a/pppd/plugins/rp-pppoe/Makefile.linux
|
||||
+++ b/pppd/plugins/rp-pppoe/Makefile.linux
|
||||
@@ -25,7 +25,7 @@ INSTALL = install
|
||||
# Version is set ONLY IN THE MAKEFILE! Don't delete this!
|
||||
RP_VERSION=3.8p
|
||||
|
||||
-COPTS=-O2 -g
|
||||
+COPTS=$(RPM_OPT_FLAGS)
|
||||
CFLAGS=$(COPTS) -I../../../include '-DRP_VERSION="$(RP_VERSION)"'
|
||||
all: rp-pppoe.so pppoe-discovery
|
||||
|
||||
diff --git a/pppdump/Makefile.linux b/pppdump/Makefile.linux
|
||||
index ac028f6..d0a5032 100644
|
||||
--- a/pppdump/Makefile.linux
|
||||
+++ b/pppdump/Makefile.linux
|
||||
@@ -2,7 +2,7 @@ DESTDIR = $(INSTROOT)@DESTDIR@
|
||||
BINDIR = $(DESTDIR)/sbin
|
||||
MANDIR = $(DESTDIR)/share/man/man8
|
||||
|
||||
-CFLAGS= -O -I../include/net
|
||||
+CFLAGS= $(RPM_OPT_FLAGS) -I../include/net
|
||||
OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
|
||||
|
||||
INSTALL= install
|
||||
diff --git a/pppstats/Makefile.linux b/pppstats/Makefile.linux
|
||||
index cca6f0f..42aba73 100644
|
||||
--- a/pppstats/Makefile.linux
|
||||
+++ b/pppstats/Makefile.linux
|
||||
@@ -10,7 +10,7 @@ PPPSTATSRCS = pppstats.c
|
||||
PPPSTATOBJS = pppstats.o
|
||||
|
||||
#CC = gcc
|
||||
-COPTS = -O
|
||||
+COPTS = $(RPM_OPT_FLAGS)
|
||||
COMPILE_FLAGS = -I../include
|
||||
LIBS =
|
||||
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@@ -0,0 +1,143 @@
|
||||
From 82cd789df0f022eb6f3d28646e7a61d1d0715805 Mon Sep 17 00:00:00 2001
|
||||
From: Michal Sekletar <msekleta@redhat.com>
|
||||
Date: Mon, 7 Apr 2014 12:23:36 +0200
|
||||
Subject: [PATCH 12/25] pppd: we don't want to accidentally leak fds
|
||||
|
||||
---
|
||||
pppd/auth.c | 20 ++++++++++----------
|
||||
pppd/options.c | 2 +-
|
||||
pppd/sys-linux.c | 4 ++--
|
||||
3 files changed, 13 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/pppd/auth.c b/pppd/auth.c
|
||||
index 4271af6..9e957fa 100644
|
||||
--- a/pppd/auth.c
|
||||
+++ b/pppd/auth.c
|
||||
@@ -428,7 +428,7 @@ setupapfile(argv)
|
||||
option_error("unable to reset uid before opening %s: %m", fname);
|
||||
return 0;
|
||||
}
|
||||
- ufile = fopen(fname, "r");
|
||||
+ ufile = fopen(fname, "re");
|
||||
if (seteuid(euid) == -1)
|
||||
fatal("unable to regain privileges: %m");
|
||||
if (ufile == NULL) {
|
||||
@@ -1413,7 +1413,7 @@ check_passwd(unit, auser, userlen, apasswd, passwdlen, msg)
|
||||
filename = _PATH_UPAPFILE;
|
||||
addrs = opts = NULL;
|
||||
ret = UPAP_AUTHNAK;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL) {
|
||||
error("Can't open PAP password file %s: %m", filename);
|
||||
|
||||
@@ -1512,7 +1512,7 @@ null_login(unit)
|
||||
if (ret <= 0) {
|
||||
filename = _PATH_UPAPFILE;
|
||||
addrs = NULL;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
check_access(f, filename);
|
||||
@@ -1559,7 +1559,7 @@ get_pap_passwd(passwd)
|
||||
}
|
||||
|
||||
filename = _PATH_UPAPFILE;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
check_access(f, filename);
|
||||
@@ -1597,7 +1597,7 @@ have_pap_secret(lacks_ipp)
|
||||
}
|
||||
|
||||
filename = _PATH_UPAPFILE;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
|
||||
@@ -1642,7 +1642,7 @@ have_chap_secret(client, server, need_ip, lacks_ipp)
|
||||
}
|
||||
|
||||
filename = _PATH_CHAPFILE;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
|
||||
@@ -1684,7 +1684,7 @@ have_srp_secret(client, server, need_ip, lacks_ipp)
|
||||
struct wordlist *addrs;
|
||||
|
||||
filename = _PATH_SRPFILE;
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL)
|
||||
return 0;
|
||||
|
||||
@@ -1740,7 +1740,7 @@ get_secret(unit, client, server, secret, secret_len, am_server)
|
||||
addrs = NULL;
|
||||
secbuf[0] = 0;
|
||||
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
if (f == NULL) {
|
||||
error("Can't open chap secret file %s: %m", filename);
|
||||
return 0;
|
||||
@@ -1797,7 +1797,7 @@ get_srp_secret(unit, client, server, secret, am_server)
|
||||
filename = _PATH_SRPFILE;
|
||||
addrs = NULL;
|
||||
|
||||
- fp = fopen(filename, "r");
|
||||
+ fp = fopen(filename, "re");
|
||||
if (fp == NULL) {
|
||||
error("Can't open srp secret file %s: %m", filename);
|
||||
return 0;
|
||||
@@ -2203,7 +2203,7 @@ scan_authfile(f, client, server, secret, addrs, opts, filename, flags)
|
||||
*/
|
||||
if (word[0] == '@' && word[1] == '/') {
|
||||
strlcpy(atfile, word+1, sizeof(atfile));
|
||||
- if ((sf = fopen(atfile, "r")) == NULL) {
|
||||
+ if ((sf = fopen(atfile, "re")) == NULL) {
|
||||
warn("can't open indirect secret file %s", atfile);
|
||||
continue;
|
||||
}
|
||||
diff --git a/pppd/options.c b/pppd/options.c
|
||||
index 45fa742..1d754ae 100644
|
||||
--- a/pppd/options.c
|
||||
+++ b/pppd/options.c
|
||||
@@ -427,7 +427,7 @@ options_from_file(filename, must_exist, check_prot, priv)
|
||||
option_error("unable to drop privileges to open %s: %m", filename);
|
||||
return 0;
|
||||
}
|
||||
- f = fopen(filename, "r");
|
||||
+ f = fopen(filename, "re");
|
||||
err = errno;
|
||||
if (check_prot && seteuid(euid) == -1)
|
||||
fatal("unable to regain privileges");
|
||||
diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
|
||||
index 72a7727..8a12fa0 100644
|
||||
--- a/pppd/sys-linux.c
|
||||
+++ b/pppd/sys-linux.c
|
||||
@@ -1412,7 +1412,7 @@ static char *path_to_procfs(const char *tail)
|
||||
/* Default the mount location of /proc */
|
||||
strlcpy (proc_path, "/proc", sizeof(proc_path));
|
||||
proc_path_len = 5;
|
||||
- fp = fopen(MOUNTED, "r");
|
||||
+ fp = fopen(MOUNTED, "re");
|
||||
if (fp != NULL) {
|
||||
while ((mntent = getmntent(fp)) != NULL) {
|
||||
if (strcmp(mntent->mnt_type, MNTTYPE_IGNORE) == 0)
|
||||
@@ -1472,7 +1472,7 @@ static int open_route_table (void)
|
||||
close_route_table();
|
||||
|
||||
path = path_to_procfs("/net/route");
|
||||
- route_fd = fopen (path, "r");
|
||||
+ route_fd = fopen (path, "re");
|
||||
if (route_fd == NULL) {
|
||||
error("can't open routing table %s: %m", path);
|
||||
return 0;
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
241
src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch
Normal file
241
src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch
Normal file
@@ -0,0 +1,241 @@
|
||||
From 302c1b736cb656c7885a0cba270fd953a672d8a8 Mon Sep 17 00:00:00 2001
|
||||
From: Michal Sekletar <msekleta@redhat.com>
|
||||
Date: Mon, 7 Apr 2014 13:56:34 +0200
|
||||
Subject: [PATCH 13/25] everywhere: O_CLOEXEC harder
|
||||
|
||||
---
|
||||
pppd/eap.c | 2 +-
|
||||
pppd/main.c | 4 ++--
|
||||
pppd/options.c | 4 ++--
|
||||
pppd/sys-linux.c | 22 +++++++++++-----------
|
||||
pppd/tdb.c | 4 ++--
|
||||
pppd/tty.c | 4 ++--
|
||||
pppd/utils.c | 6 +++---
|
||||
7 files changed, 23 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/pppd/eap.c b/pppd/eap.c
|
||||
index 6ea6c1f..faced53 100644
|
||||
--- a/pppd/eap.c
|
||||
+++ b/pppd/eap.c
|
||||
@@ -1226,7 +1226,7 @@ mode_t modebits;
|
||||
|
||||
if ((path = name_of_pn_file()) == NULL)
|
||||
return (-1);
|
||||
- fd = open(path, modebits, S_IRUSR | S_IWUSR);
|
||||
+ fd = open(path, modebits, S_IRUSR | S_IWUSR | O_CLOEXEC);
|
||||
err = errno;
|
||||
free(path);
|
||||
errno = err;
|
||||
diff --git a/pppd/main.c b/pppd/main.c
|
||||
index 6d50d1b..4880377 100644
|
||||
--- a/pppd/main.c
|
||||
+++ b/pppd/main.c
|
||||
@@ -420,7 +420,7 @@ main(argc, argv)
|
||||
die(0);
|
||||
|
||||
/* Make sure fds 0, 1, 2 are open to somewhere. */
|
||||
- fd_devnull = open(_PATH_DEVNULL, O_RDWR);
|
||||
+ fd_devnull = open(_PATH_DEVNULL, O_RDWR | O_CLOEXEC);
|
||||
if (fd_devnull < 0)
|
||||
fatal("Couldn't open %s: %m", _PATH_DEVNULL);
|
||||
while (fd_devnull <= 2) {
|
||||
@@ -1679,7 +1679,7 @@ device_script(program, in, out, dont_wait)
|
||||
if (log_to_fd >= 0)
|
||||
errfd = log_to_fd;
|
||||
else
|
||||
- errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
|
||||
+ errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC, 0600);
|
||||
|
||||
++conn_running;
|
||||
pid = safe_fork(in, out, errfd);
|
||||
diff --git a/pppd/options.c b/pppd/options.c
|
||||
index 1d754ae..8e62635 100644
|
||||
--- a/pppd/options.c
|
||||
+++ b/pppd/options.c
|
||||
@@ -1544,9 +1544,9 @@ setlogfile(argv)
|
||||
option_error("unable to drop permissions to open %s: %m", *argv);
|
||||
return 0;
|
||||
}
|
||||
- fd = open(*argv, O_WRONLY | O_APPEND | O_CREAT | O_EXCL, 0644);
|
||||
+ fd = open(*argv, O_WRONLY | O_APPEND | O_CREAT | O_EXCL | O_CLOEXEC, 0644);
|
||||
if (fd < 0 && errno == EEXIST)
|
||||
- fd = open(*argv, O_WRONLY | O_APPEND);
|
||||
+ fd = open(*argv, O_WRONLY | O_APPEND | O_CLOEXEC);
|
||||
err = errno;
|
||||
if (!privileged_option && seteuid(euid) == -1)
|
||||
fatal("unable to regain privileges: %m");
|
||||
diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
|
||||
index 8a12fa0..00a2cf5 100644
|
||||
--- a/pppd/sys-linux.c
|
||||
+++ b/pppd/sys-linux.c
|
||||
@@ -459,7 +459,7 @@ int generic_establish_ppp (int fd)
|
||||
goto err;
|
||||
}
|
||||
dbglog("using channel %d", chindex);
|
||||
- fd = open("/dev/ppp", O_RDWR);
|
||||
+ fd = open("/dev/ppp", O_RDWR | O_CLOEXEC);
|
||||
if (fd < 0) {
|
||||
error("Couldn't reopen /dev/ppp: %m");
|
||||
goto err;
|
||||
@@ -619,7 +619,7 @@ static int make_ppp_unit()
|
||||
dbglog("in make_ppp_unit, already had /dev/ppp open?");
|
||||
close(ppp_dev_fd);
|
||||
}
|
||||
- ppp_dev_fd = open("/dev/ppp", O_RDWR);
|
||||
+ ppp_dev_fd = open("/dev/ppp", O_RDWR | O_CLOEXEC);
|
||||
if (ppp_dev_fd < 0)
|
||||
fatal("Couldn't open /dev/ppp: %m");
|
||||
flags = fcntl(ppp_dev_fd, F_GETFL);
|
||||
@@ -693,7 +693,7 @@ int bundle_attach(int ifnum)
|
||||
if (!new_style_driver)
|
||||
return -1;
|
||||
|
||||
- master_fd = open("/dev/ppp", O_RDWR);
|
||||
+ master_fd = open("/dev/ppp", O_RDWR | O_CLOEXEC);
|
||||
if (master_fd < 0)
|
||||
fatal("Couldn't open /dev/ppp: %m");
|
||||
if (ioctl(master_fd, PPPIOCATTACH, &ifnum) < 0) {
|
||||
@@ -1715,7 +1715,7 @@ int sifproxyarp (int unit, u_int32_t his_adr)
|
||||
if (tune_kernel) {
|
||||
forw_path = path_to_procfs("/sys/net/ipv4/ip_forward");
|
||||
if (forw_path != 0) {
|
||||
- int fd = open(forw_path, O_WRONLY);
|
||||
+ int fd = open(forw_path, O_WRONLY | O_CLOEXEC);
|
||||
if (fd >= 0) {
|
||||
if (write(fd, "1", 1) != 1)
|
||||
error("Couldn't enable IP forwarding: %m");
|
||||
@@ -2030,7 +2030,7 @@ int ppp_available(void)
|
||||
sscanf(utsname.release, "%d.%d.%d", &osmaj, &osmin, &ospatch);
|
||||
kernel_version = KVERSION(osmaj, osmin, ospatch);
|
||||
|
||||
- fd = open("/dev/ppp", O_RDWR);
|
||||
+ fd = open("/dev/ppp", O_RDWR | O_CLOEXEC);
|
||||
if (fd >= 0) {
|
||||
new_style_driver = 1;
|
||||
|
||||
@@ -2208,7 +2208,7 @@ void logwtmp (const char *line, const char *name, const char *host)
|
||||
#if __GLIBC__ >= 2
|
||||
updwtmp(_PATH_WTMP, &ut);
|
||||
#else
|
||||
- wtmp = open(_PATH_WTMP, O_APPEND|O_WRONLY);
|
||||
+ wtmp = open(_PATH_WTMP, O_APPEND|O_WRONLY|O_CLOEXEC);
|
||||
if (wtmp >= 0) {
|
||||
flock(wtmp, LOCK_EX);
|
||||
|
||||
@@ -2394,7 +2394,7 @@ int sifaddr (int unit, u_int32_t our_adr, u_int32_t his_adr,
|
||||
int fd;
|
||||
|
||||
path = path_to_procfs("/sys/net/ipv4/ip_dynaddr");
|
||||
- if (path != 0 && (fd = open(path, O_WRONLY)) >= 0) {
|
||||
+ if (path != 0 && (fd = open(path, O_WRONLY | O_CLOEXEC)) >= 0) {
|
||||
if (write(fd, "1", 1) != 1)
|
||||
error("Couldn't enable dynamic IP addressing: %m");
|
||||
close(fd);
|
||||
@@ -2570,7 +2570,7 @@ get_pty(master_fdp, slave_fdp, slave_name, uid)
|
||||
/*
|
||||
* Try the unix98 way first.
|
||||
*/
|
||||
- mfd = open("/dev/ptmx", O_RDWR);
|
||||
+ mfd = open("/dev/ptmx", O_RDWR | O_CLOEXEC);
|
||||
if (mfd >= 0) {
|
||||
int ptn;
|
||||
if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) {
|
||||
@@ -2581,7 +2581,7 @@ get_pty(master_fdp, slave_fdp, slave_name, uid)
|
||||
if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0)
|
||||
warn("Couldn't unlock pty slave %s: %m", pty_name);
|
||||
#endif
|
||||
- if ((sfd = open(pty_name, O_RDWR | O_NOCTTY)) < 0)
|
||||
+ if ((sfd = open(pty_name, O_RDWR | O_NOCTTY | O_CLOEXEC)) < 0)
|
||||
warn("Couldn't open pty slave %s: %m", pty_name);
|
||||
}
|
||||
}
|
||||
@@ -2592,10 +2592,10 @@ get_pty(master_fdp, slave_fdp, slave_name, uid)
|
||||
for (i = 0; i < 64; ++i) {
|
||||
slprintf(pty_name, sizeof(pty_name), "/dev/pty%c%x",
|
||||
'p' + i / 16, i % 16);
|
||||
- mfd = open(pty_name, O_RDWR, 0);
|
||||
+ mfd = open(pty_name, O_RDWR | O_CLOEXEC, 0);
|
||||
if (mfd >= 0) {
|
||||
pty_name[5] = 't';
|
||||
- sfd = open(pty_name, O_RDWR | O_NOCTTY, 0);
|
||||
+ sfd = open(pty_name, O_RDWR | O_NOCTTY | O_CLOEXEC, 0);
|
||||
if (sfd >= 0) {
|
||||
fchown(sfd, uid, -1);
|
||||
fchmod(sfd, S_IRUSR | S_IWUSR);
|
||||
diff --git a/pppd/tdb.c b/pppd/tdb.c
|
||||
index bdc5828..c7ab71c 100644
|
||||
--- a/pppd/tdb.c
|
||||
+++ b/pppd/tdb.c
|
||||
@@ -1724,7 +1724,7 @@ TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
|
||||
goto internal;
|
||||
}
|
||||
|
||||
- if ((tdb->fd = open(name, open_flags, mode)) == -1) {
|
||||
+ if ((tdb->fd = open(name, open_flags | O_CLOEXEC, mode)) == -1) {
|
||||
TDB_LOG((tdb, 5, "tdb_open_ex: could not open file %s: %s\n",
|
||||
name, strerror(errno)));
|
||||
goto fail; /* errno set by open(2) */
|
||||
@@ -1967,7 +1967,7 @@ int tdb_reopen(TDB_CONTEXT *tdb)
|
||||
}
|
||||
if (close(tdb->fd) != 0)
|
||||
TDB_LOG((tdb, 0, "tdb_reopen: WARNING closing tdb->fd failed!\n"));
|
||||
- tdb->fd = open(tdb->name, tdb->open_flags & ~(O_CREAT|O_TRUNC), 0);
|
||||
+ tdb->fd = open(tdb->name, (tdb->open_flags & ~(O_CREAT|O_TRUNC)) | O_CLOEXEC, 0);
|
||||
if (tdb->fd == -1) {
|
||||
TDB_LOG((tdb, 0, "tdb_reopen: open failed (%s)\n", strerror(errno)));
|
||||
goto fail;
|
||||
diff --git a/pppd/tty.c b/pppd/tty.c
|
||||
index d571b11..bc96695 100644
|
||||
--- a/pppd/tty.c
|
||||
+++ b/pppd/tty.c
|
||||
@@ -569,7 +569,7 @@ int connect_tty()
|
||||
status = EXIT_OPEN_FAILED;
|
||||
goto errret;
|
||||
}
|
||||
- real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR, 0);
|
||||
+ real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR | O_CLOEXEC, 0);
|
||||
err = errno;
|
||||
if (prio < OPRIO_ROOT && seteuid(0) == -1)
|
||||
fatal("Unable to regain privileges");
|
||||
@@ -723,7 +723,7 @@ int connect_tty()
|
||||
if (connector == NULL && modem && devnam[0] != 0) {
|
||||
int i;
|
||||
for (;;) {
|
||||
- if ((i = open(devnam, O_RDWR)) >= 0)
|
||||
+ if ((i = open(devnam, O_RDWR | O_CLOEXEC)) >= 0)
|
||||
break;
|
||||
if (errno != EINTR) {
|
||||
error("Failed to reopen %s: %m", devnam);
|
||||
diff --git a/pppd/utils.c b/pppd/utils.c
|
||||
index 29bf970..6051b9a 100644
|
||||
--- a/pppd/utils.c
|
||||
+++ b/pppd/utils.c
|
||||
@@ -918,14 +918,14 @@ lock(dev)
|
||||
slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev);
|
||||
#endif
|
||||
|
||||
- while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) {
|
||||
+ while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR | O_CLOEXEC, 0644)) < 0) {
|
||||
if (errno != EEXIST) {
|
||||
error("Can't create lock file %s: %m", lock_file);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Read the lock file to find out who has the device locked. */
|
||||
- fd = open(lock_file, O_RDONLY, 0);
|
||||
+ fd = open(lock_file, O_RDONLY | O_CLOEXEC, 0);
|
||||
if (fd < 0) {
|
||||
if (errno == ENOENT) /* This is just a timing problem. */
|
||||
continue;
|
||||
@@ -1004,7 +1004,7 @@ relock(pid)
|
||||
|
||||
if (lock_file[0] == 0)
|
||||
return -1;
|
||||
- fd = open(lock_file, O_WRONLY, 0);
|
||||
+ fd = open(lock_file, O_WRONLY | O_CLOEXEC, 0);
|
||||
if (fd < 0) {
|
||||
error("Couldn't reopen lock file %s: %m", lock_file);
|
||||
lock_file[0] = 0;
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@@ -0,0 +1,174 @@
|
||||
From 2a97ab28ee00586e5f06b3ef3a0e43ea0c7c6499 Mon Sep 17 00:00:00 2001
|
||||
From: Michal Sekletar <msekleta@redhat.com>
|
||||
Date: Mon, 7 Apr 2014 14:21:41 +0200
|
||||
Subject: [PATCH 14/25] everywhere: use SOCK_CLOEXEC when creating socket
|
||||
|
||||
---
|
||||
pppd/plugins/pppoatm/pppoatm.c | 2 +-
|
||||
pppd/plugins/pppol2tp/openl2tp.c | 2 +-
|
||||
pppd/plugins/pppol2tp/pppol2tp.c | 2 +-
|
||||
pppd/plugins/rp-pppoe/if.c | 2 +-
|
||||
pppd/plugins/rp-pppoe/plugin.c | 6 +++---
|
||||
pppd/plugins/rp-pppoe/pppoe-discovery.c | 2 +-
|
||||
pppd/sys-linux.c | 10 +++++-----
|
||||
pppd/tty.c | 2 +-
|
||||
8 files changed, 14 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/pppd/plugins/pppoatm/pppoatm.c b/pppd/plugins/pppoatm/pppoatm.c
|
||||
index d693350..c31bb34 100644
|
||||
--- a/pppd/plugins/pppoatm/pppoatm.c
|
||||
+++ b/pppd/plugins/pppoatm/pppoatm.c
|
||||
@@ -135,7 +135,7 @@ static int connect_pppoatm(void)
|
||||
|
||||
if (!device_got_set)
|
||||
no_device_given_pppoatm();
|
||||
- fd = socket(AF_ATMPVC, SOCK_DGRAM, 0);
|
||||
+ fd = socket(AF_ATMPVC, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (fd < 0)
|
||||
fatal("failed to create socket: %m");
|
||||
memset(&qos, 0, sizeof qos);
|
||||
diff --git a/pppd/plugins/pppol2tp/openl2tp.c b/pppd/plugins/pppol2tp/openl2tp.c
|
||||
index 9643b96..1099575 100644
|
||||
--- a/pppd/plugins/pppol2tp/openl2tp.c
|
||||
+++ b/pppd/plugins/pppol2tp/openl2tp.c
|
||||
@@ -83,7 +83,7 @@ static int openl2tp_client_create(void)
|
||||
int result;
|
||||
|
||||
if (openl2tp_fd < 0) {
|
||||
- openl2tp_fd = socket(PF_UNIX, SOCK_DGRAM, 0);
|
||||
+ openl2tp_fd = socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (openl2tp_fd < 0) {
|
||||
error("openl2tp connection create: %m");
|
||||
return -ENOTCONN;
|
||||
diff --git a/pppd/plugins/pppol2tp/pppol2tp.c b/pppd/plugins/pppol2tp/pppol2tp.c
|
||||
index a7e3400..e64a778 100644
|
||||
--- a/pppd/plugins/pppol2tp/pppol2tp.c
|
||||
+++ b/pppd/plugins/pppol2tp/pppol2tp.c
|
||||
@@ -208,7 +208,7 @@ static void send_config_pppol2tp(int mtu,
|
||||
struct ifreq ifr;
|
||||
int fd;
|
||||
|
||||
- fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
+ fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (fd >= 0) {
|
||||
memset (&ifr, '\0', sizeof (ifr));
|
||||
strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
|
||||
diff --git a/pppd/plugins/rp-pppoe/if.c b/pppd/plugins/rp-pppoe/if.c
|
||||
index 91e9a57..72aba41 100644
|
||||
--- a/pppd/plugins/rp-pppoe/if.c
|
||||
+++ b/pppd/plugins/rp-pppoe/if.c
|
||||
@@ -116,7 +116,7 @@ openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
|
||||
stype = SOCK_PACKET;
|
||||
#endif
|
||||
|
||||
- if ((fd = socket(domain, stype, htons(type))) < 0) {
|
||||
+ if ((fd = socket(domain, stype | SOCK_CLOEXEC, htons(type))) < 0) {
|
||||
/* Give a more helpful message for the common error case */
|
||||
if (errno == EPERM) {
|
||||
fatal("Cannot create raw socket -- pppoe must be run as root.");
|
||||
diff --git a/pppd/plugins/rp-pppoe/plugin.c b/pppd/plugins/rp-pppoe/plugin.c
|
||||
index a8c2bb4..24bdf8f 100644
|
||||
--- a/pppd/plugins/rp-pppoe/plugin.c
|
||||
+++ b/pppd/plugins/rp-pppoe/plugin.c
|
||||
@@ -137,7 +137,7 @@ PPPOEConnectDevice(void)
|
||||
/* server equipment). */
|
||||
/* Opening this socket just before waitForPADS in the discovery() */
|
||||
/* function would be more appropriate, but it would mess-up the code */
|
||||
- conn->sessionSocket = socket(AF_PPPOX, SOCK_STREAM, PX_PROTO_OE);
|
||||
+ conn->sessionSocket = socket(AF_PPPOX, SOCK_STREAM | SOCK_CLOEXEC, PX_PROTO_OE);
|
||||
if (conn->sessionSocket < 0) {
|
||||
error("Failed to create PPPoE socket: %m");
|
||||
return -1;
|
||||
@@ -148,7 +148,7 @@ PPPOEConnectDevice(void)
|
||||
lcp_wantoptions[0].mru = conn->mru;
|
||||
|
||||
/* Update maximum MRU */
|
||||
- s = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
+ s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (s < 0) {
|
||||
error("Can't get MTU for %s: %m", conn->ifName);
|
||||
goto errout;
|
||||
@@ -320,7 +320,7 @@ PPPoEDevnameHook(char *cmd, char **argv, int doit)
|
||||
}
|
||||
|
||||
/* Open a socket */
|
||||
- if ((fd = socket(PF_PACKET, SOCK_RAW, 0)) < 0) {
|
||||
+ if ((fd = socket(PF_PACKET, SOCK_RAW | SOCK_CLOEXEC, 0)) < 0) {
|
||||
r = 0;
|
||||
}
|
||||
|
||||
diff --git a/pppd/plugins/rp-pppoe/pppoe-discovery.c b/pppd/plugins/rp-pppoe/pppoe-discovery.c
|
||||
index 3d3bf4e..c0d927d 100644
|
||||
--- a/pppd/plugins/rp-pppoe/pppoe-discovery.c
|
||||
+++ b/pppd/plugins/rp-pppoe/pppoe-discovery.c
|
||||
@@ -121,7 +121,7 @@ openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr)
|
||||
stype = SOCK_PACKET;
|
||||
#endif
|
||||
|
||||
- if ((fd = socket(domain, stype, htons(type))) < 0) {
|
||||
+ if ((fd = socket(domain, stype | SOCK_CLOEXEC, htons(type))) < 0) {
|
||||
/* Give a more helpful message for the common error case */
|
||||
if (errno == EPERM) {
|
||||
rp_fatal("Cannot create raw socket -- pppoe must be run as root.");
|
||||
diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
|
||||
index 00a2cf5..0690019 100644
|
||||
--- a/pppd/sys-linux.c
|
||||
+++ b/pppd/sys-linux.c
|
||||
@@ -308,12 +308,12 @@ static int modify_flags(int fd, int clear_bits, int set_bits)
|
||||
void sys_init(void)
|
||||
{
|
||||
/* Get an internet socket for doing socket ioctls. */
|
||||
- sock_fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
+ sock_fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (sock_fd < 0)
|
||||
fatal("Couldn't create IP socket: %m(%d)", errno);
|
||||
|
||||
#ifdef INET6
|
||||
- sock6_fd = socket(AF_INET6, SOCK_DGRAM, 0);
|
||||
+ sock6_fd = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (sock6_fd < 0)
|
||||
sock6_fd = -errno; /* save errno for later */
|
||||
#endif
|
||||
@@ -1857,7 +1857,7 @@ get_if_hwaddr(u_char *addr, char *name)
|
||||
struct ifreq ifreq;
|
||||
int ret, sock_fd;
|
||||
|
||||
- sock_fd = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
+ sock_fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (sock_fd < 0)
|
||||
return 0;
|
||||
memset(&ifreq.ifr_hwaddr, 0, sizeof(struct sockaddr));
|
||||
@@ -2067,7 +2067,7 @@ int ppp_available(void)
|
||||
/*
|
||||
* Open a socket for doing the ioctl operations.
|
||||
*/
|
||||
- s = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
+ s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if (s < 0)
|
||||
return 0;
|
||||
|
||||
@@ -2860,7 +2860,7 @@ ether_to_eui64(eui64_t *p_eui64)
|
||||
int skfd;
|
||||
const unsigned char *ptr;
|
||||
|
||||
- skfd = socket(PF_INET6, SOCK_DGRAM, 0);
|
||||
+ skfd = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
|
||||
if(skfd == -1)
|
||||
{
|
||||
warn("could not open IPv6 socket");
|
||||
diff --git a/pppd/tty.c b/pppd/tty.c
|
||||
index bc96695..8e76a5d 100644
|
||||
--- a/pppd/tty.c
|
||||
+++ b/pppd/tty.c
|
||||
@@ -896,7 +896,7 @@ open_socket(dest)
|
||||
*sep = ':';
|
||||
|
||||
/* get a socket and connect it to the other end */
|
||||
- sock = socket(PF_INET, SOCK_STREAM, 0);
|
||||
+ sock = socket(PF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0);
|
||||
if (sock < 0) {
|
||||
error("Can't create socket: %m");
|
||||
return -1;
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
13
src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
Normal file
13
src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/pppd/plugins/rp-pppoe/pppoe.h b/pppd/plugins/rp-pppoe/pppoe.h
|
||||
index 9ab2eee..86762bd 100644
|
||||
--- a/pppd/plugins/rp-pppoe/pppoe.h
|
||||
+++ b/pppd/plugins/rp-pppoe/pppoe.h
|
||||
@@ -148,7 +148,7 @@ extern UINT16_t Eth_PPPOE_Session;
|
||||
#define STATE_TERMINATED 4
|
||||
|
||||
/* How many PADI/PADS attempts? */
|
||||
-#define MAX_PADI_ATTEMPTS 3
|
||||
+#define MAX_PADI_ATTEMPTS 12
|
||||
|
||||
/* Initial timeout for PADO/PADS */
|
||||
#define PADI_TIMEOUT 5
|
||||
@@ -60,6 +60,7 @@ echo "Running mkisofs"
|
||||
mkisofs -J -r -V "ipfire backup ${TS}" \
|
||||
-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
|
||||
-c boot/isolinux/boot.catalog backupiso.${TS} > $(basename ${ISO} .iso)-${TS}.iso
|
||||
isohybrid $(basename ${ISO} .iso)-${TS}.iso
|
||||
|
||||
echo "Cleaning up"
|
||||
rm -rf backupiso.${TS}
|
||||
|
||||
@@ -51,7 +51,7 @@ if ($ip eq "unavailable") {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
&General::log("Dynamic DNS public router IP is: $ip");
|
||||
#&General::log("Dynamic DNS public router IP is: $ip");
|
||||
|
||||
if ($ARGV[0] eq '-f') {
|
||||
unlink ($cachefile); # next regular calls will try again if this force update fails.
|
||||
@@ -400,6 +400,41 @@ if ($ip ne $ipcache) {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTNAME'}.$settings{'DOMAIN'} : failure (could not connect to server)");
|
||||
}
|
||||
}
|
||||
elsif ($settings{'SERVICE'} eq 'spdns.de') {
|
||||
# use proxy ?
|
||||
my %proxysettings;
|
||||
&General::readhash("${General::swroot}/proxy/settings", \%proxysettings);
|
||||
if ($_=$proxysettings{'UPSTREAM_PROXY'}) {
|
||||
my ($peer, $peerport) = (/^(?:[a-zA-Z ]+\:\/\/)?(?:[A-Za-z0-9\_\.\-]*?(?:\:[A-Za-z0-9\_\.\-]*?)?\@)?([a-zA-Z0-9\.\_\-]*?)(?:\:([0-9]{1,5}))?(?:\/.*?)?$/);
|
||||
Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
|
||||
}
|
||||
|
||||
if ($settings{'HOSTNAME'} eq '') {
|
||||
$settings{'HOSTDOMAIN'} = $settings{'DOMAIN'};
|
||||
} else {
|
||||
$settings{'HOSTDOMAIN'} = "$settings{'HOSTNAME'}.$settings{'DOMAIN'}";
|
||||
}
|
||||
|
||||
my ($out, $response) = Net::SSLeay::get_https( 'update.spdns.de', 443,
|
||||
"/nic/update?&hostname=$settings{'HOSTDOMAIN'}&myip=$ip",
|
||||
Net::SSLeay::make_headers('User-Agent' => 'IPFire' ,
|
||||
'Authorization' => 'Basic ' . encode_base64("$settings{'LOGIN'}:$settings{'PASSWORD'}"))
|
||||
);
|
||||
|
||||
#Valid responses from service are:
|
||||
# good xxx.xxx.xxx.xxx
|
||||
# nochg xxx.xxx.xxx.xxx
|
||||
if ($response =~ m%HTTP/1\.. 200 OK%) {
|
||||
if ($out !~ m/good |nochg /ig) {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure ($out)");
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : success");
|
||||
$success++;
|
||||
}
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure (could not connect to server)");
|
||||
}
|
||||
}
|
||||
elsif ($settings{'SERVICE'} eq 'strato') {
|
||||
# use proxy ?
|
||||
my %proxysettings;
|
||||
@@ -650,6 +685,73 @@ if ($ip ne $ipcache) {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure (could not connect to server, check your credentials---$out-$response--)");
|
||||
}
|
||||
}
|
||||
elsif ($settings{'SERVICE'} eq 'twodns.de') {
|
||||
# use proxy ?
|
||||
my %proxysettings;
|
||||
&General::readhash("${General::swroot}/proxy/settings", \%proxysettings);
|
||||
if ($_=$proxysettings{'UPSTREAM_PROXY'}) {
|
||||
my ($peer, $peerport) = (/^(?:[a-zA-Z ]+\:\/\/)?(?:[A-Za-z0-9\_\.\-]*?(?:\:[A-Za-z0-9\_\.\-]*?)?\@)?([a-zA-Z0-9\.\_\-]*?)(?:\:([0-9]{1,5}))?(?:\/.*?)?$/);
|
||||
Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
|
||||
}
|
||||
|
||||
if ($settings{'HOSTNAME'} eq '') {
|
||||
$settings{'HOSTDOMAIN'} = $settings{'DOMAIN'};
|
||||
} else {
|
||||
$settings{'HOSTDOMAIN'} = "$settings{'HOSTNAME'}.$settings{'DOMAIN'}";
|
||||
}
|
||||
|
||||
my ($out, $response) = Net::SSLeay::get_https( 'update.twodns.de',
|
||||
443,
|
||||
"/update?hostname=$settings{'HOSTDOMAIN'}&ip=$ip",
|
||||
Net::SSLeay::make_headers('User-Agent' => 'IPFire',
|
||||
'Authorization' => 'Basic ' . encode_base64("$settings{'LOGIN'}:$settings{'PASSWORD'}")) );
|
||||
|
||||
# Valid response are 'ok' 'nochange'
|
||||
if ($response =~ m%HTTP/1\.. 200 OK%) {
|
||||
if ( $out !~ m/^(good|nochg)/ ) {
|
||||
$out =~ s/\n/ /g;
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure ($out)");
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : success");
|
||||
$success++;
|
||||
}
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure (could not connect to server, check your credentials---$out-$response--)");
|
||||
}
|
||||
}
|
||||
elsif ($settings{'SERVICE'} eq 'variomedia') {
|
||||
# use proxy ?
|
||||
my %proxysettings;
|
||||
&General::readhash("${General::swroot}/proxy/settings", \%proxysettings);
|
||||
if ($_=$proxysettings{'UPSTREAM_PROXY'}) {
|
||||
my ($peer, $peerport) = (/^(?:[a-zA-Z ]+\:\/\/)?(?:[A-Za-z0-9\_\.\-]*?(?:\:[A-Za-z0-9\_\.\-]*?)?\@)?([a-zA-Z0-9\.\_\-]*?)(?:\:([0-9]{1,5}))?(?:\/.*?)?$/);
|
||||
Net::SSLeay::set_proxy($peer,$peerport,$proxysettings{'UPSTREAM_USER'},$proxysettings{'UPSTREAM_PASSWORD'} );
|
||||
}
|
||||
|
||||
if ($settings{'HOSTNAME'} eq '') {
|
||||
$settings{'HOSTDOMAIN'} = $settings{'DOMAIN'};
|
||||
} else {
|
||||
$settings{'HOSTDOMAIN'} = "$settings{'HOSTNAME'}.$settings{'DOMAIN'}";
|
||||
}
|
||||
|
||||
my ($out, $response) = Net::SSLeay::get_https( 'dyndns.variomedia.de',
|
||||
443,
|
||||
"/nic/update?hostname=$settings{'HOSTDOMAIN'}&myip=$ip",
|
||||
Net::SSLeay::make_headers('User-Agent' => 'IPFire',
|
||||
'Authorization' => 'Basic ' . encode_base64("$settings{'LOGIN'}:$settings{'PASSWORD'}")) );
|
||||
|
||||
# Valid response is 'good $ip'
|
||||
if ($response =~ m%HTTP/1\.. 200 OK%) {
|
||||
if ( $out !~ m/^good $ip/ ) {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} ($ip) : failure ($out)");
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} ($ip) : success");
|
||||
$success++;
|
||||
}
|
||||
} else {
|
||||
&General::log("Dynamic DNS ip-update for $settings{'HOSTDOMAIN'} : failure (could not connect to server, check your credentials---$out-$response--)");
|
||||
}
|
||||
}
|
||||
else {
|
||||
if ($settings{'WILDCARDS'} eq 'on') {
|
||||
$settings{'WILDCARDS'} = '-w';
|
||||
|
||||
Reference in New Issue
Block a user