Netfilter for Windows
Hi,
I just created a basic 'port' of Linux netfilter core modules on MS Windows. Now, it's implemented as a single kernel module (IM driver) and userspace library which has the same API as libnetfilter_queue. Network filtering is now performed only on pre_input and post_output sides. Kernel module now includes packet queueing, processing, not as on Linux, where this tasks is processed by separate modules. It will be distributed under GPL. I have some questions:
1, Can I use 'netfilter' and 'libnetfilter_queue' names for this? For example kernel module named netfilter.sys, userspace library named libnetfilter_queue.lib, project name netfilter, netfilter for windows or something like it? 2, Should I put some notice about origin into source code files ? Something like: "Based on Linux netfilter/libnetfilter_queue" ?
My implementation is now very primitive, but I want to extend it in the future. Best Regards,
Ondrej Slanina
developer
..................................................................
Kerio Technologies s.r.o.
Anglicke nabrezi 1, 301 49 Plzen
Czech Republic
http://www.kerio.com
...................................................................
Connect. Communicate. Collaborate. Securely.
__________ Informace od ESET NOD32 Antivirus, verze databaze 5029 (20100414) __________
Tuto zpravu proveril ESET NOD32 Antivirus.
Quoted 7 lines · Ondrej Slanina
I just created a basic 'port' of Linux netfilter core modules on MS Windows. Now, it's implemented as a single kernel module (IM driver) and userspace library which has the same API as
libnetfilter_queue. Network filtering is now performed only onpre_inputandpost_outputsides. Kernel module now includes packet queueing, processing, not as on Linux, where this tasks is processed by separate modules. It will be distributed under GPL. I have some questions:
Cool. Finally those poor souls can use a proper firewall :)
Quoted 4 lines
1, Can I use 'netfilter' and '
libnetfilter_queue' names for this? For example kernel module named netfilter.sys, userspace library named libnetfilter_queue.lib, project name netfilter, netfilter for windows or something like it?
I think using the same names is fine.
Quoted 2 lines
2, Should I put some notice about origin into source code files ? Something like: "Based on Linux netfilter/libnetfilter_queue" ?
Just keeping the original copyright and GPL headers is fine.
Quoted 1 line
My implementation is now very primitive, but I want to extend it in the future.
Please keep us posted. I guess we could also host the source on one of the netfilter servers in case you're interested.
2010/4/15 Patrick McHardy <[email protected]>:
Quoted 24 lines
Quoted 7 lines · Ondrej Slanina
I just created a basic 'port' of Linux netfilter core modules on MS Windows. Now, it's implemented as a single kernel module (IM driver) and userspace library which has the same API as
libnetfilter_queue. Network filtering is now performed only onpre_inputandpost_outputsides. Kernel module now includes packet queueing, processing, not as on Linux, where this tasks is processed by separate modules. It will be distributed under GPL. I have some questions:Cool. Finally those poor souls can use a proper firewall :)
Quoted 4 lines
1, Can I use 'netfilter' and '
libnetfilter_queue' names for this? For example kernel module named netfilter.sys, userspace library named libnetfilter_queue.lib, project name netfilter, netfilter for windows or something like it?I think using the same names is fine.
Quoted 2 lines
2, Should I put some notice about origin into source code files ? Something like: "Based on Linux netfilter/libnetfilter_queue" ?
Just keeping the original copyright and GPL headers is fine.
Quoted 1 line
My implementation is now very primitive, but I want to extend it in the future.
Quoted 8 lines
Please keep us posted. I guess we could also host the source on one of the netfilter servers in case you're interested.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Congratulations! Do you plan to port the userspace tools to windows using mingw?
And what's the status? Is libnetfilter_queue working fine?
I'm very interested, because I'm currently porting some commercial softwares to windows, including a firewall which uses libnetfilter_queue.
And now we're talking about netfilter on Windows, let me ask: is there any known port to NetBSD/FreeBSD?? And for MINIX??
Thank you.
--Bruno Moreira Guedes
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Congratulations! Do you plan to port the userspace tools to windows using mingw?
libnetfilter_queue / nfqnl_test is able to be compiled under both mingw and VS2500 environment. Which other tools did you mean ? If you are talking about iptables - it's not simply task, before it contains lot of kernel modules for rules processing and linux dependent pieces like skb. It will be nice to port all of it :-)
Quoted 1 line
And what's the status? Is
libnetfilter_queueworking fine?
Yes. nfqnl_test is able to capture, drop, permit packets. Only API used for obtaining information about interfaces is not implemented yet, because original libnetfilter_queue does not include it. libnfnetlink includes some sort of API for work with ifaces but on Windows I'am not using this library...
----- Original Message ----- From: "Bruno Moreira Guedes" <[email protected]>
To: <[email protected]>
Cc: "Samuel Feitosa" <[email protected]>
Sent: Thursday, April 15, 2010 2:21 PM
Subject: Re: Fw: Netfilter for Windows
Quoted 56 lines
2010/4/15 Patrick McHardy <[email protected]>:
Quoted 24 lines
Quoted 7 lines · Ondrej Slanina
I just created a basic 'port' of Linux netfilter core modules on MS Windows. Now, it's implemented as a single kernel module (IM driver) and userspace library which has the same API as
libnetfilter_queue. Network filtering is now performed only onpre_inputandpost_outputsides. Kernel module now includes packet queueing, processing, not as on Linux, where this tasks is processed by separate modules. It will be distributed under GPL. I have some questions:Cool. Finally those poor souls can use a proper firewall :)
Quoted 4 lines
1, Can I use 'netfilter' and '
libnetfilter_queue' names for this? For example kernel module named netfilter.sys, userspace library named libnetfilter_queue.lib, project name netfilter, netfilter for windows or something like it?I think using the same names is fine.
Quoted 2 lines
2, Should I put some notice about origin into source code files ? Something like: "Based on Linux netfilter/libnetfilter_queue" ?
Just keeping the original copyright and GPL headers is fine.
Quoted 1 line
My implementation is now very primitive, but I want to extend it in the future.
Quoted 8 lines
Please keep us posted. I guess we could also host the source on one of the netfilter servers in case you're interested.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlCongratulations! Do you plan to port the userspace tools to windows using mingw?
And what's the status? Is
libnetfilter_queueworking fine?I'm very interested, because I'm currently porting some commercial softwares to windows, including a firewall which uses
libnetfilter_queue.And now we're talking about netfilter on Windows, let me ask: is there any known port to NetBSD/FreeBSD?? And for MINIX??
Thank you.
--Bruno Moreira Guedes
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines
__________ Informace od ESET NOD32 Antivirus, verze databaze 5030 (20100415) __________
Tuto zpravu proveril ESET NOD32 Antivirus.
__________ Informace od ESET NOD32 Antivirus, verze databaze 5030 (20100415) __________
Tuto zpravu proveril ESET NOD32 Antivirus.