Author Archives: te-bachi

Remote Authentication Dial-In User Service (RADIUS) Authentication, Authorization, and Accounting

Remote Authentication Dial-In User Service (RADIUS) Authentication, Authorization, and Accounting in Windows
Radius GINA Credential Provider OTP Anmeldung an Windows und Terminalserver
Windows XP login using Radius authentication
To set up 802.1x authentication
PEAP Authentication – Configuration example for Windows XP
RADIUS-Server
Radius mit Windows Server – Server, Clients und WLAN richtig konfigurieren
Using Windows 2008 For RADIUS Authentication

LDAP

FreeRADIUS on FreeBSD and OpenLDAP

Radius authentication using LDAP
Setting Up RADIUS To Use LDAP
Steps to Install and Configure OpenLDAP Server and FreeRadius
Setup FreeRadius Authentication with OpenLDAP
FreeRADIUS + 802.1x/WPA + OpenLDAP HOWTO

Raumenergie / Freie Energie

100-days.net: Raumenergie – Die saubere Energie der Zukunft

Dies ist die offizielle Webseite von Prof. Dr. Claus W. Turtur
Profil: . Dr. rer. nat. Claus W. Turtur
Raumenergie Teil 1: Die Energie der Zukunft

Kopp-Verlag: Freie Energie für alle Menschen

Induktiver Raumenergie Resonanz Converter
Die Angst vieler Physiker vor der Raumenergie, eine wissenschaftssoziologische Betrachtung – Teil 2

du sollst nicht wissen: Raumenergie

Raumenergie – Die Energieform der Zukunft!

Wikipedia

Freie Energie
Vakuumenergie

syslog Protocol

RFC – Request for Comments

RFC 3164 – The BSD syslog Protocol, August 2001
RFC 3195 – Reliable Delivery for syslog
RFC 5424 – The Syslog Protocol, March 2009
RFC 5425 – TLS Transport Mapping for Syslog
RFC 5426 – Transmission of Syslog Messages over UDP
RFC 5427 – Textual Conventions for Syslog Management
RFC 5848 – Signed Syslog Messages
RFC 6012 – Datagram Transport Layer Security (DTLS) Transport Mapping for Syslog
RFC 6587 – Transmission of Syslog Messages over TCP, April 2012

glibc

openlog
syslog

#include <stdio.h>
#include <unistd.h>
#include <syslog.h>

int
main(void)
{
   openlog("slog", LOG_PID | LOG_CONS, LOG_USER);
   syslog(LOG_INFO, "A different kind of Hello world ... ");
   closelog();

   return 0;
}

rsyslog

Rsyslog mit MySQL als zentraler Logserver
Fedora: Viewing and Managing Log Files
Centralized RSYSLOG Server Monitoring
How to Setup Centralized Logging Server using Rsyslog
Advanced Unix logging tips
RSyslog on FreeBSD
Rsyslog + MySQL on FreeBSD
gentoo Linux: rsyslog

BSD-Style blocks will go away in rsyslog v7
Filtering by program name

!prog1
 *.* /var/log/prog1.log
 *.* /var/log/prog1again.log
