MTU filter at 1522

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Thu Apr 25, 2019 0:16    Post subject: MTU filter at 1522 Reply with quote
Anyone know how to filter traffic for an MTU value?

I know it's possible but I don't know about it being possible on dd-wrt.
Sponsor
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Sat Apr 27, 2019 0:35    Post subject: MTU filter at 1522 Reply with quote
Ive read that MTU is at layer 2 within the ICMP code. It is an extension. A sub type. I know for sure that it is at layer 2 but as for ICMP being the right library to use a filter on is another question. Any one know how to create your own filters at this level?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5126
Location: Akershus, Norway

PostPosted: Sat Apr 27, 2019 13:55    Post subject: Reply with quote
You are not saying what you are truing to achieve.

ebatables work on layer 2.

http://ebtables.netfilter.org
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Sat Apr 27, 2019 15:47    Post subject: Filter at MTU 1522 Reply with quote
I'm trying to implement a filter for MTU value 1522. Juniper and others do this. Stop all MTU traffic at this value.

Firewall->
filter->
filter-name->
MTU->
1522->
and so on....

I will check out that link if it applies. I was under the impression that ebtables was out of date and that dd-wrt didn't use it any more. But I am assuming.

Anyone know if I can achieve this?
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 5126
Location: Akershus, Norway

PostPosted: Sun Apr 28, 2019 14:44    Post subject: Reply with quote
Setup->Basic Setup->Optional Settings

You can set the MTU.
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Sun Apr 28, 2019 15:48    Post subject: MTU filter at 1522 Reply with quote
This is to FILTER traffic. I don't want to set aMTU. I want to discard it.
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Sun Apr 28, 2019 21:56    Post subject: Reply with quote
Thx, for your reply however Per Yngve Berg.

A filter can be many things. It can remove
traffic on a specific ip address, it can
remove ipv6 traffic for an IP, etc, etc.

Filters are important because they can deal with mistakes in a network.

They can discard or reject traffic.

Example

iptables -A INPUT -p ICMP .... and so on

That is what I need but the code I showed is incomplete or a little different.[/u]
BR07H3R
DD-WRT User


Joined: 24 Dec 2017
Posts: 121

PostPosted: Tue Apr 30, 2019 14:03    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Iptables
eugene1973
DD-WRT User


Joined: 21 May 2017
Posts: 130

PostPosted: Wed May 08, 2019 5:57    Post subject: Reply with quote
I have not seen anything yet. I'm still waiting. I need help.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum