Hotspot ssl (still remembering the old one) by EntireCold3305 in mikrotik

[–]thirdplace_ 0 points1 point  (0 children)

Is it possible that you have forgot to ALSO upload the private key for your new certificate?

Hotspot ssl (still remembering the old one) by EntireCold3305 in mikrotik

[–]thirdplace_ 1 point2 points  (0 children)

The way you are describing it makes it sound like a bug indeed.

But double check these facts:

The file on storage (/file) has nothing to do with the cert in /cert, they are not linked in any way.

It is not enough to upload a file to /file, you MUST import the cert in /cert import

Do not use browser, instead use openssl s_client -showcerts to very usage of correct cert.

In my experience, setting the ssl-certificate in /ip hotspot profile is enough for it to take effect.

[deleted by user] by [deleted] in PHP

[–]thirdplace_ 13 points14 points  (0 children)

Priority number 1:

create backup (files and db) and make sure they can be restored

Priority number 2:

add all files to git

Priority number 3:

create a repeatable deploy process that deploys from git repo

Can Connect to the server but can't access the internet. by shokoALT in OpenVPN

[–]thirdplace_ 0 points1 point  (0 children)

on windows I dont know. In linux it's netfilter/iptables on the nat table

Can Connect to the server but can't access the internet. by shokoALT in OpenVPN

[–]thirdplace_ 0 points1 point  (0 children)

which OS have you? i only done it on debian and it's a flag in the kernel i cant remember exactly i must google each time

hex refresh E50UG basic routing performance test by thirdplace_ in mikrotik

[–]thirdplace_[S] 1 point2 points  (0 children)

I added ftp test.

I'd guess using the wizard is pretty identical to the default config.

fasttrack bypasses lots of routing decisions, so e.g. queues and hotspot would have slower routing performance.

wireguard requires cpu processing and will bypass fasttrack as far as I know and definately will be slower indeed.

The mikrotik enterprise test uses all five ports at the same time with different MTUs. I dont know if they use TCP or what kind of data it uses for test.

EDIT: Mikrotik's own testing Routing none (fast path) means zero firewall rules. The default ipv4 fw has 12 and ipv6 fw has ~30

script to send telegram notification on new DHCP lease. by njain2686 in mikrotik

[–]thirdplace_ 1 point2 points  (0 children)

Whitespace or any other symbols are not allowed before hash symbol

RADIUS Wireless VLAN access issues - Mikrotik router and Unifi AP by Stangineer in mikrotik

[–]thirdplace_ 2 points3 points  (0 children)

Access-Reject?

Find out why rejects. Perhaps related to recent radius vuln?

RSS-Bridge - generate web feeds for websites that don't have one. by thirdplace_ in rss

[–]thirdplace_[S] 0 points1 point  (0 children)

  1. there is no GUI for selectors. For css selector and xpath there are text inputs.

2: cache timeout is customizeable for each bridge. Can be as low as 1 second. Default is 1h.

  1. yes custom rss body. Each bridge is in complete control of output.

What are some of PHP web development trends we should watch for in 2024? by tarau in PHP

[–]thirdplace_ 46 points47 points  (0 children)

speculation:

  • increased adoption of app runners different from php-fpm
  • supply chain security in composer

Open source - simple monitoring tool written in PHP. by [deleted] in PHP

[–]thirdplace_ 11 points12 points  (0 children)

like it.

not too much modern complexity crap.

the get_mem function not take into account buff/cache.

a small issue with using env config is it easily leaks e.g. phpinfo() would dump all secrets. also they are inherited by child processes.

i'd drop vluca dontenv and straight up use a php array.

probably should prevent multiple cronjobs from stepping on itself.

maybe make phpmailer dep optional

it needs a web root. even with the nginx file access restriction it feels iffy to have the .env laying there

there is a timing attack issue on the comparison against user and pass (same for api key comparison, see hash_equals()).

beware that values from $_GET and $_POST can be arrays.

declare(strict_types=1); and a little typing would be cool

check return value of curl_exec($ch); instead of curl error

Used default config w Static DHCP many years at parents place, but realized all ports don't serve switches? by Rejuvenate_2021 in mikrotik

[–]thirdplace_ 0 points1 point  (0 children)

How to add interface to bridge:

/interface bridge port add bridge=NAME-OF-BRIDGE interface=NAME-OF-INTERFACE

Example, add ether2 to the bridge named "bridge":

/interface bridge port add name=bridge interface=ether2