Is there any way to block connections at as soon as Layer2? programming related.
Do I HAVE to study tc (traffic control) INSTEAD ?
I am able to create AF_PACKET+SOCK_RAW sockets but I can only listen... or not?
I require a guaranteed block, unless my program makes decision - traffic goes nowhere.
Hacking iptables is also possible, which may be what Melissa meant.
I only have a 'barely-working' OpenSUSE on Windows 10 from the Windows Store at the moment, so I can't really test anything out, but converting the LinuxJournal C functions to fasm should be possible. If that example still works (a better, newer approach may have replaced this), it could at least provide a quick running example so you can see if that's what you're looking for. May not be low-enough level for you, however..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum