<div dir="auto"><div>I would start by checking the output of dmesg to see if the kernel gives you any details on what went wrong.<div dir="auto"><br></div><div dir="auto">-- </div><div dir="auto">Eldon Koyle</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 9, 2022, 06:52 Y7n05h via dnsdist <<a href="mailto:dnsdist@mailman.powerdns.com">dnsdist@mailman.powerdns.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
Hi!<br>
<br>
I spent some time this week preparing for and participating in college<br>
finals (last semester's finals were postponed this week due to<br>
COVID-19), so not much time on DNSDist. Fortunately, the exam is over.<br>
<br>
I was trying to implement <a href="https://github.com/PowerDNS/pdns/issues/9690" rel="noreferrer noreferrer" target="_blank">https://github.com/PowerDNS/pdns/issues/9690</a><br>
and found that typing bpf = newBPFFilter(1024, 1024, 1024) would give<br>
me an error here.<br>
<br>
[string "bpf = newBPFFilter(1024, 1024, 1024)"]:1: Caught exception:<br>
Error creating a BPF map of size 1024:<br>
Operation not permitted stack traceback:<br>
       [C]: in function 'newBPFFilter'<br>
       [string "bpf = newBPFFilter(1024, 1024, 1024)"]:1: in main chunk<br>
<br>
<br>
I had the same problem on ArchLinux and Ubuntu 21.10.<br>
They all use the default kernel and run DNSDist as root.<br>
I wonder why this is.<br>
<br>
<br>
My GSoC proposal has not been submitted due to previous exams.<br>
I have now submitted a draft, if possible, please suggest some<br>
revisions.<br>
<br>
A copy of the proposal can be accessed from the link below.<br>
Comments are welcome.<br>
<br>
<a href="https://docs.google.com/document/d/1_izkQDoEhrv4Ooa4ja4WVUDyLvsNSKE_GgnRUUJPk-g" rel="noreferrer noreferrer" target="_blank">https://docs.google.com/document/d/1_izkQDoEhrv4Ooa4ja4WVUDyLvsNSKE_GgnRUUJPk-g</a><br>
<br>
<br>
--<br>
Best regards,<br>
<br>
Y7n05h<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: ProtonMail<br>
<br>
wsFzBAEBCAAnBQJiUYFqCZDeeRJfh40URhYhBPNRQaesQ1DUbo17fN55El+H<br>
jRRGAADbYg//eXRWDvV2xcMI9Pe1CzKx7M6xPmLOdRWZ7b7sabKOdgCg9apk<br>
xUksj2xVfHr1ItkCHZkjnNt9B59dfRcU4f0QP3G96x1Mhvbatelgavs+fE/y<br>
VTBwbnzvMrad9MOpGo9FIeFKWfDBkygU4CpqvMBvtx29St3tk0RLmOwvAyGw<br>
vGM+0GceIEW1IccEzKmpyfcqDebRu1x4eX3Oz9q1IxVWZTKkthje/KoJ3dNb<br>
e6FyFX9RpZ4BrNjdWtLlZWeIfZvrdJfB+Qey2EUgkvI4vCzmJo6kTeUGqszZ<br>
9WnUzPDbhD0EYp0biES954qPyIKPqdraR8jawUSLh/zNPSd4uUky/5dQQZzr<br>
AkeZwv02GP29B0ASY7sKXbMGeA7cXXkUDdogCTDeGOkNYKAehoZz6AoGodyg<br>
biUMyYID814jHBkI0sElnr6EmCr8NppQWb/hx3jaVuoitq2R/txI09rSsBu7<br>
sJOgyW8wPPhq2GQQ5eeikg4v1gURv93+EOFsa9u9q2r+eMu5BSK+mVInq4nv<br>
MzgBtPu0Bfmvm64D0+qNxxzpjUU1KJyaEF2qn/MVALc+3k/y63tJc/WcWDg8<br>
fEl4znW9ewf1IPRPWubslPDNZFT7nTOpWeMsaY7fOuHk6P6DeWrsAVQQfYSG<br>
740WL5WVZrt0Hc0G6sJRoQpxjQIpOLPJY8E=<br>
=TShf<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
dnsdist mailing list<br>
<a href="mailto:dnsdist@mailman.powerdns.com" target="_blank" rel="noreferrer">dnsdist@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/dnsdist" rel="noreferrer noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/dnsdist</a><br>
</blockquote></div></div></div>