|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: [Snort-users] Snort & Flexresp & Libnet
From: Tye F. Hammerle (thammer
ibm.net)Date: Tue Nov 28 2000 - 17:41:11 CST
- Next message: Todd Lewis: "[Snort-users] announcement & questions: user space firewall"
- Previous message: Arman Magluyan Telecom/SG: "RE: [Snort-users] tcp/510 probe"
- In reply to: Fyodor: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Next in thread: Mike Johnson: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Reply: Tye F. Hammerle: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Reply: Mike Johnson: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Make clean then make got me farther and came up with this. I also did
a make clean and make of libnet.
# make
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c snort.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c mstring.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c rules.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c plugbase.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_pattern_match.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_tcp_flag_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_icmp_type_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_icmp_code_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_ttl_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_ip_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_tcp_ack_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_tcp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_dsize_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c spp_http_decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c spp_minfrag.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c spp_portscan.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_ipoption_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_rpc_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_icmp_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_icmp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/openssl -DENABLE_SSL
-g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_L
IL_ENDIAN -c sp_respond.c
In file included from plugbase.h:92,
from snort.h:70,
from sp_respond.h:23,
from sp_respond.c:35:
/usr/include/net/if.h:79: redefinition of `struct if_data'
/usr/include/net/if.h:107: redefinition of `struct ifnet_head'
/usr/include/net/if.h:116: redefinition of `struct ifnet'
/usr/include/net/if.h:140: redefinition of `struct ifqueue'
/usr/include/net/if.h:233: redefinition of `struct ifaddr'
/usr/include/net/if.h:254: redefinition of `struct ifprefix'
/usr/include/net/if.h:266: redefinition of `struct if_msghdr'
/usr/include/net/if.h:280: redefinition of `struct ifa_msghdr'
/usr/include/net/if.h:296: redefinition of `struct ifreq'
/usr/include/net/if.h:316: redefinition of `struct ifaliasreq'
/usr/include/net/if.h:324: redefinition of `struct ifmediareq'
/usr/include/net/if.h:341: redefinition of `struct ifconf'
/usr/include/net/if.h:354: redefinition of `struct if_laddrreq'
/usr/include/net/if.h:363: redefinition of `struct if_nameindex'
In file included from /usr/include/net/if.h:377,
from plugbase.h:92,
from snort.h:70,
from sp_respond.h:23,
from sp_respond.c:35:
/usr/include/net/if_arp.h:49: redefinition of `struct arphdr'
/usr/include/net/if_arp.h:79: redefinition of `struct arpreq'
*** Error code 1
Stop in /work/snort.
#
Tye
----- Original Message -----
From: "Fyodor" <fygrave
tigerteam.net>
To: "Tye F. Hammerle" <thammer
ibm.net>
Cc: <snort-users
lists.sourceforge.net>
Sent: Monday, November 27, 2000 10:48 PM
Subject: Re: [Snort-users] Snort & Flexresp & Libnet
> On Mon, Nov 27, 2000 at 09:02:45PM -0600, Tye F. Hammerle wrote:
> >
gcc -g -O2 -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS -DLIBNET_LIL_E
> > NDIAN -L/usr/lib -o snort snort.o log.o decode.o mstring.o ru
> > les.o plugbase.o sp_pattern_match.o sp_tcp_flag_check.o
> > sp_icmp_type_check.o sp_icmp_code_check.o sp_ttl_check.o
> > sp_ip_id_check.o
> > sp_tcp_ack_check.o sp_tcp_seq_check.o sp_dsize_check.o
> > spp_http_decode.o spp_minfrag.o spp_portscan.o
sp_ipoption_check.o
> > sp_rpc_c
> > heck.o sp_icmp_id_check.o sp_icmp_seq_check.o sp_respond.o
> > spo_alert_syslog.o spo_log_tcpdump.o spo_database.o sp_session.o
> > spp_de
> > frag.o parser.o spo_alert_fast.o spo_alert_full.o spo_alert_smb.o
> > spo_alert_unixsock.o sp_react.o spo_xml.o sp_ip_tos_check.o spp_
> > tcp_stream.o snprintf.o checksum.o
> > sp_reference.o -lpcap -lssl -lcrypto -lnet
> > plugbase.c:58: Undefined symbol `_SetupRespond' referenced from
text
> > segment
> > collect2: ld returned 1 exit status
> > *** Error code 1
> >
>
> hmm.. looks like sp_respond.c didn't get rebuilt properly. Can you
do
> make clean and then make again?
>
> --
> http://www.notlsd.net
> PGP fingerprint = 56DD 1511 DDDA 56D7 99C7 B288 5CE5 A713 0969 A4D1
_______________________________________________
Snort-users mailing list
Snort-users
lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/snort-users
- Next message: Todd Lewis: "[Snort-users] announcement & questions: user space firewall"
- Previous message: Arman Magluyan Telecom/SG: "RE: [Snort-users] tcp/510 probe"
- In reply to: Fyodor: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Next in thread: Mike Johnson: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Reply: Tye F. Hammerle: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Reply: Mike Johnson: "Re: [Snort-users] Snort & Flexresp & Libnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]