Snort troubles

Dean Freeman wfreeman at sourcefire.com
Thu Feb 10 14:32:43 UTC 2011


Snort 2.9.0.4 is getting released today, I believe, and I'll push an updated
port either tomorrow or Monday which will also have the fix for the libnet
issue in it as well.

On Thu, Feb 10, 2011 at 8:42 AM, Michael Scheidell <
michael.scheidell at secnap.com> wrote:

>
>
> On 2/10/11 4:28 AM, Andrea Venturoli wrote:
>
>> Hello.
>>
>> # cd /usr/ports/security/snort
>> # make extract
>> /usr/local/bin/libnet11-config: not found
>> Is this a bug in the port?
>>
> yep, my fault.
>
>  Does snort require a newer perl?
>>
> no.
> has been tried on perl 5.8.9, 7.3 i386, 7.2 amd64, perl 5.10 amd64 on 7.3,
> 8.1, etc.
> (even works on 6.4 i386), BUT WON'T COMPILE pcap on 5.5
>
>  Should I switch to 5.10? 5.12?
>>
> no
> try this patch: DO A MAKE CLEAN     first, then apply patch, then try
> again.
>
>
> diff -bBru /tmp/Makefile Makefile
> --- /tmp/Makefile    Tue Feb  8 22:50:03 2011
> +++ Makefile    Wed Feb  9 10:41:46 2011
>
> @@ -60,8 +61,13 @@
>  USE_AUTOTOOLS=    libtool
>  USE_LDCONFIG=    yes
>  LIBNET_CONFIG?=        ${LOCALBASE}/bin/libnet11-config
> +.if exists($(LIBNET_CONFIG}))
>  LIBNET_CFLAGS!=    ${LIBNET_CONFIG} --cflags
>  LIBNET_LIBS!=    ${LIBNET_CONFIG} --libs
> +.else
> +LIBNET_CFLAGS=-I${LOCALBASE}/include/libnet11
> +LIBNET_LIBS=-L${LOCALBASE}/lib/libnet11 -lnet
> +.endif
>  LIBNET_INCDIR=    ${LIBNET_CFLAGS:M-I*:S/-I//}
>  LIBNET_LIBDIR=    ${LIBNET_LIBS:M-L*:S/-L//}
>
>
> --
> Michael Scheidell, CTO
> o: 561-999-5000
> d: 561-948-2259
> ISN: 1259*1300
> >*| *SECNAP Network Security Corporation
>
>   * Certified SNORT Integrator
>   * 2008-9 Hot Company Award Winner, World Executive Alliance
>   * Five-Star Partner Program 2009, VARBusiness
>   * Best in Email Security,2010: Network Products Guide
>   * King of Spam Filters, SC Magazine 2008
>
>
> ______________________________________________________________________
> This email has been scanned and certified safe by SpammerTrap(r). For
> Information please see http://www.secnap.com/products/spammertrap/
> ______________________________________________________________________
>  _______________________________________________
>
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>



-- 
Dean Freeman
Research Analyst, Sourcefire VRT


More information about the freebsd-ports mailing list