* Fw: Netfilter for Windows
@ 2010-04-15 9:02 Ondrej Slanina
2010-04-15 10:35 ` Patrick McHardy
0 siblings, 1 reply; 4+ messages in thread
From: Ondrej Slanina @ 2010-04-15 9:02 UTC (permalink / raw)
To: netfilter-devel
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.
http://www.eset.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fw: Netfilter for Windows
2010-04-15 9:02 Fw: Netfilter for Windows Ondrej Slanina
@ 2010-04-15 10:35 ` Patrick McHardy
2010-04-15 12:21 ` Bruno Moreira Guedes
0 siblings, 1 reply; 4+ messages in thread
From: Patrick McHardy @ 2010-04-15 10:35 UTC (permalink / raw)
To: Ondrej Slanina; +Cc: netfilter-devel
Ondrej Slanina wrote:
> 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:
Cool. Finally those poor souls can use a proper firewall :)
> 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.
> 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.
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fw: Netfilter for Windows
2010-04-15 10:35 ` Patrick McHardy
@ 2010-04-15 12:21 ` Bruno Moreira Guedes
2010-04-15 12:51 ` Ondrej Slanina
0 siblings, 1 reply; 4+ messages in thread
From: Bruno Moreira Guedes @ 2010-04-15 12:21 UTC (permalink / raw)
To: netfilter-devel; +Cc: Samuel Feitosa
2010/4/15 Patrick McHardy <kaber@trash.net>:
> Ondrej Slanina wrote:
>> 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:
>
> Cool. Finally those poor souls can use a proper firewall :)
>
>> 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.
>
>> 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.
>
>> 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.
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fw: Netfilter for Windows
2010-04-15 12:21 ` Bruno Moreira Guedes
@ 2010-04-15 12:51 ` Ondrej Slanina
0 siblings, 0 replies; 4+ messages in thread
From: Ondrej Slanina @ 2010-04-15 12:51 UTC (permalink / raw)
To: Bruno Moreira Guedes, netfilter-devel; +Cc: Samuel Feitosa
>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 :-)
>And what's the status? Is libnetfilter_queue working 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" <beanweb@beanweb.com.br>
To: <netfilter-devel@vger.kernel.org>
Cc: "Samuel Feitosa" <samuel@beanweb.com.br>
Sent: Thursday, April 15, 2010 2:21 PM
Subject: Re: Fw: Netfilter for Windows
> 2010/4/15 Patrick McHardy <kaber@trash.net>:
>> Ondrej Slanina wrote:
>>> 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:
>>
>> Cool. Finally those poor souls can use a proper firewall :)
>>
>>> 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.
>>
>>> 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.
>>
>>> 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.
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> netfilter-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
> __________ Informace od ESET NOD32 Antivirus, verze databaze 5030
> (20100415) __________
>
> Tuto zpravu proveril ESET NOD32 Antivirus.
>
> http://www.eset.cz
>
>
>
__________ Informace od ESET NOD32 Antivirus, verze databaze 5030 (20100415) __________
Tuto zpravu proveril ESET NOD32 Antivirus.
http://www.eset.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-15 12:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 9:02 Fw: Netfilter for Windows Ondrej Slanina
2010-04-15 10:35 ` Patrick McHardy
2010-04-15 12:21 ` Bruno Moreira Guedes
2010-04-15 12:51 ` Ondrej Slanina
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.