Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - kingfisher77

#1
After an update to 25.1, the serial console is no longer interactive, i.e. I see the output during the boot process, but I cannot log in. There is no prompt, the output stops at 'lo=: link state changed to UP'. It seems that there is a bug in version 25.1. Another person in the german forum reported a simillar issue.

The interactive serial console worked for years up to version 25.1. Now no interaction is possible.

My console settings are as follows:

Console

Console driver
- [y] Use the virtual terminal driver (vt)

Primary Console
- Serial Console

Secondary Console
- VGA Console

Serial Speed
- 115200

USB-based serial
- [n] Use USB-based serial ports

Console menu
- [n] Password protect the console menu
#2
21.7 Legacy Series / Cronjob does not send mail
November 18, 2021, 09:39:29 PM
We have a production firewall and a backup firewall which are identically set up. A custom backup script is configured on each system, triggered by a cron job. On the production firewall, the cron job sends a mail. On the backup system, the mail is not being sent.

We cannot find the reason for that. Where in the system is the behavior of cron configured?
#3
Hi, i feel a bit stupid because i cannot find out where these mails are coming from:

From root@fw  Mon Aug  3 03:01:43 2020
Return-Path: <root@fw>
X-Original-To: root
Delivered-To: root@fw
Received: by fw (Postfix, from userid 0)
        id A5FD9D9FB03; Mon,  3 Aug 2020 03:01:43 +0200 (CEST)
From: Cron Daemon <root@fw>
To: root@fw
Subject: Cron <root@fw> periodic daily
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20200803010143.A5FD9D9FB03@fw>
Date: Mon,  3 Aug 2020 03:01:00 +0200 (CEST)
Status: RO

mail: illegal option -- E
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
            [- sendmail-options ...]
       mail [-iInNv] -f [name]
       mail [-iInNv] [-u user]


Sometime i fiddeled around with Cron jobs sending mail. Then it worked but later i found out that this mails aggregate over time for periodic daily/weekly/monthly.

I think i read all documentations and posts about Cron jobs in OpnSense but damn it i cannot change the behaviour. Would anyone like to find the mistake with me? I really appreciate this.
#4
Hi, recently we discovered the cron integration with Opnsense and tried all options. We found our solution and our cron jobs works fine. There is one thing which we could not fix which is possibly related to some of our tests.

Every night the cron job for "periodic daily" stops with complains about mail:

From root@fw  Sun Jun 21 03:01:39 2020
Return-Path: <root@fw>
X-Original-To: root
Delivered-To: root@fw
Received: by fw (Postfix, from userid 0)
        id 224C5D9FB03; Sun, 21 Jun 2020 03:01:39 +0200 (CEST)
From: Cron Daemon <root@fw>
To: root@fw
Subject: Cron <root@fw> periodic daily
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20200621010139.224C5D9FB03@fw>
Date: Sun, 21 Jun 2020 03:01:00 +0200 (CEST)
Status: RO

mail: illegal option -- E
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...
            [- sendmail-options ...]
       mail [-iInNv] -f [name]
       mail [-iInNv] [-u user]


We cannot find the source for that. Could someone enlighten me?

Tobias
#5
20.1 Legacy Series / WAN Port slow
April 12, 2020, 05:04:41 PM
Hi, since we have cable with 1Gbit down/50Mbit up we experience slow net performance. If we connect directly to the cable modem (FritzBox 6591) we have around 800Mbit down/40Mbit up. If we go through our OPNsense Ghz small (SML20083D) we experience only ~100-200MBit/~4-10Mbit.

Our setup is straight forward, no special requirements. OpnSense is connect to the FritzBox via Exposed Host.

Very could we start to narrow down the problem?
#6
Since update to 18.1.8-ef579d069 these error message appears in the GUI:

Unfortunately we have detected at least one programming bug.

User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
FreeBSD 11.1-RELEASE-p10  a6fa9599a(stable/18.1)
OPNsense 18.1.8-ef579d069 [18.1.6-1ba9a4da3] OpenSSL 1.0.2o  27 Mar 2018 (amd64)
Plugins os-clamav-1.5 os-postfix-1.2
Time Sat, 26 May 2018 15:35:28 +0200

[21-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[22-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[23-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[24-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
[...]

a.s.o.

The backup to Google Drive is not working anymore. Has something changed?
#7
17.7 Legacy Series / Solved: Update to 17.7.1 not offered
September 02, 2017, 11:48:30 AM
Since upgrade to 17.7. the GUI speeded up tremendously! Perfect, good work, thank you :)

Today i saw that there is 17.7.1 available. But it is not offered to be installed. Not from the GUI as well as not from cli.

It shows up like that:

17.7.1 2017-08-31   
17.7 (installed) 2017-07-31

Obviously i miss something. But what? :)

#8
Hallo zusammen,

heute ist mir aufgefallen, dass in den Firewall-Settings die Port-Konfiguration nicht mehr nutzbar ist. Ob das mit dem letzte Update zusammenhängt? Ich weiss nicht genau, seit wann das so ist. Aktuell läuft OPNsense 16.1.16-amd64 auf der Appliance.

Bereits konfigurierte Ports sind weiterhin da, sie können auch geändert werden, alles funktioniert tadellos. Nur die Port-Einstellungen bei Regeln die bisher noch keine Ports konfiguriert hatten und bei neuen Regeln ist die Port-Konfiguration ausgegraut.

Woran könnte das liegen?
#9
We have a weired behaviour with traffic shaping. After disabling the pipe (1MBit/s per source) the traffic remains shaped. After a reboot of the appliance the behaviour like it was bevor using Traffic Shaper is back.

If we delete the rule or override it with a higher value the higher value is reached. But the maximum traffic which we have after a reboot is never reached (100/7Mbit/s).

Could this be a bug?

OPNsense 15.7.14-amd64   
#10
Hello,

i tried very carefully (two times) to set up the Google Drive Backup without success. I read th guidelines in the documentation very precisely. Everything should work.

But it doesn't: "Google Drive communication failure"

In the Log: opnsense: /diag_backup.php: error while fetching filelist from Google Drive

Is there a chance to increase the loglevel for debugging?

Thank you!