Weird (unsecure?) behaviour when trying IP forwarding.



Hi,

A colleague of mine already asked this question a while back, but we
are still struggling with this problem and haven't gotten any response.
Perhaps it would be nice to have someone from Microsoft comment on
this.

We have tried the following steps to try and activate the ip
forwarding, in the end the registry looks good and even the call return
that everything should be enabled.

1. Change the registry:
HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\IpEnableRouter registry value from
0 to 1
2. Perform a soft reset of the PDA! <--- You seem to be missing this
important step. Remember that this is Windows, so you must reboot a lot
;-)
3. Enable forwarding using GetIPStatistics/SetIPStatistics. Step 3 is
only effective after rebooting (step 2).

The weird thing is that the pocket PC devices are showing some really
weird behaviour. When I send a ping from my laptop with the destination
MAC address set to my PDAs mac, but the destination IP address is not
one of the PDA. I just add a host specific route to my laptop saying
that I can reach the host with IP e.g. 169.254.2.1 through my PDA which
has e.g. 169.254.238.239 (same subnet).
If I do it like that the PDA just sends a ping reply to my laptop
acting like packet was meant for him, and not even bothering to check
the destination ip address.

I'm starting to think that maybe the IpEnableRouter does work, but
somehow the packets are always accepted, but then why is this and what
causes this behaviour? It certainly doesn't look secure to me since it
works for just about any UDP or TCP packet and you would get an ICMP
port unreachable back or even worse get connected to the socket if an
app is listening

Don't laugh with the last thing, at one moment we had an app running on
three devices and wanted to try the ip forwarding on a wireless channel
(e.g. A - B - C). The app worked allright but when A tried to connect
to C, B just passed on the packets to its own transport layer and the
receiver side of the app started running on B instead of C which never
saw any of the packets going his way.

Can anybody tell me what we are doing wrong? Is this a device related
issue? If so, are there devices that do offer this functionality?

Regards,
Michael

.



Relevant Pages

  • Re: Weird (unsecure?) behaviour when trying IP forwarding.
    ... MAC address set to my PDAs mac, but the destination IP address is not ... one of the PDA. ... somehow the packets are always accepted, but then why is this and what ... Don't laugh with the last thing, at one moment we had an app running on ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: Announcement: Multivalue on a PDA
    ... on a regular QM server and then just dump the BASIC app on the PDA. ... purely for developers and really has nothing to do with end-users. ...
    (comp.databases.pick)
  • Re: ActiveX.exe more problems
    ... it's not a Streaming device. ... Jungo assumes this too ... App doesn't see an Abort or Stop flag it starts interrogating the USB device ... Packets are received ...
    (microsoft.public.vb.general.discussion)
  • Data collection storage options
    ... the data on the pda. ... My old app stored data using random access text ... The specific ppc devices are yet to be known, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Announcement: Multivalue on a PDA
    ... character app in Windows CE. ... PDA, do you really expect people are going to use a stylus/pen to ... Developers think that because of the limited real estate on a PDA they'll make things smaller. ... Don't just convert your desktop interface to a PDA. ...
    (comp.databases.pick)