]> git.ipfire.org Git - people/timf/ipfire-2.x.git/log
people/timf/ipfire-2.x.git
7 years agoids-functions.pl: Rename ruleset-sources.list to ruleset-sources
Stefan Schantl [Thu, 2 Aug 2018 17:31:52 +0000 (19:31 +0200)] 
ids-functions.pl: Rename ruleset-sources.list to ruleset-sources

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-ruleset-sources: New package
Stefan Schantl [Thu, 2 Aug 2018 17:29:36 +0000 (19:29 +0200)] 
ids-ruleset-sources: New package

Move the file which contains the download URL's for the IDS rulesets
into an own common package. This will allow us in future to easily ship
a changed file with a core update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoconfigroot: Move from snort to suricata
Stefan Schantl [Thu, 2 Aug 2018 13:47:31 +0000 (15:47 +0200)] 
configroot: Move from snort to suricata

Create /var/ipfire/suricata and /var/ipfire/suricata/settings instead of
/var/ipfire/snort and /var/ipfire/snort/settings.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agosuricata: Install very basic config file
Stefan Schantl [Thu, 2 Aug 2018 07:10:25 +0000 (09:10 +0200)] 
suricata: Install very basic config file

This config file is mostly based on the example configuration shipped
by the suricata project and needs to be enhanched.

See #11808.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Generate suricata compatiple used-rulefiles file
Stefan Schantl [Thu, 2 Aug 2018 07:07:12 +0000 (09:07 +0200)] 
ids.cgi: Generate suricata compatiple used-rulefiles file

 * Rename filename to suricata-used-rulefiles.yaml
 * Adjust file generation as a yaml file to be compatible with suricata
 * Adjust code to correctly read-in and parse the changed file

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agobackup: Make backup ISO bootable on EFI
Michael Tremer [Tue, 31 Jul 2018 15:36:09 +0000 (16:36 +0100)] 
backup: Make backup ISO bootable on EFI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoids-functions.pl: Move path details from snort to suricata
Stefan Schantl [Mon, 30 Jul 2018 19:36:07 +0000 (21:36 +0200)] 
ids-functions.pl: Move path details from snort to suricata

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoMerge branch 'next-new-ids.cgi' into next-suricata-and-cgi
Stefan Schantl [Mon, 30 Jul 2018 19:33:25 +0000 (21:33 +0200)] 
Merge branch 'next-new-ids.cgi' into next-suricata-and-cgi

7 years agosuricata: New package
Stefan Schantl [Mon, 23 Jul 2018 18:21:38 +0000 (20:21 +0200)] 
suricata: New package

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoaws: Disable SSH password authentication by default
Michael Tremer [Mon, 30 Jul 2018 15:54:50 +0000 (16:54 +0100)] 
aws: Disable SSH password authentication by default

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agolibhtp: New package
Stefan Schantl [Mon, 23 Jul 2018 18:20:29 +0000 (20:20 +0200)] 
libhtp: New package

This is build and runtime dependency for suricata.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoyaml: New package
Stefan Schantl [Mon, 23 Jul 2018 18:19:19 +0000 (20:19 +0200)] 
yaml: New package

This is a build and runtime dependency for suricata.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoIDS: Rework error and log handling in ids-functions.pl
Stefan Schantl [Sat, 28 Jul 2018 14:34:50 +0000 (16:34 +0200)] 
IDS: Rework error and log handling in ids-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoIDS: Introduce settingsdir variable
Stefan Schantl [Fri, 27 Jul 2018 05:58:23 +0000 (07:58 +0200)] 
IDS: Introduce settingsdir variable

The $settingsdir variable is declared in the ids-functions.pl and used to to
store the path where the various files which contains the settings for the IDS and
oinkmaster is located.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoIDS: Move rulepath declaration to ids-functions.pl
Stefan Schantl [Thu, 26 Jul 2018 13:56:47 +0000 (15:56 +0200)] 
IDS: Move rulepath declaration to ids-functions.pl

