Thread
:
[Request] Beautify "Conky"
View Single Post
Creamy Goodness
2010-10-23 , 07:08
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#
120
yeah, it is okay man, i know you are just copying it.
the thing is, it's fairly accurate as is, at least the connection count is 1-65535. but it might say there are 3 connections and only list two.
you basically have two choices:
1) be like me, change it to have just one large area (2 columns or however you lay it out) of 1-65535. I like this because it won't waste space, meaning, for example, it won't have half of your screen area devoted to incoming connections when you have more outgoing that incoming connections, and then it has not got enough room to display them all on the one side. Hopefully that made sense.
2) just fix the 32768-61000 to be 65535. I don't like this layout as I mentioned for the two reasons above - it's just guessing, even if it's mostly correct. And it potentially can't show all the connections even when it should.
wikipedia says the dynamically created outgoing connections are are called ephemeral ports and are 32768-61000 on "many linux systems"
i think its 49152-65535 on maemo, it says the file /proc/sys/net/ipv4/ip_local_port_range contains the range in use, and that is what was in there.
anyways i still don't like this idea of guessing the port direction just by the number, but if you want to do it that way at least use the right ranges!
1-49151 and 49152-65535
Last edited by Creamy Goodness; 2010-10-23 at
07:23
.
Quote & Reply
|
The Following User Says Thank You to Creamy Goodness For This Useful Post:
techie
Creamy Goodness
View Public Profile
Send a private message to Creamy Goodness
Find all posts by Creamy Goodness