Commit Graph

764 Commits

Author SHA1 Message Date
Arne Fitzenreiter
74e5c32e19 Merge branch 'master' into next 2015-12-02 21:39:20 +01:00
Arne Fitzenreiter
1f182999bc cpufreq: change initscript for intel pstate driver.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-12-02 14:17:34 +01:00
Stefan Schantl
c77e962d56 snort: Also monitor assigned alias addresses on red.
These changes will allow snort to also inspect the traffic for
one or more configured alias addresses, which has not been done in the past.

The current situation is, that snort if enabled on red, only inspects
the traffic which is desired to the statically configured red address.

If some alias addresses have been assigned to the red interface the
traffic to these addresses will not be checked by snort and
completely bypasses the IDS.

There is no user interaction required, nor visible-effects or any
backward-compatiblity required, only a restart of snort after the
update process to protect all red addresses.

To do this we will now check if, the RED interface has been set to STATIC (which
is required to use the aliases function) and any aliases have been configured. In
case of this, the modified code will add all enabled alias addresses to the HOMENET
variable in which snort is storing all the monitored addresses.

Fixes #10619.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-11-18 17:30:59 +00:00
Arne Fitzenreiter
60fcb2410e firewall: fix disable MASQERADE in green only mode.
using MASQERADE_GREEN="off" will not work because "NETWORK_GREEN" is
not correctly defined in green only mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-11-01 11:20:56 +01:00
Arne Fitzenreiter
16cb6ae3d0 geo-ip: download initial database in background.
on slow internet connections like gprs the first start hung many minutes.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-10-31 16:57:16 +01:00
Michael Tremer
364452506f Merge remote-tracking branch 'ms/dhcp-rfc2136-broken-down' into next 2015-10-21 13:50:31 +01:00
Michael Tremer
80fbd89949 ipsec: Add block rules to avoid conntrack entries
If an IPsec VPN connections is not established, there are
rare cases when packets are supposed to be sent through
that said tunnel and incorrectly handled.

Those packets are sent to the default gateway an entry
for this connection is created in the connection tracking
table (usually only happens to UDP). All following packets
are sent the same route even after the tunnel has been
brought up. That leads to SIP phones not being able to
register among other things.

This patch adds firewall rules that these packets are
rejected. That will sent a notification to the client
that the tunnel is not up and avoid the connection to
be added to the connection tracking table.

Apart from a small performance penalty there should
be no other side-effects.

Fixes: #10908

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Cc: tomvend@rymes.com
Cc: daniel.weismueller@ipfire.org
Cc: morlix@morlix.de
Reviewed-by: Timo Eissler <timo.eissler@ipfire.org>
2015-10-15 22:44:47 +01:00
Michael Tremer
dfe630f77c Merge remote-tracking branch 'ms/experimental-vlan-hotplugging' into next 2015-09-28 14:33:49 +01:00
Matthias Fischer
7f263dc736 Fixed some typos in initscript
"Createing= => "Creating"...

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-19 18:50:54 +01:00
Douglas Duckworth
6ee104aeb7 snort: Remove trailing slash in pid path
Fixes: https://bugzilla.ipfire.org/show_bug.cgi?id=10924

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-14 23:19:50 +01:00
Michael Tremer
ea0033d962 SSH: Replace old RSA keys with a new set
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-20 23:26:49 +01:00
Michael Tremer
04da8aa70a Do not create any DSA keys any more
DSA is considered weak cryptography

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-20 23:22:08 +01:00
Michael Tremer
3db584817d Remove old VLAN initscript
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-05 12:43:53 +01:00
Arne Fitzenreiter
7b9233935e core90: fix missing filename in metafile. 2015-05-13 19:44:15 +02:00
Arne Fitzenreiter
2e28ecea3e functions.network: update dhcp client commandline.
this fix trailing space before hostname.
2015-04-20 22:48:46 +02:00
Stefan Schantl
e6c4f090b6 Merge branch 'next-geoip' into core-90-geoip 2015-04-15 17:10:49 +02:00
Arne Fitzenreiter
040ec360f9 hostapd: remove MADWIFI from initskript 2015-04-11 22:23:31 +02:00
Stefan Schantl
2be0bc4410 nfs-server: Drop kernel version check from initscript.
As suggested on the bugtracker, the kernel version check completely has been
removed.

Fixes #10760.
2015-04-04 14:08:51 +02:00
Stefan Schantl
8f548dfe36 Merge branch 'nfs-server-fix' into next 2015-04-03 19:19:34 +02:00
Stefan Schantl
668ea5d311 nfs-server: Fix kernel version check in initscript.
nfsd requires a mounted nfsd filesystem which has been introduced in
the kernel 2.6 tree. To determine the current running kernel, a check
was included in the initscript which works fine until we switched to a kernel
version 3.x.

This commit fixes this check, so the nfs-server will startup again.

