Commit Graph

11340 Commits

Author SHA1 Message Date
Ermal
f06ce79db7 Bump this a bit to allow for faster speed 2013-03-21 15:01:52 +00:00
Ermal
b2b002cd6c Reduce a bit the entropy collection sources to not hurt performance. There are plenty of other sources on today systems 2013-03-21 15:00:55 +00:00
Ermal
87dfd8265d Escape the argument to avoid potential issues 2013-03-21 14:53:11 +00:00
jim-p
e52cb3a4e8 Respect the product name here. 2013-03-21 09:26:30 -04:00
jim-p
dadf8ebb48 use a custom sysDescr for snmp similar to m0n0wall's format. Fixes #2893 2013-03-21 09:09:32 -04:00
Ermal Luçi
8f38fd8de9 Merge pull request #487 from rdlugosz/change_apinger_status_path
Track apinger status in /var/run instead of /tmp
2013-03-20 15:14:24 -07:00
Ermal
0761504504 No need for the ::(separators) they will be there 2013-03-20 21:58:59 +00:00
Ermal
d93776088c Check lower bound as well 2013-03-20 21:53:09 +00:00
Ermal
733c6f893e The default gateway for 6rd type is $prefix|$wanv4::$wanv4gw. Also add support for variable length v4 prefix for 6rd 2013-03-20 20:41:16 +00:00
jim-p
daffbc34a9 While I'm here, fix an IPv6 ICMP easy rule issue. 2013-03-20 13:26:17 -04:00
jim-p
ba1d9714c5 Track user/time a firewall rule was created and last updated, and show this information at the bottom of the page when viewing the firewall rule. Have various places in the system that create rules add a proper entry to indicate their origin. 2013-03-20 13:26:16 -04:00
Ermal
919ff1f070 To actually use the linklocal of :1 delete the auto assigned linklocal 2013-03-20 16:05:19 +00:00
Ryan Dlugosz
3e3ff93172 Track apinger status in /var/run instead of /tmp
This is a one line status file updated every few seconds. It would be
better to store this in /var/run since that is (always?) a ram disk on
pfSense. Especially important on systems with flash storage.

see: http://forum.pfsense.org/index.php/topic,52734.msg281834.html#msg281834
2013-03-20 05:01:37 -04:00
Ermal
ccc5f959ad Remove even this seems dhclient is smart enough to avoid this by itself 2013-03-19 20:27:30 +00:00
Ermal
a9518178f9 Remove functions that are not used now with once mode of rtsold 2013-03-19 20:19:03 +00:00
Renato Botelho
4e6667b219 Simplify a bit logic 2013-03-19 17:06:01 -03:00
Renato Botelho
e5a27e16bf Fix typo 2013-03-19 17:01:20 -03:00
Ermal
b8ded12521 Use full patch 2013-03-19 19:57:36 +00:00
Ermal
9b6010ffc5 Run rtsold only for one reply since it will spam with dhcp6c processes otherwise. Also remove ambiguity by using curlies in functions 2013-03-19 19:56:55 +00:00
jim-p
10e000f7d1 Fix missed ; 2013-03-19 15:03:06 -04:00
Renato Botelho
46e27ea790 Respect 'States' option from Advanced/Misc
- Respect this option and do not clean states when it's configured
- Create /etc/rc.kill_states to be easier to check $config

It helps ticket #2887
2013-03-19 15:36:53 -03:00
Ermal
1af4f4e022 Bring down even rtsold process 2013-03-19 16:28:06 +00:00
Ermal
673c2f8b82 Actually enforce for not dhcp6 interfaces 2013-03-19 16:23:18 +00:00
Ermal
fa5bf66fc5 Relax after bootup enforcement since its not needed anymore 2013-03-19 16:21:44 +00:00
Ermal
29f2f07a66 The workflow is rtsold calls dhcp6c which calls rc.newwanipv6 to make the configuration more consistent 2013-03-19 16:21:44 +00:00
smos
145cc5181c Fix the Cellular strength indicator, rssi was always reporting 8 because we didn't use the variable.
The dBm values array was reversed, corrected
2013-03-19 13:47:18 +01:00
Ermal
7fd67662b4 Do not run this during startup since it will be called anyhow 2013-03-19 13:52:26 +00:00
Ermal
961a0fa5a9 Use propper variable for is_ipaddrv6 test 2013-03-19 13:16:41 +00:00
Ermal
64f89bfa53 Correct typo that prevents dhcpv6 to generate proper subnet info. Also use already caluclated variable 2013-03-19 13:14:46 +00:00
Renato Botelho
7488a9e09f Fix whitespace and indent 2013-03-19 09:23:39 -03:00
Ermal
a56d8b08b2 Initialize array 2013-03-19 11:56:04 +00:00
Ermal
f7f2778024 Remove not used call 2013-03-19 11:55:34 +00:00
Ermal
c55a0f0c52 Do not do useless work before needed 2013-03-19 11:55:13 +00:00
Ermal
deb39cf2be When reconfiguring interfaces with dhcp types set try to kill any previous dhcp process of the interface already running 2013-03-19 11:15:37 +00:00
Ermal
bd66cf325a Do not cleanup states on this call 2013-03-19 11:10:03 +00:00
Ermal
03bfe2ade1 Define bogon tables where they should be 2013-03-19 09:59:19 +00:00
Ermal
24cdea2f1e Use proper interface for reply-to in case of 6rd/6to4 2013-03-19 09:53:59 +00:00
Ermal
ff5674dc1d Remove useless function calls 2013-03-18 16:11:12 +00:00
Ermal
da9dd1b4d8 Unset the ip from the cache to retrieve the right ip 2013-03-18 16:01:27 +00:00
Ermal
6fb667365d Correct get_interface_subnetv6 and use get_interface_ipv6 during dhcp config generation. Also initialize some arrays to avoid warnings 2013-03-18 15:54:17 +00:00
Ermal
e9d156fd1b If gatway is dynamic the type cannot be determined, trim the code trying to do something impossible. While here optimize a bit 2013-03-18 15:28:38 +00:00
Ermal
909de4007e Try to remove as much as possible _stf special case through the code 2013-03-18 14:55:26 +00:00
Ermal
6e46ff8670 Do a check of interface existing 2013-03-18 14:40:50 +00:00
Ermal
1b2f460adc Use the new functionality on get_real_interface to get the _stf interface when needed 2013-03-18 14:38:50 +00:00
Ermal
b6c1f22fd8 Use get_interface_ipv6 on rc.newwanipv6 to and teach it to flush the cache on optional parameter. Also teach get_real_interface about the tedios ipv6 tunnel interfaces and return them when ipv6 family is specified 2013-03-18 14:36:03 +00:00
Renato Botelho
f6461410c2 Avoid trying to remove an invalid IP 2013-03-18 10:32:30 -03:00
Ermal
67864df7bb Properly tune rc.linkup for dual stack 2013-03-18 11:18:04 +00:00
Ermal
1d66a364aa Handle _stf interface in convertion from real to friendly. Also do no cal lpfSense_module function if not used 2013-03-18 10:41:21 +00:00
Renato Botelho
6a69bc65a8 Use realif on dhcp6 pid filename since find_dhcp6c_process() looks for it and cannot kill it 2013-03-16 11:47:09 -03:00
Jim P
628a5dc927 Merge pull request #483 from N0YB/System_Firewall_Logs_Filtering
System Firewall Log Filtering by Fields
2013-03-15 06:40:43 -07:00