Student Question about a NDIS driver

Hello,
I would like to comunicate two computers using a FTP server and a FTP
cliente but I need to do this trough serial port. I don’t know what to
do.Should I do a NDIS driver? or what can I do? please if you have some
tip tell me.

Atte Mariana.

No NDIS driver, everything necessary is already there. You need to install
direct serial cable connection and probably also PPTP. After connection run
ipconfig /all at both computers to see if IP addresses were assigned. I used
this configuration with no problem at NT4 and w2k several years before but
forgot setup details (did it once for every OS).

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From: xxxxx@hotmail.com[SMTP:xxxxx@hotmail.com]
Reply To: xxxxx@lists.osr.com
Sent: Thursday, May 01, 2003 1:06 AM
To: xxxxx@lists.osr.com
Subject: [ntdev] Student Question about a NDIS driver

Hello,
I would like to comunicate two computers using a FTP server and a FTP
cliente but I need to do this trough serial port. I don’t know what to
do.Should I do a NDIS driver? or what can I do? please if you have some
tip tell me.

Atte Mariana.


You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hello …
as the friend told you you dont need anything related to NDIS or
whatever…
You only Need the Serial Cable and covigure one computer as a host and the
second as a client ,I did it between two computers WinXP and Win98 and
nothing was difficult…
I think you can find that Cable connection in stores or you can simply
make it your self (I made mine my self and it works graet …So simple)
if the problem is the cable then I can tell you exactly what to do,
and setting up the two machines is simple
and the result will be like a simple lan network -sure it slow but works-
for any help dont hesitate to connect us.

Hello guys:
Thanks a lot it works perfect. Do you know how does it works? becouse I
need to do a program similar but programmed by myself. Do you know how can
I do something like that?
Mariana

Do you mean IP over serial cable? (please quote relevant parts, developers’
memory is precious resource :slight_smile:

On NT you’d have to reinvent wheel and it’d be a lot of work. Standard data
path (simplified) Winsock <-> TcpIp <-> NdisWan <-> WAN miniport for serial
line <-> Serial driver <-> cable. All but winsock are kernel mode drivers.
If the purpose of your project is student work, you could write NDIS driver
which emulates ethernet over serial line (this is what NdisWan + WAN serial
miniport do). There are issues. I’d expect several months of work for
experienced NDIS developer. It is probably bad direction.

Could you clarify your project specification a bit? Is it for any FTP server
client pair or your one? For the second possibility you could emulate TCPIP
(actually only partially) in user mode i.e. communicate with serial driver
via win32 API instead of using Winsock. First one should be also possible
but I’m not sure how (try search archives); maybe Winsock hooking or
replacing (a DLL with the same interface as winsock but using serial for
data transfers).

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From: xxxxx@hotmail.com[SMTP:xxxxx@hotmail.com]
Reply To: xxxxx@lists.osr.com
Sent: Friday, May 02, 2003 10:31 PM
To: xxxxx@lists.osr.com
Subject: [ntdev] RE: Student Question about a NDIS driver

Hello guys:
Thanks a lot it works perfect. Do you know how does it works? becouse I
need to do a program similar but programmed by myself. Do you know how can
I do something like that?
Mariana


You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Mariana…
If your thinking about making a program that is able to dounload files and
also browse them from the host computer (“LIKE” ftp programs)then I can
help… about 10 days ago I finnished a progy that does exactly that…
you need to build a pair of programs (or meybe one with both capabilities)
the first is a server and the second is a client and speaking technically
you will need to program with Sockets (or other techniques) that can
handle the communications between the two programs…the client will send
requests to the server and the server with send the response…

you can start on working a little on Sockets in general (sending and
receiving to and from a remote computer -or meybe your same computer-but
between two different programs…

but if you’re thinking about making an FTP (I mean the standard FTP
protocole) then I thing you should first start serching for the standard
specifications and then build your client on it …so I prefere starting
step by step…If your interested in source code 'I have some written in
Delphi

hope I helped you to start
xxxxx@popmail.com

Hello,
I’m going to try to extend my explanation. I’m going to use an antennas
pair connected to serial port but antennas works as a serial cable. The
problem is that the air is unsecure and I have to do a secure
communication, it is a reason becouse I want to do the program becouse I
need to manipulate the stream data before send it. Do you know how can I
read this stream data for manipulate it? The sencond reason is becouse if
I use the windows “connection between two computers” I didn’t do anything,
but now that is no problem.
well principaly the cuestion is:
Where can I read the data stream? and How can I read the stream data?
The project is for any FTP server client.
Mariana

HI Mariana
I’m sorry to tell you that I was thinking about something else.
I’m sure you’r gonna find some help her and there…

but I suggest to think about a driver that Encrypt and decrypt all data
sent and received from the serial ports on both computers…
and customize The FTP Client program to use the Serial port as ordiary
so even if using a typical cable date is sent and received Encrypted.

sorry if this does’nt give much help
xxxxx@popmail.com

Another possiblity is to write a filter driver for the serial driver that manipulates the data passed to/from “serial” …
I thought I have already seen a SerialSpy filter somewhere that could serve as basis for such an encription filter.

----- Original Message -----
From: “Hazem K”
To: “NT Developers Interest List”
Sent: Saturday, May 03, 2003 10:06 PM
Subject: [ntdev] RE: Student Question about a NDIS driver

> HI Mariana
> I’m sorry to tell you that I was thinking about something else.
> I’m sure you’r gonna find some help her and there…
>
> but I suggest to think about a driver that Encrypt and decrypt all data
> sent and received from the serial ports on both computers…
> and customize The FTP Client program to use the Serial port as ordiary
> so even if using a typical cable date is sent and received Encrypted.
>
> sorry if this does’nt give much help
> xxxxx@popmail.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@compaqnet.be
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

NDIS filter driver is able to see all data and it is possible to
encrypt/decrypt it there. It is probably unnecessary in your case as NdisWan
is already able to encrypt data, just turn in on (for connection find
security and advanced settings). I’m not sure if this option is available
for all connection types or for VPNs only, try it.

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From: xxxxx@hotmail.com[SMTP:xxxxx@hotmail.com]
Reply To: xxxxx@lists.osr.com
Sent: Saturday, May 03, 2003 8:49 AM
To: xxxxx@lists.osr.com
Subject: [ntdev] RE: Student Question about a NDIS driver

Hello,
I’m going to try to extend my explanation. I’m going to use an antennas
pair connected to serial port but antennas works as a serial cable. The
problem is that the air is unsecure and I have to do a secure
communication, it is a reason becouse I want to do the program becouse I
need to manipulate the stream data before send it. Do you know how can I
read this stream data for manipulate it? The sencond reason is becouse if
I use the windows “connection between two computers” I didn’t do anything,
but now that is no problem.
well principaly the cuestion is:
Where can I read the data stream? and How can I read the stream data?
The project is for any FTP server client.
Mariana


You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Maybe emulate 802.11 over this “network”?

Max

----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Saturday, May 03, 2003 10:49 AM
Subject: [ntdev] RE: Student Question about a NDIS driver

> Hello,
> I’m going to try to extend my explanation. I’m going to use an
antennas
> pair connected to serial port but antennas works as a serial cable.
The
> problem is that the air is unsecure and I have to do a secure
> communication, it is a reason becouse I want to do the program
becouse I
> need to manipulate the stream data before send it. Do you know how
can I
> read this stream data for manipulate it? The sencond reason is
becouse if
> I use the windows “connection between two computers” I didn’t do
anything,
> but now that is no problem.
> well principaly the cuestion is:
> Where can I read the data stream? and How can I read the stream
data?
> The project is for any FTP server client.
> Mariana
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com