This will help if the path ever changed. Also remove hard coded rulepath
from oinkmaster call.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rename snortrules hash to idsrules.
Stefan Schantl [Thu, 26 Jul 2018 13:51:15 +0000 (15:51 +0200)] 
ids.cgi: Rename snortrules hash to idsrules.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agocore123: Ship and restart squid and apache
Michael Tremer [Thu, 26 Jul 2018 13:46:53 +0000 (14:46 +0100)] 
core123: Ship and restart squid and apache

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agosquid: Update to 3.5.28
Matthias Fischer [Tue, 17 Jul 2018 18:50:41 +0000 (20:50 +0200)] 
squid: Update to 3.5.28

For details see:
http://www.squid-cache.org/Versions/v3/3.5/changesets/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoApache: Update to 2.4.34
Wolfgang Apolinarski [Tue, 17 Jul 2018 18:13:30 +0000 (20:13 +0200)] 
Apache: Update to 2.4.34

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoids.cgi: Drop code which is detecting if oinkmaster is running
Stefan Schantl [Wed, 14 Feb 2018 13:08:29 +0000 (14:08 +0100)] 
ids.cgi: Drop code which is detecting if oinkmaster is running

This code is not longer required and therefore can be dropped.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Reimplement function to lock page and show working notice
Stefan Schantl [Wed, 14 Feb 2018 13:03:08 +0000 (14:03 +0100)] 
ids.cgi: Reimplement function to lock page and show working notice

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Also log errors to syslog
Stefan Schantl [Wed, 14 Feb 2018 13:01:50 +0000 (14:01 +0100)] 
ids-functions.pl: Also log errors to syslog

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Use pure perl to log oinkmaster result to syslog
Stefan Schantl [Wed, 14 Feb 2018 13:00:57 +0000 (14:00 +0100)] 
ids-functions.pl: Use pure perl to log oinkmaster result to syslog

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids-functions.pl: Make variables globally accessible
Stefan Schantl [Wed, 14 Feb 2018 11:14:06 +0000 (12:14 +0100)] 
ids-functions.pl: Make variables globally accessible

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework CGI logic to download a new ruleset
Stefan Schantl [Wed, 14 Feb 2018 09:20:23 +0000 (10:20 +0100)] 
ids.cgi: Rework CGI logic to download a new ruleset

* Drop function to show a notice about snort is working.
* Introduce the log_error function which is responsible for log any
  error messages. Currently it writes it to a tempory file, which will
  be read by the WUI, the message will be displayed and the temporary file
  will be released again.
* Introduce a tiny function to easily perform a reload of the generated
  webpage.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use tarball information from ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 09:15:39 +0000 (10:15 +0100)] 
ids.cgi: Use tarball information from ids-functions.pl

Directly use the value from the ids-functions.pl for the
location and filename of the tarball which includes the snort ruleset.

This will save to declare this information twice and prevents from any
failures if the location of filname every changes.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop dirty hook for updating the ruleset
Stefan Schantl [Wed, 14 Feb 2018 08:00:03 +0000 (09:00 +0100)] 
ids.cgi: Drop dirty hook for updating the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move function to call oinkmaster to ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 07:58:18 +0000 (08:58 +0100)] 
ids.cgi: Move function to call oinkmaster to ids-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move downloader code to ids-functions.pl
Stefan Schantl [Wed, 14 Feb 2018 07:52:21 +0000 (08:52 +0100)] 
ids.cgi: Move downloader code to ids-functions.pl

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use ids-functions.pl for checking available discspace
Stefan Schantl [Wed, 14 Feb 2018 07:20:50 +0000 (08:20 +0100)] 
ids.cgi: Use ids-functions.pl for checking available discspace

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoIDS: Introduce ids-functions.pl.
Stefan Schantl [Wed, 14 Feb 2018 07:18:15 +0000 (08:18 +0100)] 
IDS: Introduce ids-functions.pl.

This library will contain a set of functions used by the IDS CGI script
and the planned update script for auto-updating the snort ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop loading of File::Copy module.
Stefan Schantl [Mon, 12 Feb 2018 14:38:25 +0000 (15:38 +0100)] 
ids.cgi: Drop loading of File::Copy module.

