[Snort-users] snort-flood detection preprocessor

Grudge Mason grudge_mason at ...125...
Mon Aug 5 19:57:13 EDT 2002


On Fri, 2 Aug 2002, Cearns Angela wrote:
...

>printf("source address is %s destination is
>%s\n", inet_ntoa(p->iph->ip_src),
>inet_ntoa(p->iph->ip_dst));
...
>source address is a.b.c.d destination is a.b.c.d
>source address is p.q.r.s destination is p.q.r.s

you must use two printf, one for ip_src only and one for ip_dst only... when 
you use both in one printf it is like that... dunno why

/GM


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com





More information about the Snort-users mailing list