Q: How do I generate the SCTP debug files? I tried using the debugMask_ and debugFileIndex_ TCL variables, but they still are not generated. A: As mentioned in sctp.README, ns must be compiled with the -DDEBUG flag. The Makefile is the crucial one to fix, but the Makefile is automatically generated from Makefile.in using configure. If you never need to run configure again, then changing the Makefile alone is good enough. However, if you want the debug to continue to work after configure, then you should fix the Makefile.in. Assuming that you modified Makefile.in, you need to do the following: 1. ./configure (this automatically generates Makefile) 2. rm sctp.o (be sure to recompile sctp module binary) 3. make