Fixes #10760.
2015-04-03 18:59:12 +02:00
Arne Fitzenreiter
0d573e226f dnsmasq: fix initskript
-add timestamp filename
-pull user config after define default parameter
2015-03-31 10:09:46 +02:00
Michael Tremer
28fee67640 dnsmasq: Disable parsing leases when DNS Update is enabled 2015-03-16 01:11:29 +01:00
Stefan Schantl
e24668f99a networking/red.up/99-geoip-database: Fix empty folder check. 2015-03-15 11:40:31 +01:00
Stefan Schantl
16bbdeb988 networking/red.up/99-geoip-database: Fix typo. 2015-03-15 11:39:55 +01:00
Stefan Schantl
93bfe63d55 Merge branch 'seventeen-geoip' into next-geoip 2015-03-15 11:38:45 +01:00
Michael Tremer
de7abd2cd5 dnsmasq: Enable DNSSEC timestamp feature
This disables DNSSEC until the system clock has been set correctly.
There is a circular dependency on working DNS and being able to
resolve DNS records in order to reach a time server. Systems without
a RTC or empty RTC battery will start up with time way in the past
in which all DNSSEC signatures are invalid.
2015-03-12 12:59:24 +01:00
Michael Tremer
b8a97bd943 dnsmasq: Enable DNSSEC timestamp feature
This disables DNSSEC until the system clock has been set correctly.
There is a circular dependency on working DNS and being able to
resolve DNS records in order to reach a time server. Systems without
a RTC or empty RTC battery will start up with time way in the past
in which all DNSSEC signatures are invalid.
2015-03-10 16:22:09 +01:00
Michael Tremer
600b99fb31 network: Configure device names from /var/ipfire/ethernet/settings
Instead of creating a copy of the configuration values and
for better extensibility, we will have udev execute a script
that parses /var/ipfire/ethernet/settings and will return the
correct name of the corresponding device (green0, blue0, ...).
2015-03-09 16:31:59 +01:00
Michael Tremer
0f0e30dced haproxy: New package 2015-03-05 14:48:16 +01:00
Michael Tremer
3ed94afdc8 teamspeak: Remove package
This is an old version any way and just used to download the
pre-compiled data from the servers of the vendor.
2015-03-03 21:11:34 +01:00
Stefan Schantl
bc9446c65f Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-2.x into seventeen-geoip
Conflicts:
	make.sh
2015-02-14 12:34:31 +01:00
Michael Tremer
aa2e56a531 Merge branch 'master' into next 2015-02-11 14:58:10 +01:00
Arne Fitzenreiter
309b7de86e swconfig: supress error on non dtb machines. 2015-02-11 08:07:49 +01:00
Michael Tremer
de0ccf8f8c Merge branch 'master' into next
Conflicts:
	make.sh
2015-02-04 13:24:05 +01:00
Arne Fitzenreiter
9c47987e25 hostapd: undo rename if dual interfaces are not supported. 2015-01-30 17:39:34 +01:00
Michael Tremer
06f451c0be Merge remote-tracking branch 'glotzi/monit' into next 2015-01-28 23:10:47 +01:00
Michael Tremer
fe53fa8dac Merge remote-tracking branch 'ummeegge/lynis' into next
Conflicts:
	make.sh
2015-01-28 22:49:36 +01:00
Arne Fitzenreiter
ffeb717f2d add swconfig for lamobo-r1 switch setup. 2015-01-27 20:21:17 +01:00
Arne Fitzenreiter
08215cb5d8 collectd: sync after cfg update and ramdisk backup. 2015-01-21 13:19:00 +01:00
Arne Fitzenreiter
893ef99ed4 collectd: fix disable swap plugin if no swap exist. 2015-01-21 13:16:09 +01:00
Arne Fitzenreiter
d595016bfb leds: add mirabox support. 2015-01-18 21:32:15 +01:00
Arne Fitzenreiter
d1b89a12f9 hostapd: create additional AP device if switch has failed. 2015-01-18 21:29:53 +01:00
Dirk Wagner
f0dd065425 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into monit
Conflicts:
	config/etc/logrotate.conf
2015-01-06 15:51:29 +01:00
Stefan Schantl
0909c0d150 Automatically download and update GeoIP Databases. 2015-01-04 13:40:34 +01:00
Stefan Schantl
cab02e2a5f Add "GEOIPBLOCK" chains to firewall initscript. 2015-01-04 00:57:23 +01:00
Michael Tremer
66c684fa60 Change default font to that what we use in IPFire 3 2014-12-26 18:00:51 +01:00
Dirk Wagner
601f8347cc Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into asterisk-update 2014-12-23 09:02:23 +01:00
Arne Fitzenreiter
c0504c5cc5 part/fsresize: fix on systems without initrd.
/proc/mounts has no correct entry for / on such systems.
Use mount instead.
2014-11-05 19:08:30 +01:00
Michael Tremer
f4098d1ac7 Set LatArCyrHeb-16 as default font 2014-10-27 23:52:55 +01:00
Dirk Wagner
5ae99dd2d1 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into monit 2014-10-15 22:38:13 +02:00