From owner-freebsd-hackers Sat Feb 28 03:05:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24789 for freebsd-hackers-outgoing; Sat, 28 Feb 1998 03:05:15 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cc621.ntu.ac.sg (cc621.ntu.ac.sg [155.69.4.102]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24780 for ; Sat, 28 Feb 1998 03:05:06 -0800 (PST) (envelope-from ktsin@acm.org) From: ktsin@acm.org Received: from localhost (ktsin@localhost) by cc621.ntu.ac.sg (8.8.8/8.8.7) with SMTP id TAA00803 for ; Sat, 28 Feb 1998 19:04:27 +0800 (SGT) (envelope-from ktsin@acm.org) X-Authentication-Warning: cc621.ntu.ac.sg: ktsin owned process doing -bs Date: Sat, 28 Feb 1998 19:04:27 +0800 (SGT) X-Sender: ktsin@cc621.ntu.ac.sg To: hackers@FreeBSD.ORG Subject: new flag for ntpdate Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-726212756-888663867=:783" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-726212756-888663867=:783 Content-Type: TEXT/PLAIN; charset=US-ASCII I have added a new flag -u to tell ntpdate to use a non-reserved port ( < 1024 ) so that clients behind a firewall could synchronize with external NTP servers. I wonder if the patches could be merged into the source tree. kt --0-726212756-888663867=:783 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-aa Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: patch-aa LS0tIHVzci5zYmluL3hudHBkL250cGRhdGUvbnRwZGF0ZS5jLm9yaWcJVHVl IE1heSAzMCAxMTo1NDowMyAxOTk1DQorKysgdXNyLnNiaW4veG50cGQvbnRw ZGF0ZS9udHBkYXRlLmMJVHVlIEph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W9dIHNlcnZlciAuLi5cbiIsDQorInVzYWdlOiAlcyBbLWJxc3Vd IFstYSBrZXkjXSBbLWsgZmlsZV0gWy1wIHNhbXBsZXNdIFstdCB0aW1lb10g c2VydmVyIC4uLlxuIiwNCiAJCSAgICBwcm9nbmFtZSk7DQogCQlleGl0KDIp Ow0KIAl9DQpAQCAtMTE4MCw3ICsxMTg4LDcgQEANCiAJLyoNCiAJICogYmlu ZCB0aGUgc29ja2V0IHRvIHRoZSBOVFAgcG9ydA0KIAkgKi8NCi0JaWYgKCFk ZWJ1ZyAmJiAhc2ltcGxlX3F1ZXJ5KSB7DQorCWlmICghZGVidWcgJiYgIXNp bXBsZV9xdWVyeSAmJiAhdXNlX25ycG9ydCkgew0KIAkJc3RydWN0IHNvY2th ZGRyX2luIGFkZHI7DQogDQogCQltZW1zZXQoKGNoYXIgKikmYWRkciwgMCwg c2l6ZW9mIGFkZHIpOw0K --0-726212756-888663867=:783 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch-ab Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: patch-ab LS0tIHVzci5zYmluL3hudHBkL2RvYy9udHBkYXRlLjgub3JpZwlUaHUgU2Vw ICA1IDE5OjE4OjI3IDE5OTYNCisrKyB1c3Iuc2Jpbi94bnRwZC9kb2MvbnRw ZGF0ZS44CVR1ZSBKYW4gMTMgMTE6MTQ6MDcgMTk5OA0KQEAgLTQ2LDcgKzQ2 LDcgQEANCiAuU0ggU1lOT1BTSVMNCiAuQiBudHBkYXRlDQogWw0KLS5CIC1i ZHMNCisuQiAtYmRzdQ0KIF0gWw0KIC5CIC1vDQogLkkgdmVyc2lvbg0KQEAg LTEzNCw2ICsxMzQsMTcgQEANCiBzd2l0Y2ggY2FuIGJlIHVzZWQgdG8gZm9y Y2UgdGhlIHByb2dyYW0gdG8gcG9sbCBhcyBhIHZlcnNpb24gMiBvciAxDQog aW1wbGVtZW50YXRpb24gaW5zdGVhZC4NCiAuUFANCitUaGUNCisuQiAtd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726212756-888663867=:783-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message