/srv/irclogs.ubuntu.com/2016/11/10/#ubuntu-au.txt

artiennehey guys, is anyone around to ask a question about network traffic on localhost on ubuntu 16.1002:31
blahdeblahartienne: Feel free to ask, but you might get more response in the main #ubuntu channel02:32
artienneor can someone direct me to somewhere more suitable for such a question?02:32
artienneahh02:32
artiennewell, i've noticed in 16.10 that for some reason, something on localhost is sending connection requests to localhost:410102:33
artiennenone of the other systems here, both 16.04s, are doing it, and this one wasn't doing it when before doing a fresh install of 16.1002:34
artiennei can't determine which program is doing it - nethogs can't pin down a pid02:35
artienneit's only sending about two packets a second or so (on both ipv4 and ipv6), but it's bugging me that i can't find out what's doing it or why..02:36
blahdeblahartienne: TCP or UDP?02:37
artienneof course, there's nothing listening on port 4101 - wiresharck shows rst, ack packets returning, and it starts again02:37
artiennetcp02:37
blahdeblahah, right02:38
artiennei actually tested with a completely fresh install, originally thinking i'd tinkered some problem into effect, but on the brand spanking new installation, iftop reported the traffic on lo, and nethogs couldn't determine a pid02:39
blahdeblahartienne: If you run netstat -anp in a nice tight loop (or watch with a sub-second interval), you should be able to get a pid & a user02:40
blahdeblahnethogs should show it too, I'd think02:40
artiennewell, user is root, that much nethogs does show02:40
blahdeblahalthough it may only show established connections02:40
blahdeblahanother possibly useful tool is lsof, or checking /proc for file descriptors which point to sockets 02:42
artiennewell, active internet connections doesn't show anything useful - i'm dumb enough to not know what to look for in the active domain sockets02:44
artiennei've tried lsof and grepping for port 4101, but nothing turns up02:44
artiennei've not looked in proc though.. guess i'll check that too :)02:44
artiennewell, i'm not getting anywhere with the /proc stuff - again, not really knowing what to look for doesn't help, but after checking the pid of the irc client and looking at the file descriptors in there, i'm not seeing anything that points to 666703:03
artiennethe other problem is, of course, that the port the connection request is sent from increments by 4 on every failed attempt03:03
artiennei'll see how busy #ubuntu is -- i can't possibly be the only person who's noticed this, someone must have some knowledge about it03:05
blahdeblahartienne: Possibly03:05
artiennethanks for the help either way blahdeblah :)03:08
blahdeblahartienne: Try watch -d -n 0.1 "netstat -anp|grep SYN_SENT" or something like that, and hopefully you'll catch a glimpse of it.03:09
artiennei'll give it a shot :)03:13
artiennesilence was the bold reply, it seems :/03:14
artiennewell well well, what have we here03:34
artienneyeah - okay, it's something to do with input03:36
artiennekind of03:36
artienneif i were to hold a key down in the text field here, the number of packets sent skyrockets03:37
artiennebut if i were to to do the same in the wireshark filter field (run with sudo), no spike occurs03:37
artiennei was watching netstat during one of these test, and something did flash up for the briefest of seconds - far too quickly to see what came up, but something did03:38
artiennedoesn't seem to happen with constant mouse input (or at least, it doesn't cause a noticeable increase on the network indicator..03:40
artiennehappens in gnome-terminal too03:42
artienneand in firefox03:43
blahdeblahweird04:25
artiennewell, that didn't help :/04:36
blahdeblahartienne: googled (insert your preferred non-evil search engine here) tcp port 4101?  I wonder if it's just something like workrave.04:37
blahdeblahartienne: Also worth asking in #linux-aus & ##infra-talk - lots of smarter people than I hang out there04:37
artienneyeah, i looked up grc for port info04:37
artiennething is, it seems to happen on a fresh install of ubuntu 16.10, and workrave isn't installed by default04:39
artiennei'll check out #linux-aus -- #ubuntu didn't have anyone either available to or capable of answering my questions..04:40

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!