Community discussions

MikroTik App

Search found 26 matches

by rileonar
Mon Jul 26, 2021 6:40 pm
Forum: Scripting
Topic: Command "/ip address get " not working anymore
Replies: 3
Views: 2202

Re: Command "/ip address get " not working anymore

@rextended Thank you very much for your explaination: everything is clear. My trouble was about the reason because the behaviour was different when using pick (IP shown) or not (empty string shown). Now the behaviour is back to the expected: both syntax give back the single IP configured to the inte...
by rileonar
Mon Jul 26, 2021 12:07 pm
Forum: Scripting
Topic: Command "/ip address get " not working anymore
Replies: 3
Views: 2202

Command "/ip address get " not working anymore

Hi, suddently few days ago in routeros 6.48.3 the command "/ip address get " didn't work anymore. More in details, I used to get the dynamic address of PPPoE interface as follows: /ip address get [find interface=pppoe-vdsl ] address After 21/07/2021 it gives empty string, and nothing has c...
by rileonar
Thu Apr 16, 2015 8:40 pm
Forum: General
Topic: [Solved] Mikrotik CPU 100% due to SSH
Replies: 6
Views: 2636

Re: [Solved] Mikrotik CPU 100% due to SSH

Hi,

this problem seems to be back with 6.27 (see image below).
cpuload.png
Any news about this can be fixed with upcoming 6.28?
I didn't find any info in the RC changelog....

Many thanks in advance for your help.
by rileonar
Thu Apr 22, 2010 3:37 pm
Forum: The Dude
Topic: How to pass parameters to a function
Replies: 10
Views: 10959

Re: How to pass parameters to a function

Currently there is no way to pass params to function. Thanks for your answer. :( I wonder how can I avoid writing hundreds of functions and probes, all identical except for silly parameters like disk label (C, D, /var....), threshold (100, 1000....) and so on. Does anybody have ideas? Many thanks i...
by rileonar
Tue Apr 20, 2010 5:31 pm
Forum: The Dude
Topic: How to pass parameters to a function
Replies: 10
Views: 10959

How to pass parameters to a function

Hi, does anyone know how to pass parameters to a function? I'd like to write a single custom function (e.g.: disk_free_space) and pass to it a parameter, in order to use it into different probes using different values: a) Probe: server_disk_warning disk_free_space(2000) b) Probe: server_disk_alert d...
by rileonar
Mon Sep 22, 2008 7:33 pm
Forum: The Dude
Topic: Standalone Linux Dude?
Replies: 19
Views: 8605

Re: Standalone Linux Dude?

headless? I am looking at doing this as a daemon so i can connect to it remotely. might be time to start hacking :P
Hey, I'm VERY interested on this (dude server on headless/no-graphics linux box)...

Did you get any result on your hacking?

TKX,

Riccardo
by rileonar
Mon Sep 22, 2008 6:22 pm
Forum: The Dude
Topic: "Delta" discovery
Replies: 0
Views: 1148

"Delta" discovery

Hi, I have a network with many devices, and when some new are added I'd like to manually run a command to populate a new network map. Then, new items detected in this map will be manually moved to the live maps according to their position/role.... Does anybody know how to do that? (new-devices-only ...
by rileonar
Fri Apr 18, 2008 1:37 pm
Forum: General
Topic: Simple Queue Graphing of outgoing Proxy traffic
Replies: 0
Views: 1047

Simple Queue Graphing of outgoing Proxy traffic

Hi, I had 2 issues, cross-related: 1) Keep a graph of bandwidth used by web-proxy service 2) Limit that bandwidth to a maximum amount First I setup the issue 1): Mangle the packets involved in the traffic (download and upload): / ip firewall mangle add chain=output action=mark-packet new-packet-mark...
by rileonar
Wed Apr 02, 2008 8:32 pm
Forum: General
Topic: Filtering on PPTP username
Replies: 4
Views: 1947

Re: Filtering on PPTP username

i think that defeats the purpose of using radius, if there are a lot of users to do this for. I'm no expert on radius, isnt there a way to hand back a firewall filter chain to put on a user ? you could then put those users thru a special chain that firewalled things the way you wanted. As far as I ...
by rileonar
Mon Mar 31, 2008 2:04 pm
Forum: General
Topic: Filtering on PPTP username
Replies: 4
Views: 1947

Filtering on PPTP username

Hi, I'd like to know how to setup firewall filter rules based on PPTP users (the users are external, authenticated via Radius and external Windows Domain Controller). For instance, after successful connection I have both user1 and user2 (dynamic interfaces pptp-user1 and pptp-user2); I need to setup...
by rileonar
Wed Sep 26, 2007 12:21 pm
Forum: The User Manager
Topic: User Manager timeouts and logging
Replies: 3
Views: 6423

Re: User Manager timeouts and logging

Hi Sergejs, first of all thank you for your help, it solved most of my problems. Just some clarification are needed: 3) the syntax about the img seems correct but it doesn't work whatever is the path. For instance, if I config this: src="/umw/toplogo.jpg" it works, but if I config this: sr...
by rileonar
Fri Sep 21, 2007 1:21 pm
Forum: The User Manager
Topic: User Manager timeouts and logging
Replies: 3
Views: 6423

Re: User Manager timeouts and logging

No answer at all.... :( Maybe because I forgot to say that partial answers are welcome, too! :) In the mean time I found by myself some answer or workaround: 1) about inactivity timeout I found idle-timeout keyword in /ip hotspot that should work, but unfortunately windows send a lot of packets in b...
by rileonar
Fri Sep 21, 2007 12:45 pm
Forum: The User Manager
Topic: Language support
Replies: 49
Views: 27345

