clumsy icon indicating copy to clipboard operation
clumsy copied to clipboard

Add Functions customizations to Presets

Open LucavaL opened this issue 1 year ago • 1 comments

Hello, first of all thanks for the amazing Software!

I was wondering if adding Functions customizations to the Presets could be implemented:

Example config.txt:

PRESET1: tcp.DstPort == 12354 or tcp.SrcPort == 12354 or udp.DstPort == 12354 or udp.SrcPort == 12354 PRESET1-func: Lag(inbound, outbound, amount==50), Drop(inbound, outbound, amount==10)

or even on a single line, like this:

PRESET1: tcp.DstPort == 12354 or tcp.SrcPort == 12354 or udp.DstPort == 12354 or udp.SrcPort == 12354; Lag(inbound, outbound, amount==50), Drop(inbound, outbound, amount==10)

and so on.

LucavaL avatar Jan 09 '24 20:01 LucavaL