From: sl@stanleylieber.com
To: 9front@9front.org, sl@stanleylieber.com
Subject: Re: [9front] how to create a blackhole/null route
Date: Tue, 30 Jul 2024 22:09:35 -0400 [thread overview]
Message-ID: <D0DC228D1799000E69A62C865B505333@gaff.inri.net> (raw)
> today's commits fixed multiple kernel bugs and resolved this issue
> for me. here's how to setup a successful blackhole route:
>
> # create a null device with junk ip address
> ; ip/ipconfig null /dev/mordor 192.69.69.69 255.255.255.0
>
> # fuck bytedance
> ; echo 'add 47.128.0.0 255.255.0.0 192.69.69.69' >/net/iproute
the method above accepts traffic but does not send anything back.
a recent commit enabled the following method of blocking traffic
entirely (it never gets passed to userland):
# fuck bytedance
aux/dial -e -o hangup 'ipmux!ver=4;src=47.128.0.0&255.252.0.0' rc -c 'echo 0 > /srv/blocked.47.128'
no dial process is left running, we just hold open the fd.
remove the block like so:
; rm /srv/blocked.47.128
sl
next reply other threads:[~2024-07-31 2:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 2:09 sl [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-27 5:00 Stanley Lieber
2024-07-28 1:18 ` sl
2024-07-28 2:19 ` Romano
2024-07-28 4:37 ` Stanley Lieber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D0DC228D1799000E69A62C865B505333@gaff.inri.net \
--to=sl@stanleylieber.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).