Forum Replies Created
-
AuthorPosts
-
Under Linux you can use http://www.netfilter.org/projects/libnetfilter_queue/
Windows Packet Filter Kit 3.1.2 released:
– Added Filter ID for the packets redirected by built-in filters
– Updated C# samplesIf you are eligible for a free update, please send the following details to [email protected] tо receive an update instruction:
1) Your order ID.
2) An approximate date of purchasing.Internet Gateway code simply treats all adapters with media different from NdisMedium802_3 as WAN. This is not correct of course, but works for most cases and good enough for the sample. I think your intrface reports media different from 802.3 and this causes described misbehave. NDIS_MEDIUM is defined as following:
typedef enum _NDIS_MEDIUM
{
NdisMedium802_3,
NdisMedium802_5,
NdisMediumFddi,
NdisMediumWan,
NdisMediumLocalTalk,
NdisMediumDix, // defined for convenience, not a real medium
NdisMediumArcnetRaw,
NdisMediumArcnet878_2,
NdisMediumAtm,
NdisMediumWirelessWan,
NdisMediumIrda,
NdisMediumBpc,
NdisMediumCoWan,
NdisMedium1394,
NdisMediumInfiniBand,
#if ((NTDDI_VERSION >= NTDDI_VISTA) || NDIS_SUPPORT_NDIS6)
NdisMediumTunnel,
NdisMediumNative802_11,
NdisMediumLoopback,
#endif // (NTDDI_VERSION >= NTDDI_VISTA)#if (NTDDI_VERSION >= NTDDI_WIN7)
NdisMediumWiMAX,
NdisMediumIP,
#endifThere are too many things to improve in this sample to build a real NAT aplication suitable for different environments and it would take plenty of time to build a desired list. You’d better look at some solutions alreaddy available on market to see what features can be implemented.
Thank you for reporting this, but the more detailed network configuration would be appreciated. Like what network adapters do you have, what type and which of them are connected (ipconfig output?). And how Internet Gateway identifies these ones (may be screenshot?).
Although, I have to note that Internet Gateway is just a sample coded in a day to demonstrate usage of WinpkFilter driver for NAT solutions. And of course it does not pretend to be a well tested end user application.
Ndisrdmp is a miniport part of WinpkFilter NDIS IM driver. However, if you use one of the latest versions (starting 3.0.8) of WinpkFilter then it is supposed to install NDIS LWF driver on Windows Vista and later which does not have that part. Probably the WinpkFilter version you use is out-of-date.
Yes, you can fragment the resulted packet and send out two packets instead one, server will reassemble it. However, please note that fragmented packets often are blocked by firewalls.
February 27, 2013 at 7:23 am in reply to: Installing winpkfilter lwf sliently on Win2008(64bit) #7118There was one fix in 3.1.1 (LWF unload/unbind bug) which may be related to your problem. It was very difficult to reproduce and caused various side effects one of those is network lock.
February 6, 2013 at 12:49 pm in reply to: Installing winpkfilter lwf sliently on Win2008(64bit) #7116Have you started command line (under which you execute snetcfg) under Administrator account?
Normally when you install LWF driver the network is temporary disconnected and then reconnected. Do you mean that in your case the network is permanently disabled?
Windows Packet Filter Kit 3.1.1 released:
– Updated C# samples and interface header
Bug fixes:
– Unload LWF driver hang problem fixed. As a side issue this bug has also caused network lock with Windows Hardware Certification Kit on some systemsIf you are eligible for a free update, please send the following details to [email protected] tо receive an update instruction:
1) Your order ID.
2) An approximate date of purchasing.Только на C++, на C# перенесены только самые базовые примеры.
Исходники wwwcensor включены в дистрибутив, можете их найти среди msvc примеров.
Ваша задача так же решаема, но невозможно же в самом деле написать пример под каждый конкретный случай 😉
January 9, 2013 at 10:18 am in reply to: If i chnaged NetCfgInstanceId in inf file , ping not works #7110I’m sorry for the delayed response. I’ve been away for the New Year holidays.
I have generated the new netcfgInstanceId , change it in my inf file and my filter driver is properly installed but it is connected with another machine and not able to communicate with each other.
Besides changing netcfgInstanceId in INF file you also have to change it in common.h and rebuild the driver from the source code. Have you rebuilt the driver?
And again, your manipulations with Characteristics value are incorrect.
December 25, 2012 at 11:53 am in reply to: If i chnaged NetCfgInstanceId in inf file , ping not works #7109Vikash,
Could you describe all the steps you did to customize and install the driver? The more complete details the better, I can’t make a guess from your short description.
December 12, 2012 at 9:18 pm in reply to: Problem in inf file characteristics value with winpk filter #7103@vikashm05 wrote:
1)How generate new GUID .
You can use guidgen utility to generate new GUID.
@vikashm05 wrote:
2)How to change it in winpk filter after generating a new GUID :
Change INF file and string in common.h. Then just rebuild LWF drivers.
Windows Packet Filter Kit 3.1 released:
– LWF driver updated according Windows 8 requirements
– Added VLAN tagging 802.1Q
– Added IPv6 support for built-in filtersBug fixes:
– Incorrect spinlock acquire in LWF driver
– Adapter list changed event in LWF driverIf you are eligible for a free update, please send the following details to [email protected] tо receive an update instruction:
1) Your order ID.
2) An approximate date of purchasing. -
AuthorPosts