I guess I don't care if it makes sense to you. What it has to be is programmable, in some form other than a list of special cases... and there simply isn't any way to do that.
Let's take some real-world cases... www.sourceforge.net ftp.sourceforge.net shell2.sourceforge.net sourceforge.net Ideally, all of them would be the same "group". So the rule is, let's group by the 2nd level qualifier. Oops, what about .co.uk and .org.uk So the rule is 2nd level qualifier for gTLDs and 3rd level qualifier for TLDs. Oops, what about .cc, .tv, .ie (which don't use the intermediate .co qualifier) So the rule is 2nd level qualifier for gTLDs and we need a table of all valid TLDs with a 2 or 3 indicator. Oops, what about .us (where it's www.state.tx.us but www.co.denton.tx.us and also www.burtonstrauss.us What about dyndns.org. What about akamai. What about ibm.com. What about... There simply isn't any way to do this without a lot of fragile, domain-specific knowledge. ntop strips off the 1st qualifier and decides that the rest is the "domain". In fact, that mirrors the behavior of the DNS and the RFCs (such as 1034 and 1035). -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kai Schaetzl Sent: Monday, October 14, 2002 4:32 PM To: [EMAIL PROTECTED] Subject: [Ntop] Re: host names not always grouped correctly <snip /> > It might make more sense, but it can't be done... You're 1) putting human > intelligence into it and 2) assuming a pattern that doesn't exist. > > If I reference > > www.sourceforge.net > ftp.sourceforge.net > shell2.sourceforge.net > > then you might be justified in assuming that there is a group called > "sourceforge.net" and hosts www, ftp and shell2 under it. Maybe. It could > be that some of those are aliases for other hosts, maybe not even "in" > sourceforge.net. What if I reference plain old sourceforge.net first? > Last? Well, how does this not make up for a "group"? A "group" doesn't mean that those hosts are in the same subnet or whatever, it's just a grouping. > > All ntop does is to strip off the 1st qualifier and assume the rest is the > "domain". This is perfectly okay, but it doesn't provide for a coherent "grouping" if you don't add some brains. F.i. take: hosta.host1.domain1.com host1.domain1.com domain1.com ntop will put them all in different "groups". And this doesn't make sense to me. *IF* you have some grouping there then it should make sense, otherwise you can just forget about grouping because there's no grouping rule and the grouping doesn't really help to make the overview easier. The "brains" I mention above should revolve around the second-level domain. ntop should and could group all stuff on the second-level domain part I think. This would make for a comprehensable and senseful grouping. <snip /> _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
