Re: Who is using me for distributed builds?
Re: Who is using me for distributed builds?
- Subject: Re: Who is using me for distributed builds?
- From: Dave Camp <email@hidden>
- Date: Mon, 19 Dec 2005 10:59:48 -0800
man ipfw
The syntax should be something like:
sudo ipfw add deny tcp from offender.company.com to me port 1234
.. you should obviously replace offender.company.com with the
offenders IP address and the port number with whatever dtstcc uses.
Dave
On Dec 16, 2005, at 12:28 PM, email@hidden wrote:
OK, thanks! This was the way to go, I set up a log file and I was
able to confirm who was leeching. Still won't turn it on though so
now I need to figure out how to deny him access to our machines.
Any suggestions?
I looked at the distccd man pages and it has an "--allow IPADDR"
that allows you to only authorize specific IP numbers. However,
there does not seem to be a --deny option which is really what I
need. Yes, I could use --allow and list the IP addresses of all
the Good Guys, but then I'd have to update it every time someone
joins the distributed build network. Any suggestions?
I guess the way to go now is to configure the firewall to do this.
Thanks!
On Dec 15, 2005, at 2:35 PM, Art Isbell wrote:
On Dec 15, 2005, at 8:29 AM, Dave Thorup wrote:
Figuring out how to get the daemon to output stuff is probably
the way to go though.
distcc is a daemon controlled by launchd. Its config file is /
System/Library/LaunchDaemons/distccd.plist. launchd supports
redirecting standard out and standard error for the daemons that
it controls to specified files. To do this, you'd need to edit
distccd.plist.
The launchd.plist man page lists the XML keys supported by
launchd config files. You could add the StandardOutPath key and
maybe the StandardErrorPath key with values that are paths to log
files. You could edit distccd.plist in your favorite XML editor
or in Lingon (http://lingon.sourceforge.net), a Cocoa launchd
config file editor.
Of course, you should save a copy of the original distccd.plist
so that you could revert to it should you need to. I have no idea
whether adding a modified distccd.plist to /Library/LaunchDaemons
would result in it being used instead of the one in /System/
Library/LaunchDaemons. That might be worth a try.
After editing, you can unload and then load distccd.plist to put
the modified distccd.plist into use. See the launchctl man page
or Lingon.
I have no idea whether distccd outputs the info that you need,
but this would certainly be worth a try.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com
This email sent to email@hidden
---
Among the chief weapons of UNIX: Fear, surprise and ruthless
efficiency.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden