Commit Graph

10951 Commits

Author SHA1 Message Date
Ermal
281cf46f90 Forgotten -n option 2013-01-16 14:55:29 +00:00
bcyrill
d5ac388b66 Missing return statement 2013-01-16 15:47:49 +01:00
Renato Botelho
84086442a2 Set flag setautosrc to replicate parent's mac address automatically when it changes, it's a better solution then dettach it. This should fix #2641 2013-01-16 12:06:35 -02:00
Renato Botelho
70ae8b9cf8 Revert "When a interface type is changed, old configuration remains. When moving from static ip to ppp, it kepts the static ip configured on interface, when moving from ppp to static ip, it doesn't kill mpd. Implement interface_clean() to make sure only current configuration is in place"
This reverts commit 9111e5fd88.
2013-01-16 11:34:33 -02:00
Ermal
76a7d8e443 Merge git pull request 313 from bcyrill with some modifications 2013-01-16 13:29:49 +00:00
Ermal
5cd73772aa Use sysctl for this since its better rather than going thorugh dmesg 2013-01-16 13:21:40 +00:00
Ermal Luçi
2d6a5d6a5d Merge pull request #332 from bcyrill/patch-2
Update etc/rc.update_bogons.sh
2013-01-16 05:15:27 -08:00
Renato Botelho
254ebf8b0f Fix mac spoof when PPPoE is being used
When PPPoE is set and you change interface's mac address, the netgraph
node kept using the old parent interface mac address. Detach it before
attach on interface_ppps_configure() will make sure it is using the
current mac address.

It should fix #2641
2013-01-16 11:09:06 -02:00
bcyrill
c98951ce52 Update etc/rc.update_bogons.sh
The used version of sh does not support the fallthrough operator and function keyword.
2013-01-16 13:53:19 +01:00
Ermal Luçi
422e9d002f Merge pull request #329 from bcyrill/patch-8
Update etc/inc/captiveportal.inc
2013-01-15 15:58:46 -08:00
Ermal Luçi
ea74271613 Merge pull request #330 from bcyrill/patch-9
Add portal_hostname_from_client_ip function
2013-01-15 15:57:53 -08:00
bcyrill
de132ae3ac Add portal_hostname_from_client_ip function 2013-01-15 23:26:25 +01:00
bcyrill
87e7fdea94 Update etc/inc/captiveportal.inc 2013-01-15 22:28:11 +01:00
Renato Botelho
9111e5fd88 When a interface type is changed, old configuration remains. When moving from static ip to ppp, it kepts the static ip configured on interface, when moving from ppp to static ip, it doesn't kill mpd. Implement interface_clean() to make sure only current configuration is in place 2013-01-15 18:02:17 -02:00
jim-p
a74260cb3f Better test if we're running at the cli or in lighty. Also suppress output for the session start if it fails. 2013-01-15 11:28:56 -05:00
jim-p
b3435de108 Fixup home/end/ins/del in shell. 2013-01-15 10:13:30 -05:00
Renato Botelho
8a16c5502c Revert part of 8e9d126550 since it breaks wifi interfaces at boot time 2013-01-15 12:22:26 -02:00
Ermal Luçi
05c6f64445 Merge pull request #326 from fsSnowboard/master
Modern games added to Traffic Shaper Wizard
2013-01-15 00:19:12 -08:00
fsSnowboard
71461d383d fixed spelling 2013-01-14 20:54:06 -05:00
jim-p
b2a0a8e939 Something in the LDAP libraries has changed and it no longer likes spaces in the CA filename. Use the refid for the CA filename since it will always be unqiue, and it will never contain any spaces, unlike authname or the CA's descr. 2013-01-14 16:28:40 -05:00
Ermal Luçi
9deea99c0e Merge pull request #324 from ExolonDX/master
Update PHP shorthand tag
2013-01-14 07:23:02 -08:00
Renato Botelho
7061ba0ff4 fix indent on convert_real_interface_to_friendly_interface_name() 2013-01-14 12:50:01 -02:00
Renato Botelho
be45aa7949 Remove some trailing spaces and tabs from EOL 2013-01-14 12:19:28 -02:00
Renato Botelho
3dacbd7c6d Remove a couple of call-time pass-by-reference for interface_ipalias_configure() 2013-01-14 11:38:12 -02:00
Renato Botelho
8e9d126550 Check if interface really exists on interface_ppps_configure() and interface_configure() 2013-01-14 11:32:02 -02:00
Colin Fleming
a3381369d9 Update PHP shorthand tag
Standardise all PHP start tags from "<?" to "<?PHP"
2013-01-14 13:27:36 +00:00
Ermal
11d1d64e81 Set adaptive.start/adaptive.end to disabled. Also allow them to be customized through system->advanced->firewall. This allows the firewall to be reachable if the state limit is hit but default. 2013-01-13 12:11:40 +00:00
fsSnowboard
9bf5a970ab more games for traffic shaper 2013-01-12 22:42:26 -05:00
fsSnowboard
906e513a59 fixed spelling mistake 2013-01-12 16:55:52 -05:00
unknown
435e715fdf added traffic shaper game rules 2013-01-12 15:43:31 -05:00
jim-p
526102c1f6 Put syslogd into secure mode so no remote log messages are accepted. Sending to a remote syslog server still works with this option. 2013-01-10 14:01:42 -05:00
bcyrill
5a6359ae6f Update etc/inc/voucher.inc
Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
2013-01-10 17:03:32 +01:00
Rafael Abdo
6fd8526b6b Delete SPDs when an IPSec tunnel is deleted.
- Add new function to delete SPDs (see 'remove_tunnel_spd_policy($phase1,$phase2)' on vpn.inc)
- Change vpn_ipsec.php to delete SPDs on phase 2 and phase 1.
- Change the method GET to delete phase 2 (needs to inform which is the phase 1)

It should fix #2719.
2013-01-09 17:53:22 +00:00
Renato Botelho
a6f1f6d1ec Fix convert_real_interface_to_friendly_interface_name() when parameter is already a friendly name and interface is using PPPoE. It should fix #2641 2013-01-09 14:59:06 -02:00
Renato Botelho
5019ff8f89 Use get_parent_interface() instead of doing it manually 2013-01-09 11:51:00 -02:00
Renato Botelho
02b8bfaebe Fix get_parent_interface() for ppp interfaces, it was using an unset variable $ppp_if 2013-01-09 11:39:33 -02:00
Renato Botelho
83bab77be7 Add physical interface alias for pptp interfaces. It should fix #2663 2013-01-09 10:09:28 -02:00
bcyrill
d36fd7c032 Update etc/rc.newwanipv6 2013-01-08 22:40:29 +01:00
Chris Buechler
3042761acc Merge pull request #310 from bcyrill/bogons_patch1
Allow changing of bogons update frequency
2013-01-08 01:58:07 -08:00
bcyrill
3cde94cff2 Avoid 'Cannot allocate memory' errors 2013-01-07 21:42:59 +01:00
Renato Botelho
1b0074d5d1 Interface assignment wrongly changing:
When WAN is set to PPPoE and user set other interfaces IP address using
console, it wrongly change the interface assignment to use the same
device of wan. It was caused by a hard coded "wan" on
console_get_interface_from_ppp() call, when it should use $interface
instead.  It should fix #2074
2013-01-07 17:44:26 -02:00
bcyrill
7c05f80094 Add support for compressed bogon files 2013-01-07 17:27:06 +01:00
bcyrill
92276df684 Add back end support for custom bogon urls 2013-01-07 15:53:38 +01:00
bcyrill
04aac151d9 Partly revert commit 4c45712f 2013-01-07 00:53:35 +01:00
bcyrill
149ed85efb Fix spelling 2013-01-06 23:58:53 +01:00
Phil Davis
c4594e364e Prevent no such file message when pid file does not exist 2013-01-06 21:07:47 +05:45
smos
e9ab2ddb26 Add some backend support for writing out a config so that the dhcp6 server can listen on the required MPD pppoe server interfaces.
Also nuke the failover entries, these don't exist for IPv6, this is handled by 2 servers and differing priorities
2013-01-06 10:20:45 +01:00
smos
5dbd619f4a Add the PPPoE Server IP addresses to the locally configured addresses, this prevents the HTTP_REFERER check from triggering. 2013-01-05 19:36:29 +01:00
smos
2b6f7508db Move up the syslog daemon so that we get a larger part of the bootup sequence. 2013-01-05 17:16:21 +01:00
smos
8f833c7c0a Make sure the dhcp6c client always launches with the correct real interface argument.
Make sure we do a filter_configure_sync() here as otherwise the existing firewall rules (during boot) would block the dhcp6c client.
2013-01-05 17:02:36 +01:00