This is not required, at any time by the script.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agologs.cgi/log.dat: Add support for oinkmaster
Stefan Schantl [Tue, 19 Dec 2017 10:57:19 +0000 (11:57 +0100)] 
logs.cgi/log.dat: Add support for oinkmaster

This will allow to display the logged output of oinkmaster
via the webinterface.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework snort configuration area
Stefan Schantl [Tue, 19 Dec 2017 10:56:04 +0000 (11:56 +0100)] 
ids.cgi: Rework snort configuration area

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Pipe the oinkmaster output to the logger binary
Stefan Schantl [Sun, 17 Dec 2017 18:10:21 +0000 (19:10 +0100)] 
ids.cgi: Pipe the oinkmaster output to the logger binary

This will allow anybody, to access the log of oinkmaster and
get detailed information about any changes which have been done
on the ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework downloader for rulesets
Stefan Schantl [Sun, 17 Dec 2017 18:08:25 +0000 (19:08 +0100)] 
ids.cgi: Rework downloader for rulesets

Doing the rules download in pure perl instead of using
the external wget.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old control code
Stefan Schantl [Thu, 14 Dec 2017 07:31:41 +0000 (08:31 +0100)] 
ids.cgi: Drop old control code

The control file are not longer required, because the
initscript uses the settings file to determine if snort
should be started and binded to which interfaches.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agosnort: Introduce ruleset-sources.list
Stefan Schantl [Wed, 13 Dec 2017 14:06:42 +0000 (15:06 +0100)] 
snort: Introduce ruleset-sources.list

This file contains the ruleset vendors and download urls and
will be used by the ids.cgi.

If an url or filename changes, we easily can adjust this file. In most
cases this will be needed when performing a snort update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agogeneral-functions.pl: readhash() Add code to handle optional comments in files
Stefan Schantl [Wed, 13 Dec 2017 13:53:51 +0000 (14:53 +0100)] 
general-functions.pl: readhash() Add code to handle optional comments in files

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Call oinkmaster without a log target
Stefan Schantl [Wed, 13 Dec 2017 13:50:12 +0000 (14:50 +0100)] 
ids.cgi: Call oinkmaster without a log target

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Introduce ruleset-source.list
Stefan Schantl [Wed, 13 Dec 2017 13:45:27 +0000 (14:45 +0100)] 
ids.cgi: Introduce ruleset-source.list

This new file will contain the vendor information and url
for downloading their ruleset. In future if the download location
or filename changes, we only need to adjust this one file and ship
it via a core update.

Also extend the downloadrulesfile to be able to directly call the
subfunction.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Adjust code for saving snort settings
Stefan Schantl [Wed, 13 Dec 2017 13:40:47 +0000 (14:40 +0100)] 
ids.cgi: Adjust code for saving snort settings

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Remove logfile after wget has successfully downloaded the ruleset
Stefan Schantl [Wed, 13 Dec 2017 10:53:44 +0000 (11:53 +0100)] 
ids.cgi: Remove logfile after wget has successfully downloaded the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code which shows if oinkmaster is working
Stefan Schantl [Wed, 13 Dec 2017 10:51:08 +0000 (11:51 +0100)] 
ids.cgi: Rework code which shows if oinkmaster is working

Move the code for displaying a notice that snort currently is working
into an own subfunction which will be called if oinkmaster currently
is started.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old code for debuging purposes
Stefan Schantl [Wed, 13 Dec 2017 10:50:01 +0000 (11:50 +0100)] 
ids.cgi: Drop old code for debuging purposes

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Add check when altering the ruleset
Stefan Schantl [Wed, 13 Dec 2017 10:46:40 +0000 (11:46 +0100)] 
ids.cgi: Add check when altering the ruleset

Add a check if the currently processing sid is nummeric, otherwise skip it.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code for downloading/updating the ruleset
Stefan Schantl [Tue, 12 Dec 2017 19:24:50 +0000 (20:24 +0100)] 
ids.cgi: Rework code for downloading/updating the ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move call of oinkmaster to an own subfunction
Stefan Schantl [Tue, 12 Dec 2017 19:24:11 +0000 (20:24 +0100)] 
ids.cgi: Move call of oinkmaster to an own subfunction

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Always write config files for enabled/disabled rule files
Stefan Schantl [Tue, 12 Dec 2017 19:16:26 +0000 (20:16 +0100)] 
ids.cgi: Always write config files for enabled/disabled rule files

