Commit Graph

21621 Commits

Author SHA1 Message Date
Phil Davis
60f501ec4f IPv6 OpenVPN TAP mode typo 2013-05-14 10:01:31 +05:45
Chris Buechler
d68c18b526 Merge pull request #634 from phil-davis/master
OpenVPN w/ IPv6 fails to set ifconfig-ipv6 value in conf #2991
2013-05-13 21:00:56 -07:00
Phil Davis
fe9c774d7e OpenVPN w/ IPv6 fails to set ifconfig-ipv6 value in conf #2991 2013-05-14 08:10:42 +05:45
Jim P
a00dfffe95 Merge pull request #632 from ExolonDX/master
Tidy up spelling mistakes
2013-05-12 14:15:59 -07:00
Colin Fleming
3b2395aedd Tidy up spelling mistakes. 2013-05-12 21:33:38 +01:00
Ermal Luçi
87e465a5d0 Merge pull request #629 from jean-m-cyr/master
Allow explicit mask specification in bandwidth limiter.
2013-05-11 06:07:44 -07:00
Jean Cyr
0b4e754240 Allow explicit mask specification in bandwidth limiter
Allow explicit mask specification in bandwidth limiter. This backwards
compatible and implements ermal suggestions.
2013-05-11 01:26:10 -04:00
Ermal
c2e2d133ed Prevent errors from flowing up to the clients workspace and preventing functionality 2013-05-10 13:01:21 +00:00
Renato Botelho
fcb1ccaf2d Revert "Fix alias expand for hostnames, it should fix #2941"
Working on a better fix

This reverts commit 0d59cc942f.
2013-05-10 09:58:50 -03:00
Renato Botelho
0d59cc942f Fix alias expand for hostnames, it should fix #2941 2013-05-09 12:26:33 -03:00
Renato Botelho
41c64d7503 Revert "Add Turkish to the list of available languages, fixes #2986"
Will be done again for 2.2

This reverts commit 705950edbc.
2013-05-09 11:58:17 -03:00
Renato Botelho
cdf0ac6907 Update pt_BR translation 2013-05-09 09:44:44 -03:00
Renato Botelho
a861c4de41 Update translation template 2013-05-09 09:05:35 -03:00
Renato Botelho
e0d7375df1 Move pot translation file to en/, default locale directory 2013-05-09 09:00:09 -03:00
Renato Botelho
4c13b00018 Move Turkish translation files to tr/, the default locale directory 2013-05-09 08:57:42 -03:00
Renato Botelho
db7a628c0f Replace all linklocal checks by is_linklocal() 2013-05-09 08:05:13 -03:00
Renato Botelho
19341491e3 Create is_linklocal() to validate ll addresses 2013-05-09 08:05:13 -03:00
jim-p
5c8cbb2600 Shuffle some more logs around to more appropriate places. 2013-05-08 15:48:57 -04:00
Renato Botelho
30ad85534b Nuke interface_track6_dhcp6_configure()
This function does 2 unecessary things:

. Remove the IP address from interface set as Track, what is wrong and
  should be done by dhcp6c
. Set a fixed IP when track6-interface is SLAAC, what never happens
  since it's impossible to track a SLAAC interface
2013-05-08 15:45:04 -03:00
jim-p
a89b73428a Send filterdns logs to the resolver log. 2013-05-08 12:54:43 -04:00
Renato Botelho
705950edbc Add Turkish to the list of available languages, fixes #2986 2013-05-08 08:44:06 -03:00
Renato Botelho
41bd4359f5 Add Turkish translation files, ticket #2986 2013-05-08 08:43:30 -03:00
Ermal
f388b5c573 After some discussions it is better to make this a tunable and allow its value change from administrator. 2013-05-08 07:19:19 +00:00
rbgarga
ddae03adaa Merge pull request #627 from phil-davis/master
Optimize which OpenVPN instances are restarted
2013-05-07 08:15:40 -07:00
Renato Botelho
6d49e2ba8b Revert "Fixes for track6 interfaces:"
It's not the correct fix

