Skip to content

Add Functions customizations to Presets #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LucavaL opened this issue Jan 9, 2024 · 1 comment
Open

Add Functions customizations to Presets #155

LucavaL opened this issue Jan 9, 2024 · 1 comment

Comments

@LucavaL
Copy link

LucavaL commented Jan 9, 2024

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.

@kalirenegade-dev
Copy link

i did this on my fork https://github.com/kalirenegade-dev/clumsy
also added custom hotkeys, activation timer, disconnect module, updated some general code and implemented the bandwidth someone else forked to add queue but modified it to allow you to toggle between MB/s and KB/s, as well as made a toggle to lag either local traffic or shared traffic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants