I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
17 lines
554 B
Diff
17 lines
554 B
Diff
Index: sbin/routed/input.c
|
|
===================================================================
|
|
--- sbin/routed/input.c (revision 286262)
|
|
+++ sbin/routed/input.c (working copy)
|
|
@@ -160,6 +160,12 @@ input(struct sockaddr_in *from, /* received from
|
|
|
|
trace_rip("Recv", "from", from, sifp, rip, cc);
|
|
|
|
+ if (sifp == 0) {
|
|
+ trace_pkt(" discard a request from an indirect router"
|
|
+ " (possibly an attack)");
|
|
+ return;
|
|
+ }
|
|
+
|
|
if (rip->rip_vers == 0) {
|
|
msglim(&bad_router, FROM_NADDR,
|
|
"RIP version 0, cmd %d, packet received from %s",
|