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 <time.h> | |
#define SIZE 100 | |
int* cmpl(int *Set); | |
int main(int argc, char *argv[]) { | |
int i; |
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
#!/bin/bash | |
# @(#) iptables.sh - Script for configuring firewall with iptables | |
# Based on: http://centossrv.com/ | |
# | |
# Configuration part | |
# | |
############################## | |
## Set external interface |
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
#!/bin/bash | |
# @(#) iptables.sh - Script for configuring firewall with iptables | |
# Based on: http://centossrv.com/ | |
# | |
# Configuration part | |
# | |
############################## | |
## External Interface |
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
#!/usr/bin/python | |
from __future__ import with_statement # for obsolete python | |
from types import * | |
import re | |
import sys | |
import socket | |
sys.path.insert(0, "lib") | |
from check_type import * | |
# set path |