If a single sid has been activated and then disabled without doing
any other ruleset modifications only one of the oinkmaster files
for enabled / disabled rules has been modified.

In this case it was possible, that the same sid, was part of the
file for enabled rules and part of the file for disabled rules at the
same time.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Process enabled rulefiles in an own loop
Stefan Schantl [Tue, 12 Dec 2017 19:15:00 +0000 (20:15 +0100)] 
ids.cgi: Process enabled rulefiles in an own loop

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop enabled/disabled rules from cgiparams hash
Stefan Schantl [Tue, 12 Dec 2017 19:12:38 +0000 (20:12 +0100)] 
ids.cgi: Drop enabled/disabled rules from cgiparams hash

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop enabled rulefile from cgiparams hash after processing
Stefan Schantl [Tue, 12 Dec 2017 19:10:17 +0000 (20:10 +0100)] 
ids.cgi: Drop enabled rulefile from cgiparams hash after processing

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Re-add code for enable/disable rulefiles
Stefan Schantl [Mon, 11 Dec 2017 13:22:07 +0000 (14:22 +0100)] 
ids.cgi: Re-add code for enable/disable rulefiles

The enabled rulefiles (rule categories) now will be added
to an own file, which will be included by the snort main config
file.

This will allow us to update snort and push the new main config file
without loosing the activated rulesets anymore.

* Introducing snort-used-rulefiles.conf

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Code cleanup
Stefan Schantl [Mon, 11 Dec 2017 07:46:18 +0000 (08:46 +0100)] 
ids.cgi: Code cleanup

* Drop a lot of unused variables and code.
* Re-ordering some code parts.
* Add a lot of comments.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Re-add code to save the ruleset.
Stefan Schantl [Mon, 11 Dec 2017 07:33:36 +0000 (08:33 +0100)] 
ids.cgi: Re-add code to save the ruleset.

The manually enabled or disabled rules by the user now will be written
to own config files, which will be used by oinkmaster to keep these rules
in the same state after a rules update has been performed.

In short words, if you adjust your ruleset, the changes will not be lost
again if you perform an update of your ruleset.

* Grabbing and storing the cgi values now in an own hash (%cgiparams)
* Introducing oinkmaster config files for enabled and disabled rules.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop unused css code
Stefan Schantl [Sun, 10 Dec 2017 09:36:07 +0000 (10:36 +0100)] 
ids.cgi: Drop unused css code

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Rework code for displaying the single rules
Stefan Schantl [Sun, 10 Dec 2017 09:07:41 +0000 (10:07 +0100)] 
ids.cgi: Rework code for displaying the single rules

The complete ruleset will be grouped as categories by it's
corresponding rulefile and printed in hidden tables.

They easiely can be displayed by klicking on the show link and
vice-versa.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Always display ruleset
Stefan Schantl [Wed, 6 Dec 2017 10:44:30 +0000 (11:44 +0100)] 
ids.cgi: Always display ruleset

Display the rule categories any time and do not hide them
if no instance of snort is runing.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Remove comment lines for snort rules control
Stefan Schantl [Wed, 6 Dec 2017 10:19:42 +0000 (11:19 +0100)] 
ids.cgi: Remove comment lines for snort rules control

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Refactor reading-in rule files.
Stefan Schantl [Wed, 6 Dec 2017 08:51:46 +0000 (09:51 +0100)] 
ids.cgi: Refactor reading-in rule files.

Move the code for reading and parsing the snort rule files
into an own subfunction.

* Drop code for reading in and modifying the snort main config file.
* Rework code for parsing and adding the snort rules to the snortrules hash.
* Drop code for gathering a description for the rule files, which does not
  because of a file layout change and sadly there is not suitable description
  shipped anymore by the snort team.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Move function to end of file
Stefan Schantl [Sat, 2 Dec 2017 14:31:19 +0000 (15:31 +0100)] 
ids.cgi: Move function to end of file

