This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <pcap.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#ifdef WINVER | |
#include <winsock.h> | |
#else | |
#include <sys/socket.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
void socket_iphdrincl(int sd) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* "gfw" match extension for Xtables | |
* | |
* Copyright © Klzgrad <[email protected]>, 2010 | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License; either version 2 | |
* or 3 of the License, as published by the Free Software Foundation. | |
*/ | |
#include <linux/module.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* "ZHANG" target extension for Xtables | |
* copied from "DELUDE" target | |
* Copyright © Jan Engelhardt <jengelh [at] medozas de>, 2007 - 2008 | |
* Klzgrad <[email protected]>, 2010 | |
* | |
* Based upon linux-2.6.18.5/net/ipv4/netfilter/ipt_REJECT.c: | |
* (C) 1999-2001 Paul `Rusty' Russell | |
* (C) 2002-2004 Netfilter Core Team <[email protected]> | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* "CUI" target extension for Xtables | |
* copied from "DELUDE" target | |
* Copyright © Jan Engelhardt <jengelh [at] medozas de>, 2007 - 2008 | |
* Klzgrad <[email protected]>, 2010 | |
* | |
* Based upon linux-2.6.18.5/net/ipv4/netfilter/ipt_REJECT.c: | |
* (C) 1999-2001 Paul `Rusty' Russell | |
* (C) 2002-2004 Netfilter Core Team <[email protected]> | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <winsock2.h> | |
#include <Ws2tcpip.h> | |
#include <stdio.h> | |
#include <map> | |
#include <string> | |
using namespace std; | |
#define MAXSOCKET 10 | |
#define MINDELAY 500 | |
#define MAXDELAY 2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* WestChamber Windows | |
* Elysion | |
* March 16 2010 | |
*/ | |
#include "precomp.h" | |
#pragma hdrstop | |
enum FILTER_STATE filter_state; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <libnet.h> | |
#include <malloc.h> | |
#include <sys/time.h> | |
#include <pcap.h> | |
#include <pcap/bpf.h> | |
#define _NAME "Scholar Zhang" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Server-side implementation of west-chamber-season-2. | |
* | |
* Designed for netizens in P.R.C. to access censored information freely. | |
* | |
* Copyright (c) 2010 Mike Chen | |
* Author: Mike Chen | |
* Contact: [email protected] | |
* | |
* Great thanks to Jan Engelhardt, Nicolas Bouliane for this documentation: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Netfilter module implementation of west-chamber-season-2. | |
* | |
* Designed for netizens in P.R.C. to access censored information freely. | |
* | |
* Copyright (c) 2010 Mike Chen | |
* Author: Mike Chen | |
* Contact: [email protected] | |
* | |
* Great thanks to Jan Engelhardt, Nicolas Bouliane for this documentation: |
OlderNewer