Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Layer 2 filtering project can anyone help?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2006, 08:33 AM
Default Layer 2 filtering project can anyone help?



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.



abhils44@gmail.com
Reply With Quote
  #2  
Old 09-16-2006, 09:54 PM
Tauno Voipio
Guest
 
Posts: n/a
Default Re: Layer 2 filtering project can anyone help?

(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
  #3  
Old 09-17-2006, 01:51 AM
Moe Trin
Guest
 
Posts: n/a
Default Re: Layer 2 filtering project can anyone help?

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

Tags
filtering, layer, project

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
Forum Jump


All times are GMT. The time now is 03:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.