Eldred

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • in reply to: NDISWANIP connections identification #7079

    Eldred
    Participant

    Thank you for your answer. With the IP I get the name using the IP helper API. It works perfectly !

    in reply to: Developing a forwarding application #6908

    Eldred
    Participant

    Ok, thanks again !

    in reply to: Developing a forwarding application #6906

    Eldred
    Participant

    Ok, so it means I can do a single setup, and according to the architecture I’ll just have to select the correct driver ? It’ll be nice.

    in reply to: Developing a forwarding application #6904

    Eldred
    Participant

    Ok, I’ll do it. I got a question about the 32 and 64 bits versions : will I have to make 2 different installs and 2 different programs, using the 32 and 64 bits versions of the driver, in order to work with the 2 architectures ? Or will the 32 bits version work with a 64 bits system ?

    I thought I would use GetSystemInfo() in order to determine what kind of system it is, then I’ll do conditions in my code (apparently, there is just one difference about the lowPart or QuadPart for the filters ?)

    Are there other differences to perform in the code ? Thanks.

    in reply to: Developing a forwarding application #6902

    Eldred
    Participant

    I just purchased the developer licence. It seems I have to use snetcfg.exe in order to make a silent install, right ? In the mail I received, it is said I can send you new names for drivers and devices and information to include in the resource.

    What exactly can be changed, and where will I see it ? I mean, I don’t know exactly what I can custom. By devices, does it mean that you can change the name of VirtNet adapter for us, or will we have to do it thank to its source code ?

    in reply to: Developing a forwarding application #6901

    Eldred
    Participant

    Ok thanks for the link, it seems to be possible to make purchase order, that’s exactly what I need !

    in reply to: Developing a forwarding application #6899

    Eldred
    Participant

    Oh, I forgot ; I was about to purchase a licence but I need to have this last answer : will I receive a bill after having payed ? I will absolutely need one with my name and the one of my company. I guess it’s the case but I can’t pay before to be sure.

    Actually my case is a bit complicated ; is there a way to contact you by phone ?

    in reply to: Developing a forwarding application #6898

    Eldred
    Participant

    Ok I see, I read that in another thread but didn’t remember. Thank you again for those information.

    in reply to: Developing a forwarding application #6896

    Eldred
    Participant

    Thank you for your answers. But I have a last question about the certificate : if I don’t have one, will the silent install work anyway ? I mean, there will be a warning but if the user accepts it it should be ok right ?

    in reply to: Developing a forwarding application #6894

    Eldred
    Participant

    Another question about the licence ; if I pay once, I’ll have free support and upgrade for one year. But if my software runs well and I don’t need neither support nor upgrades, will I still have the right to sell my products using your driver or will I have to renew my subscription ?

    Another question, I don’t remember if the driver works with Windows 7 64 bits ; if it’s not the case will I have the new version if it’s released within one year ?

    Thanks.

    in reply to: Developing a forwarding application #6893

    Eldred
    Participant

    Great ! How can I do to obtain this certificate ? Will it be ok for the VirtNet source code if I purchage the developer update, since I have no modifications to do ?

    in reply to: Developing a forwarding application #6891

    Eldred
    Participant

    My application is almost over ; I still have some little questions but I guess there is no solution with you API :

    – I need to forward packets for WAN links or interfaces ; in order to do NAT I need to know what is the IP of this interface/connection. For the connection, I can use the RAS_LINKS structure. But is there another way for the interface than looking in the registry with the device ID ?

    – I also need to know the DNS server(s) from these interface/connection. For the interface I can look into the same key of the registry ; but for the connection, I don’t know how to find it (the information is also in the registry, but how can I proceed to know its ID ?)

    Since I know now I can use your driver and API, I’ll have to purchase it. How does it work after, I download a package containing all tools to install it or so ? I’d need to perform a silent install of the driver, is this possible ?
    Other question, are the sources of the VirtNet adapter available in this package ? It would be nice if I could rename it with the name of my company.

    Thank you for your answers.

    in reply to: Developing a forwarding application #6890

    Eldred
    Participant

    I want to redirect packets outgoing from an interface through another one in order to be filtered by an existing system. The problem I had was that I managed to forward packets, but they weren’t filtered by the destination machine.
    Using WireShark to analyze the packets, I saw that the destination MAC address wasn’t the one from the machine but the one from the gateway the packet should have use in its normal route.

    I misunderstood the difference between routing packet and copying it to another interface. So I changed the destination MAC and it works.

    Now I know how to use it, I can confirm, your job is really great !

    Thank you SerpentFly for the help you provided my through this thread.

    in reply to: Developing a forwarding application #6888

    Eldred
    Participant

    Not many movement here since my last post, but I tell where I am now anyway. I set up filters and I can redirect the packets I want to the adapter I chose. This tool is really powerful and quite easy to use. Anyway, I still have a question : what kind of packets are the forwared ones ? I mean, I send the packets through a virtual adapter (VirtNet adapter) which is used by a VM. If I perform a tcpdump into the VM (Debian-based), I can see the packets ; but if I do netfilter rules, I can’t see anything. Any reason to this ?

    in reply to: Developing a forwarding application #6887

    Eldred
    Participant

    I’ve been busy on another project this last month and haven’t post feedback. I finally managed to read packets and forward them to another interface.
    But for what I want to do, I need to have more precise rules. For example, I want to forward packets according to their source IP.

    If source IP == xx.xx.xx.xx, then forward, else let the packet go.

    In order to use SendPacketToAdapter correctly, I need to set the mode to MSTCP_FLAG_SENT_TUNNEL| MSTCP_FLAG_RECV_TUNNEL. Am I right so far ?

    But if I do so, every packet will be blocked. So I guess I need to setup filter rules. As I could read from the doc and the filter sample, everything I want to do is possible. I just have a question about how to use this : do I need to setup filter rules first, and then the ReadPackets function will only “see” packets whose filter action was “FILTER_PACKET_REDIRECT” ?

    I don’t know if I was really clear, just tell me if I wasn’t.

Viewing 15 posts - 1 through 15 (of 23 total)