[Git][NTPsec/ntpsec][master] Replay mode - spoof the port to defeat the anti-clogging check.
Eric S. Raymond
gitlab at mg.gitlab.com
Wed Dec 30 16:53:05 UTC 2015
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
73f0adac by Eric S. Raymond at 2015-12-30T11:51:09Z
Replay mode - spoof the port to defeat the anti-clogging check.
- - - - -
1 changed file:
- ntpd/ntp_intercept.c
Changes:
=====================================
ntpd/ntp_intercept.c
=====================================
--- a/ntpd/ntp_intercept.c
+++ b/ntpd/ntp_intercept.c
@@ -821,6 +821,8 @@ void intercept_replay(void)
fprintf(stderr, "new = %s\n", recvbuf);
exit(1);
}
+ /* defeat the anti-clogging check */
+ SET_PORT(&rbuf.recv_srcadr, NTP_PORT);
/* executing the receive call may pop other things off the queue */
receive(&rbuf);
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/73f0adacf1a7412a382fe936c59ac0155015a94b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20151230/a85b9d44/attachment.html>
More information about the vc
mailing list