Is it possible to disable network protocols,but keep drivers

Kernels & Hardware, configuring network, installing services

Is it possible to disable network protocols,but keep drivers

Postby bdgong » 2017-11-13 00:46

Hi there~I wanna do some stuff like as simple self-implementation of network protocols stack, and I use libpcap to catch and inject packet directly with network card driver. Now my question is, whether I can disable the network protocols stack, but keep network card drivers works well?

Appreciate any of your help:)
Simple is good. KISS
bdgong
 
Posts: 10
Joined: 2015-11-20 11:38
Location: DeYang City, SiChuan Province, China

Re: Is it possible to disable network protocols,but keep dri

Postby shep » 2017-11-13 16:13

There are both kernel and gnu userland components involved with networking. For example, the linux kernel has wireless drivers but wpa_supplicant is in userland. The kernel has Realtek NIC drivers but dhcp is in userland. Rather than disabling/removing network protocols just do not implement them.

In some ways, your question is like an answer from a Politician.
shep
 
Posts: 130
Joined: 2011-03-15 15:22

Re: Is it possible to disable network protocols,but keep dri

Postby bdgong » 2017-11-14 02:18

Well, I am not familiar with GNU/Linux kernel, but, the network protocols such as ARP(IP) is implemented in kernel, isn't it ?

shep wrote:Rather than disabling/removing network protocols just do not implement them.


If it is, then I have to get the source code and compile it without network protocols part, there is no other options, as you said "do not implement them", do I get it?


shep wrote:In some ways, your question is like an answer from a Politician.


Emmm, I'm a student with poor English, :P
Simple is good. KISS
bdgong
 
Posts: 10
Joined: 2015-11-20 11:38
Location: DeYang City, SiChuan Province, China


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable