summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-05-09 15:19:55 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-05-09 15:19:55 -0400
commit4f3f702d8a10ca2cf3a368f6e56300fe8e59a688 (patch)
treec9d8f799fa3e3c7116f990303895c64ddbd37834
parent9072067335cbd7e873a380e392a16983a440e288 (diff)
- add a note about securenets so that i don't forget
-rw-r--r--doc/design.txt5
-rw-r--r--src/Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/design.txt b/doc/design.txt
index 6a06412..b7301f8 100644
--- a/doc/design.txt
+++ b/doc/design.txt
@@ -111,6 +111,11 @@ listening thread to handle its clients.
thread.] The actual protocol datagram parsing is performed by libnsl,
which is provided as a part of the C library.
+[Unless explicitly disabled in the module's configuration or in a
+ map's configuration, the local /etc/securenets file is consulted to
+ control access to map information to specific clients. The list of
+ securenet entries can also be stored in the module or map.]
+
== Map Cache ==
The map cache keeps a dynamically-constructed set of maps in memory,
diff --git a/src/Makefile b/src/Makefile
index dc2b23a..37a5805 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@ LDFLAGS = -lnsl -lpthread
all:: plugin.so dummyplugin.so portmap
-plugin.so: backend.c dispatch.c map.c nis.c plugin.c plugin.h portmap.c defaults.h
+plugin.so: backend.c dispatch.c map.c nis.c plugin.c portmap.c defaults.h
$(CC) $(CFLAGS) -shared -o $@ $^ $(LDFLAGS)
dummyplugin.so: dispatch.c dummymap.c nis.c plugin.c plugin.h portmap.c
$(CC) $(CFLAGS) -shared -o $@ $^ $(LDFLAGS)