Layer 2 Filtering Project......

Discussion in 'Cisco' started by abhils44@gmail.com, Sep 15, 2006.

  1. Guest

    Is there anyone who knows how to implement this project, and what r the
    all neccessary things to consider while doing this.....
    The idea of this project is to implement a filter at layer 2
    (Ethernet). The user will be given a command line utility and he can
    add and remove rules into this filter. Depending on the rule decision
    needs to be made on the current Ethernet frame. Following is the
    specification:



    1. The L2F gets started when the Linux Kernel boots up.
    2. The user is given a command line utility with the following
    syntax:
    1. <utility_name> -add -s <source_mac_addr> -d
    <destination_mac_addr> -a <action allow/deny>
    3. Once the user enters adds the rule the L2f will add a node to its
    internal linked list. The L2F need to capture the Ethernet frame and
    extract source and destination mac addresses. If it matches any of the
    existing rules it should perform that action. The linked list should
    take care of all error conditions.
     
    , Sep 15, 2006
    #1
    1. Advertising

  2. Guest

    wrote:
    > Is there anyone who knows how to implement this project, and what r the
    > all neccessary things to consider while doing this.....
    > The idea of this project is to implement a filter at layer 2
    > (Ethernet). The user will be given a command line utility and he can
    > add and remove rules into this filter. Depending on the rule decision
    > needs to be made on the current Ethernet frame. Following is the
    > specification:
    >
    >
    >
    > 1. The L2F gets started when the Linux Kernel boots up.
    > 2. The user is given a command line utility with the following
    > syntax:
    > 1. <utility_name> -add -s <source_mac_addr> -d
    > <destination_mac_addr> -a <action allow/deny>
    > 3. Once the user enters adds the rule the L2f will add a node to its
    > internal linked list. The L2F need to capture the Ethernet frame and
    > extract source and destination mac addresses. If it matches any of the
    > existing rules it should perform that action. The linked list should
    > take care of all error conditions.


    Very interesting, please post the code when you
    have finished your assignment:)
     
    , Sep 15, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. praveen
    Replies:
    1
    Views:
    3,137
    Bjørn Djupvik
    Oct 22, 2003
  2. Joel M. Baldwin

    bridge / layer 2 switch / layer 3 switch

    Joel M. Baldwin, Nov 6, 2003, in forum: Cisco
    Replies:
    2
    Views:
    4,508
    Scooby
    Nov 6, 2003
  3. Warrick FitzGerald

    Layer 4 device on a Layer 3 switch

    Warrick FitzGerald, Feb 24, 2004, in forum: Cisco
    Replies:
    5
    Views:
    1,263
    Craig Johnson
    Feb 24, 2004
  4. C Cant
    Replies:
    11
    Views:
    2,494
    Ivan Ostres
    Apr 19, 2005
  5. peter
    Replies:
    0
    Views:
    487
    peter
    Jul 6, 2004
Loading...

Share This Page