Re: disable TCP from NetBSD

Alexander Bubnov <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks you for replay, Nikos!

Most probably you are right that I am not in right direction... I just would
like to write a simple implementation of TCP layer of TCP/IP stack. For this
purpose I need IP layer to get IP PDU (packets) with help of raw socket.
Now, I cannot use socket interface as the kernel caught all TCP fragments.
even I cannot receive TCP PDU using bpf from other peers because the kernel
sends RST as it thinks there are not listeners.

I though TCP layer can be easily separated off from the kernel. But, as far
as I understand only whole TCP/IP stack can be turned off because all the
layers have strong dependencies from each other beginning at NIC drivers.

2009/3/23 Nikos Balkanas <[email protected]>

>  Hi,
>
> What are you trying to do? It doesn't seem you are in the right direction.
> All IP traffic should and will go through the kernel. I presume you are not
> redeveloping your NIC drivers.
>
> BR,
> Nikos
>
> ----- Original Message -----
> *From:* Alexander Bubnov <[email protected]>
> *To:* [email protected]
> *Sent:* Sunday, March 22, 2009 7:05 PM
> *Subject:* disable TCP from NetBSD
>
> Hello, all! I am going to practice in net programming by writing TCP
> protocol. Can you please let me know how to disable TCP from NetBSD because
> as I guess all tcp packets will be catched by kernel? Unfortunately, I have
> not found the way in manual about sysctl and GENERIC conf file for kernel,
> just "options INET" which turn off IP + ICMP + TCP.
>
> Thanks in advance.
>
> --
> /BR, Alexander
>
> ------------------------------
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>
> ------------------------------
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>


-- 
/BR, Alexander

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.