2,638 reputation
410
bio website
location United States
age
visits member for 4 years, 8 months
seen Jul 18 at 9:36

Oct
1
awarded  Nice Answer
Mar
25
awarded  Citizen Patrol
Mar
24
comment 100% uptime for a web application
Actually, I would go past insane or impossible and call it stupid. Nothing humans know is 100%.
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
They all run on linux and are available as packages in most distros. Since the question doesn't specify how long the period is or how many connections there are I found iptables + you parse it yourself to be unsatisfactory reimplementation of the wheel. You are more than welcome to disagree and downvote me.
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
All of those tools will answer the question of connections over a period of time. I should have made that more explicit than "have a look at"
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
let us continue this discussion in chat
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
you're right, I do want to change double quotes to single quotes. type "tcpdump single quotes" into your favorite engine to understand better. It's not banal and you absolutely are in a shell environment. Neither sol8 or windows come with bash or tcpdump for what it's worth.
Mar
15
answered Find wrong typed PNG images in Ubuntu
Mar
15
comment Filezilla FTP slow upload (350KBps) on 1 Gbits fiber?
@Slartibartfast I wasn't referring to anything in particular. SIP and BitTorrent seem to be immediate examples that rely on higher layers.
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
@DanielAdler Your second example is syntactically wrong. It rejects everything that is a syn or an ack because it matches either side of the == and finds that condition to be a boolean truth. And it's wise to avoid the double quotes because you really might just be running on a sol8 box. And boxes send me syns all the time that don't grow up to be connections.
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
Not trying to be rude, I apologize. I just didn't understand what you did mean, as I say above, iptables is rarely my tool of choice.
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
@DanielAdler I get seriously pissed off at bosses who call tcpdump and nmap "hacker tools", that's why I don't have them (bosses, not tools) anymore. Your point is well taken, but you can go ahead and log fins too and you'll still get a small integer to divide by in your roll-your-own ;) I was kind of intrigued by combinations of limit and connectiontrack in iptables, but really didn't spend too much time thinking about it. I'm still a pf kinda guy.
Mar
15
comment Hadoop - On the Wire Performance Monitoring?
Are you commited to using enterprise-grade switches in the tiers or are you directly intermeshing a large number of interfaces? Most large clusters I've worked with have been deliberately designed to have broken pieces more or less all the time. Taps get very expensive very quickly unless you're doing crazy things with very high end bsd boxes shoved with interfaces and unlike a good tap, those don't fail open. Just a couple of thoughts. I usually want to know how much is going in and out of a rack, I don't really care about the little things if I'll pick em up sooner or later.
Mar
15
answered backup files to a remote server with multiple versions using rsync hardlink option
Mar
15
answered Filezilla FTP slow upload (350KBps) on 1 Gbits fiber?
Mar
15
comment How can I find the total number of TCP connections for a given port and period of time by IP?
If I were going to use iptables for this I definitely wouldn't use "tcp" as the module for the -m flag. Even if it did exist, what would it possibly mean?
Mar
15
answered Connect to Mysql from internet works, but when i try from mysql query browser it's failed (Err. 2003)
Mar
15
revised How can I find the total number of TCP connections for a given port and period of time by IP?
Cleaned and simplified expressions, single quotes to keep the shell from getting at the parens, at least in bash. Also most platforms want an -i specified. Linux has a notion of "any". Tcpdump is a rough and powerful beast.
Mar
15
answered How can I find the total number of TCP connections for a given port and period of time by IP?
Mar
14
comment How can I assign an IP by MAC address in dhcpd
Actually, I think is is correct, you create groups or subclasses of named clients on hardware identifiers and then give them an deny-unknown address-pool (and a separate address-pool to permit-unknown, if desired.