This reverts commit e8307ae03e.
2013-05-07 11:40:48 -03:00
Phil Davis
be00850b9d Remember which interface was used by each OpenVPN conf
When interfaces go down and up we need to know which interface (vr1, vr2 etc) each OpenVPN instance is using so we can optimize our decision about which instances to resync. That data is not in the conf file (the conf file contains the IP address the instance binds to). This change puts the interface name into a little file in /var/etc/openvpn for later use.
2013-05-07 20:19:49 +05:45
Phil Davis
e960b29837 Optimize which OpenVPN instances are restarted 2013-05-07 20:16:13 +05:45
Ermal
982e004f0a Pull code from the calling place rather than the interfaces.inc 2013-05-07 12:34:11 +00:00
Ermal Luçi
70a99e87f7 Merge pull request #626 from phil-davis/master
Restore default route after HOTPLUG linkup
2013-05-07 05:32:03 -07:00
Renato Botelho
252612d7db Fix wrong check added on commit 1f64b66bf0 that was checking openvpn server twice and don't checking openvpn client 2013-05-07 09:24:35 -03:00
Renato Botelho
e8307ae03e Fixes for track6 interfaces:
. Do not remove link-local when it's already correct
. Let dhcp6c deal with tracked interface IP
2013-05-07 09:20:41 -03:00
Phil Davis
8e47f55b6e Reload routes etc when rc.linkup happens
When a link comes up, call interface_configure with p2=true. This makes it run various extra routines such as system_routing_configure - which will put back the default route or other static routes that might have been removed when the link was down.
2013-05-07 15:53:09 +05:45
Phil Davis
6ddfa6c216 Add includes to interfaces.inc
There were some includes needed when calling into here from rc.linkup - somehow everything else that calls interface_configure(p1, "true", p3) has already included these.
2013-05-07 15:48:31 +05:45
Ermal Luçi
7610866f5c Merge pull request #625 from phil-davis/master
Fixup handling gateway argument to rc.openvpn
2013-05-06 23:36:33 -07:00
Phil Davis
1f64b66bf0 Handle gateway argument to rc.opnvpn
Various fixups to make this work. Now I can:
- Unplug an interface, any OpenVPN servers/clients in a gateway group using that interface are restarted and come up on the highest tier available interface. OpenVPN servers/clients that are only on that interface go down, of course.
- Plug in the cable again, any OpenVPN servers/clients in a gateway group using that interface are restarted and come up on the now-highest tier available interface (i.e. they fail back if the interface that just came up is higher tier). OpenVPN servers/clients that are only on that interface now come up.
2013-05-07 11:44:05 +05:45
Phil Davis
be2a18bf57 Fixup gwlb functions related to gw failover
Make apinger pass the gateway parameter both when an alarm alarms (gateway is down) and when it comes good (gateway is up). This way the downstream openvpn and dyndns code can know what happened and do sensible stuff.
Return the friendly interface name ("wan", "opt1" etc) rather than the actual device name ("vr0", "vr1" etc). The openvpn and dynamic dns code that uses this needs to work with various entries in the config that all use the friendly interface name.
2013-05-07 11:38:33 +05:45
Ermal
8edaa92ccb Allow codel to be activated as an option for the specific queues or as its own discipline without any childs 2013-05-06 18:09:24 +00:00
Renato Botelho
02203e6d4a Fix IPv6 Prefix ID default value
. Always initialize it to 0 when it's undefined
. Remove unecessary initializations and checks
. Bump config version to 9.5
. Write an upgrade config function to initialize old configs properly
2013-05-06 13:01:18 -03:00
Renato Botelho
94597308b5 Do not show URL twice, it helps ticket #2978 2013-05-06 08:36:04 -03:00
Jim P
66379a0c18 Merge pull request #624 from PiBa-NL/dns_hostoverride_fix
Fix dnsmasq host overrides 'enabled' check.
2013-05-04 18:15:33 -07:00
PiBa-NL
a80cb9ca40 Fix dnsmasq host overrides 'enabled' check. 2013-05-05 02:19:17 +02:00
Ermal
7d8b75ab01 Disable udp checksums by default 2013-05-04 22:57:28 +00:00
rbgarga
26cb8245c7 Merge pull request #622 from ExolonDX/branch_10
Update "pkg_edit.php"
2013-05-02 14:26:00 -07:00
Colin Fleming
81ecdc6c00 Update "pkg_edit.php"
Move closing TR tag outside, otherwise the 'foreach' statement will
produce a duplicate closing TR tag.
2013-05-02 19:02:55 +01:00
Jim P
c597b23125 Merge pull request #616 from ExolonDX/branch_08
Tidy up "firewall_nat_out_edit.php" XHTML
2013-05-01 13:39:18 -07:00
Jim P
680ff27e4f Merge pull request #615 from ExolonDX/branch_07
Tidy up "firewall_nat_out.php" XHTML
2013-05-01 13:38:20 -07:00
Jim P
634243bd8c Merge pull request #614 from ExolonDX/branch_09
Tidy up "firewall_nat_ntp_edit.php" XHTML
2013-05-01 13:37:33 -07:00
Jim P
16128bf69f Merge pull request #613 from ExolonDX/branch_05
Tidy up "firewall_nat_npt" XHTML
2013-05-01 13:36:53 -07:00
Jim P
e86630652a Merge pull request #612 from ExolonDX/branch_04
Tidy up "firewall_nat_1to1_edit" XHTML
2013-05-01 13:32:32 -07:00
Jim P
71186ddc3c Merge pull request #611 from ExolonDX/branch_03
Tidy up "firewall_nat_1to1.php" XHTML
2013-05-01 13:31:58 -07:00