]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Merge branch 'next-geoip' into core-90-geoip
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 15 Apr 2015 15:10:49 +0000 (17:10 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 15 Apr 2015 15:10:49 +0000 (17:10 +0200)
1  2 
config/rootfiles/common/stage2
langs/de/cgi-bin/de.pl
langs/en/cgi-bin/en.pl
lfs/stage2
make.sh

index f506dafac8e07f22f2c758249255c46808bcdeb9,8ac30735a3d955b4b9cf87c8d5695dfd2c5a61ab..90e28d9c4c26cc7f404ae5766b4088de30215198
@@@ -101,6 -101,8 +101,8 @@@ usr/local/bin/timechec
  usr/local/bin/timezone-transition
  usr/local/bin/update-bootloader
  usr/local/bin/update-lang-cache
+ usr/local/bin/xt_geoip_build
+ usr/local/bin/xt_geoip_update
  #usr/local/include
  #usr/local/lib
  #usr/local/lib/sse2
  #usr/local/share/man/man8
  #usr/local/share/misc
  #usr/local/share/terminfo
+ #usr/local/share/xt_geoip
  #usr/local/share/zoneinfo
  #usr/local/src
  #usr/sbin
  usr/sbin/ovpn-ccd-convert
 +usr/sbin/ovpn-collectd-convert
  #usr/share
  #usr/share/doc
  #usr/share/doc/licenses
@@@ -142,6 -144,7 +145,7 @@@ usr/share/doc/licenses/GPLv
  #usr/share/man/man8
  #usr/share/misc
  #usr/share/terminfo
+ #usr/share/xt_geoip
  #usr/share/zoneinfo
  #var
  #var/cache
diff --combined langs/de/cgi-bin/de.pl
index fe4a2008425e475f63d7c879fa4d8c387de0b780,88533691d83a93aac83af554255a6e05db0d71ad..bb23f2fc15ef00f8f3871896e59e7e6df1dced2a
  'bit' => 'Bit',
  'bitrate' => 'Bitrate',
  'bleeding rules' => 'Bleeding Edge Snort Rules',
+ 'block' => 'Blocken',
  'blue' => 'BLAU',
  'blue access' => 'Zugriff auf Blau',
  'blue access use hint' => 'Sie müssen mindestens die MAC- oder die IP-Adresse für ein Gerät angeben. Optional können Sie sowohl MAC- als auch IP-Adresse angeben.',
  'chain' => 'Verknüpfung',
  'change passwords' => 'Passwörter&nbsp;ändern',
  'change share' => 'Freigabeeinstellungen ändern',
+ 'check all' =>'Alle auswählen',
  'check for net traffic update' => 'Prüfe auf Net-Traffic-Updates',
  'check vpn lr' => 'Überprüfen',
  'choose config' => 'Konfiguration auswählen',
  'fwhost OpenVPN static host' => 'OpenVPN statischer Host',
  'fwhost OpenVPN static network' => 'OpenVPN statisches Netzwerk',
  'fwhost Standard Network' => 'Standard-Netzwerk',
+ 'fwhost addgeoipgrp' => 'Neue GeoIP-Gruppe hinzufügen',
  'fwhost addgrp' => 'Neue Gruppe hinzufügen',
  'fwhost addgrpname' => 'Gruppenname:',
  'fwhost addhost' => 'Neuen Host hinzufügen',
  'fwhost change' => 'Ändern',
  'fwhost changeremark' => 'Es wurde nur die Bemerkung angepasst.',
  'fwhost cust addr' => 'Hosts',
+ 'fwhost cust geoip' => 'GeoIP-Gruppen',
+ 'fwhost cust geoipgroup' => 'GeoIP-Gruppen',
+ 'fwhost cust geoiplocation' => 'GeoIP Ländercodes',
  'fwhost cust grp' => 'Gruppen',
  'fwhost cust net' => 'Netzwerke',
  'fwhost cust service' => 'Dienste',
  'fwhost ipsec net' => 'IPsec-Netzwerke:',
  'fwhost menu' => 'Firewallgruppen',
  'fwhost netaddress' => 'Netzwerkadresse',
+ 'fwhost newgeoipgrp' => 'GeoIP-Gruppen',
  'fwhost newgrp' => 'Netzwerk-/Hostgruppen',
  'fwhost newhost' => 'Hosts',
  'fwhost newnet' => 'Netzwerke',
  'generating the root and host certificates may take a long time. it can take up to several minutes on older hardware. please be patient' => 'Die Erzeugung der Root- und Host-Zertifikate kann lange Zeit dauern.  Auf älterer Hardware kann es mehrere Minuten lang dauern. Bitte haben Sie etwas Geduld.',
  'genkey' => 'PSK erzeugen',
  'genre' => 'Genre',
+ 'geoip' => 'GeoIP',
+ 'geoipblock' => 'GeoIP Block',
+ 'geoipblock block countries' => 'Länderfilter',
+ 'geoipblock configuration' => 'GeoIP Konfiguration',
+ 'geoipblock country code' => 'Ländercode',
+ 'geoipblock country is allowed' => 'Eingehende Verbindungen aus diesem Land sind erlaubt.',
+ 'geoipblock country is blocked' => 'Eingehende Verbindungen aus diesem Land werden blockiert.',
+ 'geoipblock country name' => 'Ländername',
+ 'geoipblock enable feature' => 'GeoIP basierte Filterung aktivieren:',
+ 'geoipblock flag' => 'Flagge',
  'global settings' => 'Globale Einstellungen',
  'gpl i accept these terms and conditions' => 'Ich akzeptiere diese Bedingungen und Konditionen',
  'gpl license agreement' => 'Lizenz-Vereinbarung',
  'type' => 'Typ',
  'umount' => 'Abmelden',
  'umount removable media before to unplug' => 'Wechselmedien vor dem Entfernen unbedingt abmelden',
+ 'uncheck all' => 'Alle abwählen',
  'unable to alter profiles while red is active' => 'Profile können nicht geändert werden, solange ROT aktiv ist.',
  'unable to contact' => 'Kann nicht erreicht werden',
+ 'unblock' => 'Entblocken',
+ 'unblock all' => 'Alle entblocken',
  'unencrypted' => 'Nicht verschlüsselt',
  'uninstall' => 'Deinstallieren',
  'unix charset' => 'UNIX-Charset',
  'vpn payload compression' => 'Datennutzlast-Kompression aushandeln',
  'vpn red name' => 'Öffentliche IP oder FQDN für das rote Interface oder <%defaultroute>',
  'vpn remote id' => 'Remote ID',
 +'vpn statistic n2n' => 'OpenVPN-Netz-zu-Netz-Statistik',
 +'vpn statistic rw' => 'OpenVPN-Roadwarrior-Statistik',
  'vpn subjectaltname' => 'Subjekt Alternativer Name',
  'vpn vhost' => 'Roadwarrior virtuelle IP (manchmal auch Inner-IP genannt)',
  'vpn watch' => 'Netz-zu-Netz VPN neu starten, wenn sich Remote-IP ändert (DynDNS).',
diff --combined langs/en/cgi-bin/en.pl
index 174300e9dc8143e85cc703e998d72fbfd3d1e718,9d75f579dad4b98228b4ecae9d2bb3c47b9e0e6e..476bde75323c458645592de9929cf6c604b7e403
  'bit' => 'bit',
  'bitrate' => 'Bitrate',
  'bleeding rules' => 'Bleeding Edge Snort Rules',
+ 'block' => 'Block',
  'blue' => 'BLUE',
  'blue access' => 'Blue Access',
  'blue access use hint' => 'You have to enter the MAC or the IP Address for a device. To enter both is also possible',
  'chain' => 'Chain',
  'change passwords' => 'Change passwords',
  'change share' => 'edit share options',
+ 'check all' =>'Check all',
  'check for net traffic update' => 'Check for Net-Traffic updates',
  'check vpn lr' => 'Check',
  'choose config' => 'Choose config',
  'fwhost OpenVPN static host' => 'OpenVPN static host',
  'fwhost OpenVPN static network' => 'OpenVPN static network',
  'fwhost Standard Network' => 'Standard network',
+ 'fwhost addgeoipgrp' => 'Add new GeoIP group',
  'fwhost addgrp' => 'Add new network/host group',
  'fwhost addgrpname' => 'Group name:',
  'fwhost addhost' => 'Add new host',
  'fwhost change' => 'Modify',
  'fwhost changeremark' => 'You modified just the remark',
  'fwhost cust addr' => 'Hosts',
+ 'fwhost cust geoip' => 'GeoIP Groups',
+ 'fwhost cust geoipgroup' => 'GeoIP Groups',
+ 'fwhost cust geoiplocation' => 'GeoIP Locations',
  'fwhost cust grp' => 'Network/Host Groups',
  'fwhost cust net' => 'Networks',
  'fwhost cust service' => 'Services',
  'fwhost ipsec net' => 'IPsec networks:',
  'fwhost menu' => 'Firewall Groups',
  'fwhost netaddress' => 'Network address',
+ 'fwhost newgeoipgrp' => 'GeoIP Groups',
  'fwhost newgrp' => 'Network/Host Groups',
  'fwhost newhost' => 'Hosts',
  'fwhost newnet' => 'Networks',
  'generating the root and host certificates may take a long time. it can take up to several minutes on older hardware. please be patient' => 'Generating the root and host certificates may take a long time.  It can take up to several minutes on older hardware. Please be patient.',
  'genkey' => 'Generate PSK',
  'genre' => 'Genre',
+ 'geoip' => 'GeoIP',
+ 'geoipblock' => 'GeoIP Block',
+ 'geoipblock block countries' => 'Block countries',
+ 'geoipblock configuration' => 'GeoIP Configuration',
+ 'geoipblock country code' => 'Country Code',
+ 'geoipblock country is allowed' => 'Incoming traffic from this country is allowed',
+ 'geoipblock country is blocked' => 'Incoming traffic from this country will be blocked',
+ 'geoipblock country name' => 'Country Name',
+ 'geoipblock enable feature' => 'Enable GeoIP based blocking:',
+ 'geoipblock flag' => 'Flag',
  'global settings' => 'Global Settings',
  'gpl i accept these terms and conditions' => 'I accept these terms and conditions',
  'gpl license agreement' => 'License Agreement',
  'type' => 'Type',
  'umount' => 'Umount',
  'umount removable media before to unplug' => 'Umount removable media before unplugging the device',
+ 'uncheck all' => 'Uncheck all',
  'unable to alter profiles while red is active' => 'Unable to alter profiles while RED is active.',
  'unable to contact' => 'Unable to contact',
+ 'unblock' => 'Unblock',
+ 'unblock all' => 'Unblock all',
  'unencrypted' => 'Unencrypted',
  'uninstall' => 'Uninstall',
  'unix charset' => 'UNIX Charset',
  'vpn payload compression' => 'Negotiate payload compression',
  'vpn red name' => 'Public IP or FQDN for RED interface or <%defaultroute>',
  'vpn remote id' => 'Remote ID',
 +'vpn statistic n2n' => 'OpenVPN Net-to-Net Statistics',
 +'vpn statistic rw' => 'OpenVPN Roadwarrior Statistics',
  'vpn subjectaltname' => 'Subject Alt Name',
  'vpn vhost' => 'Roadwarrior virtual IP (sometimes called Inner-IP)',
  'vpn watch' => 'Restart net-to-net vpn when remote peer IP changes (dyndns).',
diff --combined lfs/stage2
index 53f81d1b46c7cfbe3beace327c31505e96c7c478,4388114c1296ba0aac999b9b61811cfda49c38bd..3203983e287a386515a787e278d41f2bde2a4677
@@@ -55,7 -55,7 +55,7 @@@ $(TARGET) 
        -install -dv -m 1777 /tmp /var/tmp
        -mkdir -pv /usr/{,local/}{bin,include,lib{,/sse2},sbin,src}
        -mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
-       -mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
+       -mkdir -v  /usr/{,local/}share/{misc,terminfo,xt_geoip,zoneinfo}
        -mkdir -pv /usr/{,local/}share/man/man{1..8}
        #-for dir in /usr /usr/local; do \
        #  ln -sv share/{man,doc,info} $$dir; \
  
        # Move script to correct place.
        mv -vf /usr/local/bin/ovpn-ccd-convert /usr/sbin/
 -
 +      mv -vf /usr/local/bin/ovpn-collectd-convert /usr/sbin/
 +      
        # Install firewall scripts.
        mkdir -pv /usr/lib/firewall
        install -m 755 $(DIR_SRC)/config/firewall/rules.pl \
diff --combined make.sh
index 316917e0b3a938b49974e5c1043131455a9c6645,395c21f2d7a524e76c43640b4ca6cb10657b51ac..6662096a94e2a0f58ef781dbae2917b39756a0a9
+++ b/make.sh
@@@ -17,7 -17,7 +17,7 @@@
  # along with IPFire; if not, write to the Free Software                    #
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
  #                                                                          #
 -# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org>.                   #
 +# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org>.                   #
  #                                                                          #
  ############################################################################
  #
@@@ -25,8 -25,8 +25,8 @@@
  NAME="IPFire"                                                 # Software name
  SNAME="ipfire"                                                        # Short name
  VERSION="2.17"                                                        # Version number
 -CORE="87"                                                     # Core Level (Filename)
 -PAKFIRE_CORE="87"                                             # Core Level (PAKFIRE)
 +CORE="90"                                                     # Core Level (Filename)
 +PAKFIRE_CORE="89"                                             # Core Level (PAKFIRE)
  GIT_BRANCH=`git rev-parse --abbrev-ref HEAD`                  # Git Branch
  SLOGAN="www.ipfire.org"                                               # Software slogan
  CONFIG_ROOT=/var/ipfire                                               # Configuration rootdir
@@@ -383,6 -383,7 +383,7 @@@ buildipfire() 
    export LOGFILE
    ipfiremake configroot
    ipfiremake backup
+   ipfiremake pkg-config
    ipfiremake libusb
    ipfiremake libusbx
    ipfiremake libpcap
    ipfiremake multipath-tools
    ipfiremake freetype
    ipfiremake grub
+   ipfiremake libmnl
+   ipfiremake iptables
  
    case "${TARGET_ARCH}" in
        i586)
                ipfiremake backports                    KCFG="-pae"
                ipfiremake cryptodev                    KCFG="-pae"
                ipfiremake e1000e                       KCFG="-pae"
 -              ipfiremake igb                          KCFG="-pae"
 +#             ipfiremake igb                          KCFG="-pae"
                ipfiremake ixgbe                        KCFG="-pae"
