[Oisf-devel] libhtp upgrade

Peter Manev petermanev at gmail.com
Thu Jul 11 11:19:03 UTC 2013


>> I will test it today.
>> In what way should the patches/commits be applied
>>
>> 1) https://github.com/inliniac/suricata/tree/htp-autotools
>> 2) https://github.com/inliniac/suricata/commit/aafc65c7578f5cdd1b6159f61e98cb1923fc0358
>> 3) https://github.com/inliniac/suricata/commit/4749420f325acc5965cd942d78ba9ce28c686eda
>>
>
> Just check out the branch
> https://github.com/inliniac/suricata/tree/htp-autotools, it contains
> both patches.
>

I just did :
1)  git clone https://github.com/inliniac/suricata.git
2)  cd suricata
3)  git checkout -b  htp-autotools remotes/origin/htp-autotools
4)  git log
5)  ./autogen.sh && ./configure --prefix=/usr/ --sysconfdir=/etc/
--localstatedir=/var/ --disable-gccmarch-native --enable-geoip
--with-libnss-libraries=/usr/lib
--with-libnss-includes=/usr/include/nss/
--with-libnspr-libraries=/usr/lib
--with-libnspr-includes=/usr/include/nspr
6)  make clean && make && make install
7)  suricata --build-info

This is Suricata version 2.0dev (rev 4749420)
Features: PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 AF_PACKET
HAVE_PACKET_FANOUT LIBCAP_NG LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK
HAVE_HTP_TX_GET_RESPONSE_HEADERS_RAW HAVE_NSS HAVE_LIBJANSSON
64-bits, Little-endian architecture
GCC version 4.6.3, C version 199901
  __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
  __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
  __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
  __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
compiled with -fstack-protector
compiled with _FORTIFY_SOURCE=2
L1 cache line size (CLS)=64
compiled with libhtp 0.2.12, linked against 0.2.11
Suricata Configuration:

compile and build finished ok, np.

is that correct?

Running it now for some tests.

thanks



More information about the Oisf-devel mailing list