Skip to contentSkip to conversation

TCP as a module

DISCUSSION Shan Sinha 3 participants 3 messages Jul 26, 2003 – Jul 27, 2003

lore
Share & tools
lore

Shan Sinha

author
#0 lore raw

Hi everyone-

My web searches on this seem to turn up very little.

Many people have suggested that TCP as a loadable module would be nice. I am actually in a position where I think it might be necessary.

I am working on a research project on an ad-hoc 802.11 network spanning through a local neighborhood. There are multiple people developing on the network with dozens of nodes all running 2.4. Various kernels across the network are updated at various times, but upgrades do happen frequently. Occassionally, kernels are uniformally updated across the entire network.

My work specifically requires some TCP hacking. As a result, I would like to insulate my work from other kernel upgrades, so as not to have to redo work. Creating an isolated sandbox, while possible, is not optimal, b/c the kernel upgrades are usually necessary and worth incorporating.

As a result, I would like to implement a new transport layer module based on the TCP code, but with its own address family. I realize I might have to re-compile a few tools, but I use few enough of those, that it should be no problem.

Looking at the code, I assume that a starting step would be to figure out how to implement TCP as a module.

+ Has anyone actually done this or know of someone who has? Any advice/links would be useful.
+ Or does anyone know for certain that doing this is just not possible? If so, why not?

I'm willing to live with idiosyncracies in how such a TCP module would behave for making my development life easier, I think this is necessary! The idea would be that once some of my work actually demonstrates positive results, to re-implement back into the core kernel code.

If you have a better solution, I would love to hear it!

Cheers-
Shan

Shan Sinha
Networks and Mobile Systems
Laboratory for Computer Science and AI
MIT

For information on the research project, visit
http://pdos.lcs.mit.edu/roofnet

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw

Have you tried CC'ing linux-kernel mailing list?
I could be wrong but linux-newbie seems a bit out of place for a post dealing with kernel code development.

the address is
[email protected]
and you can subscribe at www.kernel.org

Just a suggestion, I hope you find the answers you're looking for there.

Quoted 56 lines · Shan Sinha

Hi everyone-

My web searches on this seem to turn up very little.

Many people have suggested that TCP as a loadable module would be nice. I am actually in a position where I think it might be necessary.

I am working on a research project on an ad-hoc 802.11 network spanning through a local neighborhood. There are multiple people developing on the network with dozens of nodes all running 2.4. Various kernels across the network are updated at various times, but upgrades do happen frequently. Occassionally, kernels are uniformally updated across the entire network.

My work specifically requires some TCP hacking. As a result, I would like to insulate my work from other kernel upgrades, so as not to have to redo work. Creating an isolated sandbox, while possible, is not optimal, b/c the kernel upgrades are usually necessary and worth incorporating.

As a result, I would like to implement a new transport layer module based on the TCP code, but with its own address family. I realize I might have to re-compile a few tools, but I use few enough of those, that it should be no problem.

Looking at the code, I assume that a starting step would be to figure out how to implement TCP as a module.

+ Has anyone actually done this or know of someone who has? Any advice/links would be useful.
+ Or does anyone know for certain that doing this is just not possible? If so, why not?

I'm willing to live with idiosyncracies in how such a TCP module would behave for making my development life easier, I think this is necessary! The idea would be that once some of my work actually demonstrates positive results, to re-implement back into the core kernel code.

If you have a better solution, I would love to hear it!

Cheers-
Shan

Shan Sinha
Networks and Mobile Systems
Laboratory for Computer Science and AI
MIT

For information on the research project, visit
http://pdos.lcs.mit.edu/roofnet

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Signature · 9 lines
----------------------
Eric Bambach   
Eric (at) CISU (dot) net 
----------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#2 lore raw

Hello Eric , If a question has to do with Networking please forward the person to netdev or linux-net maillists . DaveM (& others) will be ranting at the person for posting a network question on the kernel list otherwise . JimL

Quoted 7 lines · Eric

Have you tried CC'ing linux-kernel mailing list?
I could be wrong but linux-newbie seems a bit out of place for a post dealing with kernel code development.
the address is
[email protected]
and you can subscribe at www.kernel.org
Just a suggestion, I hope you find the answers you're looking for there.

Signature · 10 lines
       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | [email protected] | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs