Vadim Smirnov

Forum Replies Created

Viewing 15 posts - 1,216 through 1,230 (of 1,387 total)
  • Author
    Posts
  • in reply to: NeT Firewall rules #5848
    Vadim Smirnov
    Keymaster

      In general it’s hardly possible to create common rules, because these rules should contain your (or/and remote system IP’s). However, for the Internet user (not a server system) usually it’s more than enough to use one of the Stealth modes without setting any additional rules.

      in reply to: softice bugs? #5844
      Vadim Smirnov
      Keymaster

        Качни с Compuware последний osinfo.dat. Обычно помогает.

        in reply to: Redirect after filter on packets #5836
        Vadim Smirnov
        Keymaster

          In case of proxy packet directed to IPproxy (where IPproxy is the proxy IP address). You still can redirect packets from IPproxy to your IP (I assume you fully control this system) and process it by your own proxy.

          Another possible approach is parsing/modification of HTTP(DNS) packets payload but it’s a bit more complicated.

          in reply to: Host name #5843
          Vadim Smirnov
          Keymaster

            Sorry, but using hostname for the rule is not possible (actually it would be potentionally dangerous security hole). Making a work around depends from your configuration and security requirements so it is a bit difficult to advise.

            in reply to: Redirect after filter on packets #5834
            Vadim Smirnov
            Keymaster

              Lets assume that you want to redirect user from IP1 to IP2. In order to do so you must do the following:

              1) For the outgoing packet change destination IP from IP1 to IP2 and recalcuilate IP checksum. Save the connection state (IP’s, TCP ports).

              2) For the incoming packet check if it is from IP2 and if yes also check port information (to be sure that this packet is associated with redirected connection). After this substitute source IP from IP2 to IP1 and recalculate IP checksum.

              3) And so on… For the outgoing packets use 1) and use 2) for incoming.

              in reply to: WinpkFilter news/updates. #5504
              Vadim Smirnov
              Keymaster

                WinpkFilter 3.0 released. This release introduces Windows XP x64 and Windows Server 2003 x64 support. Also includes few bugfixes and API extensions. Please refer WinpkFilter online documentation for the details. If you are eligible for a free update, please send the following details to support@ntkernel.com to receive an update instruction:

                1) Your order ID.

                2) An approximate date of purchasing.

                in reply to: In-kernel IP-IP tunnel driver #5832
                Vadim Smirnov
                Keymaster

                  Besides DeviceRawIp, is there any other way to inject a raw IP packet to TCP/IP protocol stack? Seems NDIS Intermediate Driver not usable, because the raw IP packet needs to be routed.

                  You can inject packet using NDIS IM or NDIS hook driver (up to the stack or down to the network interface) but you must know exactly what you are doing (to choose correct network interface and packet indication).

                  in reply to: In-kernel IP-IP tunnel driver #5830
                  Vadim Smirnov
                  Keymaster

                    DeviceIp can’t be used for sending custom packets, in general it is used for managing TCP/IP protocol stack, not for communication (however, there is an IOCTL used for sending ICMP PING). However, I think you can use deviceRawIp. I have never tried it myself but I suppose it provides TDI transport interface for sending/receiving raw IP packets.

                    Other ideas look OK.

                    in reply to: WinPkf for Windows 64 #5829
                    Vadim Smirnov
                    Keymaster

                      Thanks for choosing WinpkFilter. Actually 64 bit version of WinpkFilter driver is ready and we are running last series of tests with it. I hope it will be released in a week or two.

                      Few notes regarding new driver. Because of new Microsoft patching policy for 64 bit Windows (http://www.microsoft.com/whdc/driver/kernel/64bitpatching.mspx) we created 64 bit version using NDIS intermediate driver as a base (instead NDIS-hooking one), however new driver exports same API’s and internally shares the common code (folder COMMON) with VxD and NDIS hooking 32 bit NT driver, so there should not be a problem to move your existing code to this new environment. The NDIS IM installation issue (unsigned driver installations warnings) can be easily resolved by run-time changing security policy, installing driver and restoring policy (it works well on the modern 64 bit systems).

                      in reply to: Modified packets sent from LAN to WAN across NAT (chcksm ok) #5827
                      Vadim Smirnov
                      Keymaster

                        I would start analyses of this problem with the simplest packet which expected to be replied by MSTCP – ICMP ping. It has simple structure, so it must be easy to verify that the packet which you indicate from the name of the WAN interface after decapsulation is OK.

                        I have one idea regarding problems with WAN you have, what MAC addresses do you have in the Ethernet header? If when operation over LAN it does not matter much, then over WAN you must use pair of MAC’s associated with particular WAN connection. In your case you must use MAC’s from the original (UDP?) packet received over WAN, but not the MAC’s that packet had before encapsulation or any other MAC’s. Otherwise NDISWAN fails to associate packet with the particular WAN connection and silently drops it.

                        May be this is not your case, but this is one of the common problems with WAN. If it does not help then please provide more details and I hope we will be able to figure out the exact reason.

                        in reply to: trial to full version… How upgrade ? #5825
                        Vadim Smirnov
                        Keymaster

                          You can install the full version over (into the same folder) the trial one and reboot (both trial and full use the same registry keys to keep you rules and settings). Don’t forget to shutdown the trial version before installing the full one (otherwise some files may fail to be replaced).

                          You can also export your rules to the file, uninstall trial, install full version, reboot and import rules from the file.

                          in reply to: log disappear ? #5824
                          Vadim Smirnov
                          Keymaster

                            One note, log size is limited and after the maximum size reached MMC applet removes the oldest entries from the log to release place for the new entries. Also, in order to update log screen press “Refresh” button in the toolbar. hope it helps.

                            in reply to: Handle VLAN? #5818
                            Vadim Smirnov
                            Keymaster

                              I had looked through the realization of VLAN in Linux and yes it can be implemented even on low cost adapters because all drivers are available in source code and you can easily increase the ethernet frame size in the NIC driver. But in Windows you can’t modify the source code of the driver for your network card and all packets will be truncated to 1514 bytes. You still can create VLAN for the cost of MTU (packets on the network will be still 1514 bytes but MTU will be decreased from 1500 to 1496 bytes). MUX sample driver from the DDK implements VLAN by this way. However, this implemetation won’t be compatible with Linux VLAN (which uses larger MTU), without additional tricks like decreasing MTU because any incoming packet over 1514 bytes will be truncated. So complete realization of VLAN in Windows is hardly possible without special NIC/drivers…

                              in reply to: Handle VLAN? #5816
                              Vadim Smirnov
                              Keymaster

                                Just found here http://support.intel.com/support/network/sb/cs-005897.htm that

                                By default, Intel adapters strip the VLAN tag before passing it up the stack.

                                In this case WinpkFilter receives 802.3 frame without VLAN tag and there is no way to access it without additional efforts. Even if you do the modifications mentioned on that page to turn off stripping tag then I’m not sure that TCP/IP stack will be able to process these packets with extended header normally.

                                in reply to: Handle VLAN? #5815
                                Vadim Smirnov
                                Keymaster

                                  I assume you mean VLAN tagging (inserting 4 additional bytes into the ethernet header). Well, current version of WinpkFilter limits the size of Ethernet frame to 1514 bytes but there is no problem to extend it to 1518 (or even to 1522) bytes if network card supports such a frame size (does it?).

                                  However, does Windows TCP/IP stack supports VLAN? I just suspect that even if VLAN used the tags are stripped before packet reaches the TCP/IP stack…

                                Viewing 15 posts - 1,216 through 1,230 (of 1,387 total)