mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Merge remote-tracking branch 'origin/next' into install-raid
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
/etc/hosts*
|
/etc/hosts*
|
||||||
/etc/httpd/*
|
/etc/httpd/*
|
||||||
/etc/ssh/ssh_host*
|
/etc/ssh/ssh_host*
|
||||||
|
/etc/logrotate.d
|
||||||
/var/ipfire/auth/users
|
/var/ipfire/auth/users
|
||||||
/var/ipfire/dhcp/*
|
/var/ipfire/dhcp/*
|
||||||
/var/ipfire/dnsforward/*
|
/var/ipfire/dnsforward/*
|
||||||
|
|||||||
1
config/backup/includes/bacula
Normal file
1
config/backup/includes/bacula
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/etc/bacula/
|
||||||
1
config/backup/includes/check_mk_agent
Normal file
1
config/backup/includes/check_mk_agent
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/etc/check_mk/
|
||||||
2
config/backup/includes/owncloud
Normal file
2
config/backup/includes/owncloud
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/srv/web/owncloud/config
|
||||||
|
/var/owncloud/data
|
||||||
1
config/bind/trusted-key.key
Normal file
1
config/bind/trusted-key.key
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. 3600 IN DNSKEY 257 3 8 AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1ihz0=
|
||||||
@@ -26,6 +26,8 @@ $General::swroot = 'CONFIG_ROOT';
|
|||||||
$General::noipprefix = 'noipg-';
|
$General::noipprefix = 'noipg-';
|
||||||
$General::adminmanualurl = 'http://wiki.ipfire.org';
|
$General::adminmanualurl = 'http://wiki.ipfire.org';
|
||||||
|
|
||||||
|
require "${General::swroot}/network-functions.pl";
|
||||||
|
|
||||||
#
|
#
|
||||||
# log ("message") use default 'ipcop' tag
|
# log ("message") use default 'ipcop' tag
|
||||||
# log ("tag","message") use your tag
|
# log ("tag","message") use your tag
|
||||||
@@ -281,21 +283,10 @@ sub validip
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub validmask
|
sub validmask {
|
||||||
{
|
my $mask = shift;
|
||||||
my $mask = $_[0];
|
|
||||||
|
|
||||||
# secord part an ip?
|
return &Network::check_netmask($mask) or &Network::check_prefix($mask);
|
||||||
if (&validip($mask)) {
|
|
||||||
return 1; }
|
|
||||||
# second part a number?
|
|
||||||
if (/^0/) {
|
|
||||||
return 0; }
|
|
||||||
if (!($mask =~ /^\d+$/)) {
|
|
||||||
return 0; }
|
|
||||||
if ($mask >= 0 && $mask <= 32) {
|
|
||||||
return 1; }
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub validipormask
|
sub validipormask
|
||||||
@@ -316,24 +307,12 @@ sub validipormask
|
|||||||
return &validmask($mask);
|
return &validmask($mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub subtocidr
|
sub subtocidr {
|
||||||
{
|
return &Network::convert_netmask2prefix(shift);
|
||||||
#gets: Subnet in decimal (255.255.255.0)
|
|
||||||
#Gives: 24 (The cidr of network)
|
|
||||||
my ($byte1, $byte2, $byte3, $byte4) = split(/\./, $_[0].".0.0.0.0");
|
|
||||||
my $num = ($byte1 * 16777216) + ($byte2 * 65536) + ($byte3 * 256) + $byte4;
|
|
||||||
my $bin = unpack("B*", pack("N", $num));
|
|
||||||
my $count = ($bin =~ tr/1/1/);
|
|
||||||
return $count;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub cidrtosub
|
sub cidrtosub {
|
||||||
{
|
return &Network::convert_prefix2netmask(shift);
|
||||||
#gets: Cidr of network (20-30 for ccd)
|
|
||||||
#Konverts 30 to 255.255.255.252 e.g
|
|
||||||
my $cidr=$_[0];
|
|
||||||
my $netmask = &Net::IPv4Addr::ipv4_cidr2msk($cidr);
|
|
||||||
return "$netmask";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub iporsubtodec
|
sub iporsubtodec
|
||||||
@@ -408,15 +387,8 @@ sub iporsubtocidr
|
|||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getnetworkip
|
sub getnetworkip {
|
||||||
{
|
return &Network::get_netaddress(shift);
|
||||||
#Gets: IP, CIDR (10.10.10.0-255, 24)
|
|
||||||
#Gives: 10.10.10.0
|
|
||||||
my ($ccdip,$ccdsubnet) = @_;
|
|
||||||
my $ip_address_binary = inet_aton( $ccdip );
|
|
||||||
my $netmask_binary = ~pack("N", (2**(32-$ccdsubnet))-1);
|
|
||||||
my $network_address = inet_ntoa( $ip_address_binary & $netmask_binary );
|
|
||||||
return $network_address;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getccdbc
|
sub getccdbc
|
||||||
@@ -431,46 +403,20 @@ sub getccdbc
|
|||||||
return $broadcast_address;
|
return $broadcast_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub ip2dec
|
sub ip2dec {
|
||||||
{
|
return &Network::ip2bin(shift);
|
||||||
my $ip_num;
|
|
||||||
my $ip=$_[0];
|
|
||||||
if ( $ip =~ /(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})/ ) {
|
|
||||||
$ip_num = (($1*256**3) + ($2*256**2) + ($3*256) + $4);
|
|
||||||
} else {
|
|
||||||
$ip_num = -1;
|
|
||||||
}
|
|
||||||
$ip_num = (($1*256**3) + ($2*256**2) + ($3*256) + $4);
|
|
||||||
return($ip_num);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub dec2ip
|
sub dec2ip {
|
||||||
{
|
return &Network::bin2ip(shift);
|
||||||
my $ip;
|
|
||||||
my $ip_num=$_[0];
|
|
||||||
my $o1=$ip_num%256;
|
|
||||||
$ip_num=int($ip_num/256);
|
|
||||||
my $o2=$ip_num%256;
|
|
||||||
$ip_num=int($ip_num/256);
|
|
||||||
my $o3=$ip_num%256;
|
|
||||||
$ip_num=int($ip_num/256);
|
|
||||||
my $o4=$ip_num%256;
|
|
||||||
$ip="$o4.$o3.$o2.$o1";
|
|
||||||
return ($ip);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getnextip
|
sub getnextip {
|
||||||
{
|
return &Network::find_next_ip_address(shift, 4);
|
||||||
my $decip=&ip2dec($_[0]);
|
|
||||||
$decip=$decip+4;
|
|
||||||
return &dec2ip($decip);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub getlastip
|
sub getlastip {
|
||||||
{
|
return &Network::find_next_ip_address(shift, -1);
|
||||||
my $decip=&ip2dec($_[0]);
|
|
||||||
$decip--;
|
|
||||||
return &dec2ip($decip);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub validipandmask
|
sub validipandmask
|
||||||
@@ -598,6 +544,19 @@ sub checksubnets
|
|||||||
if (($ownnet{'RED_NETADDRESS'} ne '' && $ownnet{'RED_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'RED_NETADDRESS'},&iporsubtodec($ownnet{'RED_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err red'};return $errormessage;}
|
if (($ownnet{'RED_NETADDRESS'} ne '' && $ownnet{'RED_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'RED_NETADDRESS'},&iporsubtodec($ownnet{'RED_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err red'};return $errormessage;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub check_net_internal{
|
||||||
|
my $network=shift;
|
||||||
|
my ($ip,$cidr)=split(/\//,$network);
|
||||||
|
my %ownnet=();
|
||||||
|
my $errormessage;
|
||||||
|
$cidr=&iporsubtocidr($cidr);
|
||||||
|
#check if we use one of ipfire's networks (green,orange,blue)
|
||||||
|
&readhash("${General::swroot}/ethernet/settings", \%ownnet);
|
||||||
|
if (($ownnet{'GREEN_NETADDRESS'} ne '' && $ownnet{'GREEN_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'GREEN_NETADDRESS'},&iporsubtodec($ownnet{'GREEN_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err green'};return $errormessage;}
|
||||||
|
if (($ownnet{'ORANGE_NETADDRESS'} ne '' && $ownnet{'ORANGE_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'ORANGE_NETADDRESS'},&iporsubtodec($ownnet{'ORANGE_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err orange'};return $errormessage;}
|
||||||
|
if (($ownnet{'BLUE_NETADDRESS'} ne '' && $ownnet{'BLUE_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'BLUE_NETADDRESS'},&iporsubtodec($ownnet{'BLUE_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err blue'};return $errormessage;}
|
||||||
|
if (($ownnet{'RED_NETADDRESS'} ne '' && $ownnet{'RED_NETADDRESS'} ne '0.0.0.0') && &IpInSubnet($ip,$ownnet{'RED_NETADDRESS'},&iporsubtodec($ownnet{'RED_NETMASK'}))){ $errormessage=$Lang::tr{'ccd err red'};return $errormessage;}
|
||||||
|
}
|
||||||
|
|
||||||
sub validport
|
sub validport
|
||||||
{
|
{
|
||||||
@@ -668,9 +627,8 @@ sub validdomainname
|
|||||||
my @parts = split (/\./, $domainname); # Split hostname at the '.'
|
my @parts = split (/\./, $domainname); # Split hostname at the '.'
|
||||||
|
|
||||||
foreach $part (@parts) {
|
foreach $part (@parts) {
|
||||||
# Each part should be at least two characters in length
|
# Each part should be no more than 63 characters in length
|
||||||
# but no more than 63 characters
|
if (length ($part) < 1 || length ($part) > 63) {
|
||||||
if (length ($part) < 2 || length ($part) > 63) {
|
|
||||||
return 0;}
|
return 0;}
|
||||||
# Only valid characters are a-z, A-Z, 0-9 and -
|
# Only valid characters are a-z, A-Z, 0-9 and -
|
||||||
if ($part !~ /^[a-zA-Z0-9-]*$/) {
|
if ($part !~ /^[a-zA-Z0-9-]*$/) {
|
||||||
@@ -753,19 +711,12 @@ sub validportrange # used to check a port range
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Test if IP is within a subnet
|
sub IpInSubnet {
|
||||||
# Call: IpInSubnet (Addr, Subnet, Subnet Mask)
|
my $addr = shift;
|
||||||
# Subnet can be an IP of the subnet: 10.0.0.0 or 10.0.0.1
|
my $network = shift;
|
||||||
# Everything in dottted notation
|
my $netmask = shift;
|
||||||
# Return: TRUE/FALSE
|
|
||||||
sub IpInSubnet
|
return &Network::ip_address_in_network($addr, "$network/$netmask");
|
||||||
{
|
|
||||||
my $ip = unpack('N', &Socket::inet_aton(shift));
|
|
||||||
my $start = unpack('N', &Socket::inet_aton(shift));
|
|
||||||
my $mask = unpack('N', &Socket::inet_aton(shift));
|
|
||||||
$start &= $mask; # base of subnet...
|
|
||||||
my $end = $start + ~$mask;
|
|
||||||
return (($ip >= $start) && ($ip <= $end));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -773,32 +724,25 @@ sub IpInSubnet
|
|||||||
# Call: NextIP ('1.1.1.1');
|
# Call: NextIP ('1.1.1.1');
|
||||||
# Return: '1.1.1.2'
|
# Return: '1.1.1.2'
|
||||||
#
|
#
|
||||||
sub NextIP
|
sub NextIP {
|
||||||
{
|
return &Network::find_next_ip_address(shift, 1);
|
||||||
return &Socket::inet_ntoa( pack("N", 1 + unpack('N', &Socket::inet_aton(shift))
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
sub NextIP2
|
|
||||||
{
|
sub NextIP2 {
|
||||||
return &Socket::inet_ntoa( pack("N", 4 + unpack('N', &Socket::inet_aton(shift))
|
return &Network::find_next_ip_address(shift, 4);
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
sub ipcidr
|
|
||||||
{
|
sub ipcidr {
|
||||||
my ($ip,$cidr) = &Net::IPv4Addr::ipv4_parse(shift);
|
my ($ip,$cidr) = &Net::IPv4Addr::ipv4_parse(shift);
|
||||||
return "$ip\/$cidr";
|
return "$ip\/$cidr";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub ipcidr2msk
|
sub ipcidr2msk {
|
||||||
{
|
|
||||||
my ($ip,$cidr) = &Net::IPv4Addr::ipv4_parse(shift);
|
my ($ip,$cidr) = &Net::IPv4Addr::ipv4_parse(shift);
|
||||||
my $netmask = &Net::IPv4Addr::ipv4_cidr2msk($cidr);
|
my $netmask = &Net::IPv4Addr::ipv4_cidr2msk($cidr);
|
||||||
return "$ip\/$netmask";
|
return "$ip\/$netmask";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub validemail {
|
sub validemail {
|
||||||
my $mail = shift;
|
my $mail = shift;
|
||||||
return 0 if ( $mail !~ /^[0-9a-zA-Z\.\-\_]+\@[0-9a-zA-Z\.\-]+$/ );
|
return 0 if ( $mail !~ /^[0-9a-zA-Z\.\-\_]+\@[0-9a-zA-Z\.\-]+$/ );
|
||||||
@@ -1165,4 +1109,16 @@ sub firewall_reload() {
|
|||||||
system("/usr/local/bin/firewallctrl");
|
system("/usr/local/bin/firewallctrl");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Function which will return the used interface for the red network zone (red0, ppp0, etc).
|
||||||
|
sub get_red_interface() {
|
||||||
|
|
||||||
|
open(IFACE, "${General::swroot}/red/iface") or die "Could not open /var/ipfire/red/iface";
|
||||||
|
|
||||||
|
my $interface = <IFACE>;
|
||||||
|
close(IFACE);
|
||||||
|
chomp $interface;
|
||||||
|
|
||||||
|
return $interface;
|
||||||
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|||||||
@@ -142,6 +142,8 @@ sub genmenu {
|
|||||||
my %sublogshash = ();
|
my %sublogshash = ();
|
||||||
my $sublogs = \%sublogshash;
|
my $sublogs = \%sublogshash;
|
||||||
|
|
||||||
|
if ( -e "/var/ipfire/main/gpl_accepted") {
|
||||||
|
|
||||||
eval `/bin/cat /var/ipfire/menu.d/*.menu`;
|
eval `/bin/cat /var/ipfire/menu.d/*.menu`;
|
||||||
eval `/bin/cat /var/ipfire/menu.d/*.main`;
|
eval `/bin/cat /var/ipfire/menu.d/*.main`;
|
||||||
|
|
||||||
@@ -159,6 +161,7 @@ sub genmenu {
|
|||||||
if ( $ethsettings{'RED_TYPE'} eq "PPPOE" && $pppsettings{'MONPORT'} ne "" ) {
|
if ( $ethsettings{'RED_TYPE'} eq "PPPOE" && $pppsettings{'MONPORT'} ne "" ) {
|
||||||
$menu->{'02.status'}{'subMenu'}->{'74.modem-status'}{'enabled'} = 1;
|
$menu->{'02.status'}{'subMenu'}->{'74.modem-status'}{'enabled'} = 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub showhttpheaders
|
sub showhttpheaders
|
||||||
|
|||||||
306
config/cfgroot/network-functions.pl
Normal file
306
config/cfgroot/network-functions.pl
Normal file
@@ -0,0 +1,306 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
############################################################################
|
||||||
|
# #
|
||||||
|
# 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 2 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>. #
|
||||||
|
# #
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
package Network;
|
||||||
|
|
||||||
|
use Socket;
|
||||||
|
|
||||||
|
my %PREFIX2NETMASK = (
|
||||||
|
32 => "255.255.255.255",
|
||||||
|
31 => "255.255.255.254",
|
||||||
|
30 => "255.255.255.252",
|
||||||
|
29 => "255.255.255.248",
|
||||||
|
28 => "255.255.255.240",
|
||||||
|
27 => "255.255.255.224",
|
||||||
|
26 => "255.255.255.192",
|
||||||
|
25 => "255.255.255.128",
|
||||||
|
24 => "255.255.255.0",
|
||||||
|
23 => "255.255.254.0",
|
||||||
|
22 => "255.255.252.0",
|
||||||
|
21 => "255.255.248.0",
|
||||||
|
20 => "255.255.240.0",
|
||||||
|
19 => "255.255.224.0",
|
||||||
|
18 => "255.255.192.0",
|
||||||
|
17 => "255.255.128.0",
|
||||||
|
16 => "255.255.0.0",
|
||||||
|
15 => "255.254.0.0",
|
||||||
|
14 => "255.252.0.0",
|
||||||
|
13 => "255.248.0.0",
|
||||||
|
12 => "255.240.0.0",
|
||||||
|
11 => "255.224.0.0",
|
||||||
|
10 => "255.192.0.0",
|
||||||
|
9 => "255.128.0.0",
|
||||||
|
8 => "255.0.0.0",
|
||||||
|
7 => "254.0.0.0",
|
||||||
|
6 => "252.0.0.0",
|
||||||
|
5 => "248.0.0.0",
|
||||||
|
4 => "240.0.0.0",
|
||||||
|
3 => "224.0.0.0",
|
||||||
|
2 => "192.0.0.0",
|
||||||
|
1 => "128.0.0.0",
|
||||||
|
0 => "0.0.0.0"
|
||||||
|
);
|
||||||
|
|
||||||
|
my %NETMASK2PREFIX = reverse(%PREFIX2NETMASK);
|
||||||
|
|
||||||
|
# Takes an IP address in dotted decimal notation and
|
||||||
|
# returns a 32 bit integer representing that IP addresss.
|
||||||
|
# Will return undef for invalid inputs.
|
||||||
|
sub ip2bin($) {
|
||||||
|
my $address = shift;
|
||||||
|
|
||||||
|
# This function returns undef for undefined input.
|
||||||
|
if (!defined $address) {
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
my $address_bin = &Socket::inet_pton(AF_INET, $address);
|
||||||
|
if ($address_bin) {
|
||||||
|
$address_bin = unpack('N', $address_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $address_bin;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Does the reverse of ip2bin().
|
||||||
|
# Will return undef for invalid inputs.
|
||||||
|
sub bin2ip($) {
|
||||||
|
my $address_bin = shift;
|
||||||
|
|
||||||
|
# This function returns undef for undefined input.
|
||||||
|
if (!defined $address_bin) {
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
my $address = pack('N', $address_bin);
|
||||||
|
if ($address) {
|
||||||
|
$address = &Socket::inet_ntop(AF_INET, $address);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $address;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Takes a network in either a.b.c.d/a.b.c.d or a.b.c.d/e notation
|
||||||
|
# and will return an 32 bit integer representing the start
|
||||||
|
# address and an other one representing the network mask.
|
||||||
|
sub network2bin($) {
|
||||||
|
my $network = shift;
|
||||||
|
|
||||||
|
my ($address, $netmask) = split(/\//, $network, 2);
|
||||||
|
|
||||||
|
if (&check_prefix($netmask)) {
|
||||||
|
$netmask = &convert_prefix2netmask($netmask);
|
||||||
|
}
|
||||||
|
|
||||||
|
my $address_bin = &ip2bin($address);
|
||||||
|
my $netmask_bin = &ip2bin($netmask);
|
||||||
|
|
||||||
|
my $network_start = $address_bin & $netmask_bin;
|
||||||
|
|
||||||
|
return ($network_start, $netmask_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns True for all valid IP addresses
|
||||||
|
sub check_ip_address($) {
|
||||||
|
my $address = shift;
|
||||||
|
|
||||||
|
# Normalise the IP address and compare the result with
|
||||||
|
# the input - which should obviously the same.
|
||||||
|
my $normalised_address = &_normalise_ip_address($address);
|
||||||
|
|
||||||
|
return ((defined $normalised_address) && ($address eq $normalised_address));
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns True for all valid prefixes.
|
||||||
|
sub check_prefix($) {
|
||||||
|
my $prefix = shift;
|
||||||
|
|
||||||
|
return (exists $PREFIX2NETMASK{$prefix});
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns True for all valid subnet masks.
|
||||||
|
sub check_netmask($) {
|
||||||
|
my $netmask = shift;
|
||||||
|
|
||||||
|
return (exists $NETMASK2PREFIX{$netmask});
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns True for all valid inputs like a.b.c.d/a.b.c.d.
|
||||||
|
sub check_ip_address_and_netmask($$) {
|
||||||
|
my $network = shift;
|
||||||
|
|
||||||
|
my ($address, $netmask) = split(/\//, $network, 2);
|
||||||
|
|
||||||
|
# Check if the IP address is fine.
|
||||||
|
#
|
||||||
|
my $result = &check_ip_address($address);
|
||||||
|
unless ($result) {
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
return &check_netmask($netmask);
|
||||||
|
}
|
||||||
|
|
||||||
|
# For internal use only. Will take an IP address and
|
||||||
|
# return it in a normalised style. Like 8.8.8.010 -> 8.8.8.8.
|
||||||
|
sub _normalise_ip_address($) {
|
||||||
|
my $address = shift;
|
||||||
|
|
||||||
|
my $address_bin = &ip2bin($address);
|
||||||
|
if (!defined $address_bin) {
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
return &bin2ip($address_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns the prefix for the given subnet mask.
|
||||||
|
sub convert_netmask2prefix($) {
|
||||||
|
my $netmask = shift;
|
||||||
|
|
||||||
|
if (exists $NETMASK2PREFIX{$netmask}) {
|
||||||
|
return $NETMASK2PREFIX{$netmask};
|
||||||
|
}
|
||||||
|
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns the subnet mask for the given prefix.
|
||||||
|
sub convert_prefix2netmask($) {
|
||||||
|
my $prefix = shift;
|
||||||
|
|
||||||
|
if (exists $PREFIX2NETMASK{$prefix}) {
|
||||||
|
return $PREFIX2NETMASK{$prefix};
|
||||||
|
}
|
||||||
|
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Takes an IP address and an offset and
|
||||||
|
# will return the offset'th IP address.
|
||||||
|
sub find_next_ip_address($$) {
|
||||||
|
my $address = shift;
|
||||||
|
my $offset = shift;
|
||||||
|
|
||||||
|
my $address_bin = &ip2bin($address);
|
||||||
|
$address_bin += $offset;
|
||||||
|
|
||||||
|
return &bin2ip($address_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns the network address of the given network.
|
||||||
|
sub get_netaddress($) {
|
||||||
|
my $network = shift;
|
||||||
|
my ($network_bin, $netmask_bin) = &network2bin($network);
|
||||||
|
|
||||||
|
if (defined $network_bin) {
|
||||||
|
return &bin2ip($network_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
return undef;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns the broadcast of the given network.
|
||||||
|
sub get_broadcast($) {
|
||||||
|
my $network = shift;
|
||||||
|
my ($network_bin, $netmask_bin) = &network2bin($network);
|
||||||
|
|
||||||
|
return &bin2ip($network_bin ^ ~$netmask_bin);
|
||||||
|
}
|
||||||
|
|
||||||
|
# Returns True if $address is in $network.
|
||||||
|
sub ip_address_in_network($$) {
|
||||||
|
my $address = shift;
|
||||||
|
my $network = shift;
|
||||||
|
|
||||||
|
my $address_bin = &ip2bin($address);
|
||||||
|
return undef unless (defined $address_bin);
|
||||||
|
|
||||||
|
my ($network_bin, $netmask_bin) = &network2bin($network);
|
||||||
|
|
||||||
|
# Find end address
|
||||||
|
my $broadcast_bin = $network_bin ^ ~$netmask_bin;
|
||||||
|
|
||||||
|
return (($address_bin ge $network_bin) && ($address_bin le $broadcast_bin));
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
# Remove the next line to enable the testsuite
|
||||||
|
__END__
|
||||||
|
|
||||||
|
sub assert($) {
|
||||||
|
my $ret = shift;
|
||||||
|
|
||||||
|
if ($ret) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
print "ASSERTION ERROR";
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
sub testsuite() {
|
||||||
|
my $result;
|
||||||
|
|
||||||
|
my $address1 = &ip2bin("8.8.8.8");
|
||||||
|
assert($address1 == 134744072);
|
||||||
|
|
||||||
|
my $address2 = &bin2ip($address1);
|
||||||
|
assert($address2 eq "8.8.8.8");
|
||||||
|
|
||||||
|
# Check if valid IP addresses are correctly recognised.
|
||||||
|
foreach my $address ("1.2.3.4", "192.168.180.1", "127.0.0.1") {
|
||||||
|
if (!&check_ip_address($address)) {
|
||||||
|
print "$address is not correctly recognised as a valid IP address!\n";
|
||||||
|
exit 1;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check if invalid IP addresses are correctly found.
|
||||||
|
foreach my $address ("456.2.3.4", "192.768.180.1", "127.1", "1", "a.b.c.d", "1.2.3.4.5", "1.2.3.4/12") {
|
||||||
|
if (&check_ip_address($address)) {
|
||||||
|
print "$address is recognised as a valid IP address!\n";
|
||||||
|
exit 1;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
$result = &check_ip_address_and_netmask("192.168.180.0/255.255.255.0");
|
||||||
|
assert($result);
|
||||||
|
|
||||||
|
$result = &convert_netmask2prefix("255.255.254.0");
|
||||||
|
assert($result == 23);
|
||||||
|
|
||||||
|
$result = &convert_prefix2netmask(8);
|
||||||
|
assert($result eq "255.0.0.0");
|
||||||
|
|
||||||
|
$result = &find_next_ip_address("1.2.3.4", 2);
|
||||||
|
assert($result eq "1.2.3.6");
|
||||||
|
|
||||||
|
$result = &ip_address_in_network("10.0.1.4", "10.0.0.0/8");
|
||||||
|
assert($result);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&testsuite();
|
||||||
@@ -24,12 +24,10 @@ HOME=/
|
|||||||
*/5 * * * * /usr/local/bin/makegraphs >/dev/null
|
*/5 * * * * /usr/local/bin/makegraphs >/dev/null
|
||||||
17 5 * * * /etc/init.d/tmpfs backup >/dev/null
|
17 5 * * * /etc/init.d/tmpfs backup >/dev/null
|
||||||
|
|
||||||
# Force update the dynamic dns registration once a week
|
# Update dynamic DNS records every five minutes.
|
||||||
# Force update even if IP has not changed once a month if 'minimize update' selected in GUI
|
# Force an update once a month
|
||||||
# to avoid account declared as dead
|
*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all
|
||||||
*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl
|
3 2 1 * * [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all --force
|
||||||
9 2 * * 0 [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f
|
|
||||||
3 2 1 * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f -m
|
|
||||||
|
|
||||||
# Logwatch
|
# Logwatch
|
||||||
01 0 * * * /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \
|
01 0 * * * /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ stunnel:x:51:
|
|||||||
lock:x:54:
|
lock:x:54:
|
||||||
sshd:x:74:
|
sshd:x:74:
|
||||||
pcap:x:77:
|
pcap:x:77:
|
||||||
|
wbpriv:x:88:squid
|
||||||
nobody:x:99:
|
nobody:x:99:
|
||||||
users:x:100:
|
users:x:100:
|
||||||
snort:x:101:
|
snort:x:101:
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ create
|
|||||||
# uncomment this if you want your log files compressed
|
# uncomment this if you want your log files compressed
|
||||||
compress
|
compress
|
||||||
|
|
||||||
|
# packages drop log rotation information into this directory
|
||||||
|
include /etc/logrotate.d
|
||||||
|
|
||||||
# wtmp
|
# wtmp
|
||||||
/var/log/wtmp {
|
/var/log/wtmp {
|
||||||
weekly
|
weekly
|
||||||
|
|||||||
@@ -291,6 +291,7 @@ sub buildrules {
|
|||||||
|
|
||||||
foreach my $src (@sources) {
|
foreach my $src (@sources) {
|
||||||
# Skip invalid source.
|
# Skip invalid source.
|
||||||
|
next unless (defined $src);
|
||||||
next unless ($src);
|
next unless ($src);
|
||||||
|
|
||||||
# Sanitize source.
|
# Sanitize source.
|
||||||
@@ -301,6 +302,7 @@ sub buildrules {
|
|||||||
|
|
||||||
foreach my $dst (@destinations) {
|
foreach my $dst (@destinations) {
|
||||||
# Skip invalid rules.
|
# Skip invalid rules.
|
||||||
|
next unless (defined $dst);
|
||||||
next if (!$dst || ($dst eq "none"));
|
next if (!$dst || ($dst eq "none"));
|
||||||
|
|
||||||
# Sanitize destination.
|
# Sanitize destination.
|
||||||
|
|||||||
21
config/owncloud/owncloud.conf
Normal file
21
config/owncloud/owncloud.conf
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Listen 1011
|
||||||
|
|
||||||
|
<VirtualHost *:1011>
|
||||||
|
DocumentRoot /srv/web/owncloud
|
||||||
|
|
||||||
|
SSLEngine on
|
||||||
|
SSLProtocol all -SSLv2
|
||||||
|
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128:AES256:HIGH:!RC4:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK
|
||||||
|
SSLHonorCipherOrder on
|
||||||
|
SSLCertificateFile /etc/httpd/owncloud.crt
|
||||||
|
SSLCertificateKeyFile /etc/httpd/owncloud.key
|
||||||
|
|
||||||
|
Include /etc/httpd/conf/conf.d/php*.conf
|
||||||
|
|
||||||
|
<Directory /srv/web/owncloud>
|
||||||
|
Options Indexes FollowSymlinks MultiViews
|
||||||
|
AllowOverride ALL
|
||||||
|
Order allow,deny
|
||||||
|
Allow from all
|
||||||
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
@@ -1,21 +1,15 @@
|
|||||||
#usr/include/gmp.h
|
#usr/include/gmp.h
|
||||||
#usr/include/gmpxx.h
|
#usr/include/gmpxx.h
|
||||||
#usr/include/mp.h
|
|
||||||
#usr/lib/libgmp.a
|
#usr/lib/libgmp.a
|
||||||
#usr/lib/libgmp.la
|
#usr/lib/libgmp.la
|
||||||
#usr/lib/libgmp.so
|
#usr/lib/libgmp.so
|
||||||
usr/lib/libgmp.so.10
|
usr/lib/libgmp.so.10
|
||||||
usr/lib/libgmp.so.10.0.5
|
usr/lib/libgmp.so.10.2.0
|
||||||
#usr/lib/libgmpxx.a
|
#usr/lib/libgmpxx.a
|
||||||
#usr/lib/libgmpxx.la
|
#usr/lib/libgmpxx.la
|
||||||
#usr/lib/libgmpxx.so
|
#usr/lib/libgmpxx.so
|
||||||
usr/lib/libgmpxx.so.4
|
usr/lib/libgmpxx.so.4
|
||||||
usr/lib/libgmpxx.so.4.2.5
|
usr/lib/libgmpxx.so.4.4.0
|
||||||
#usr/lib/libmp.a
|
|
||||||
#usr/lib/libmp.la
|
|
||||||
#usr/lib/libmp.so
|
|
||||||
usr/lib/libmp.so.3
|
|
||||||
usr/lib/libmp.so.3.1.25
|
|
||||||
#usr/share/info/gmp.info
|
#usr/share/info/gmp.info
|
||||||
#usr/share/info/gmp.info-1
|
#usr/share/info/gmp.info-1
|
||||||
#usr/share/info/gmp.info-2
|
#usr/share/info/gmp.info-2
|
||||||
@@ -24,6 +24,7 @@ etc/rc.d/init.d/console
|
|||||||
#etc/rc.d/init.d/cyrus-imapd
|
#etc/rc.d/init.d/cyrus-imapd
|
||||||
#etc/rc.d/init.d/cyrus-sasl
|
#etc/rc.d/init.d/cyrus-sasl
|
||||||
etc/rc.d/init.d/dhcp
|
etc/rc.d/init.d/dhcp
|
||||||
|
etc/rc.d/init.d/dhcrelay
|
||||||
etc/rc.d/init.d/dnsmasq
|
etc/rc.d/init.d/dnsmasq
|
||||||
etc/rc.d/init.d/fcron
|
etc/rc.d/init.d/fcron
|
||||||
#etc/rc.d/init.d/fetchmail
|
#etc/rc.d/init.d/fetchmail
|
||||||
@@ -71,13 +72,13 @@ etc/rc.d/init.d/networking/red.down/05-RS-dnsmasq
|
|||||||
etc/rc.d/init.d/networking/red.down/10-ipsec
|
etc/rc.d/init.d/networking/red.down/10-ipsec
|
||||||
etc/rc.d/init.d/networking/red.down/10-miniupnpd
|
etc/rc.d/init.d/networking/red.down/10-miniupnpd
|
||||||
etc/rc.d/init.d/networking/red.down/10-ovpn
|
etc/rc.d/init.d/networking/red.down/10-ovpn
|
||||||
etc/rc.d/init.d/networking/red.down/20-RL-firewall
|
etc/rc.d/init.d/networking/red.down/20-firewall
|
||||||
#etc/rc.d/init.d/networking/red.up
|
#etc/rc.d/init.d/networking/red.up
|
||||||
etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
|
etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
|
||||||
etc/rc.d/init.d/networking/red.up/05-RS-dnsmasq
|
etc/rc.d/init.d/networking/red.up/05-RS-dnsmasq
|
||||||
etc/rc.d/init.d/networking/red.up/10-miniupnpd
|
etc/rc.d/init.d/networking/red.up/10-miniupnpd
|
||||||
etc/rc.d/init.d/networking/red.up/10-multicast
|
etc/rc.d/init.d/networking/red.up/10-multicast
|
||||||
etc/rc.d/init.d/networking/red.up/20-RL-firewall
|
etc/rc.d/init.d/networking/red.up/20-firewall
|
||||||
etc/rc.d/init.d/networking/red.up/23-RS-snort
|
etc/rc.d/init.d/networking/red.up/23-RS-snort
|
||||||
etc/rc.d/init.d/networking/red.up/24-RS-qos
|
etc/rc.d/init.d/networking/red.up/24-RS-qos
|
||||||
etc/rc.d/init.d/networking/red.up/27-RS-squid
|
etc/rc.d/init.d/networking/red.up/27-RS-squid
|
||||||
@@ -129,7 +130,6 @@ etc/rc.d/init.d/upnpd
|
|||||||
#etc/rc.d/init.d/vdradmin
|
#etc/rc.d/init.d/vdradmin
|
||||||
#etc/rc.d/init.d/vsftpd
|
#etc/rc.d/init.d/vsftpd
|
||||||
#etc/rc.d/init.d/watchdog
|
#etc/rc.d/init.d/watchdog
|
||||||
#etc/rc.d/init.d/winbind
|
|
||||||
etc/rc.d/init.d/wlanclient
|
etc/rc.d/init.d/wlanclient
|
||||||
#etc/rc.d/init.d/xinetd
|
#etc/rc.d/init.d/xinetd
|
||||||
#etc/rc.d/rc0.d
|
#etc/rc.d/rc0.d
|
||||||
|
|||||||
2
config/rootfiles/common/batctl
Normal file
2
config/rootfiles/common/batctl
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
usr/sbin/batctl
|
||||||
|
#usr/share/man/man8/batctl.8
|
||||||
@@ -1,8 +1,9 @@
|
|||||||
|
etc/trusted-key.key
|
||||||
usr/bin/dig
|
usr/bin/dig
|
||||||
usr/bin/host
|
usr/bin/host
|
||||||
usr/bin/nslookup
|
usr/bin/nslookup
|
||||||
usr/bin/nsupdate
|
usr/bin/nsupdate
|
||||||
#usr/man/man1/dig.1
|
#usr/share/man/man1/dig.1
|
||||||
#usr/man/man1/host.1
|
#usr/share/man/man1/host.1
|
||||||
#usr/man/man1/nslookup.1
|
#usr/share/man/man1/nslookup.1
|
||||||
#usr/man/man8/nsupdate.8
|
#usr/share/man/man1/nsupdate.1
|
||||||
|
|||||||
10938
config/rootfiles/common/boost
Normal file
10938
config/rootfiles/common/boost
Normal file
File diff suppressed because it is too large
Load Diff
@@ -117,6 +117,7 @@ var/ipfire/modem
|
|||||||
#var/ipfire/modem/defaults
|
#var/ipfire/modem/defaults
|
||||||
#var/ipfire/modem/settings
|
#var/ipfire/modem/settings
|
||||||
var/ipfire/modem-lib.pl
|
var/ipfire/modem-lib.pl
|
||||||
|
var/ipfire/network-functions.pl
|
||||||
var/ipfire/net-traffic
|
var/ipfire/net-traffic
|
||||||
#var/ipfire/net-traffic/net-traffic-admin.pl
|
#var/ipfire/net-traffic/net-traffic-admin.pl
|
||||||
#var/ipfire/net-traffic/net-traffic-lib.pl
|
#var/ipfire/net-traffic/net-traffic-lib.pl
|
||||||
|
|||||||
66
config/rootfiles/common/ddns
Normal file
66
config/rootfiles/common/ddns
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
usr/bin/ddns
|
||||||
|
usr/lib/python2.7/site-packages/ddns
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__init__.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__init__.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__init__.pyo
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__version__.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__version__.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/__version__.pyo
|
||||||
|
usr/lib/python2.7/site-packages/ddns/errors.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/errors.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/errors.pyo
|
||||||
|
usr/lib/python2.7/site-packages/ddns/i18n.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/i18n.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/i18n.pyo
|
||||||
|
usr/lib/python2.7/site-packages/ddns/providers.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/providers.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/providers.pyo
|
||||||
|
usr/lib/python2.7/site-packages/ddns/system.py
|
||||||
|
usr/lib/python2.7/site-packages/ddns/system.pyc
|
||||||
|
usr/lib/python2.7/site-packages/ddns/system.pyo
|
||||||
|
#usr/share/doc/ddns
|
||||||
|
#usr/share/doc/ddns/COPYING
|
||||||
|
#usr/share/locale/ar/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/ca/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/cs_CZ
|
||||||
|
#usr/share/locale/cs_CZ/LC_MESSAGES
|
||||||
|
#usr/share/locale/cs_CZ/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/da/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/de/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/el_GR
|
||||||
|
#usr/share/locale/el_GR/LC_MESSAGES
|
||||||
|
#usr/share/locale/el_GR/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/es/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/fa/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/fr/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/hu/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/id/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/it/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/ja/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/km_KH
|
||||||
|
#usr/share/locale/km_KH/LC_MESSAGES
|
||||||
|
#usr/share/locale/km_KH/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/nl/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/pl/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/pt_BR/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/pt_PT/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/ro_RO
|
||||||
|
#usr/share/locale/ro_RO/LC_MESSAGES
|
||||||
|
#usr/share/locale/ro_RO/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/ru/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/sq/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/sv/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/th/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/tk
|
||||||
|
#usr/share/locale/tk/LC_MESSAGES
|
||||||
|
#usr/share/locale/tk/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/tr/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/uk/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/uz@Latn
|
||||||
|
#usr/share/locale/uz@Latn/LC_MESSAGES
|
||||||
|
#usr/share/locale/uz@Latn/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/vi/LC_MESSAGES/ddns.mo
|
||||||
|
#usr/share/locale/zh
|
||||||
|
#usr/share/locale/zh/LC_MESSAGES
|
||||||
|
#usr/share/locale/zh/LC_MESSAGES/ddns.mo
|
||||||
|
#var/ipfire/ddns/ddns.conf.sample
|
||||||
@@ -21,7 +21,7 @@ etc/dhcp/dhcpd.conf
|
|||||||
#usr/lib/libomapi.a
|
#usr/lib/libomapi.a
|
||||||
#usr/sbin/dhclient
|
#usr/sbin/dhclient
|
||||||
usr/sbin/dhcpd
|
usr/sbin/dhcpd
|
||||||
#usr/sbin/dhcrelay
|
usr/sbin/dhcrelay
|
||||||
#usr/share/man/man1/omshell.1
|
#usr/share/man/man1/omshell.1
|
||||||
#usr/share/man/man3/dhcpctl.3
|
#usr/share/man/man3/dhcpctl.3
|
||||||
#usr/share/man/man3/omapi.3
|
#usr/share/man/man3/omapi.3
|
||||||
|
|||||||
17
config/rootfiles/common/i586/gmp
Normal file
17
config/rootfiles/common/i586/gmp
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#usr/include/gmp.h
|
||||||
|
#usr/include/gmpxx.h
|
||||||
|
#usr/lib/libgmp.a
|
||||||
|
#usr/lib/libgmp.la
|
||||||
|
#usr/lib/libgmp.so
|
||||||
|
usr/lib/libgmp.so.10
|
||||||
|
usr/lib/libgmp.so.10.2.0
|
||||||
|
#usr/lib/libgmpxx.a
|
||||||
|
#usr/lib/libgmpxx.la
|
||||||
|
#usr/lib/libgmpxx.so
|
||||||
|
usr/lib/libgmpxx.so.4
|
||||||
|
usr/lib/libgmpxx.so.4.4.0
|
||||||
|
usr/lib/sse2/libgmp.so.10
|
||||||
|
usr/lib/sse2/libgmp.so.10.2.0
|
||||||
|
#usr/share/info/gmp.info
|
||||||
|
#usr/share/info/gmp.info-1
|
||||||
|
#usr/share/info/gmp.info-2
|
||||||
@@ -26,6 +26,7 @@ etc/rc.d/init.d/console
|
|||||||
#etc/rc.d/init.d/cyrus-imapd
|
#etc/rc.d/init.d/cyrus-imapd
|
||||||
#etc/rc.d/init.d/cyrus-sasl
|
#etc/rc.d/init.d/cyrus-sasl
|
||||||
etc/rc.d/init.d/dhcp
|
etc/rc.d/init.d/dhcp
|
||||||
|
etc/rc.d/init.d/dhcrelay
|
||||||
etc/rc.d/init.d/dnsmasq
|
etc/rc.d/init.d/dnsmasq
|
||||||
etc/rc.d/init.d/fcron
|
etc/rc.d/init.d/fcron
|
||||||
#etc/rc.d/init.d/fetchmail
|
#etc/rc.d/init.d/fetchmail
|
||||||
@@ -73,13 +74,13 @@ etc/rc.d/init.d/networking/red.down/05-RS-dnsmasq
|
|||||||
etc/rc.d/init.d/networking/red.down/10-ipsec
|
etc/rc.d/init.d/networking/red.down/10-ipsec
|
||||||
etc/rc.d/init.d/networking/red.down/10-miniupnpd
|
etc/rc.d/init.d/networking/red.down/10-miniupnpd
|
||||||
etc/rc.d/init.d/networking/red.down/10-ovpn
|
etc/rc.d/init.d/networking/red.down/10-ovpn
|
||||||
etc/rc.d/init.d/networking/red.down/20-RL-firewall
|
etc/rc.d/init.d/networking/red.down/20-firewall
|
||||||
#etc/rc.d/init.d/networking/red.up
|
#etc/rc.d/init.d/networking/red.up
|
||||||
etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
|
etc/rc.d/init.d/networking/red.up/01-conntrack-cleanup
|
||||||
etc/rc.d/init.d/networking/red.up/05-RS-dnsmasq
|
etc/rc.d/init.d/networking/red.up/05-RS-dnsmasq
|
||||||
etc/rc.d/init.d/networking/red.up/10-miniupnpd
|
etc/rc.d/init.d/networking/red.up/10-miniupnpd
|
||||||
etc/rc.d/init.d/networking/red.up/10-multicast
|
etc/rc.d/init.d/networking/red.up/10-multicast
|
||||||
etc/rc.d/init.d/networking/red.up/20-RL-firewall
|
etc/rc.d/init.d/networking/red.up/20-firewall
|
||||||
etc/rc.d/init.d/networking/red.up/23-RS-snort
|
etc/rc.d/init.d/networking/red.up/23-RS-snort
|
||||||
etc/rc.d/init.d/networking/red.up/24-RS-qos
|
etc/rc.d/init.d/networking/red.up/24-RS-qos
|
||||||
etc/rc.d/init.d/networking/red.up/27-RS-squid
|
etc/rc.d/init.d/networking/red.up/27-RS-squid
|
||||||
@@ -132,7 +133,6 @@ etc/rc.d/init.d/upnpd
|
|||||||
#etc/rc.d/init.d/vdradmin
|
#etc/rc.d/init.d/vdradmin
|
||||||
#etc/rc.d/init.d/vsftpd
|
#etc/rc.d/init.d/vsftpd
|
||||||
#etc/rc.d/init.d/watchdog
|
#etc/rc.d/init.d/watchdog
|
||||||
#etc/rc.d/init.d/winbind
|
|
||||||
etc/rc.d/init.d/wlanclient
|
etc/rc.d/init.d/wlanclient
|
||||||
#etc/rc.d/init.d/xinetd
|
#etc/rc.d/init.d/xinetd
|
||||||
#etc/rc.d/rc0.d
|
#etc/rc.d/rc0.d
|
||||||
|
|||||||
14
config/rootfiles/common/libgcrypt
Normal file
14
config/rootfiles/common/libgcrypt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#usr/bin/dumpsexp
|
||||||
|
#usr/bin/hmac256
|
||||||
|
#usr/bin/libgcrypt-config
|
||||||
|
#usr/bin/mpicalc
|
||||||
|
#usr/include/gcrypt.h
|
||||||
|
#usr/lib/libgcrypt.la
|
||||||
|
#usr/lib/libgcrypt.so
|
||||||
|
usr/lib/libgcrypt.so.20
|
||||||
|
usr/lib/libgcrypt.so.20.0.1
|
||||||
|
#usr/share/aclocal/libgcrypt.m4
|
||||||
|
#usr/share/info/gcrypt.info
|
||||||
|
#usr/share/info/gcrypt.info-1
|
||||||
|
#usr/share/info/gcrypt.info-2
|
||||||
|
#usr/share/man/man1/hmac256.1
|
||||||
31
config/rootfiles/common/libgpg-error
Normal file
31
config/rootfiles/common/libgpg-error
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
usr/bin/gpg-error
|
||||||
|
#usr/bin/gpg-error-config
|
||||||
|
#usr/include/gpg-error.h
|
||||||
|
#usr/lib/libgpg-error.la
|
||||||
|
#usr/lib/libgpg-error.so
|
||||||
|
usr/lib/libgpg-error.so.0
|
||||||
|
usr/lib/libgpg-error.so.0.11.0
|
||||||
|
#usr/share/aclocal/gpg-error.m4
|
||||||
|
#usr/share/common-lisp
|
||||||
|
#usr/share/common-lisp/source
|
||||||
|
#usr/share/common-lisp/source/gpg-error
|
||||||
|
#usr/share/common-lisp/source/gpg-error/gpg-error-codes.lisp
|
||||||
|
#usr/share/common-lisp/source/gpg-error/gpg-error-package.lisp
|
||||||
|
#usr/share/common-lisp/source/gpg-error/gpg-error.asd
|
||||||
|
#usr/share/common-lisp/source/gpg-error/gpg-error.lisp
|
||||||
|
#usr/share/locale/cs/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/da/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/de/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/eo
|
||||||
|
#usr/share/locale/eo/LC_MESSAGES
|
||||||
|
#usr/share/locale/eo/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/fr/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/it/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/ja/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/nl/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/pl/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/ro/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/sv/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/uk/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/vi/LC_MESSAGES/libgpg-error.mo
|
||||||
|
#usr/share/locale/zh_CN/LC_MESSAGES/libgpg-error.mo
|
||||||
204
config/rootfiles/common/libnl-3
Normal file
204
config/rootfiles/common/libnl-3
Normal file
@@ -0,0 +1,204 @@
|
|||||||
|
#etc/libnl
|
||||||
|
etc/libnl/classid
|
||||||
|
etc/libnl/pktloc
|
||||||
|
#usr/include/libnl3
|
||||||
|
#usr/include/libnl3/netlink
|
||||||
|
#usr/include/libnl3/netlink/addr.h
|
||||||
|
#usr/include/libnl3/netlink/attr.h
|
||||||
|
#usr/include/libnl3/netlink/cache-api.h
|
||||||
|
#usr/include/libnl3/netlink/cache.h
|
||||||
|
#usr/include/libnl3/netlink/cli
|
||||||
|
#usr/include/libnl3/netlink/cli/addr.h
|
||||||
|
#usr/include/libnl3/netlink/cli/class.h
|
||||||
|
#usr/include/libnl3/netlink/cli/cls.h
|
||||||
|
#usr/include/libnl3/netlink/cli/ct.h
|
||||||
|
#usr/include/libnl3/netlink/cli/exp.h
|
||||||
|
#usr/include/libnl3/netlink/cli/link.h
|
||||||
|
#usr/include/libnl3/netlink/cli/neigh.h
|
||||||
|
#usr/include/libnl3/netlink/cli/qdisc.h
|
||||||
|
#usr/include/libnl3/netlink/cli/route.h
|
||||||
|
#usr/include/libnl3/netlink/cli/rule.h
|
||||||
|
#usr/include/libnl3/netlink/cli/tc.h
|
||||||
|
#usr/include/libnl3/netlink/cli/utils.h
|
||||||
|
#usr/include/libnl3/netlink/data.h
|
||||||
|
#usr/include/libnl3/netlink/errno.h
|
||||||
|
#usr/include/libnl3/netlink/fib_lookup
|
||||||
|
#usr/include/libnl3/netlink/fib_lookup/lookup.h
|
||||||
|
#usr/include/libnl3/netlink/fib_lookup/request.h
|
||||||
|
#usr/include/libnl3/netlink/genl
|
||||||
|
#usr/include/libnl3/netlink/genl/ctrl.h
|
||||||
|
#usr/include/libnl3/netlink/genl/family.h
|
||||||
|
#usr/include/libnl3/netlink/genl/genl.h
|
||||||
|
#usr/include/libnl3/netlink/genl/mngt.h
|
||||||
|
#usr/include/libnl3/netlink/handlers.h
|
||||||
|
#usr/include/libnl3/netlink/hash.h
|
||||||
|
#usr/include/libnl3/netlink/hashtable.h
|
||||||
|
#usr/include/libnl3/netlink/idiag
|
||||||
|
#usr/include/libnl3/netlink/idiag/idiagnl.h
|
||||||
|
#usr/include/libnl3/netlink/idiag/meminfo.h
|
||||||
|
#usr/include/libnl3/netlink/idiag/msg.h
|
||||||
|
#usr/include/libnl3/netlink/idiag/req.h
|
||||||
|
#usr/include/libnl3/netlink/idiag/vegasinfo.h
|
||||||
|
#usr/include/libnl3/netlink/list.h
|
||||||
|
#usr/include/libnl3/netlink/msg.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter
|
||||||
|
#usr/include/libnl3/netlink/netfilter/ct.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/exp.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/log.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/log_msg.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/netfilter.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/nfnl.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/queue.h
|
||||||
|
#usr/include/libnl3/netlink/netfilter/queue_msg.h
|
||||||
|
#usr/include/libnl3/netlink/netlink-compat.h
|
||||||
|
#usr/include/libnl3/netlink/netlink-kernel.h
|
||||||
|
#usr/include/libnl3/netlink/netlink.h
|
||||||
|
#usr/include/libnl3/netlink/object-api.h
|
||||||
|
#usr/include/libnl3/netlink/object.h
|
||||||
|
#usr/include/libnl3/netlink/route
|
||||||
|
#usr/include/libnl3/netlink/route/act
|
||||||
|
#usr/include/libnl3/netlink/route/act/mirred.h
|
||||||
|
#usr/include/libnl3/netlink/route/action.h
|
||||||
|
#usr/include/libnl3/netlink/route/addr.h
|
||||||
|
#usr/include/libnl3/netlink/route/class.h
|
||||||
|
#usr/include/libnl3/netlink/route/classifier.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls
|
||||||
|
#usr/include/libnl3/netlink/route/cls/basic.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/cgroup.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch/cmp.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch/meta.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch/nbyte.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/ematch/text.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/fw.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/police.h
|
||||||
|
#usr/include/libnl3/netlink/route/cls/u32.h
|
||||||
|
#usr/include/libnl3/netlink/route/link
|
||||||
|
#usr/include/libnl3/netlink/route/link.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/api.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/bonding.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/bridge.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/can.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/inet.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/info-api.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/ip6tnl.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/ipgre.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/ipip.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/ipvti.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/macvlan.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/sit.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/veth.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/vlan.h
|
||||||
|
#usr/include/libnl3/netlink/route/link/vxlan.h
|
||||||
|
#usr/include/libnl3/netlink/route/neighbour.h
|
||||||
|
#usr/include/libnl3/netlink/route/neightbl.h
|
||||||
|
#usr/include/libnl3/netlink/route/nexthop.h
|
||||||
|
#usr/include/libnl3/netlink/route/pktloc.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/cbq.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/dsmark.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/fifo.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/fq_codel.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/htb.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/netem.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/plug.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/prio.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/red.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/sfq.h
|
||||||
|
#usr/include/libnl3/netlink/route/qdisc/tbf.h
|
||||||
|
#usr/include/libnl3/netlink/route/route.h
|
||||||
|
#usr/include/libnl3/netlink/route/rtnl.h
|
||||||
|
#usr/include/libnl3/netlink/route/rule.h
|
||||||
|
#usr/include/libnl3/netlink/route/tc-api.h
|
||||||
|
#usr/include/libnl3/netlink/route/tc.h
|
||||||
|
#usr/include/libnl3/netlink/socket.h
|
||||||
|
#usr/include/libnl3/netlink/types.h
|
||||||
|
#usr/include/libnl3/netlink/utils.h
|
||||||
|
#usr/include/libnl3/netlink/version.h
|
||||||
|
#usr/lib/libnl
|
||||||
|
#usr/lib/libnl-3.a
|
||||||
|
#usr/lib/libnl-3.la
|
||||||
|
#usr/lib/libnl-3.so
|
||||||
|
usr/lib/libnl-3.so.200
|
||||||
|
usr/lib/libnl-3.so.200.20.0
|
||||||
|
#usr/lib/libnl-cli-3.a
|
||||||
|
#usr/lib/libnl-cli-3.la
|
||||||
|
#usr/lib/libnl-cli-3.so
|
||||||
|
usr/lib/libnl-cli-3.so.200
|
||||||
|
usr/lib/libnl-cli-3.so.200.20.0
|
||||||
|
#usr/lib/libnl-genl-3.a
|
||||||
|
#usr/lib/libnl-genl-3.la
|
||||||
|
#usr/lib/libnl-genl-3.so
|
||||||
|
usr/lib/libnl-genl-3.so.200
|
||||||
|
usr/lib/libnl-genl-3.so.200.20.0
|
||||||
|
#usr/lib/libnl-idiag-3.a
|
||||||
|
#usr/lib/libnl-idiag-3.la
|
||||||
|
#usr/lib/libnl-idiag-3.so
|
||||||
|
usr/lib/libnl-idiag-3.so.200
|
||||||
|
usr/lib/libnl-idiag-3.so.200.20.0
|
||||||
|
#usr/lib/libnl-nf-3.a
|
||||||
|
#usr/lib/libnl-nf-3.la
|
||||||
|
#usr/lib/libnl-nf-3.so
|
||||||
|
usr/lib/libnl-nf-3.so.200
|
||||||
|
usr/lib/libnl-nf-3.so.200.20.0
|
||||||
|
#usr/lib/libnl-route-3.a
|
||||||
|
#usr/lib/libnl-route-3.la
|
||||||
|
#usr/lib/libnl-route-3.so
|
||||||
|
usr/lib/libnl-route-3.so.200
|
||||||
|
usr/lib/libnl-route-3.so.200.20.0
|
||||||
|
#usr/lib/libnl/cli
|
||||||
|
#usr/lib/libnl/cli/cls
|
||||||
|
#usr/lib/libnl/cli/cls/basic.a
|
||||||
|
#usr/lib/libnl/cli/cls/basic.la
|
||||||
|
usr/lib/libnl/cli/cls/basic.so
|
||||||
|
#usr/lib/libnl/cli/cls/cgroup.a
|
||||||
|
#usr/lib/libnl/cli/cls/cgroup.la
|
||||||
|
usr/lib/libnl/cli/cls/cgroup.so
|
||||||
|
#usr/lib/libnl/cli/qdisc
|
||||||
|
#usr/lib/libnl/cli/qdisc/bfifo.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/bfifo.la
|
||||||
|
usr/lib/libnl/cli/qdisc/bfifo.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/blackhole.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/blackhole.la
|
||||||
|
usr/lib/libnl/cli/qdisc/blackhole.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/fq_codel.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/fq_codel.la
|
||||||
|
usr/lib/libnl/cli/qdisc/fq_codel.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/htb.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/htb.la
|
||||||
|
usr/lib/libnl/cli/qdisc/htb.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/ingress.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/ingress.la
|
||||||
|
usr/lib/libnl/cli/qdisc/ingress.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/pfifo.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/pfifo.la
|
||||||
|
usr/lib/libnl/cli/qdisc/pfifo.so
|
||||||
|
#usr/lib/libnl/cli/qdisc/plug.a
|
||||||
|
#usr/lib/libnl/cli/qdisc/plug.la
|
||||||
|
usr/lib/libnl/cli/qdisc/plug.so
|
||||||
|
#usr/lib/pkgconfig/libnl-3.0.pc
|
||||||
|
#usr/lib/pkgconfig/libnl-cli-3.0.pc
|
||||||
|
#usr/lib/pkgconfig/libnl-genl-3.0.pc
|
||||||
|
#usr/lib/pkgconfig/libnl-nf-3.0.pc
|
||||||
|
#usr/lib/pkgconfig/libnl-route-3.0.pc
|
||||||
|
#usr/sbin/genl-ctrl-list
|
||||||
|
usr/sbin/nl-class-add
|
||||||
|
usr/sbin/nl-class-delete
|
||||||
|
usr/sbin/nl-class-list
|
||||||
|
usr/sbin/nl-classid-lookup
|
||||||
|
usr/sbin/nl-cls-add
|
||||||
|
usr/sbin/nl-cls-delete
|
||||||
|
usr/sbin/nl-cls-list
|
||||||
|
usr/sbin/nl-link-list
|
||||||
|
usr/sbin/nl-pktloc-lookup
|
||||||
|
usr/sbin/nl-qdisc-add
|
||||||
|
usr/sbin/nl-qdisc-delete
|
||||||
|
usr/sbin/nl-qdisc-list
|
||||||
|
#usr/share/man/man8/genl-ctrl-list.8
|
||||||
|
#usr/share/man/man8/nl-classid-lookup.8
|
||||||
|
#usr/share/man/man8/nl-pktloc-lookup.8
|
||||||
|
#usr/share/man/man8/nl-qdisc-add.8
|
||||||
|
#usr/share/man/man8/nl-qdisc-delete.8
|
||||||
|
#usr/share/man/man8/nl-qdisc-list.8
|
||||||
@@ -3,13 +3,13 @@
|
|||||||
#usr/lib/libmpfr.a
|
#usr/lib/libmpfr.a
|
||||||
#usr/lib/libmpfr.la
|
#usr/lib/libmpfr.la
|
||||||
#usr/lib/libmpfr.so
|
#usr/lib/libmpfr.so
|
||||||
usr/lib/libmpfr.so.1
|
usr/lib/libmpfr.so.4
|
||||||
usr/lib/libmpfr.so.1.2.2
|
usr/lib/libmpfr.so.4.1.2
|
||||||
#usr/share/doc/mpfr
|
#usr/share/doc/mpfr
|
||||||
#usr/share/doc/mpfr/AUTHORS
|
#usr/share/doc/mpfr/AUTHORS
|
||||||
#usr/share/doc/mpfr/BUGS
|
#usr/share/doc/mpfr/BUGS
|
||||||
#usr/share/doc/mpfr/COPYING
|
#usr/share/doc/mpfr/COPYING
|
||||||
#usr/share/doc/mpfr/COPYING.LIB
|
#usr/share/doc/mpfr/COPYING.LESSER
|
||||||
#usr/share/doc/mpfr/FAQ.html
|
#usr/share/doc/mpfr/FAQ.html
|
||||||
#usr/share/doc/mpfr/NEWS
|
#usr/share/doc/mpfr/NEWS
|
||||||
#usr/share/doc/mpfr/TODO
|
#usr/share/doc/mpfr/TODO
|
||||||
@@ -18,4 +18,5 @@ usr/lib/libmpfr.so.1.2.2
|
|||||||
#usr/share/doc/mpfr/examples/divworst.c
|
#usr/share/doc/mpfr/examples/divworst.c
|
||||||
#usr/share/doc/mpfr/examples/rndo-add.c
|
#usr/share/doc/mpfr/examples/rndo-add.c
|
||||||
#usr/share/doc/mpfr/examples/sample.c
|
#usr/share/doc/mpfr/examples/sample.c
|
||||||
|
#usr/share/doc/mpfr/examples/version.c
|
||||||
#usr/share/info/mpfr.info
|
#usr/share/info/mpfr.info
|
||||||
|
|||||||
71
config/rootfiles/common/nettle
Normal file
71
config/rootfiles/common/nettle
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
#usr/bin/nettle-hash
|
||||||
|
#usr/bin/nettle-lfib-stream
|
||||||
|
#usr/bin/nettle-pbkdf2
|
||||||
|
#usr/bin/pkcs1-conv
|
||||||
|
#usr/bin/sexp-conv
|
||||||
|
#usr/include/nettle
|
||||||
|
#usr/include/nettle/aes.h
|
||||||
|
#usr/include/nettle/arcfour.h
|
||||||
|
#usr/include/nettle/arctwo.h
|
||||||
|
#usr/include/nettle/asn1.h
|
||||||
|
#usr/include/nettle/base16.h
|
||||||
|
#usr/include/nettle/base64.h
|
||||||
|
#usr/include/nettle/bignum.h
|
||||||
|
#usr/include/nettle/blowfish.h
|
||||||
|
#usr/include/nettle/buffer.h
|
||||||
|
#usr/include/nettle/camellia.h
|
||||||
|
#usr/include/nettle/cast128.h
|
||||||
|
#usr/include/nettle/cbc.h
|
||||||
|
#usr/include/nettle/ccm.h
|
||||||
|
#usr/include/nettle/chacha-poly1305.h
|
||||||
|
#usr/include/nettle/chacha.h
|
||||||
|
#usr/include/nettle/ctr.h
|
||||||
|
#usr/include/nettle/des-compat.h
|
||||||
|
#usr/include/nettle/des.h
|
||||||
|
#usr/include/nettle/dsa-compat.h
|
||||||
|
#usr/include/nettle/dsa.h
|
||||||
|
#usr/include/nettle/eax.h
|
||||||
|
#usr/include/nettle/ecc-curve.h
|
||||||
|
#usr/include/nettle/ecc.h
|
||||||
|
#usr/include/nettle/ecdsa.h
|
||||||
|
#usr/include/nettle/gcm.h
|
||||||
|
#usr/include/nettle/gosthash94.h
|
||||||
|
#usr/include/nettle/hmac.h
|
||||||
|
#usr/include/nettle/knuth-lfib.h
|
||||||
|
#usr/include/nettle/macros.h
|
||||||
|
#usr/include/nettle/md2.h
|
||||||
|
#usr/include/nettle/md4.h
|
||||||
|
#usr/include/nettle/md5-compat.h
|
||||||
|
#usr/include/nettle/md5.h
|
||||||
|
#usr/include/nettle/memxor.h
|
||||||
|
#usr/include/nettle/nettle-meta.h
|
||||||
|
#usr/include/nettle/nettle-stdint.h
|
||||||
|
#usr/include/nettle/nettle-types.h
|
||||||
|
#usr/include/nettle/pbkdf2.h
|
||||||
|
#usr/include/nettle/pgp.h
|
||||||
|
#usr/include/nettle/pkcs1.h
|
||||||
|
#usr/include/nettle/poly1305.h
|
||||||
|
#usr/include/nettle/realloc.h
|
||||||
|
#usr/include/nettle/ripemd160.h
|
||||||
|
#usr/include/nettle/rsa.h
|
||||||
|
#usr/include/nettle/salsa20.h
|
||||||
|
#usr/include/nettle/serpent.h
|
||||||
|
#usr/include/nettle/sexp.h
|
||||||
|
#usr/include/nettle/sha.h
|
||||||
|
#usr/include/nettle/sha1.h
|
||||||
|
#usr/include/nettle/sha2.h
|
||||||
|
#usr/include/nettle/sha3.h
|
||||||
|
#usr/include/nettle/twofish.h
|
||||||
|
#usr/include/nettle/umac.h
|
||||||
|
#usr/include/nettle/yarrow.h
|
||||||
|
#usr/lib/libhogweed.a
|
||||||
|
#usr/lib/libhogweed.so
|
||||||
|
usr/lib/libhogweed.so.3
|
||||||
|
usr/lib/libhogweed.so.3.0
|
||||||
|
#usr/lib/libnettle.a
|
||||||
|
#usr/lib/libnettle.so
|
||||||
|
usr/lib/libnettle.so.5
|
||||||
|
usr/lib/libnettle.so.5.0
|
||||||
|
#usr/lib/pkgconfig/hogweed.pc
|
||||||
|
#usr/lib/pkgconfig/nettle.pc
|
||||||
|
#usr/share/info/nettle.info
|
||||||
@@ -33,18 +33,18 @@ etc/ppp/standardloginscript
|
|||||||
#usr/include/pppd/tdb.h
|
#usr/include/pppd/tdb.h
|
||||||
#usr/include/pppd/upap.h
|
#usr/include/pppd/upap.h
|
||||||
usr/lib/pppd
|
usr/lib/pppd
|
||||||
usr/lib/pppd/2.4.6
|
usr/lib/pppd/2.4.7
|
||||||
usr/lib/pppd/2.4.6/minconn.so
|
#usr/lib/pppd/2.4.7/minconn.so
|
||||||
usr/lib/pppd/2.4.6/openl2tp.so
|
#usr/lib/pppd/2.4.7/openl2tp.so
|
||||||
usr/lib/pppd/2.4.6/passprompt.so
|
#usr/lib/pppd/2.4.7/passprompt.so
|
||||||
usr/lib/pppd/2.4.6/passwordfd.so
|
#usr/lib/pppd/2.4.7/passwordfd.so
|
||||||
usr/lib/pppd/2.4.6/pppoatm.so
|
#usr/lib/pppd/2.4.7/pppoatm.so
|
||||||
usr/lib/pppd/2.4.6/pppol2tp.so
|
#usr/lib/pppd/2.4.7/pppol2tp.so
|
||||||
usr/lib/pppd/2.4.6/radattr.so
|
#usr/lib/pppd/2.4.7/radattr.so
|
||||||
usr/lib/pppd/2.4.6/radius.so
|
#usr/lib/pppd/2.4.7/radius.so
|
||||||
usr/lib/pppd/2.4.6/radrealms.so
|
#usr/lib/pppd/2.4.7/radrealms.so
|
||||||
usr/lib/pppd/2.4.6/rp-pppoe.so
|
#usr/lib/pppd/2.4.7/rp-pppoe.so
|
||||||
usr/lib/pppd/2.4.6/winbind.so
|
#usr/lib/pppd/2.4.7/winbind.so
|
||||||
usr/sbin/chat
|
usr/sbin/chat
|
||||||
usr/sbin/pppd
|
usr/sbin/pppd
|
||||||
usr/sbin/pppdump
|
usr/sbin/pppdump
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ usr/lib/libgcc_s.so.1
|
|||||||
#usr/lib/libstdc++.la
|
#usr/lib/libstdc++.la
|
||||||
#usr/lib/libstdc++.so
|
#usr/lib/libstdc++.so
|
||||||
usr/lib/libstdc++.so.6
|
usr/lib/libstdc++.so.6
|
||||||
|
#usr/lib/sse2
|
||||||
#usr/local
|
#usr/local
|
||||||
#usr/local/bin
|
#usr/local/bin
|
||||||
#usr/local/bin/archive.files
|
#usr/local/bin/archive.files
|
||||||
@@ -90,7 +91,6 @@ usr/local/bin/rebuild-initrd
|
|||||||
usr/local/bin/run-parts
|
usr/local/bin/run-parts
|
||||||
#usr/local/bin/sanedloop
|
#usr/local/bin/sanedloop
|
||||||
usr/local/bin/scanhd
|
usr/local/bin/scanhd
|
||||||
usr/local/bin/setddns.pl
|
|
||||||
usr/local/bin/settime
|
usr/local/bin/settime
|
||||||
usr/local/bin/timecheck
|
usr/local/bin/timecheck
|
||||||
usr/local/bin/timezone-transition
|
usr/local/bin/timezone-transition
|
||||||
@@ -98,6 +98,7 @@ usr/local/bin/timezone-transition
|
|||||||
usr/local/bin/update-lang-cache
|
usr/local/bin/update-lang-cache
|
||||||
#usr/local/include
|
#usr/local/include
|
||||||
#usr/local/lib
|
#usr/local/lib
|
||||||
|
#usr/local/lib/sse2
|
||||||
#usr/local/sbin
|
#usr/local/sbin
|
||||||
#usr/local/share
|
#usr/local/share
|
||||||
#usr/local/share/doc
|
#usr/local/share/doc
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ etc/strongswan.d/charon/eap-tls.conf
|
|||||||
etc/strongswan.d/charon/eap-ttls.conf
|
etc/strongswan.d/charon/eap-ttls.conf
|
||||||
etc/strongswan.d/charon/farp.conf
|
etc/strongswan.d/charon/farp.conf
|
||||||
etc/strongswan.d/charon/fips-prf.conf
|
etc/strongswan.d/charon/fips-prf.conf
|
||||||
|
etc/strongswan.d/charon/gcrypt.conf
|
||||||
etc/strongswan.d/charon/gmp.conf
|
etc/strongswan.d/charon/gmp.conf
|
||||||
etc/strongswan.d/charon/hmac.conf
|
etc/strongswan.d/charon/hmac.conf
|
||||||
etc/strongswan.d/charon/kernel-netlink.conf
|
etc/strongswan.d/charon/kernel-netlink.conf
|
||||||
@@ -53,15 +54,15 @@ etc/strongswan.d/charon/sha2.conf
|
|||||||
etc/strongswan.d/charon/socket-default.conf
|
etc/strongswan.d/charon/socket-default.conf
|
||||||
etc/strongswan.d/charon/sshkey.conf
|
etc/strongswan.d/charon/sshkey.conf
|
||||||
etc/strongswan.d/charon/stroke.conf
|
etc/strongswan.d/charon/stroke.conf
|
||||||
etc/strongswan.d/charon/unity.conf
|
|
||||||
etc/strongswan.d/charon/updown.conf
|
etc/strongswan.d/charon/updown.conf
|
||||||
etc/strongswan.d/charon/x509.conf
|
etc/strongswan.d/charon/x509.conf
|
||||||
etc/strongswan.d/charon/xauth-eap.conf
|
etc/strongswan.d/charon/xauth-eap.conf
|
||||||
etc/strongswan.d/charon/xauth-generic.conf
|
etc/strongswan.d/charon/xauth-generic.conf
|
||||||
etc/strongswan.d/charon/xauth-noauth.conf
|
etc/strongswan.d/charon/xauth-noauth.conf
|
||||||
etc/strongswan.d/charon/xcbc.conf
|
etc/strongswan.d/charon/xcbc.conf
|
||||||
|
etc/strongswan.d/pki.conf
|
||||||
|
etc/strongswan.d/scepclient.conf
|
||||||
etc/strongswan.d/starter.conf
|
etc/strongswan.d/starter.conf
|
||||||
etc/strongswan.d/tools.conf
|
|
||||||
usr/bin/pki
|
usr/bin/pki
|
||||||
#usr/lib/ipsec
|
#usr/lib/ipsec
|
||||||
#usr/lib/ipsec/libcharon.a
|
#usr/lib/ipsec/libcharon.a
|
||||||
@@ -106,6 +107,7 @@ usr/lib/ipsec/plugins/libstrongswan-eap-tls.so
|
|||||||
usr/lib/ipsec/plugins/libstrongswan-eap-ttls.so
|
usr/lib/ipsec/plugins/libstrongswan-eap-ttls.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-farp.so
|
usr/lib/ipsec/plugins/libstrongswan-farp.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-fips-prf.so
|
usr/lib/ipsec/plugins/libstrongswan-fips-prf.so
|
||||||
|
usr/lib/ipsec/plugins/libstrongswan-gcrypt.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-gmp.so
|
usr/lib/ipsec/plugins/libstrongswan-gmp.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-hmac.so
|
usr/lib/ipsec/plugins/libstrongswan-hmac.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-kernel-netlink.so
|
usr/lib/ipsec/plugins/libstrongswan-kernel-netlink.so
|
||||||
@@ -130,7 +132,6 @@ usr/lib/ipsec/plugins/libstrongswan-sha2.so
|
|||||||
usr/lib/ipsec/plugins/libstrongswan-socket-default.so
|
usr/lib/ipsec/plugins/libstrongswan-socket-default.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-sshkey.so
|
usr/lib/ipsec/plugins/libstrongswan-sshkey.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-stroke.so
|
usr/lib/ipsec/plugins/libstrongswan-stroke.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-unity.so
|
|
||||||
usr/lib/ipsec/plugins/libstrongswan-updown.so
|
usr/lib/ipsec/plugins/libstrongswan-updown.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-x509.so
|
usr/lib/ipsec/plugins/libstrongswan-x509.so
|
||||||
usr/lib/ipsec/plugins/libstrongswan-xauth-eap.so
|
usr/lib/ipsec/plugins/libstrongswan-xauth-eap.so
|
||||||
@@ -186,6 +187,7 @@ usr/sbin/ipsec
|
|||||||
#usr/share/strongswan/templates/config/plugins/eap-ttls.conf
|
#usr/share/strongswan/templates/config/plugins/eap-ttls.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/farp.conf
|
#usr/share/strongswan/templates/config/plugins/farp.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/fips-prf.conf
|
#usr/share/strongswan/templates/config/plugins/fips-prf.conf
|
||||||
|
#usr/share/strongswan/templates/config/plugins/gcrypt.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/gmp.conf
|
#usr/share/strongswan/templates/config/plugins/gmp.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/hmac.conf
|
#usr/share/strongswan/templates/config/plugins/hmac.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/kernel-netlink.conf
|
#usr/share/strongswan/templates/config/plugins/kernel-netlink.conf
|
||||||
@@ -209,7 +211,6 @@ usr/sbin/ipsec
|
|||||||
#usr/share/strongswan/templates/config/plugins/socket-default.conf
|
#usr/share/strongswan/templates/config/plugins/socket-default.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/sshkey.conf
|
#usr/share/strongswan/templates/config/plugins/sshkey.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/stroke.conf
|
#usr/share/strongswan/templates/config/plugins/stroke.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/unity.conf
|
|
||||||
#usr/share/strongswan/templates/config/plugins/updown.conf
|
#usr/share/strongswan/templates/config/plugins/updown.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/x509.conf
|
#usr/share/strongswan/templates/config/plugins/x509.conf
|
||||||
#usr/share/strongswan/templates/config/plugins/xauth-eap.conf
|
#usr/share/strongswan/templates/config/plugins/xauth-eap.conf
|
||||||
@@ -220,5 +221,6 @@ usr/sbin/ipsec
|
|||||||
#usr/share/strongswan/templates/config/strongswan.d
|
#usr/share/strongswan/templates/config/strongswan.d
|
||||||
#usr/share/strongswan/templates/config/strongswan.d/charon-logging.conf
|
#usr/share/strongswan/templates/config/strongswan.d/charon-logging.conf
|
||||||
#usr/share/strongswan/templates/config/strongswan.d/charon.conf
|
#usr/share/strongswan/templates/config/strongswan.d/charon.conf
|
||||||
|
#usr/share/strongswan/templates/config/strongswan.d/pki.conf
|
||||||
|
#usr/share/strongswan/templates/config/strongswan.d/scepclient.conf
|
||||||
#usr/share/strongswan/templates/config/strongswan.d/starter.conf
|
#usr/share/strongswan/templates/config/strongswan.d/starter.conf
|
||||||
#usr/share/strongswan/templates/config/strongswan.d/tools.conf
|
|
||||||
|
|||||||
1
config/rootfiles/core/82/filelists/armv5tel/gmp
Symbolic link
1
config/rootfiles/core/82/filelists/armv5tel/gmp
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../../common/armv5tel/gmp
|
||||||
1
config/rootfiles/core/82/filelists/batctl
Symbolic link
1
config/rootfiles/core/82/filelists/batctl
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/batctl
|
||||||
1
config/rootfiles/core/82/filelists/boost
Symbolic link
1
config/rootfiles/core/82/filelists/boost
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/boost
|
||||||
15
config/rootfiles/core/82/filelists/files
Normal file
15
config/rootfiles/core/82/filelists/files
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
etc/system-release
|
||||||
|
etc/issue
|
||||||
|
etc/rc.d/init.d/firewall
|
||||||
|
etc/rc.d/init.d/networking/red.down/20-firewall
|
||||||
|
etc/rc.d/init.d/networking/red.up/20-firewall
|
||||||
|
srv/web/ipfire/cgi-bin/connections.cgi
|
||||||
|
srv/web/ipfire/cgi-bin/ddns.cgi
|
||||||
|
srv/web/ipfire/cgi-bin/fwhosts.cgi
|
||||||
|
srv/web/ipfire/cgi-bin/optionsfw.cgi
|
||||||
|
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||||
|
srv/web/ipfire/cgi-bin/proxy.cgi
|
||||||
|
usr/lib/firewall/rules.pl
|
||||||
|
var/ipfire/general-functions.pl
|
||||||
|
var/ipfire/langs
|
||||||
|
var/ipfire/network-functions.pl
|
||||||
1
config/rootfiles/core/82/filelists/i586/gmp
Symbolic link
1
config/rootfiles/core/82/filelists/i586/gmp
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../../common/i586/gmp
|
||||||
1
config/rootfiles/core/82/filelists/libnl-3
Symbolic link
1
config/rootfiles/core/82/filelists/libnl-3
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/libnl-3
|
||||||
1
config/rootfiles/core/82/filelists/mpfr
Symbolic link
1
config/rootfiles/core/82/filelists/mpfr
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../common/mpfr
|
||||||
57
config/rootfiles/core/82/update.sh
Normal file
57
config/rootfiles/core/82/update.sh
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
# Remove old core updates from pakfire cache to save space...
|
||||||
|
core=82
|
||||||
|
for (( i=1; i<=$core; i++ ))
|
||||||
|
do
|
||||||
|
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
|
||||||
|
done
|
||||||
|
|
||||||
|
# Stop services
|
||||||
|
|
||||||
|
# Remove old files
|
||||||
|
rm -vf /etc/rc.d/init.d/networking/red.up/20-RL-firewall
|
||||||
|
|
||||||
|
# Extract files
|
||||||
|
extract_files
|
||||||
|
|
||||||
|
# Start services
|
||||||
|
|
||||||
|
# Update Language cache
|
||||||
|
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
|
||||||
|
|
||||||
|
sync
|
||||||
|
|
||||||
|
# This update need a reboot...
|
||||||
|
#touch /var/run/need_reboot
|
||||||
|
|
||||||
|
# Finish
|
||||||
|
/etc/init.d/fireinfo start
|
||||||
|
sendprofile
|
||||||
|
|
||||||
|
# Don't report the exitcode last command
|
||||||
|
exit 0
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user