Published Vol 1 Chapter 16 (Networking) for free

Wherein links to *OS related articles will be posted (alongside the RSS), and you are welcome to ask any questions or post any comments.

Published Vol 1 Chapter 16 (Networking) for free

Postby morpheus » Wed Jan 02, 2019 9:34 pm

The complete bonus chapter of #MOXiI2 #Vol1: #MacOS/*OS #Networking:

Discusses PF_NDRV/PF_SYSTEM sockets,BPF, PF, ntstat,NECP, net agents, rvi, Skywalk & more, most previously undocumented!
Site Admin
Posts: 694
Joined: Thu Apr 11, 2013 6:24 pm

Re: Published Vol 1 Chapter 16 (Networking) for free

Postby Siguza » Thu Jan 03, 2019 2:11 pm

Looks great! Haven't found the time to read it yet, but it seems a few image links are broken:

Screen Shot 2019-01-03 at 14.49.01.png
Screen Shot 2019-01-03 at 14.49.01.png (38.48 KiB) Viewed 1827 times

J Says: Thanks, but there are just small icons in the book, which I didn't copy into the HTML subdirectories. Nothing major.
User avatar
Posts: 181
Joined: Thu Jan 28, 2016 10:38 am

Re: Published Vol 1 Chapter 16 (Networking) for free

Postby b3ntx » Thu Jan 03, 2019 7:03 pm

really solid chapter. thanks J.

I do have a question about the some of the BPF opcodes. You mentioned that the BPF_ST[X] codes could alter the frame memory. Could you elaborate on that? I've dug through the source of bpf_filter() the only writes of user data I could find (besides X and A) were to the scratch memory. I couldn't see anything that could alter the packet data. or am I misinterpreting 'frame memory'?

J says: You understood correctly. That 'frame' wasn't meant to be there (fixed in the HTML). I did mean scratch memory, which is in kernel space. Hence the observation about potential danger
Posts: 13
Joined: Wed Dec 16, 2015 1:26 pm

Return to Articles and Feedback

Who is online

Users browsing this forum: Bing [Bot] and 0 guests