flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Melissa 04 Apr 2018, 16:25
If you want to block connections that means TCP protocol? For same effect simply block remote address via iptables
![]() |
|||
![]() |
|
asmdev 05 Apr 2018, 04:18
I never wrote a firewall before. Can somebody throw at a few IOCTLs or a set to functions with correct params.
Unfortunately use iptables or install pfsense on separate computer is typical response. |
|||
![]() |
|
donn 05 Apr 2018, 15:53
There's this article on "How to create a micro-firewall with kernel modules and packet filtering". There's also this related packet filtering diagram from Wikipedia which can provide a visual.
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.. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.