Catch SLIP'ed data before it is sent out
From: Helmut Giese (hgiese_at_ratiosoft.com)
Date: 02/24/05
- Next message: Bernd Strieder: "Re: How to create a bootable/live CD of installed Linux OS"
- Previous message: Milind Dumbare: "Re: How to create a bootable/live CD of installed Linux OS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Feb 2005 15:43:03 GMT
Hello out there,
I am a seasoned C hacker but I know very little about Linux.
I have a setup, where TCP/IP requests are to be routed to another
machine via a serial line. As I understand it, any machine can be
configured to SLIP certain incoming data and send it out over a serial
port. (I wouldn't know how to do it, but a local Linux guru will.)
There is one problem, though: The data cannot be sent out over the
serial line at will - the connection is not permanent (in a logical
sense). Instead, data packets will have to be queued or buffered,
until the connection is (logically) re-established - only then can
they be sent out.
What I would like to achieve is:
1) Have the machine setup so that SLIP'ed data is prepared to be sent
out over a certain port.
2) Intercept it, before it actually reaches this port.
Like so: Normal behaviour:
TCP/IP packet arrives -> SLIP -> passed to serial driver -> leaves
machine
Desired behaviour:
TCP/IP packet arrives -> SLIP -> passed to own program (masquerading
as serial driver ?) -> data is buffered and eventually leaves machine
Any hints, tips or links will be greatly appreciated. Note: Details
are welcome - as I said, I don't know much about Linux.
Best regards
Helmut Giese
- Next message: Bernd Strieder: "Re: How to create a bootable/live CD of installed Linux OS"
- Previous message: Milind Dumbare: "Re: How to create a bootable/live CD of installed Linux OS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|