nullhypothesis / brdgrd Goto Github PK
View Code? Open in Web Editor NEWProtects Tor bridges from being scanned (and as a result blocked) by GFW probes.
Home Page: http://www.cs.kau.se/philwint/gfw/
License: GNU General Public License v3.0
Protects Tor bridges from being scanned (and as a result blocked) by GFW probes.
Home Page: http://www.cs.kau.se/philwint/gfw/
License: GNU General Public License v3.0
cd brdgrd-master
make
ERROR:
cc brdgrd.c -Wall -Wextra -Wformat-security -O3 -fstack-protector-all -lnetfilter_queue -o brdgrd
brdgrd.c: In function ‘callback’:
brdgrd.c:169:27: warning: passing argument 2 of ‘nfq_get_payload’ from incompatible pointer type [-Wincompatible-pointer-types]
if (nfq_get_payload(nfa, (char **) &packet) == -1) {
^
In file included from brdgrd.c:29:0:
/usr/local/include/libnetfilter_queue/libnetfilter_queue.h:122:12: note: expected ‘unsigned char **’ but argument is of type ‘char **’
extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data);
^~~~~~~~~~~~~~~
brdgrd.c:148:57: warning: unused parameter ‘nfmsg’ [-Wunused-parameter]
int callback( struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_data *nfa,
^~~~~
brdgrd.c:149:8: warning: unused parameter ‘data’ [-Wunused-parameter]
void *data ) {
^~~~
how to FIX it? PLEASE HELP, thanks!
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.