OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of kingfisher77 »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Topics - kingfisher77

Pages: [1]
1
20.7 Production Series / Cron <root@fw> periodic daily/weekly/monthly
« on: August 09, 2020, 09:54:24 am »
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.

2
20.1 Legacy Series / Cron periodic daily mail: illegal option -- E
« on: June 21, 2020, 07:50:34 am »
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

3
20.1 Legacy Series / WAN Port slow
« on: 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?

4
18.1 Legacy Series / Uncaught Error: Call to undefined function encrypt_data()
« on: May 26, 2018, 03:42:01 pm »
Since update to 18.1.8-ef579d069 these error message appears in the GUI:

Code: [Select]
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?

5
17.7 Legacy Series / Solved: Update to 17.7.1 not offered
« on: 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? :)


6
German - Deutsch / [GELÖST] Ports in Firewall-Konfiguration bleiben ausgegraut
« on: June 11, 2016, 11:23:59 am »
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?

7
15.7 Legacy Series / [SOLVED] Traffic Shaper remains active when deactivated
« on: September 28, 2015, 06:33:20 pm »
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   

8
15.7 Legacy Series / [SOLVED] Google Drive communication failure
« on: September 27, 2015, 07:52:07 pm »
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!

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2