From b01aa9b2b2b61ecdafda0288da28e0c2d2f0c127 Mon Sep 17 00:00:00 2001 From: John Hay Date: Tue, 24 Aug 1999 13:15:39 +0000 Subject: Move ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack. PR: 13286 --- usr.sbin/IPXrouted/IPXrouted.8 | 4 ++-- usr.sbin/IPXrouted/main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/IPXrouted/IPXrouted.8 b/usr.sbin/IPXrouted/IPXrouted.8 index 42140a942b09..1225c976329a 100644 --- a/usr.sbin/IPXrouted/IPXrouted.8 +++ b/usr.sbin/IPXrouted/IPXrouted.8 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: IPXrouted.8,v 1.5 1999/07/12 20:12:02 nik Exp $ .\" .Dd Oct 11, 1995 .Dt IPXROUTED 8 @@ -188,7 +188,7 @@ and networks. If .Nm IPXrouted receives a SIGINFO signal the current contents of the RIP and SAP -tables are appended to the file /tmp/ipxrouted.dmp. +tables are appended to the file /var/log/ipxrouted.dmp. .Sh SEE ALSO .Xr ipx 3 .Sh HISTORY diff --git a/usr.sbin/IPXrouted/main.c b/usr.sbin/IPXrouted/main.c index 821e1258d206..70dd5137aff7 100644 --- a/usr.sbin/IPXrouted/main.c +++ b/usr.sbin/IPXrouted/main.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: main.c,v 1.7 1997/07/06 07:38:30 jhay Exp $ + * $Id: main.c,v 1.8 1999/04/24 09:18:48 jhay Exp $ */ #ifndef lint @@ -388,7 +388,7 @@ getinfo() { FILE *fh; - fh = fopen("/tmp/ipxrouted.dmp", "a"); + fh = fopen("/var/log/ipxrouted.dmp", "a"); if(fh == NULL) return; -- cgit v1.3