!prog2
 *.* /var/log/prog2.log
 *.* /var/log/prog2again.log
 if $programname == 'prog1' then {
   /var/log/prog1.log
   /var/log/prog1again.log
}
if $programname == 'prog2' then {
   /var/log/prog2.log
   /var/log/prog2again.log
}
<43>1 2015-11-10T17:27:18.354950+01:00 bsd rsyslogd-2304 - - - BSD-style blocks are no longer supported in rsyslog, see http://www.rsyslog.com/g/BSD for details and a solution (Block '!-devd') [try http://www.rsyslog.com/e/2304 ]
<43>1 2015-11-10T17:27:18.356323+01:00 bsd rsyslogd-2184 - - - action '*' treated as ':omusrmsg:*' - please change syntax, '*' will not be supported in the future [try http://www.rsyslog.com/e/2184 ]
<43>1 2015-11-10T17:27:18.356426+01:00 bsd rsyslogd-2207 - - - error during parsing file /usr/local/etc/rsyslog.conf, on or before line 27: warnings occured in file '/usr/local/etc/rsyslog.conf' around line 27 [try http://www.rsyslog.com/e/2207 ]
<43>1 2015-11-10T17:27:18.356455+01:00 bsd rsyslogd-2207 - - - error during parsing file /usr/local/etc/rsyslog.conf, on or before line 27: invalid character ';' - is there an invalid escape sequence somewhere? [try http://www.rsyslog.com/e/2207 ]
<43>1 2015-11-10T17:27:18.356496+01:00 bsd rsyslogd-2184 - - - action 'RSYSLOG_SyslogProtocol23Format' treated as ':omusrmsg:RSYSLOG_SyslogProtocol23Format' - please change syntax, 'RSYSLOG_SyslogProtocol23Format' will not be supported in the future [try http://www.rsyslog.com/e/2184 ]
<43>1 2015-11-10T17:27:18.356512+01:00 bsd rsyslogd-3000 - - - user name 'RSYSLOG_...' too long - ignored
<43>1 2015-11-10T17:27:18.356562+01:00 bsd rsyslogd-2207 - - - error during parsing file /usr/local/etc/rsyslog.conf, on or before line 27: warnings occured in file '/usr/local/etc/rsyslog.conf' around line 27 [try http://www.rsyslog.com/e/2207 ]
<43>1 2015-11-10T17:27:18.356653+01:00 bsd rsyslogd-2304 - - - BSD-style blocks are no longer supported in rsyslog, see http://www.rsyslog.com/g/BSD for details and a solution (Block '!ppp') [try http://www.rsyslog.com/e/2304 ]
<43>1 2015-11-10T17:27:18.356703+01:00 bsd rsyslogd-2304 - - - BSD-style blocks are no longer supported in rsyslog, see http://www.rsyslog.com/g/BSD for details and a solution (Block '!*') [try http://www.rsyslog.com/e/2304 ]

<27>1 2015-11-10T17:27:19.482482+01:00 bsd nmbd 1737 - -  [2015/11/10 17:27:19.481957,  0] ../lib/util/become_daemon.c:136(daemon_ready)
<27>1 2015-11-10T17:27:21.750548+01:00 bsd smbd 1740 - -  [2015/11/10 17:27:21.749661,  0] ../lib/util/become_daemon.c:136(daemon_ready)
<27>1 2015-11-10T17:27:21.760813+01:00 bsd smbd 1740 - -    STATUS=daemon 'smbd' finished starting up and ready to serve connectionsFailed to fetch record!
<27>1 2015-11-10T17:27:21.819782+01:00 bsd winbindd 1744 - -  [2015/11/10 17:27:21.819054,  0] ../source3/winbindd/winbindd_cache.c:3196(initialize_winbindd_cache)
<27>1 2015-11-10T17:27:21.820014+01:00 bsd winbindd 1744 - -    initialize_winbindd_cache: clearing cache and re-creating with version number 2
<27>1 2015-11-10T17:27:21.838248+01:00 bsd winbindd 1744 - -  [2015/11/10 17:27:21.838055,  0] ../lib/util/become_daemon.c:136(daemon_ready)

<11>1 2015-11-10T17:27:22.099952+01:00 bsd freevrrpd 1796 - -  cannot create a netgraph socket: No such file or directory
<10>1 2015-11-10T17:27:22.100123+01:00 bsd freevrrpd 1796 - -  cannot create a bridge device: No such file or directory
<10>1 2015-11-10T17:27:22.100257+01:00 bsd freevrrpd 1796 - -  aborting...

Protocol

Wikipedia Syslog Facility Levels
Unix – System Logging

#define LOG_EMERG       0       /* system is unusable */
#define LOG_ALERT       1       /* action must be taken immediately */
#define LOG_CRIT        2       /* critical conditions */
#define LOG_ERR         3       /* error conditions */
#define LOG_WARNING     4       /* warning conditions */
#define LOG_NOTICE      5       /* normal but significant condition */
#define LOG_INFO        6       /* informational */
#define LOG_DEBUG       7       /* debug-level messages */
#define LOG_KERN        (0<<3)  /* kernel messages */
#define LOG_USER        (1<<3)  /* random user-level messages */
#define LOG_MAIL        (2<<3)  /* mail system */
#define LOG_DAEMON      (3<<3)  /* system daemons */
#define LOG_AUTH        (4<<3)  /* security/authorization messages */
#define LOG_SYSLOG      (5<<3)  /* messages generated internally by syslogd */
#define LOG_LPR         (6<<3)  /* line printer subsystem */
#define LOG_NEWS        (7<<3)  /* network news subsystem */
#define LOG_UUCP        (8<<3)  /* UUCP subsystem */
#define LOG_CRON        (9<<3)  /* clock daemon */
#define LOG_AUTHPRIV    (10<<3) /* security/authorization messages (private) */
#define LOG_FTP         (11<<3) /* ftp daemon */
#define LOG_LOCAL0      (16<<3) /* reserved for local use */
#define LOG_LOCAL1      (17<<3) /* reserved for local use */
#define LOG_LOCAL2      (18<<3) /* reserved for local use */
#define LOG_LOCAL3      (19<<3) /* reserved for local use */
#define LOG_LOCAL4      (20<<3) /* reserved for local use */
#define LOG_LOCAL5      (21<<3) /* reserved for local use */
#define LOG_LOCAL6      (22<<3) /* reserved for local use */
#define LOG_LOCAL7      (23<<3) /* reserved for local use */
#define LOG_FAC_INVLD   24
#define LOG_INVLD       (LOG_FAC_INVLD<<3)      /* invalid facility/PRI code */
syslogName_t    syslogFacNames[] = {
        {"auth",         LOG_AUTH},
        {"authpriv",     LOG_AUTHPRIV},
        {"cron",         LOG_CRON},
        {"daemon",       LOG_DAEMON},
        {"kern",         LOG_KERN},
        {"lpr",          LOG_LPR},
        {"mail",         LOG_MAIL},
        {"mark",         LOG_MARK},             /* INTERNAL */
        {"news",         LOG_NEWS},
        {"security",     LOG_AUTH},             /* DEPRECATED */
        {"bsd_security", (13<<3) },             /* BSD-specific, unfortunatly with duplicate name... */
        {"syslog",       LOG_SYSLOG},
        {"user",         LOG_USER},
        {"uucp",         LOG_UUCP},
        {"ftp",          LOG_FTP},
        {"audit",        LOG_AUDIT},
        {"console",      (14 << 3)},            /* BSD-specific priority */
        {"local0",       LOG_LOCAL0},
        {"local1",       LOG_LOCAL1},
        {"local2",       LOG_LOCAL2},
        {"local3",       LOG_LOCAL3},
        {"local4",       LOG_LOCAL4},
        {"local5",       LOG_LOCAL5},
        {"local6",       LOG_LOCAL6},
        {"local7",       LOG_LOCAL7},
        {"invld",        LOG_INVLD},
        {NULL,           -1},
};

Wikipedia

Syslog (de)
Syslog (en)

Other Resources

RFC Base: The Syslog Protocol
Introduction to Syslog Protocol

Other implementations

loggy

FreeBSD as a Wireless Access Point (WAP)

FreeBSD Handbook: 30.3. Wireless Networking
FreeBSD Handbuch: 32.3. Drahtlose Netzwerke

FreeBSD 10.0-RELEASE Hardware Notes

Quick Wireless Setup On FreeBSD
Howto create a FreeBSD wireless router/access point
How To Set Up A FreeBSD Wireless Access Point
My home firewall router with FreeBSD—A year retrospective
Building my own wireless point

hostapd

hostapd(8) – authenticator for IEEE 802.11 networks
hostapd.conf(5) – configuration file for hostapd(8) utility

interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=Test Wifi
hw_mode=g
macaddr_acl=0
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=*****
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP

802.11n

ath(4) = Atheros Cardbus and PCI cards (AR5416, AR5418, AR9130,AR9160, AR9220, AR9280, AR9285, AR9227, AR9287
ipw(4) = Intel PRO/Wireless 2100 MiniPCI network adapter
iwi(4) = Intel PRO/Wireless 2200BG/2915ABG MiniPCI and 2225BG PCI network adapters
iwn(4) = Intel Wireless WiFi Link 4965AGN IEEE 802.11n PCI network adapters
wpi(4) = Intel 3945ABG Wireless LAN IEEE 802.11 driver

802.11n support for the ath(4) NICs
iwn(4) Intel 802.11n series NICs
ath and 802.11n on FreeBSD 10.0
WiFi configuration in FreeBSD (including WPA/WPA2)

# wlandebug
net.wlan.0.debug: 0x0

# wlandebug +11n 
net.wlan.0.debug: 0x0 => 0x80000000<11n>
wlan0: Ethernet address: 04:f0:21:0c:2b:a6
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_init: called
wlan0: [f8:01:13:05:ef:1f] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [f8:01:13:05:ef:1f] recv ADDBA request: dialogtoken 98 baparamset 0x402 (tid 0 bufsiz 16) batimeout 0 baseqctl 5:0
wlan0: [f8:01:13:05:ef:1f] send ADDBA response: dialogtoken 98 status 0 baparamset 0x402 (tid 0) batimeout 0x0 baseqctl 0x0
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 0 sta, 0 ht, 0 ht40, HT protmode now 0x0
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_cleanup: called
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_init: called
wlan0: [f8:01:13:05:ef:1f] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [f8:01:13:05:ef:1f] recv ADDBA request: dialogtoken 173 baparamset 0x402 (tid 0 bufsiz 16) batimeout 0 baseqctl 5:0
wlan0: [f8:01:13:05:ef:1f] send ADDBA response: dialogtoken 173 status 0 baparamset 0x402 (tid 0) batimeout 0x0 baseqctl 0x0
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 0 sta, 0 ht, 0 ht40, HT protmode now 0x0
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_cleanup: called
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_init: called
wlan0: [f8:01:13:05:ef:1f] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [f8:01:13:05:ef:1f] recv ADDBA request: dialogtoken 248 baparamset 0x402 (tid 0 bufsiz 16) batimeout 0 baseqctl 5:0
wlan0: [f8:01:13:05:ef:1f] send ADDBA response: dialogtoken 248 status 0 baparamset 0x402 (tid 0) batimeout 0x0 baseqctl 0x0
wlan0: [f8:01:13:05:ef:1f] discard MPDU frame, BA win <6:21> (0 frames) rxseq 5 tid 0 (retransmit)
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 0 sta, 0 ht, 0 ht40, HT protmode now 0x0
wlan0: [f8:01:13:05:ef:1f] ieee80211_ht_node_cleanup: called
wlan0: [38:0b:40:23:88:53] ieee80211_ht_node_init: called
wlan0: [38:0b:40:23:88:53] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [38:0b:40:23:88:53] recv ADDBA request: dialogtoken 120 baparamset 0x802 (tid 0 bufsiz 32) batimeout 0 baseqctl 0:0
wlan0: [38:0b:40:23:88:53] send ADDBA response: dialogtoken 120 status 0 baparamset 0x802 (tid 0) batimeout 0x0 baseqctl 0x0
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 0 sta, 0 ht, 0 ht40, HT protmode now 0x0
wlan0: [38:0b:40:23:88:53] ieee80211_ht_node_cleanup: called
wlan0: [38:0b:40:23:88:53] ieee80211_ht_node_init: called
wlan0: [38:0b:40:23:88:53] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [38:0b:40:23:88:53] recv ADDBA request: dialogtoken 203 baparamset 0x802 (tid 0 bufsiz 32) batimeout 0 baseqctl 0:0
wlan0: [38:0b:40:23:88:53] send ADDBA response: dialogtoken 203 status 0 baparamset 0x802 (tid 0) batimeout 0x0 baseqctl 0x0
wlan0: [38:0b:40:23:88:53] discard MPDU frame, BA win <7:38> (0 frames) rxseq 6 tid 0 (retransmit)
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 0 sta, 0 ht, 0 ht40, HT protmode now 0x0
wlan0: [38:0b:40:23:88:53] ieee80211_ht_node_cleanup: called
wlan0: [38:0b:40:23:88:53] ieee80211_ht_node_init: called
wlan0: [38:0b:40:23:88:53] switch station to HT20 channel 2412/0x10480
wlan0: [04:f0:21:0c:2b:a6] HT bss occupancy change: 1 sta, 1 ht, 0 ht40, HT protmode now 0x2
wlan0: [38:0b:40:23:88:53] recv ADDBA request: dialogtoken 26 baparamset 0x802 (tid 0 bufsiz 32) batimeout 0 baseqctl 0:0
wlan0: [38:0b:40:23:88:53] send ADDBA response: dialogtoken 26 status 0 baparamset 0x802 (tid 0) batimeout 0x0 baseqctl 0x0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 04:f0:21:0c:2b:a6
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
	status: running
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 04:f0:21:0c:2b:a6
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
	status: running

Open:	ssid BACHI.NET channel 1 (2412 MHz 11g ht/40+) bssid 04:f0:21:0c:2b:a6
	country US ecm authmode OPEN privacy OFF txpower 27 scanvalid 60
	protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme burst
	dtimperiod 1 -dfs

WPA US: ssid BACHI.NET channel 1 (2412 MHz 11g ht/40+) bssid 04:f0:21:0c:2b:a6
        country US ecm authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit
        txpower 27 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8
        shortgi wme burst dtimperiod 1 -dfs

WPA CH: ssid BACHI.NET channel 1 (2412 MHz 11g ht/40+) bssid 04:f0:21:0c:2b:a6
        regdomain ETSI country CH ecm authmode WPA privacy MIXED deftxkey 3
        TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60 protmode CTS
        ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -dfs
# ifconfig wlan0 list sta
ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG   
f8:01:13:05:ef:1f    1    1  21M 17.0    0     24  27152 EPS  AQEPHTR HTCAP WME WPA
38:0b:40:23:88:53    2    1  43M 12.5    0      6  12336 EPS  AQEHTR  HTCAP WPA WME
# bsd-airtools
# wicontrol

Multi-SSID

FreeBSDAccessPoint
FreeBSDOnEmbeddedDevice

# Eudoroam internal wired and wireless
ifconfig_sis0="up"
create_args_wlan0="wlanmode hostap mode 11g ssid eduroam.test up"
ifconfig_bridge0="addm wlan0 addm sis0 up"
ipv4_addrs_bridge0="192.168.42.1/24 192.168.1.2/24"

# Wireless Leiden Hub
ifconfig_sis2="up"
create_args_wlan1="wlanmode hostap bssid mode 11g ssid
ap-raam.snuit.wleiden.net up"
ifconfig_bridge1="addm wlan1 addm sis2 DHCP"

# Authentication enabled on my personal access point (wlan0)
hostapd_enable="YES"
interface=wlan0
driver=bsd

logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

macaddr_acl=0
auth_algs=1

wpa=1
wpa_passphrase=FooBarPass
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
EOF

multi vap Multi-SSID with ath on FreeBSD 10-current
multiple ssid’s over a single physical wireless interface
Trouble setting up multi SSID and 802.1X
Multiple SSIDs with hostapd (Linux)

$ ifconfig wlan0 create wlandev ath0 wlanmode monitor
$ ifconfig wlan0 channel 6
$ ifconfig wlan0 up
$ tcpdump -ni wlan0 -y IEEE802_11_RADIO
$ tcpdump -ni wlan0 -y IEEE802_11_RADIO -s0 -l -v -w output.pcap

WPA-EAP

FreeBSD + Freeradius2 + EAP-TLS + ssl-admin, a WPA2 Enterprise Guide
WPA2 Enterprise using DD-WRT and FreeBSD
hostapd: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Wpa/WPA2-Radius+EAP-TLS/EAP-PEAP
Setting up WLAN network with EAP-TLS using only PC hardware and free software

Snort

Snort

Erster Eindruck: Die stark überarbeitete Snort-Version 2.0, 06/2003
Intrusion Detection mit Snort, Snorby, Open FPC und Pulled Pork, 04/2011
OpenBSD: Snort Intrusion Detection System, July 23 2011
Understanding the Snort architecture
Design of a multimedia traffic classifier for Snort

Snort2Pf

Snort2Pf
Snort2Pf is a small Perl daemon which greps Snort’s alertfile and blocks the “naughty” hosts for a given amount of time using pfctl.

VirtualBox

VirtualBox 6 on Ubuntu

$ sudo dpkg -i virtualbox-6.0_6.0.12-133076~Ubuntu~bionic_amd64.deb 
[sudo] password for andreas:         
Selecting previously unselected package virtualbox-6.0.
(Reading database ... 253319 files and directories currently installed.)
Preparing to unpack virtualbox-6.0_6.0.12-133076~Ubuntu~bionic_amd64.deb ...
Unpacking virtualbox-6.0 (6.0.12-133076~Ubuntu~bionic) ...
dpkg: dependency problems prevent configuration of virtualbox-6.0:
 virtualbox-6.0 depends on libqt5opengl5 (>= 5.0.2); however:
  Package libqt5opengl5 is not installed.
 virtualbox-6.0 depends on libqt5printsupport5 (>= 5.0.2); however:
  Package libqt5printsupport5 is not installed.
 virtualbox-6.0 depends on libqt5x11extras5 (>= 5.6.0); however:
  Package libqt5x11extras5 is not installed.

dpkg: error processing package virtualbox-6.0 (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (237-3ubuntu10.23) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23+linuxmint6) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.9-2) ...
Errors were encountered while processing:
 virtualbox-6.0

$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libqt5opengl5 libqt5printsupport5 libqt5x11extras5
The following NEW packages will be installed:
  libqt5opengl5 libqt5printsupport5 libqt5x11extras5
0 upgraded, 3 newly installed, 0 to remove and 269 not upgraded.
1 not fully installed or removed.
Need to get 318 kB of archives.
After this operation, 1'316 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5opengl5 amd64 5.9.5+dfsg-0ubuntu2.3 [132 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2.3 [178 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5x11extras5 amd64 5.9.5-0ubuntu1 [8'596 B]
Fetched 318 kB in 1s (528 kB/s)              
Selecting previously unselected package libqt5opengl5:amd64.
(Reading database ... 254250 files and directories currently installed.)
Preparing to unpack .../libqt5opengl5_5.9.5+dfsg-0ubuntu2.3_amd64.deb ...
Unpacking libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../libqt5printsupport5_5.9.5+dfsg-0ubuntu2.3_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Selecting previously unselected package libqt5x11extras5:amd64.
Preparing to unpack .../libqt5x11extras5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Setting up libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Setting up libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Setting up libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up virtualbox-6.0 (6.0.12-133076~Ubuntu~bionic) ...
Adding group `vboxusers' (GID 129) ...
Done.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.

Your system has UEFI Secure Boot enabled.                                                                                                                                                                                              

UEFI Secure Boot requires additional configuration to work with third-party drivers.                                                                                                                                                     

The system will assist you in configuring UEFI Secure Boot. To permit the use of
third-party drivers, a new Machine-Owner Key (MOK) has been generated.
This key now needs to be enrolled in your system's firmware.

To ensure that this change is being made by you as an authorized user, and not by
an attacker, you must choose a password now and then confirm the change after
reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot
state" menus that will be presented to you when this system reboots.   

If you proceed but do not confirm the password upon reboot, Ubuntu will still be
able to boot on your system but any hardware that requires third-party drivers to
work correctly may not be usable.    

$ reboot

Enroll MOK

$ lsmod | grep vb
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               487424  3 vboxpci,vboxnetadp,vboxnetflt


$ dpkg -l | grep virtualbox
ii  virtualbox-6.0  6.0.12-133076~Ubuntu~bionic  amd64  Oracle VM VirtualBox

$ sudo vi /etc/apt/sources.list
deb https://download.virtualbox.org/virtualbox/debian bionic contrib

Host: Linux, VM: FreeBSD

VirtualBox vboxnet0-Adapter hinzufügen