Re[2]: netgraph questions on ng_tee, ng_iface, ng_socket

From: Andrew Riabtsev (resident_at_b-o.ru)
Date: 01/20/04

  • Next message: Brad Watkins: "mpd 3.15"
    Date: Tue, 20 Jan 2004 14:45:34 +0300
    To: Gleb Smirnoff <glebius@cell.sick.ru>
    
    

    GS> On Tue, Jan 20, 2004 at 11:48:44AM +0300, Andrew Riabtsev wrote:
    A>> >> Connecting ng_iface:inet and ng_ether:upper/lower do nothing, well, it
    A>> >> do something but not what you are waiting for, i think.
    A>>
    A>> DN> i know, hence was asking if there was something i could do, even if it
    A>> DN> meant writing an extension to ng_ether to create a new netgraph type.
    A>>
    A>> You could try to write netgraph module that makes same thing with
    A>> packets and frame as functions ether_(input/output) in
    A>> net/if_ethersubr.c. Thats all that come in my mind.

    GS> Isn't ng_etf(4) the one you need?

    As i undestand this module just filters packets, using values in
    ethernet header, but Dinesh need something that add ethernet header to ip
    packet in one direction and stript ip-packet from ethernet frame in
    other direction.

    -- 
     Andrew                            mailto:resident@b-o.ru
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Brad Watkins: "mpd 3.15"

    Relevant Pages

    • Re: Bizarre jumbo-frame TCP performance problems
      ... From my lectures i had in mind, ... IP packets was 1536 Bytes. ... the max. ethernet frame size is 1536 Bytes. ... Maybe the Ether-Frame buffer is not large enough to hold all ...
      (comp.os.linux.networking)
    • Re: max udp datagram size
      ... due to the 28 byte header overhead and Ethernet frame ... if I am sending UDP packets 16192 ... so your comment about efficiency was more about on the wire ratio ...
      (comp.os.linux.networking)
    • Ethernet Header Problem
      ... I was doing some sniffing of my packets this afternoon and noticed that the ... Ethernet Header destination and source off any packets coming from outside ... my network are not the same as the IP Header information in each packet. ... I'm more of a server than network guy. ...
      (microsoft.public.win2000.security)
    • Ethernet Header Problem
      ... >I was doing some sniffing of my packets this afternoon ... >my network are not the same as the IP Header information ... The Ethernet Header information is ...
      (microsoft.public.win2000.security)