Permalink
Browse files

OS-2754 stale manifests after updating projects

joyent/smartos-live#297 ntpd is vulnerable to traffic amplification attack
  • Loading branch information...
1 parent 3d5373d commit d6206ed08ae14d3b1057527f86fc01d28057ae58 @wesolows wesolows committed Feb 5, 2014
Showing with 4 additions and 3 deletions.
  1. +2 −3 Makefile
  2. +2 −0 overlay/generic/etc/inet/ntp.conf
View
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2013, Joyent, Inc. All rights reserved.
+# Copyright (c) 2014, Joyent, Inc. All rights reserved.
#
ROOT = $(PWD)
@@ -112,8 +112,7 @@ $(MPROTO)/illumos-extra.manifest: 1-extra-stamp | $(MPROTO)
gmake DESTDIR=$(MPROTO) DESTNAME=illumos-extra.manifest \
-C projects/illumos-extra manifest; \
-.PHONY: $(MPROTO)/%.sd.manifest
-$(MPROTO)/%.sd.manifest:
+$(MPROTO)/%.sd.manifest: projects/local/%/Makefile projects/local/%/manifest
cd $(ROOT)/projects/local/$* && \
if [[ -f Makefile.joyent ]]; then \
gmake DESTDIR=$(MPROTO) DESTNAME=$*.sd.manifest \
@@ -3,3 +3,5 @@ server 128.177.27.52
server 69.65.40.29
driftfile /var/ntp/ntp.drift
logfile /var/log/ntp.log
+restrict default noquery nomodify notrap nopeer
+restrict -6 default noquery nomodify notrap nopeer

0 comments on commit d6206ed

Please sign in to comment.