Community discussions

MikroTik App

Search found 16 matches

by flydvorkin
Fri Sep 27, 2024 3:47 pm
Forum: General
Topic: IPsec mode-config with IPv6 address pool
Replies: 4
Views: 3397

Re: IPsec mode-config with IPv6 address pool

it's already 7.16, but the mode-config still doesn't have the ability IPv6
by flydvorkin
Sat Jul 01, 2023 12:58 pm
Forum: Scripting
Topic: The maximum size of a read/written file.
Replies: 71
Views: 20119

Re: The maximum size of a read/written file.

Here are some of my thoughts on bypassing the 4k limit of file operations: 1. Write big data into one file The above is the correct way to write large files: :execute script file=filename where script must print or return data, which "execute" will write to file. I'll add a few of my thoug...
by flydvorkin
Fri Jun 23, 2023 1:39 am
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 60
Views: 60462

Re: Persistent Environment Variables [SOLVED]

Also i found that the 2 this variants to print "code": 1 - directly printing by "put": :put $varWithCodeDataType or :put [ :parse "local var" ] or :put ( $function->1 ) 2 - print global function parsed code value from /system script environment :put [ /system script env...
by flydvorkin
Sat Jun 17, 2023 1:46 am
Forum: Scripting
Topic: Persistent Environment Variables [SOLVED]
Replies: 60
Views: 60462

Re: Persistent Environment Variables [SOLVED]

I found another lost data type:
:put [:typeof (>[])]
Return:
op

this data type behaves like code
by flydvorkin
Sat Jun 03, 2023 10:03 pm
Forum: General
Topic: Feature requests
Replies: 1816
Views: 1206074

Re: Feature requests

knowing how to use what already exists
All this examples i understand and i know how to use it.
Feature request desire to simplify a lot of work.
by flydvorkin
Fri Jun 02, 2023 11:06 pm
Forum: General
Topic: Feature requests
Replies: 1816
Views: 1206074

Re: Feature requests

Request scripting feature. Modify commands :local <name> <value> :global <name> <value> to make it possible set <name> from other variable. also add $$ construction for access to such dynamically-named vars. Example: :local varname "newVar"; :local $varname "test"; :put $newVar; ...
by flydvorkin
Sat May 27, 2023 1:03 pm
Forum: General
Topic: Feature requests
Replies: 1816
Views: 1206074

Re: Feature requests

console

It would be useful if "add" command (in all menus) return to script id of created entry.

Sorry, my mistake, add already returned ))
by flydvorkin
Thu Jul 28, 2022 11:14 am
Forum: General
Topic: Feature requests
Replies: 1816
Views: 1206074

Re: Feature requests

It would be nice if add the following features: 1) Displaying loopback interface and manage (or displaying) ipv4 and ipv6 addresses on them. 2) DHCPv6 Server - not only prefix binding, but also address leases 3) IPSec mode config - manage issue not only ipv4 pool, but also ipv6 addresses for clients...
by flydvorkin
Tue May 31, 2022 9:29 pm
Forum: Scripting
Topic: time parsing in 7.1
Replies: 8
Views: 7346

Re: time parsing in 7.1

Good new function :timestamp But function returns a time type. If you want to convert time type to number type - function :tonum is bugged [:tonum [:timestamp]] got nil... hovever [:totime ANYNUMBER] work correctly I have a script with function to correct convert time to number (integer unix timesta...
by flydvorkin
Fri Apr 15, 2022 3:48 pm
Forum: General
Topic: Feature requests
Replies: 1816
Views: 1206074

Re: Feature requests

Feature requests:

1) Add ipv6 tunnel dynamic address from pool for ikev2 in mode-config
2) Add ipv6 leases in dhcpv6-server (single address, not prefixes), for administrative managed ipv6 in office.
by flydvorkin
Thu Feb 04, 2021 11:13 am
Forum: Scripting
Topic: How to check if address is already in address-list ?
Replies: 9
Views: 11920

Re: How to check if address is already in address-list ?

# input: # var checkIp (type ip) # var checkNet (various types: 192.168.0.0/24; 192.168.0.0-192.168.0.255; 192.168.0.100) # # return: # var bool true (if checkIp match checkNet) # var bool false (if checkIp not match checkNet) :global isIpMatchNet4 do={ :if ( [ :typeof [ :find $checkNet "/&quo...
by flydvorkin
Thu Mar 19, 2020 11:07 pm
Forum: General
Topic: DHCPv6-server Stateful support
Replies: 4
Views: 3173

Re: DHCPv6-server Stateful support

2020 year.
Until now, there is no full stateful functions support...
by flydvorkin
Thu Sep 19, 2019 9:30 pm
Forum: General
Topic: IPv6 firewall rule examples
Replies: 4
Views: 22703

Re: IPv6 firewall rule examples

Default IPv6 firewall from 6.45.6 /ipv6 firewall address-list add address=::/128 comment="defconf: unspecified address" list=bad_ipv6 add address=::1/128 comment="defconf: lo" list=bad_ipv6 add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6 add address=::...
by flydvorkin
Tue Jul 23, 2019 4:55 pm
Forum: Scripting
Topic: Powershell Module
Replies: 23
Views: 24017

Re: Powershell Module

Have you planned to add it on git as a fork to let us work on this or report issues/bugs etc ?
I use API quite lot and would appreciate it ;)
Hi.
I don't know, i'm not C-programmer, just only find and fix auth procedure in accordance with official API manual.
by flydvorkin
Thu Jul 04, 2019 4:24 pm
Forum: Scripting
Topic: Powershell Module
Replies: 23
Views: 24017

Re: Powershell Module

In accordance with the API manual change source code in this function to: public bool Login(string username, string password) { Send("/login"); Send("=name=" + username); Send("=password=" + password, true); if (Read()[0] == "!done") { return true; } else { re...
by flydvorkin
Thu Jul 04, 2019 1:18 pm
Forum: Scripting
Topic: Powershell Module
Replies: 23
Views: 24017

Re: Powershell Module

After 6.45.1 update previous API authorization method is deprecated and dll is not working :-(
Can you update dll with new auth method?