+               ipfiremake xtables-addons               KCFG="-pae"
                ipfiremake linux-initrd                 KCFG="-pae"
  
                # x86 kernel build
                ipfiremake backports                    KCFG=""
                ipfiremake cryptodev                    KCFG=""
                ipfiremake e1000e                       KCFG=""
 -              ipfiremake igb                          KCFG=""
 +#             ipfiremake igb                          KCFG=""
                ipfiremake ixgbe                        KCFG=""
+               ipfiremake xtables-addons               KCFG=""
                ipfiremake linux-initrd                 KCFG=""
                ;;
  
                ipfiremake linux                        KCFG="-rpi"
                ipfiremake backports                    KCFG="-rpi"
                ipfiremake cryptodev                    KCFG="-rpi"
+               ipfiremake xtables-addons               KCFG="-rpi"
                ipfiremake linux-initrd                 KCFG="-rpi"
  
                # arm multi platform (Panda, Wandboard ...) kernel build
                ipfiremake backports                    KCFG="-multi"
                ipfiremake cryptodev                    KCFG="-multi"
                ipfiremake e1000e                       KCFG="-multi"
 -              ipfiremake igb                          KCFG="-multi"
 +#             ipfiremake igb                          KCFG="-multi"
                ipfiremake ixgbe                        KCFG="-multi"
