[dnsdist] Some questions about applying for GSoC and newBPFFilter

Y7n05h Y7n05h at protonmail.com
Sat Apr 9 12:51:56 UTC 2022


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi!

I spent some time this week preparing for and participating in college
finals (last semester's finals were postponed this week due to
COVID-19), so not much time on DNSDist. Fortunately, the exam is over.

I was trying to implement https://github.com/PowerDNS/pdns/issues/9690
and found that typing bpf = newBPFFilter(1024, 1024, 1024) would give
me an error here.

[string "bpf = newBPFFilter(1024, 1024, 1024)"]:1: Caught exception:
Error creating a BPF map of size 1024:
Operation not permitted stack traceback:
       [C]: in function 'newBPFFilter'
       [string "bpf = newBPFFilter(1024, 1024, 1024)"]:1: in main chunk


I had the same problem on ArchLinux and Ubuntu 21.10.
They all use the default kernel and run DNSDist as root.
I wonder why this is.


My GSoC proposal has not been submitted due to previous exams.
I have now submitted a draft, if possible, please suggest some
revisions.

A copy of the proposal can be accessed from the link below.
Comments are welcome.

https://docs.google.com/document/d/1_izkQDoEhrv4Ooa4ja4WVUDyLvsNSKE_GgnRUUJPk-g


--
Best regards,

Y7n05h

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsFzBAEBCAAnBQJiUYFqCZDeeRJfh40URhYhBPNRQaesQ1DUbo17fN55El+H
jRRGAADbYg//eXRWDvV2xcMI9Pe1CzKx7M6xPmLOdRWZ7b7sabKOdgCg9apk
xUksj2xVfHr1ItkCHZkjnNt9B59dfRcU4f0QP3G96x1Mhvbatelgavs+fE/y
VTBwbnzvMrad9MOpGo9FIeFKWfDBkygU4CpqvMBvtx29St3tk0RLmOwvAyGw
vGM+0GceIEW1IccEzKmpyfcqDebRu1x4eX3Oz9q1IxVWZTKkthje/KoJ3dNb
e6FyFX9RpZ4BrNjdWtLlZWeIfZvrdJfB+Qey2EUgkvI4vCzmJo6kTeUGqszZ
9WnUzPDbhD0EYp0biES954qPyIKPqdraR8jawUSLh/zNPSd4uUky/5dQQZzr
AkeZwv02GP29B0ASY7sKXbMGeA7cXXkUDdogCTDeGOkNYKAehoZz6AoGodyg
biUMyYID814jHBkI0sElnr6EmCr8NppQWb/hx3jaVuoitq2R/txI09rSsBu7
sJOgyW8wPPhq2GQQ5eeikg4v1gURv93+EOFsa9u9q2r+eMu5BSK+mVInq4nv
MzgBtPu0Bfmvm64D0+qNxxzpjUU1KJyaEF2qn/MVALc+3k/y63tJc/WcWDg8
fEl4znW9ewf1IPRPWubslPDNZFT7nTOpWeMsaY7fOuHk6P6DeWrsAVQQfYSG
740WL5WVZrt0Hc0G6sJRoQpxjQIpOLPJY8E=
=TShf
-----END PGP SIGNATURE-----



More information about the dnsdist mailing list