summaryrefslogtreecommitdiff
path: root/net-mgmt/ndpmon/files/patch-parser.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-21 20:20:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-21 20:20:49 +0000
commit9a676e7dbc8cacac4713b7cc118f1beb8355e3b1 (patch)
tree14f9d8479131dce714a99c305b390e659d67cad0 /net-mgmt/ndpmon/files/patch-parser.c
parentThe Machine Emulator provides a general-purpose framework (diff)
NDPMon is an equivalent of ArpWatch for IPv6.
NDPMon, Neighbor Discovery Protocol Monitor, is a tool working with ICMPv6 packets. NDPMon observes the local network to see if nodes using neighbor discovery messages behave properly. When it detects a suspicious Neighbor Discovery message, it notifies the administrator by writing in the syslog and in some cases by sending an email report. WWW: http://ndpmon.sourceforge.net Janos Mohacsi <janos.mohacsi@bsd.hu> PR: ports/106840 Submitted by: janos.mohacsi at bsd.hu
Notes
Notes: svn path=/head/; revision=180384
Diffstat (limited to 'net-mgmt/ndpmon/files/patch-parser.c')
-rw-r--r--net-mgmt/ndpmon/files/patch-parser.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-mgmt/ndpmon/files/patch-parser.c b/net-mgmt/ndpmon/files/patch-parser.c
new file mode 100644
index 000000000000..e60e172b5191
--- /dev/null
+++ b/net-mgmt/ndpmon/files/patch-parser.c
@@ -0,0 +1,19 @@
+
+$FreeBSD$
+
+--- parser.c.orig
++++ parser.c
+@@ -65,11 +65,13 @@
+ /** note: it may be a good option to save values, and restore
+ * them when exiting
+ */
++ /*
+ write_proc("/proc/sys/net/ipv6/conf/all/autoconf",flag);
+ write_proc("/proc/sys/net/ipv6/conf/all/accept_ra",flag);
+ write_proc("/proc/sys/net/ipv6/conf/all/accept_ra_defrtr",flag);
+ write_proc("/proc/sys/net/ipv6/conf/all/accept_ra_pinfo",flag);
+ write_proc("/proc/sys/net/ipv6/conf/all/accept_redirects",flag);
++ */
+ }
+
+ xmlXPathFreeObject (xmlobject);