Re(2): configd and ppp
Re(2): configd and ppp
- Subject: Re(2): configd and ppp
- From: "Peter Lovell" <email@hidden>
- Date: Wed, 26 Feb 2003 00:09:07 -0500
>
At 13:20 -0500 21/2/03, Peter Lovell wrote:
>
>I have a puzzle with regard to "configd" daemon and PPP. It works OK - no
>
>problem there - but there's a puzzling piece I need to understand better.
>
>
>
>When PPP is dialed-up (using standard Apple internal modem) there's a UDP
>
>socket generated by configd once each second. I don't yet have details on
>
>what data, if any, might be sent or received and I'm about to look into
>
>that. But it creates and closes the socket once each second.
>
>
>
>[...]
>
>
>
>Any ideas, anyone??
>
>
Looking through the PPP source, one obvious place where this might be
>
coming from is the PPP stats ioctl. If you issue a PPP_STATUS
>
request to PPP, it gets the stats by opening a UDP socket and sending
>
a SIOCGPPPSTATS ioctl to it. See the ppp_status function in the
>
following file.
>
>
<http://www.opensource.apple.com/cgi-bin/registered/cvs/src/live/ppp/
>
Controller/ppp_command.c?rev=1.21&content-type=text/x-cvsweb-markup>
>
>
S+E
>
--
>
Quinn "The Eskimo!" <http://www.apple.com/developer/>
>
Apple Developer Technical Support * Networking, Communications, Hardware
Well, curiouser and curiouser.
The one-per-second sockets don't actually do anything. And they're
created by configd rather than pppd, even though this only happens when
ppp is active.
Each second, I see
socreate
soreserve
socontrol
soclose
sofree
There's also activity to port 5353 which I remember being the Rendezvous
port (mDNSResponder), but it's not the once-per-second. It's on a
different socket and is not related at all.
The sockets are created by configd (I dump the pid at socreate) and not
pppd, which is puzzling. I guess I'll just have to start thwacking my way
through sources to find what might be the cause.
Regards.....Peter
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.