You are not logged in.

#1 2014-05-03 15:16:40

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Why does connmand add and delete route to 87.106.208.187?

Hi

Each time connmand starts the following is logged:

connmand[323]: eth0 {add} route 87.106.208.187 gw 192.168.0.1 scope 0 <UNIVERSE>
connmand[323]: eth0 {del} route 87.106.208.187 gw 192.168.0.1 scope 0 <UNIVERSE>

I can see that I'm not the only one wondering: https://01.org/jira/browse/CM-657

The source code does not seem to contain the IP adresse, nor does the IP exist in my /etc or /var/lib/connman/


Kind regards, enrique

Offline

#2 2014-05-03 15:19:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,619
Website

Re: Why does connmand add and delete route to 87.106.208.187?

Are there typos in your title and code block, or am I just completely confused?  Is this about conman?

EDIT: sorry, I am just completely confused and/or slightly dislexic.  No matter how many times I read it, I kept seeing "command add and delete ..."

Last edited by Trilby (2014-05-03 16:22:17)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2014-05-03 15:29:28

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: Why does connmand add and delete route to 87.106.208.187?

Trilby wrote:

Are there typos in your title and code block, or am I just completely confused?  Is this about conman?

Nope, it's about https://www.archlinux.org/packages/comm … 4/connman/ and the daemon is connmand smile


Kind regards, enrique

Offline

#4 2014-05-03 15:46:13

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Why does connmand add and delete route to 87.106.208.187?

Is 87.106.208.187 your DNS server? connman by default creates a local DNS server and creates appropriate routes so that it works. If you don't want that, start it with --nodnsproxy

Offline

#5 2014-05-03 15:50:53

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: Why does connmand add and delete route to 87.106.208.187?

Gusar wrote:

Is 87.106.208.187 your DNS server? connman by default creates a local DNS server and creates appropriate routes so that it works. If you don't want that, start it with --nodnsproxy

No, I use dnsmasq on my router, so it's 192.168.0.1

Some more lines from my log to give some context:

connmand[313]: eth0 {update} flags 36867 <UP>
connmand[313]: eth0 {newlink} index 2 address 94:DE:80:78:E9:6A mtu 1500
connmand[313]: eth0 {newlink} index 2 operstate 2 <DOWN>
connmand[313]: eth0 {RX} 616 packets 232709 bytes
connmand[313]: eth0 {TX} 723 packets 133796 bytes
connmand[313]: eth0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
connmand[313]: eth0 {newlink} index 2 address 94:DE:80:78:E9:6A mtu 1500
connmand[313]: eth0 {newlink} index 2 operstate 6 <UP>
connmand[313]: eth0 {del} route 192.168.0.1 gw 0.0.0.0 scope 253 <LINK>
connmand[313]: eth0 {del} route 0.0.0.0 gw 192.168.0.1 scope 0 <UNIVERSE>
connmand[313]: eth0 {del} address 192.168.0.2/24 label eth0
connmand[313]: eth0 {del} route 192.168.0.0 gw 0.0.0.0 scope 253 <LINK>
connmand[313]: eth0 {del} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[313]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[313]: Skipping disconnect of carrier, network is connecting.
connmand[313]: eth0 {del} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[313]: eth0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
connmand[313]: eth0 {add} address 192.168.0.2/24 label eth0 family 2
connmand[313]: eth0 {add} route 192.168.0.0 gw 0.0.0.0 scope 253 <LINK>
connmand[313]: eth0 {add} route 192.168.0.1 gw 0.0.0.0 scope 253 <LINK>
connmand[313]: eth0 {add} route 0.0.0.0 gw 192.168.0.1 scope 0 <UNIVERSE>
connmand[313]: eth0 {add} route 87.106.208.187 gw 192.168.0.1 scope 0 <UNIVERSE>
connmand[313]: eth0 {del} route 87.106.208.187 gw 192.168.0.1 scope 0 <UNIVERSE>

Kind regards, enrique

Offline

#6 2014-05-03 16:06:28

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Why does connmand add and delete route to 87.106.208.187?

That's weird; the connman source doesn't contain any reference to that IP. But I think it's no coincidence that the rdns of that IP is senator.holtmann.net; while the author of connman seems to be "Marcel Holtmann <marcel AT holtmann.org>". If you're interested you should have a look through the sourcecode of the application

Offline

#7 2014-05-03 16:43:21

enrique
Member
Registered: 2005-10-25
Posts: 95
Website

Re: Why does connmand add and delete route to 87.106.208.187?

Spider.007 wrote:

That's weird; the connman source doesn't contain any reference to that IP. But I think it's no coincidence that the rdns of that IP is senator.holtmann.net; while the author of connman seems to be "Marcel Holtmann <marcel AT holtmann.org>". If you're interested you should have a look through the sourcecode of the application

Yeah, you are right.

I downloaded http://www.kernel.org/pub/linux/network … .23.tar.xz which is used in the PKGBUILD (https://projects.archlinux.org/svntogit … es/connman) of the version I have installed.

I have checked the source code for "holtmann" and the IP:

$ grep -r holtmann
AUTHORS:Marcel Holtmann <marcel@holtmann.org>
gdbus/client.c: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>
gdbus/watch.c: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>
gdbus/mainloop.c: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>
gdbus/object.c: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>
gdbus/gdbus.h: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>
gdbus/polkit.c: *  Copyright (C) 2004-2011  Marcel Holtmann <marcel@holtmann.org>

$ grep -r 87.106.208.187
zsh: exit 1     grep -r 87.106.208.187

No dice. Maybe there is something in the configure or build step that adds the IP, so I also checked the different binaries using strings, but nothing matches.


Kind regards, enrique

Offline

#8 2014-05-03 16:52:06

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Why does connmand add and delete route to 87.106.208.187?

One explanation might be that the author accidently left the IP/host there for debugging/custom configuration. But, since the source code doesn't contain any references to that, it is indeed a mystery where does this IP come from.

Offline

Board footer

Powered by FluxBB