Networking Forums

Networking Forums > Computer Networking > Linux Networking > Layer 2 filtering project can anyone help?

Reply
Thread Tools Display Modes

Layer 2 filtering project can anyone help?

 
 
abhils44@gmail.com
Guest
Posts: n/a

 
      09-16-2006, 07:33 AM
Is there anyone who knows how to implement this project, what r the
necessary thing to be considered for 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.

 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      09-16-2006, 08:54 PM
(E-Mail Removed) wrote:
> Is there anyone who knows how to implement this project, what r the
> necessary thing to be considered for 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.
>


Before continuing, please have a look at ebtables
<http://ebtables.sourceforge.net/>, and check if
it fits your purpose.

--

Tauno Voipio
tauno voipio (at) iki fi
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      09-17-2006, 12:51 AM
On 16 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed). com>, (E-Mail Removed)
wrote:

>Is there anyone who knows how to implement this project, what r the
>necessary thing to be considered for this.....


Don't you like the answers that you received when you posted this
same set of questions to comp.protocols.tcp-ip (twice) and to
comp.security.firewalls on Friday, or do you expect mail responses or
haven't figured out how to find the responses at google?

Short answer: Why are you trying to re-invent the wheel?

Old guy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
layer 1 and 2 statistics cicciostef Wireless Internet 1 10-05-2006 04:11 PM
multicast at the data layer (layer 2) non-flooding ? George Nychis Linux Networking 4 01-30-2006 02:09 PM
OSI - Physical Layer bensmyth Linux Networking 0 02-15-2005 09:39 AM
Dual Layer DVD Shailen Linux Networking 0 11-27-2004 04:46 AM
PPPoPvc 0 PPP layer matthew Broadband 2 02-08-2004 09:16 AM



1 2 3 4 5 6 7 8 9 10 11