version 1.1, 2012/02/21 23:16:02
|
version 1.1.1.2, 2012/05/29 12:55:57
|
Line 32 unsigned long upstream_bitrate = 0;
|
Line 32 unsigned long upstream_bitrate = 0;
|
/* startup time */ |
/* startup time */ |
time_t startup_time = 0; |
time_t startup_time = 0; |
|
|
#if 0 |
|
/* use system uptime */ |
|
int sysuptime = 0; |
|
|
|
/* log packets flag */ |
|
int logpackets = 0; |
|
|
|
#ifdef ENABLE_NATPMP |
|
int enablenatpmp = 0; |
|
#endif |
|
#endif |
|
|
|
int runtime_flags = 0; |
int runtime_flags = 0; |
|
|
const char * pidfilename = "/var/run/miniupnpd.pid"; |
const char * pidfilename = "/var/run/miniupnpd.pid"; |
Line 63 unsigned int num_upnpperm = 0;
|
Line 51 unsigned int num_upnpperm = 0;
|
|
|
#ifdef ENABLE_NATPMP |
#ifdef ENABLE_NATPMP |
/* NAT-PMP */ |
/* NAT-PMP */ |
|
#if 0 |
unsigned int nextnatpmptoclean_timestamp = 0; |
unsigned int nextnatpmptoclean_timestamp = 0; |
unsigned short nextnatpmptoclean_eport = 0; |
unsigned short nextnatpmptoclean_eport = 0; |
unsigned short nextnatpmptoclean_proto = 0; |
unsigned short nextnatpmptoclean_proto = 0; |
#endif |
#endif |
|
#endif |
|
|
|
/* For automatic removal of expired rules (with LeaseDuration) */ |
|
unsigned int nextruletoclean_timestamp = 0; |
|
|
#ifdef USE_PF |
#ifdef USE_PF |
const char * queue = 0; |
const char * queue = 0; |
const char * tag = 0; |
const char * tag = 0; |
Line 84 int nfqueue = -1;
|
Line 77 int nfqueue = -1;
|
int n_nfqix = 0; |
int n_nfqix = 0; |
unsigned nfqix[MAX_LAN_ADDR]; |
unsigned nfqix[MAX_LAN_ADDR]; |
#endif |
#endif |
int n_lan_addr = 0; | struct lan_addr_list lan_addrs; |
struct lan_addr_s lan_addr[MAX_LAN_ADDR]; | |
|
|
|
#ifdef ENABLE_IPV6 |
|
/* ipv6 address used for HTTP */ |
|
char ipv6_addr_for_http_with_brackets[64]; |
|
#endif |
|
|
/* Path of the Unix socket used to communicate with MiniSSDPd */ |
/* Path of the Unix socket used to communicate with MiniSSDPd */ |
const char * minissdpdsocketpath = "/var/run/minissdpd.sock"; |
const char * minissdpdsocketpath = "/var/run/minissdpd.sock"; |
|
|
|
/* BOOTID.UPNP.ORG and CONFIGID.UPNP.ORG */ |
|
unsigned int upnp_bootid = 1; |
|
unsigned int upnp_configid = 1337; |
|
|
|
#ifdef ENABLE_6FC_SERVICE |
|
int ipv6fc_firewall_enabled = 1; |
|
int ipv6fc_inbound_pinhole_allowed = 1; |
|
#endif |
|
|