Tag Info

New answers tagged

1

You can rely purely on tshark to do this, by using the statistics option with the IO stat calculator : tshark -r pcapfile -z io,stat,0,"SUM(frame.len)frame.len && ip.src == 192.168.1.1 && ip.proto == 6" This will show a board where the SUM column is the data you are looking for.


0

You could try setting the locking method on the Appender to either one of the following: <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> or <lockingModel type="log4net.Appender.FileAppender+InterProcessLock" /> Alternatively you could switch to using the RollingFileAppender and then only download log files that aren't ...


2

awk can sum up a column of numbers. Something like this should do the trick. Assuming that the output of your tshark is in foo.txt: $ cat foo.txt | awk '{ sum += $3 } END { print sum }' You could also pipe the output of "grep" directly to awk, and it would work in a similar fashion.


1

The error log means client aborted SASL authentication process after process connect to dovecot SASL service. FYI, here the sample of SASL LOGIN transaction from this page. S: 220 esmtp.example.com ESMTP C: ehlo client.example.com S: 250-esmtp.example.com S: 250-PIPELINING S: 250-8BITMIME S: 250-SIZE 255555555 S: 250 AUTH LOGIN PLAIN CRAM-MD5 C: auth login ...


1

If you're already creating the files with the date in the name, logrotate isn't the answer; it is based around the idea of the application always writing to the same log file (e.g. /var/log/app/output.log), and then logrotate takes care of renaming/compressing the files and telling the app to re-open the original target file again. In this case, perhaps a ...


0

I recommend Jim B's solution with WMI, but if you want something simpler with powershell: Dir C:\folder -r | ? {! $_.PSIsContainer -AND $_.lastwritetime -ge '04/18/14'} > changed.txt This creates a file called changed.txt with every file changed in c:\folder (and it's subdirectories) since 04/18/14. (credits: I got this from user nixda here) You can ...


1

Use WMI. Here is a vbscript version explaining how to use __InstanceOperationEvent from CIM_DirectoryContainsFile http://www.codeproject.com/Articles/42212/WMI-and-File-System-Monitoring This can be slow in 2008 but seems to run file in 2012 Another option is to use the filewatcher: Write-Verbose ("Initializing FileSystemWatcher") -Verbose $fileWatcher ...


0

You can use filelogger which does not require you install and configure rsyslog or other syslog software on your localhost.


0

It might be some type of DDoS attack. Add this to your site's .htaccess to block them. RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^Bittorrent [NC] RewriteRule ^ http://bittorrent.com [R,L]


1

That's logrotate keeping the logs clean and rotating them each day. It can be configured based on your own needs or disabled altogether.


1

The URL contains two UUID, but they probably don't mean anything. Since the entries appear to be GET requests for a nonexisting URL there is little reason to think they could be causing any harm. If there are lots of them, then adding it all up, they could probably take some resources to process. A decent server should be able to handle many requests ...


13

It doesnt look like anything to worry about. Bittorrent trackers are just regular HTTP servers. Your server is sending 404 errors - there is no tracker on your server. Probably at some point in the past your IP address was used as a tracker, or someone else has misconfigured their client, or their tracker dns.



Top 50 recent answers are included