mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 05:56:07 +03:00
Compare commits
3 Commits
1df7d235f5
...
df49fd6f3d
Author | SHA1 | Date | |
---|---|---|---|
|
df49fd6f3d | ||
|
3cb6a1eec2 | ||
|
17169e3444 |
@ -20,6 +20,7 @@ master:
|
|||||||
- Change external IP lookup to using myip.opendns.com via DNS.
|
- Change external IP lookup to using myip.opendns.com via DNS.
|
||||||
- Add option to choose IPv4 listen address from external IP lookup.
|
- Add option to choose IPv4 listen address from external IP lookup.
|
||||||
- Add server support for handling multiple domains via wildcard.
|
- Add server support for handling multiple domains via wildcard.
|
||||||
|
- Recognize tap device component id 'root' prefix on Windows.
|
||||||
|
|
||||||
2014-06-16: 0.7.0 "Kryoptonite"
|
2014-06-16: 0.7.0 "Kryoptonite"
|
||||||
- Partial IPv6 support (#107)
|
- Partial IPv6 support (#107)
|
||||||
|
@ -61,6 +61,7 @@ static void get_name(char *ifname, int namelen, char *dev_name);
|
|||||||
#define TAP_DEVICE_SPACE "\\\\.\\Global\\"
|
#define TAP_DEVICE_SPACE "\\\\.\\Global\\"
|
||||||
#define TAP_VERSION_ID_0801 "tap0801"
|
#define TAP_VERSION_ID_0801 "tap0801"
|
||||||
#define TAP_VERSION_ID_0901 "tap0901"
|
#define TAP_VERSION_ID_0901 "tap0901"
|
||||||
|
#define TAP_VERSION_ID_0901_ROOT "root\\tap0901"
|
||||||
#define KEY_COMPONENT_ID "ComponentId"
|
#define KEY_COMPONENT_ID "ComponentId"
|
||||||
#define NET_CFG_INST_ID "NetCfgInstanceId"
|
#define NET_CFG_INST_ID "NetCfgInstanceId"
|
||||||
#else
|
#else
|
||||||
@ -193,7 +194,8 @@ get_device(char *device, int device_len, const char *wanted_dev)
|
|||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
if (strncmp(TAP_VERSION_ID_0801, component, strlen(TAP_VERSION_ID_0801)) == 0 ||
|
if (strncmp(TAP_VERSION_ID_0801, component, strlen(TAP_VERSION_ID_0801)) == 0 ||
|
||||||
strncmp(TAP_VERSION_ID_0901, component, strlen(TAP_VERSION_ID_0901)) == 0) {
|
strncmp(TAP_VERSION_ID_0901, component, strlen(TAP_VERSION_ID_0901)) == 0 ||
|
||||||
|
strncmp(TAP_VERSION_ID_0901_ROOT, component, strlen(TAP_VERSION_ID_0901_ROOT)) == 0) {
|
||||||
/* We found a TAP32 device, get its NetCfgInstanceId */
|
/* We found a TAP32 device, get its NetCfgInstanceId */
|
||||||
char iid_string[256] = NET_CFG_INST_ID;
|
char iid_string[256] = NET_CFG_INST_ID;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ int init_users(in_addr_t my_ip, int netbits)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
char newip[16];
|
char newip[32];
|
||||||
|
|
||||||
int maxusers;
|
int maxusers;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user