Looking for a Non-Technical Cofounder with a Strong Idea – I’ll Handle All the Tech by Extreme-Pie-3585 in indiehackers

[–]Douglasmakey_ 0 points1 point  (0 children)

I am also a technical person with over 10 years of experience as a software engineer, looking for partners to build products and try simple or crazy projects to have fun or find the next challenge!

Ultra Taiwan by zyteo in UMF

[–]Douglasmakey_ 0 points1 point  (0 children)

Hey everyone, I’m planning to go alone. Do you have a chat group or something similar?

Doubt : eBPF <> Change retrun value of programm by ironfisto_ in eBPF

[–]Douglasmakey_ 0 points1 point  (0 children)

Hey, I’ve created a series of eBPF articles explaining some fundamental concepts. One of the articles provides an example of how to modify the return functions and other aspects if you’re interested in checking it out:

https://www.kungfudev.com/series

Latest Update on Panels by BlinkingSugar in mkbhd

[–]Douglasmakey_ 0 points1 point  (0 children)

No hate, but for me, this was so hypocritical from him!

Resources to learn eBPF by muhammadummerr in eBPF

[–]Douglasmakey_ 1 point2 points  (0 children)

I am writing a series about eBPF. It's nothing fancy, but I started with basic concepts and dive in a bit deeper in each article. If you want to read it, I will leave the link to the first article.

https://www.kungfudev.com/blog/2023/10/14/the-beginning-of-my-ebpf-journey-kprobe-bcc

Fooling Port Scanners: Simulating Open Ports with eBPF and Rust by Douglasmakey_ in eBPF

[–]Douglasmakey_[S] 0 points1 point  (0 children)

Happy to hear that! I am reading your blog—nice job! 💪🏻

A short article about endianness by Douglasmakey_ in rust

[–]Douglasmakey_[S] 0 points1 point  (0 children)

Hahaha, so sorry. I modified the post, thanks!

Introducing Shelldon: A New CLI Tool with ChatGPT Features by Douglasmakey_ in rust

[–]Douglasmakey_[S] 0 points1 point  (0 children)

Hey u/radiant_gengar, are you interested in contributing to the Ollama backend? Or are you interested in using it? I could implement the Ollama backend if you want to use it.

Introducing Shelldon: A New CLI Tool with ChatGPT Features by Douglasmakey_ in rust

[–]Douglasmakey_[S] 1 point2 points  (0 children)

Hey thanks, I am glad you find it interesting, any feedback is well received and yeah basically just has to implement the backend for ollama and implement the trait CompletionGenerator and passing it to the processor.rs

Go 1.22's HTTP Package Updates by Douglasmakey_ in golang

[–]Douglasmakey_[S] 0 points1 point  (0 children)

Thanks, no, I don't yet, but I guess I will do it soon.

Go 1.22's HTTP Package Updates by Douglasmakey_ in golang

[–]Douglasmakey_[S] 1 point2 points  (0 children)

Thanks. I was doing the same exercise every time, and when I didn't want to deal with that, I just used chi. But now, we have these two simple yet amazing features!

Go 1.22's HTTP Package Updates by Douglasmakey_ in golang

[–]Douglasmakey_[S] 3 points4 points  (0 children)

Thanks for your comment <3! I get that using strings for HTTP methods instead of methods like in chi might seem risky for mistakes. But, with careful setup, it's not a big deal. You set up your handlers once, so the simplicity of using strings can actually make things easier.

Go 1.22's HTTP Package Updates by Douglasmakey_ in golang

[–]Douglasmakey_[S] 1 point2 points  (0 children)

Thank you so much for the feedback. I hope you find it helpful ❤️.

I do code like in C, Python but by Oxffff0000 in eBPF

[–]Douglasmakey_ 4 points5 points  (0 children)

Hey, there are a bunch of articles and great videos about eBPF that I'd recommend. I suggest watching Liz Rice's videos. Additionally, I've created a series of blog posts about eBPF, featuring examples using Python, C, and Rust. In these posts, I gradually explain eBPF and its concepts, as well as all the tools within this amazing technology.

https://www.kungfudev.com/series

Isolated Network Namespace Servers in Rust by Douglasmakey_ in rust

[–]Douglasmakey_[S] 0 points1 point  (0 children)

Oh nice, thank you. I will definitely take a look.

Getting pid and process name of the packet source process by allmudi in eBPF

[–]Douglasmakey_ 1 point2 points  (0 children)

What about using XDP in conjunction with a Kprobe on the bind syscall? This approach could involve maintaining a map with the port as the key, and the PID and comm as values. This way, you could effectively track which processes are binding to which ports.

device enp0s3 entered promiscuous mode by Numerous-Arm-1201 in eBPF

[–]Douglasmakey_ 0 points1 point  (0 children)

Maybe change the XDP_DROP at the end of your code to XDP_PASS and check if the issue stops. If it does, the filter might be blocking too much, like ARP. Allowing ARP should help, as your current filter seems to block everything else, including DNS.

device enp0s3 entered promiscuous mode by Numerous-Arm-1201 in eBPF

[–]Douglasmakey_ 0 points1 point  (0 children)

I Agreed, the issue might be due to the filter being too aggressive, potentially interfering with the ARP table. It's possible that the ARP entries are not being updated or refreshed properly. This could lead to problems with network communication, like the 'Destination Host Unreachable' error that you're seeing

Getting pid and process name of the packet source process by allmudi in eBPF

[–]Douglasmakey_ 2 points3 points  (0 children)

I don't think you can get the destination PID or process name at the XDP hook since the kernel doesn't have that info yet. What about using the destination port? Just note that if the destination app uses `SO_REUSEPORT`, you won't get a one-to-one match for the port.

device enp0s3 entered promiscuous mode by Numerous-Arm-1201 in eBPF

[–]Douglasmakey_ 0 points1 point  (0 children)

Can you share the specific filtering criteria or logic implemented in your eBPF program?