DragonFly BSD
DragonFly bugs List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: mpd listening on all IPs, accepting only on one


From: Rumko <rumcic@xxxxxxxxx>
Date: Mon, 18 Oct 2010 09:19:02 +0200

Matthew Dillon wrote:
> :After some brief testing of latest -master, noticed that e.g. mpd (musicpd)
> :listens on *:6600 (got that info from sockstat(1)), but I could connect to
> :that port on only one IP. localhost (::1 or 127.0.0.1) did not work, but one
> :of the "outside" IPs did. Since I tried ::1, 127.0.0.1, 192.168.0.X and only
> :worked on the last configured IP 10.0.0.X, I guess it only received
> :connections on one IP instead of all.
> :--
> :Please do not CC me, since I already receive everything from these MLs.
> :
> :Regards,
> :Rumko
> 
>     Is mpd using UDP?  I think I may have been able to reproduce an issue
>     with UDP but I'm not sure yet.
> 
> -Matt
> Matthew Dillon
> <dillon@backplane.com>

No, it's using TCP. Output of sockstat when it's working:
Rumko    ncmpc      1275  3  tcp4   127.0.0.1:1068        127.0.0.1:6600
Rumko    mpd        900   3  tcp4   127.0.0.1:6600        127.0.0.1:1068
Rumko    mpd        900   4  tcp4   *:6600                *:*
-- 
Please do not CC me, since I already receive everything from these MLs.

Regards,
Rumko



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]