Do you mean http, ftp, ...? For http you could use a statistics package such as webalizer or AWstats.