Eko can you increase IP Filter Maximum Ports Setting-RT-N16

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Tue Dec 29, 2009 18:45    Post subject: Eko can you increase IP Filter Maximum Ports Setting-RT-N16 Reply with quote
Is there anyway to increase the IP Filter setting maximum ports beyond 4096?

Is there a reason why it is limited to this number?

I would guess it was limited prior to save memory, but as this router has more available, can this not be raised?

Thanks for the help,

Birnie


Last edited by birnie on Mon Jan 11, 2010 20:18; edited 1 time in total
Sponsor
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Wed Dec 30, 2009 15:01    Post subject: Reply with quote
I did a search and see that differnet chips have higher numbers.
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Wed Dec 30, 2009 17:03    Post subject: Reply with quote
There is no reason to increase the maximum ports, you will never be able to hit 4096 concurrent connections anyways as Windows limits TCP/IP connections to 10, unless you patch the tcpip.sys (google it).
_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10143

PostPosted: Wed Dec 30, 2009 18:26    Post subject: Reply with quote
Masterman wrote:
There is no reason to increase the maximum ports, you will never be able to hit 4096 concurrent connections anyways as Windows limits TCP/IP connections to 10, unless you patch the tcpip.sys (google it).

That limit is only for half-open connections, ie. ones that have not been fully established by receiving a reply. It is completely feasible to hit the limit, especially if the router is servicing many hosts.

The connection limit is configurable at compile time but iirc going above the current 4096 limit will cause each conntrack entry to use significantly more memory. I recall something about it in the past but not exactly what, I think BS compiled a special version at a customer's request. Now that there are broadcom routers with enough memory to do it you can submit a request on trac.

http://svn.dd-wrt.com:8000/dd-wrt/timeline

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Wed Dec 30, 2009 21:43    Post subject: Reply with quote
Ticket created #1332

http://svn.dd-wrt.com:8000/dd-wrt/ticket/1332

Ill post any new info here.
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Sat Jan 02, 2010 14:52    Post subject: Reply with quote
EKO can you comment on this?
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Wed Jan 06, 2010 14:38    Post subject: Reply with quote
Can this be done by me, or is this an EKO/BS only thing???

Birnie
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10143

PostPosted: Wed Jan 06, 2010 15:55    Post subject: Reply with quote
Anyone can compile the source code, the question is, do you want to spend the time to?
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Wed Jan 06, 2010 23:23    Post subject: Reply with quote
Time i have lots, know how could be a problem Smile
got_milk
DD-WRT User


Joined: 05 Dec 2009
Posts: 377
Location: Toronto, Canada

PostPosted: Wed Jan 06, 2010 23:57    Post subject: Reply with quote
I would, but I'm not sure where to grab the latest sources from and I'd be too scared to brick my router testing after the build...I don't have any jtag or serial cables (yet).
_________________
Peacock Thread | Wireless Drops/Slow? Got an Intel Card? Read this! | BrainSlayer Builds | Eko Builds

Netgear WNDR3700 - OpenWRT Kamikaze Bleeding Edge Trunk Builds
(retired) Linksys WRT310N v1 - DD-WRT v24-sp2 build 15693 std-nokaid-small NEWD2 K2.6
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Thu Jan 07, 2010 22:02    Post subject: Reply with quote
If you can do it, i will test it on my router :)

What do you think the max should be for the RT-N16??
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Mon Jan 11, 2010 20:20    Post subject: Reply with quote
Eko can you comment on this, even if its no F*%K off im not going to do it Smile

Thanks

Birnie
nolar
DD-WRT Novice


Joined: 31 Jan 2010
Posts: 6

PostPosted: Sat Feb 06, 2010 1:15    Post subject: Agreed Reply with quote
Having this artificially limited to 4096 is a real showstopper for us, so I +1 a vote to have this limit removed. See similar thread http://www.dd-wrt.com/phpBB2/viewtopic.php?p=404846
birnie
DD-WRT Novice


Joined: 21 Dec 2009
Posts: 26

PostPosted: Sat Feb 06, 2010 13:26    Post subject: Reply with quote
DD-WRT is great free software, so i guess you get what you get Smile
socal87
DD-WRT Guru


Joined: 30 Jun 2009
Posts: 944
Location: Here

PostPosted: Sun Apr 25, 2010 22:46    Post subject: Reply with quote
I brought this thread back because I remember seeing another that had commands one could use to increase the maximum number of TCP/UDP connections beyond 4096, as the GUI only allows. I can't for the life of me find that thread. Anyone happen to know off the top of their head? We might want to include those scripts in the Router Slowdown wiki as well.

Edit: Found it: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=65396

And added the pertinent information to the wiki.

_________________
Click here for Eko beta
Click here for Brainslayer beta

>>>PEACOCK THREAD!<<<

I do NOT offer personal assistance.
Please do not PM me for help.

Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware 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 can attach files in this forum
You can download files in this forum