email:[email protected]
一个用C语言编写的NIDS,实现了检测引擎和规则描述语言,研究实验类项目
一个简单的NIDS系统
一个用C语言编写的NIDS,实现了检测引擎和规则描述语言,研究实验类项目
[root@localhost BlackSword]# make
gcc -c -I include abuse/abuse.c -o abuse.o
gcc -c -I include abuse/abuse_http.c -o abuse_http.o
gcc -c -I include abuse/abuse_icmp.c -o abuse_icmp.o
abuse/abuse_icmp.c:5:23: 警告:‘struct icmpp’在形参表内部声明 [默认启用]
int abuse_icmp(struct icmpp *icmp){
^
abuse/abuse_icmp.c:5:23: 警告:它的作用域仅限于此定义或声明,这可能并不是您想要的 [默认启用]
gcc -c -I include abuse/abuse_tcp.c -o abuse_tcp.o
gcc -c -I include abuse/abuse_udp.c -o abuse_udp.o
abuse/abuse_udp.c:5:22: 警告:‘struct udpp’在形参表内部声明 [默认启用]
int abuse_udp(struct udpp *udp){
^
abuse/abuse_udp.c:5:22: 警告:它的作用域仅限于此定义或声明,这可能并不是您想要的 [默认启用]
gcc -c -I include analysis/derule.c -o derule.o
gcc -c -I include analysis/func.c -o func.o
gcc -c -I include analysis/http.c -o http.o
gcc -c -I include analysis/icmp.c -o icmp.o
gcc -c -I include analysis/ip.c -o ip.o
gcc -c -I include analysis/pdata.c -o pdata.o
gcc -c -I include analysis/sysconfig.c -o sysconfig.o
gcc -c -I include analysis/tcp.c -o tcp.o
gcc -c -I include analysis/udp.c -o udp.o
analysis/udp.c: 在函数‘udp_getstruct’中:
analysis/udp.c:12:5: 警告:从不兼容的指针类型赋值 [默认启用]
udp=(struct tcpp *)((uchar*)ip+l);
^
gcc -c -I include main/main.c -o main.o
gcc -c -I include pcap/bspcap.c -o bspcap.o
pcap/bspcap.c: 在函数‘run’中:
pcap/bspcap.c:37:3: 警告:隐式声明与内建函数‘exit’不兼容 [默认启用]
exit(1);
^
pcap/bspcap.c: 在函数‘packet_handler’中:
pcap/bspcap.c:119:2: 警告:隐式声明与内建函数‘memcpy’不兼容 [默认启用]
memcpy(data,pkt_data,header->caplen);
^
ld -o bs abuse.o abuse_http.o abuse_icmp.o abuse_tcp.o abuse_udp.o derule.o func.o http.o icmp.o ip.o pdata.o sysconfig.o tcp.o udp.o main.o bspcap.o -lpcap
ld: derule.o: undefined reference to symbol 'strcpy@@GLIBC_2.2.5'
/usr/lib64/libc.so.6: error adding symbols: DSO missing from command line
make: *** [bs] 错误 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.