[Snort-devel] Turning on DEBUG while compiling ?

Andrew Rucker Jones arjones at ...2237...
Tue Feb 15 09:58:15 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Take a look at debug.h in the snort distribution. You have to set the
environment variable SNORT_DEBUG to the ORed value of all debug
catagories You want to see, then run snort.

			-&


snort user wrote:
| Hi
|
| I am trying to enable DEBUG inorder to see the statements like
|
|     DebugMessage(DEBUG_STREAM, "pcount stream packet %d\n",pcount);
| OR
|     DEBUG_WRAP(DebugMessage(DEBUG_STREAM,
|                     "No stateful inspection on this port, returning"););
|
| in the Makefile , I have
| DEFS = -DHAVE_CONFIG_H -DDEBUG
|
| Is there any thing else I should be doing ?
|
| Thanks a lot for the help
|
|
| -------------------------------------------------------
| SF email is sponsored by - The IT Product Guide
| Read honest & candid reviews on hundreds of IT Products from real users.
| Discover which products truly live up to the hype. Start reading now.
| http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
| _______________________________________________
| Snort-devel mailing list
| Snort-devel at lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/snort-devel
|

- --
GPG key / Schlüssel -- http://simultan.dyndns.org/~arjones/gpgkey.txt
Encrypt everything. / Alles verschlüsseln.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCEjfRoI7tqy5bNGMRAo9PAKDadhcaXPy+RapNiZJbAYxQV+OBDQCgwHF9
U8pEjYfsC+HwAWbIksMyPFs=
=7RT4
-----END PGP SIGNATURE-----




More information about the Snort-devel mailing list