Re: disable TCP from NetBSD

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000701c9aba8$0615b0b0$02b2a8c0@tardis>
Hi,

You can still work with raw sockets, therefore rewriting your IP packets - useful and advanced network programming, without bypassing your kernel. If you do (bypass it) there is a whole lot of userspace applications that depend on it, and I am afraid you may end up with a useless system.

Good luck,
Nikos
  ----- Original Message ----- 
  From: Alexander Bubnov 
  To: Nikos Balkanas 
  Cc: [email protected] 
  Sent: Monday, March 23, 2009 9:11 AM
  Subject: Re: disable TCP from NetBSD


  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 
      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.