Y7n05h

Results 29 comments of Y7n05h

I don't think use a blacklist to select headers is a good method .As we all know some headers should not be include directly,such as `seccomp-syscalls.h `. if include `seccomp-syscalls.h...

Based On https://github.com/pwndbg/pwndbg/issues/340#issuecomment-431254792 ArchLinux User can rebuild glibc with debug Info in this way: 1. install asp and devtools `pacman -S asp devtools` 2. use asp checkout glibc `asp checkout...

This pr is currently just used to show the idea of my implementation. Adding `xsk` support to dnsdist would be quite complicated, I hope anyone can give me some good...

Can someone tell me what `cmsghdr` is used for? In my understanding, `cmsghdr` can only be used for `unix domain sockets`, not for the Internet. But in dnsdist, it appears...

> Yes, `sendmsg` and `recvmsg` can be used with `tcp` and `udp`. One purpose is to supply an `iovec` array to send or receive using multiple (non-contiguous) buffers. Another use...

> We use the header to communicate with the kernel, mostly for the purpose of getting or setting the source address, as you have already found out. So that information...

Sorry, I just committed and pushed something by mistake. I've now got xsk support for UDP mostly done, but all the code has not been tested yet and I will...

One thing I might want to clarify: I used and partially modified some of the code from https://github.com/google/packetdrill/blob/master/gtests/net/packetdrill/packet_checksum.c . https://github.com/PowerDNS/pdns/blob/a8a5943a748e70abb96830b1c3a92ef773adf752/pdns/dnsdistdist/xsk.cc#L492-L614 They are under GPLv2 or later. Dnsdist is GPLv3 or...

> That's awesome! Let me know when you think this is ready for a review and I'll try to do it quickly. It does not have to be 100% finished...

I tested the code and I found that it doesn't work as I expected here. I was hoping to get `std::shared_ptr`, but I got `std::function ` https://github.com/PowerDNS/pdns/blob/9cc6fe80f0ad6fb88bb69fb146fd35f3eedfa6c7/pdns/dnsdist-lua.cc#L109 https://github.com/PowerDNS/pdns/blob/9cc6fe80f0ad6fb88bb69fb146fd35f3eedfa6c7/pdns/dnsdist-lua.cc#L140-L148 I don't...