Skip to content

Adjust Skynet-Blacklist maxelem based on architecture - #196

Open
p1r473 wants to merge 1 commit into
Adamm00:masterfrom
p1r473:maxelem
Open

Adjust Skynet-Blacklist maxelem based on architecture#196
p1r473 wants to merge 1 commit into
Adamm00:masterfrom
p1r473:maxelem

Conversation

@p1r473

@p1r473 p1r473 commented May 8, 2026

Copy link
Copy Markdown

Adjust Skynet-Blacklist maxelem based on architecture

I use a lot of blacklist entries so had to increase the size.

ROUTER_ARCH="$(uname -m)"
case "$ROUTER_ARCH" in
	aarch64|arm64)
		BLK_VALUE="32"
		;;
	armv7l)
		BLK_VALUE="16"
		;;
	*)
		BLK_VALUE="16"
		;;
esac

if ! ipset -L -n Skynet-Blacklist >/dev/null 2>&1; then ipset -q create Skynet-Blacklist hash:ip hashsize 64 maxelem "$((65536 * BLK_VALUE))" comment; fi

@jumpsmm7

jumpsmm7 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

@p1r473 I like your ideas, maybe we can team up and write something better than skynet. what do you say?

@p1r473

p1r473 commented Jun 6, 2026

Copy link
Copy Markdown
Author

@p1r473 I like your ideas, maybe we can team up and write something better than skynet. what do you say?

Skynet is working great for me now with my changes! But thank you for the offer

@p1r473

p1r473 commented Jul 10, 2026

Copy link
Copy Markdown
Author

@Adamm00 fyi! for your review. thank you!

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

Successfully merging this pull request may close these issues.

2 participants