Move the function for doing the page refresh stuff to the end of the file and
do some layout changes for better reading the code.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Use pure perl for directory listing
Stefan Schantl [Sat, 2 Dec 2017 14:24:12 +0000 (15:24 +0100)] 
ids.cgi: Use pure perl for directory listing

Use pure perl for getting the filelist of available
rule files instead of using a sub-shell and unix commands.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agoids.cgi: Drop old code for uploading a ruleset
Stefan Schantl [Sat, 2 Dec 2017 14:17:49 +0000 (15:17 +0100)] 
ids.cgi: Drop old code for uploading a ruleset

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
7 years agocdrom: Move list of EFI modules to lfs/cdrom
Michael Tremer [Wed, 25 Jul 2018 09:54:35 +0000 (10:54 +0100)] 
cdrom: Move list of EFI modules to lfs/cdrom

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Re-order arguments again
Michael Tremer [Mon, 23 Jul 2018 22:10:36 +0000 (23:10 +0100)] 
cdrom: Re-order arguments again

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: The order of arguments for mkisofs seems to be relevant
Michael Tremer [Sun, 22 Jul 2018 21:31:30 +0000 (22:31 +0100)] 
cdrom: The order of arguments for mkisofs seems to be relevant

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agogrub: apply vga fallback disable patch again
Arne Fitzenreiter [Sun, 22 Jul 2018 11:41:38 +0000 (13:41 +0200)] 
grub: apply vga fallback disable patch again

on some systems (e.g. J1900 based) grub detects a too low resolution
and use it. This is no problem in grub itself but the kernel not render
the consoles in this mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agosyslinux: update i586 rootfile
Arne Fitzenreiter [Sat, 21 Jul 2018 14:39:46 +0000 (16:39 +0200)] 
syslinux: update i586 rootfile

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoflash-images: fix partition layout on i586
Arne Fitzenreiter [Sat, 21 Jul 2018 14:33:29 +0000 (16:33 +0200)] 
flash-images: fix partition layout on i586

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Sat, 21 Jul 2018 12:14:53 +0000 (14:14 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 years agoaws: Add support for a script that can be executed at first boot
Michael Tremer [Fri, 20 Jul 2018 15:19:46 +0000 (16:19 +0100)] 
aws: Add support for a script that can be executed at first boot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Always exit the init script cleanly
Michael Tremer [Tue, 17 Jul 2018 17:05:07 +0000 (18:05 +0100)] 
aws: Always exit the init script cleanly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoasterisk: Don't optimise for builder
Michael Tremer [Fri, 20 Jul 2018 14:21:36 +0000 (14:21 +0000)] 
asterisk: Don't optimise for builder

Asterisk enables -march=native which renders the code
incompatible to most systems.

Fixes: #11793
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoMerge branch 'next' into efi
Michael Tremer [Fri, 20 Jul 2018 12:47:20 +0000 (12:47 +0000)] 
Merge branch 'next' into efi

7 years agofireinfo: Import latest patches
Michael Tremer [Fri, 20 Jul 2018 12:06:11 +0000 (12:06 +0000)] 
fireinfo: Import latest patches

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoinstaller: Run install-bootloader script instead of own code
Michael Tremer [Fri, 20 Jul 2018 11:59:00 +0000 (11:59 +0000)] 
installer: Run install-bootloader script instead of own code

This allows us to keep the GRUB installation routine in one
place only.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agopartresize: Remove debugging line
Michael Tremer [Fri, 20 Jul 2018 11:53:55 +0000 (11:53 +0000)] 
partresize: Remove debugging line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agopartresize: Only regenerate configuration instead of re-installing GRUB
Michael Tremer [Fri, 20 Jul 2018 11:53:24 +0000 (11:53 +0000)] 
partresize: Only regenerate configuration instead of re-installing GRUB

This should not be necessary

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoMove update-bootloader script into installer
Michael Tremer [Fri, 20 Jul 2018 11:51:50 +0000 (11:51 +0000)] 
Move update-bootloader script into installer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoupdate-bootloader: Allow passing device to install GRUB on
Michael Tremer [Fri, 20 Jul 2018 11:47:35 +0000 (11:47 +0000)] 
update-bootloader: Allow passing device to install GRUB on

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoupdate-bootloader: Extend script to support EFI
Michael Tremer [Fri, 20 Jul 2018 11:34:55 +0000 (11:34 +0000)] 
update-bootloader: Extend script to support EFI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-image: use FAT for /boot partition on aarch64
Arne Fitzenreiter [Fri, 20 Jul 2018 11:24:49 +0000 (12:24 +0100)] 
flash-image: use FAT for /boot partition on aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agoMerge branch 'next' into efi
Arne Fitzenreiter [Thu, 19 Jul 2018 17:15:50 +0000 (18:15 +0100)] 
Merge branch 'next' into efi

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Conflicts:
config/kernel/kernel.config.aarch64-ipfire

7 years agoMerge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
Stefan Schantl [Thu, 19 Jul 2018 16:10:23 +0000 (18:10 +0200)] 
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next

7 years agokernel: aarch64: enable virtio drivers
Arne Fitzenreiter [Thu, 19 Jul 2018 08:30:47 +0000 (09:30 +0100)] 
kernel: aarch64: enable virtio drivers

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agou-boot: boot aarch64 kernel without -multi extension
Arne Fitzenreiter [Thu, 19 Jul 2018 08:29:44 +0000 (09:29 +0100)] 
u-boot: boot aarch64 kernel without -multi extension

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agokernel: apply multi arch patchset for aarch64
Arne Fitzenreiter [Thu, 19 Jul 2018 08:28:27 +0000 (09:28 +0100)] 
kernel: apply multi arch patchset for aarch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
7 years agocdrom: mkisofs seems to not like the order of the arguments
Michael Tremer [Mon, 16 Jul 2018 21:35:21 +0000 (22:35 +0100)] 
cdrom: mkisofs seems to not like the order of the arguments

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoRootfile update
Michael Tremer [Mon, 16 Jul 2018 21:31:11 +0000 (22:31 +0100)] 
Rootfile update

We don't have EFI on i586

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoAWS: Give setup user permissions to read its own SSH keys
Michael Tremer [Sat, 14 Jul 2018 14:06:39 +0000 (15:06 +0100)] 
AWS: Give setup user permissions to read its own SSH keys

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Unlock setup account
Michael Tremer [Thu, 12 Jul 2018 14:37:59 +0000 (15:37 +0100)] 
aws: Unlock setup account

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: Install SSH keys only for setup user
Michael Tremer [Thu, 12 Jul 2018 12:57:19 +0000 (13:57 +0100)] 
aws: Install SSH keys only for setup user

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoaws: setup user should not be a system user
Michael Tremer [Thu, 12 Jul 2018 12:55:38 +0000 (13:55 +0100)] 
aws: setup user should not be a system user

Login is not permitted for system users

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agokernel: Enable EFI on aarch64
Michael Tremer [Sat, 14 Jul 2018 13:05:09 +0000 (14:05 +0100)] 
kernel: Enable EFI on aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agoflash-images: Only install grub for EFI on aarch64
Michael Tremer [Thu, 12 Jul 2018 12:59:07 +0000 (13:59 +0100)] 
flash-images: Only install grub for EFI on aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Run isohybrid only when we have syslinux
Michael Tremer [Thu, 12 Jul 2018 09:39:57 +0000 (10:39 +0100)] 
cdrom: Run isohybrid only when we have syslinux

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Fix building GRUB image for aarch64
Michael Tremer [Tue, 10 Jul 2018 17:10:14 +0000 (18:10 +0100)] 
cdrom: Fix building GRUB image for aarch64

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install ISOLINUX only on some architectures
Michael Tremer [Tue, 10 Jul 2018 14:34:30 +0000 (15:34 +0100)] 
cdrom: Install ISOLINUX only on some architectures

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install iPXE only on x86
Michael Tremer [Tue, 10 Jul 2018 13:38:21 +0000 (14:38 +0100)] 
cdrom: Install iPXE only on x86

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
7 years agocdrom: Install memtest only on x86
Michael Tremer [Thu, 5 Jul 2018 22:29:20 +0000 (23:29 +0100)] 
cdrom: Install memtest only on x86

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>