Re: Language support

Very Important for me. I vote "Yes"
Riccardo
by rileonar
Tue Sep 18, 2007 6:01 pm
Forum: The User Manager
Topic: User Manager timeouts and logging
Replies: 3
Views: 6423

User Manager timeouts and logging

Hi all, I'm starting to use the usermanager infrastructure with hotspot, and here is some important questions: 1) I want to enable some "inactivity timeout" on every user, so if he doesn't logout it's credit doesn't vanish. How to change that timeout to a short value (like 5 minutes)? 2) I...
by rileonar
Tue Jul 03, 2007 4:00 pm
Forum: General
Topic: Complex NAT scenario
Replies: 1
Views: 1174

Re: Complex NAT scenario

I solved my problem with the help of Sergejs (Thanks! :) ) and an update by myself: some "policy based routing" is needed because the interconnection between the two MT is not the default route in any of them. So about the routing the following configuration was successful: / ip route add ...
by rileonar
Tue Jun 26, 2007 6:57 pm
Forum: General
Topic: Complex NAT scenario
Replies: 1
Views: 1174

Complex NAT scenario

Hi all, The scenario is: I have a server that is currently visible from Internet (DSL1) through a Mikrotik (MT1) using a public IP address (IP1). The need is to make this server temporarily visible from a new IP too (IP2) through a second DSL line connected (DSL2) to a second Mikrotik (MT2). The two...
by rileonar
Thu Dec 07, 2006 8:22 pm
Forum: General
Topic: MT Web-Proxy and dst-nat
Replies: 3
Views: 2131

NAT does not have chain=output, there are 'dstnat' and 'srcnat' chains. True, but I can create a new chain, and once created it appears together with SRC-NAT and DST-NAT SRC-NAT replaces SRC-address (usually performed on packets that are originated from natted network). DST-NAT replaces DST-address...
by rileonar
Thu Dec 07, 2006 11:21 am
Forum: General
Topic: MT Web-Proxy and dst-nat
Replies: 3
Views: 2131

MT Web-Proxy and dst-nat

How can I change dst address of some TCP sessions originated by MT web-proxy? The web-proxy is configured as transparent (w/parent proxy), and some sessions (but not all) to parent should be changed as dst-ip. I tried to create a new output chain using jump action: > chain=output dst-address=<old-ip...
by rileonar
Wed May 10, 2006 1:42 am
Forum: General
Topic: Layer 7 Traffic shaping
Replies: 5
Views: 2900

What I meant was Server Headers, not in the body of the response... Great! It works! :P That means the way is right, ant I only have to choose the right string to use as content selector... If you mark a connection with one mark you cannot give it another mark - so maybe you are marking it and then...
by rileonar
Tue May 09, 2006 8:42 pm
Forum: General
Topic: Layer 7 Traffic shaping
Replies: 5
Views: 2900

Is this in a shared hosting environment? Yep. Maybe you can add headers to their site that identify it easier for MT to find. Nop. We have no control over the content put by our customers on their services... The way you are doing it should mark all connections to that site correct? I wanted to, bu...
by rileonar
Tue May 09, 2006 8:21 pm
Forum: General
Topic: Layer 7 Traffic shaping
Replies: 5
Views: 2900

Layer 7 Traffic shaping

Hi all, I have several virtualhost on same webserver (single IP). Question: How can I shape a specific bandwidth to each of them? I tried with mangle and content field in this way: chain=forward in-interface=External dst-address=192.168.1.1 protocol=tcp dst-port=80 content=domain1.com action=mark-co...
by rileonar
Wed Apr 26, 2006 11:31 am
Forum: General
Topic: VRRP configuration question
Replies: 3
Views: 1663

I totally agree! (of course.... :) About this thread I started, I could highlight 2 main "improving areas" about MT VRRP: 1) "VR associations" between interfaces We could reserve an ethernet port on each box to connect via cross cable: when the heartbeat is missing we can suppose...
by rileonar
Wed Mar 01, 2006 3:35 pm
Forum: General
Topic: the good and bad re: routing-test 2.9.12
Replies: 26
Views: 4564

Also for me routing is not OK on 2.9.14. BGP peer connection is put in "unknown" state, and no route is received from my peer. Same thing with 2.9.12 and 2.9.13; to recover to a working condition I have to fall back to 2.9.11. I'm going to write to MT support, I have a supout.rif detailing...
by rileonar
Wed Feb 22, 2006 11:56 am
Forum: General
Topic: VRRP configuration question
Replies: 3
Views: 1663

VRRP configuration question

Hi, I need to build a VRRP configuration with a pair of MT equipped with 4 interfaces each. The MT configuration of a single vr group doesn't allow to move several addresses on different interfaces (although that's obviously needed to correctly handle a router with 4 interfaces: external, internal, ...
by rileonar
Wed Oct 12, 2005 12:45 pm
Forum: General
Topic: Routing through IPSEC tunnel
Replies: 3
Views: 1438

Problem solved, the cause was a missing rule onto remote firewall (not MT)..... now it works great, but not (yet) behind a NATting ADSL router.

Any hints?

Riccardo Leonardi
by rileonar
Wed Oct 12, 2005 11:47 am
Forum: General
Topic: Routing through IPSEC tunnel
Replies: 3
Views: 1438

Routing through IPSEC tunnel

Hi, I would evaluate an IPSEC tunnel between MT and a WatchGuard box, running standard IPSEC. I managed to correctly build the tunnel and it works great from Watchguard box to MT only: on the other way it seems the MT doesn't forward the outgoing packets to the tunnel. If I ping from 192.168.1.x (wa...