+               ipfiremake xtables-addons               KCFG="-multi"
                ipfiremake linux-initrd                 KCFG="-multi"
  
                # arm-kirkwood (Dreamplug, ICY-Box ...) kernel build
                ipfiremake backports                    KCFG="-kirkwood"
                ipfiremake cryptodev                    KCFG="-kirkwood"
                ipfiremake e1000e                       KCFG="-kirkwood"
 -              ipfiremake igb                          KCFG="-kirkwood"
 +#             ipfiremake igb                          KCFG="-kirkwood"
                ipfiremake ixgbe                        KCFG="-kirkwood"
+               ipfiremake xtables-addons               KCFG="-kirkwood"
                ipfiremake linux-initrd                 KCFG="-kirkwood"
                ;;
    esac
-   ipfiremake pkg-config
+   ipfiremake xtables-addons                   USPACE="1"
    ipfiremake openssl
    ipfiremake openssl-compat
    ipfiremake libgpg-error
    ipfiremake mtools
    ipfiremake initscripts
    ipfiremake whatmask
-   ipfiremake libmnl
-   ipfiremake iptables
    ipfiremake conntrack-tools
    ipfiremake libupnp
    ipfiremake ipaddr
    ipfiremake squid-accounting
    ipfiremake pigz
    ipfiremake tmux
+   ipfiremake perl-Text-CSV_XS
    ipfiremake swconfig
    ipfiremake haproxy
  }