You are not logged in.

#1 2012-03-04 21:23:16

ramboman
Member
Registered: 2010-01-23
Posts: 35

[Solved] Unknown bandwidth usage coming from pacman mirrors

Each 1 or 2 days, there is a brief unknown bandwidth usage coming my
pacman mirrors, downloading about 15-20mb. I would like to know what is
responsible for this behavior.

During the bandwidth usage, I did the following commands to get some hints:

$ tshark -i wlan0
 ...
 18.601379 192.75.96.254 -> [   my_ip   ] TCP 1506 [TCP segment of a reassembled PDU
 18.604131 192.75.96.254 -> [   my_ip   ] TCP 1506 [TCP segment of a reassembled PDU]
 18.604139 [   my_ip   ] -> 192.75.96.254 TCP 66 41989 > http [ACK] Seq=173 Ack=3281761 Win=239040 Len=0 TSval=14001135 TSecr=3310908095
 ...
$ sudo netstat -apntu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
 ...
tcp        0      0 [   my_ip   ]:41989     192.75.96.254:80        ESTABLISHED 5331/python3
 ...

where 192.75.96.254 seems related to the domain name of my first mirror in the mirrorlist:
http://mirror.its.dal.ca/

Last edited by ramboman (2012-03-04 22:30:02)

Offline

#2 2012-03-04 21:31:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Unknown bandwidth usage coming from pacman mirrors

What program is it? It may be some python script.

Offline

#3 2012-03-04 22:09:45

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [Solved] Unknown bandwidth usage coming from pacman mirrors

Have a look in your cron logs around that time and see if anything is being started by cron...

Offline

#4 2012-03-04 22:29:23

ramboman
Member
Registered: 2010-01-23
Posts: 35

Re: [Solved] Unknown bandwidth usage coming from pacman mirrors

In cron.daily, there is a "pkgfile" :

#!/bin/bash

. /etc/pkgtools/pkgfile.conf

if (( $UPDATE_CRON )); then
    /usr/bin/pkgfile --update >/dev/null
fi

from package : pkgtools
which seems to be the main suspect.

Thanks fukawi2 to make me figure it out.

Offline

Board footer

Powered by FluxBB