Just an unrelated note about p2p friendliness.. This is for all the linux n00bs out there, as I was (and am) when I first got into embedded development.
By default, OpenWrt (as of White Russian RC5 and latest Kamikaze build) defaults to tracking established TCP/IP idle connections for 5 days. This is the standard in the *nix world. However, when you 'abort' an established connection without properly closing it (as can happen sometimes, especially for p2p users), the connection remains established. Therefore, these connections remain tracked until they finally timeout in 5 days. If enough of them get 'stuck' in this state, the conntrack table (size 5953 by default) can fill up.
This is the problem referred to by uTorrent FAQ and others on the original Linksys firmware. It's not really a bug, nor is it that inappropriate. However, it is a good idea to decreae this range as the vast majority of people don't have established connections that remain entirely idle for 5 days.
To fix this problem, add this line to /proc/sysctl.conf like so:
This example sets the timeout to 1 hour (3600 seconds). You may want to make it something like 12 or 24 hours.
Why not default to 5 days? Defaulting to less than 5 days should probably be done by 'user friendly' firmwares build on OpenWrt, but not by OpenWrt itself.
The 5953 default size of the conntrack table probably shouldn't be messed with. You don't need more simultaneous connections than this and changing it needs to be done right, else you'll mess up the hash table performance.
(Last edited by db90h on 23 Jun 2006, 19:02)