Projet

Général

Profil

Télécharger (82,6 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / etc / inc / pfsense-utils.inc @ 26d060bc

# Date Auteur Commentaire
26d060bc 30 avril 2014 08:46 Ermal

Merge the patch suggested in Ticket #3629. It also Fixes #3629. The question is why this is using config lock? Also where is filter configure called here?

928dc66a 18 avril 2014 17:24 Ermal

Be smarter at using kenv

a02fa5ec 28 mars 2014 22:34 Ermal

Do not use the version_kernel ad version_base files since they are not relevant anyway

000a8d1d 25 mars 2014 18:44 Renato Botelho

Change default charset on pages to utf-8

3fe73243 13 mars 2014 21:58 PiBa-NL

fix plugin method for packages to allow for multiple plugins in an 'item' array as 'plugin' is not allowed as array item by xmlparse.inc

1b92cc61 13 mars 2014 08:43 Chris Buechler

use xmlrpcbaseurl here too, not product_website

f5e09d92 13 mars 2014 08:18 Chris Buechler

we actually use xmlrpcbaseurl here, not product_website

331166a8 12 mars 2014 15:48 PiBa-NL

-renamed function to pkg_call_plugins
-added is_array()
-added function header text
-replaced fixed 'plugin_carp' by $plugin_type to allow for generic use

eaee3af6 12 mars 2014 00:31 PiBa-NL

rc.carpmaster/rc.carpbackup notification method for packages.

e09da6c2 19 février 2014 13:26 Renato Botelho

Fix #3469

Before downloading file to process urltable, there is a random wait
time between 5 and 60 seconds. Because of this, the difference between
file mtime and current time can be less than $freq * 86400 and it'll be
skipped. Add 90 seconds (60 of max random wait + 30 just to be sure) to...

bf4e62ac 14 février 2014 17:03 jim-p

Add a knob to let the user select which console (video or serial) is preferred in cases where there are multiple consoles present. Also provide a way to force this preference.

407fbf45 14 février 2014 15:58 jim-p

Add a mechanism by which the serial port can be forced on always regardless of the config setting. (useful for nano+vga setups)

873c1701 04 février 2014 15:34 Renato Botelho

Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir

1d9b51c6 04 février 2014 15:34 Renato Botelho

Add path for sysctl, also use -n param instead of awk

306f8556 04 février 2014 15:34 Renato Botelho

Simplify logic

54597012 21 janvier 2014 19:49 Renato Botelho

Replace regex by explode as suggested by Ermal

770a7759 20 janvier 2014 13:53 Renato Botelho

Fix FreeBSD version detection for 10.x

0c21eb70 06 décembre 2013 20:16 Ermal

Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.

b6877e06 05 décembre 2013 11:51 Ermal

Handle more carp enahancements for FreeBSD 10. the interface vips will be names $if@$vhid since the interface name is the same as other ips.

7238e0cf 28 novembre 2013 19:36 Ermal

Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code

df0cb10b 29 août 2013 09:09 Phil Davis

Provide get_uptime_sec in a common include file

so it is available to anything that cares.

386758bb 28 août 2013 22:09 Phil Davis

Use hw.physmem when calculating pfsense_default_state_size

hw.physmem is the actual amount of memory that FreeBSD/pfSense can get its hands on, so use this for the calculation.

5aa68a55 28 juillet 2013 15:31 Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

dd042c51 08 juillet 2013 17:38 Renato Botelho

Implement URL Table aliases for ports instead of IP addresses

76590ffe 05 juillet 2013 13:47 Renato Botelho

Use download_file() and check ssl certificates

abc7b6a2 05 juillet 2013 13:47 Renato Botelho

Remove useless code

ffd7802a 05 juillet 2013 13:47 Renato Botelho

Create a function to download a file using curl

0a860dda 30 mai 2013 09:40 Ermal Luçi

Merge pull request #628 from technical50/master

WebGUI Auto Codeset and Language Dynamics & pfSense.pot updates

aa57f965 27 mai 2013 13:28 Renato Botelho

Last element is always empty, be sure we drop it

2d0c5e3e 27 mai 2013 12:03 Renato Botelho

Make add_hostname_to_watch return ips it's adding to later use

c96e71d1 15 mai 2013 17:53 Renato Botelho

Fix indent and whitespace

046b8ba6 15 mai 2013 17:53 Renato Botelho

Fix comment to reflect what function current returns

f079b676 10 mai 2013 09:32 technical50

Include Codeset and turkish language

include codeset and turkish language for next snapshots

41c64d75 09 mai 2013 16:58 Renato Botelho

Revert "Add Turkish to the list of available languages, fixes #2986"

Will be done again for 2.2

This reverts commit 705950edbc09270fccbec0c5d8dd99b004704c6e.

705950ed 08 mai 2013 13:44 Renato Botelho

Add Turkish to the list of available languages, fixes #2986

58897b8c 26 avril 2013 10:35 Warren Baker

Fix isvm check to match on product

6bd86189 11 avril 2013 13:02 rbgarga

Merge pull request #466 from stilez/master

Fix issue in version_compare that can cause versions to be wrongly marked incompatible

6e4e6286 03 avril 2013 18:27 Colin Fleming

Tidy up "pfsense-utils.inc" XHTML

Add type to SCRIPT tag
Add CDATA section to SCRIPT tags

3d74b803 29 mars 2013 16:58 jim-p

Use is_module_loaded() to test these to avoid code duplication.

733c6f89 20 mars 2013 21:41 Ermal

The default gateway for 6rd type is $prefix|$wanv4::$wanv4gw. Also add support for variable length v4 prefix for 6rd

145cc518 19 mars 2013 13:47 smos

Fix the Cellular strength indicator, rssi was always reporting 8 because we didn't use the variable.
The dBm values array was reversed, corrected

f8c8d65c 06 mars 2013 20:05 Stilez

Fix issue in version_compare that can cause versions to be wrongly marked incompatible

1a8c81e7 06 mars 2013 19:27 Stilez

version_compare_dates(): typo $$a

ba6a4606 06 mars 2013 18:58 jim-p

Fix doubled $

2c98a935 21 février 2013 12:19 Renato Botelho

Teach is_ipaddr_configured to check ipv6 for single IPs. While I'm here, reduce code duplication

4021ec36 18 février 2013 22:10 Renato Botelho

CARP IPs were being checked twice in some cases. Fixes #2823

1e5da31d 14 février 2013 08:46 Ermal

Also do checks for ipv6 on is_ipaddr_configured

a1e4e2a7 13 février 2013 23:40 Ermal

Two interfaces, carp, ip aliases might be on the same subnet as their parent. What needs to be checked is the ip itself

e6c60013 11 février 2013 21:35 Renato Botelho

Check interfaces and VIP IP address overlap

- Check if interface IP overlaps other interfaces or localip from mpd
based services
- Check if VIPs IP overlaps interfaces or other VIPs address

It fixes #1723

48126e25 01 février 2013 17:02 Renato Botelho

Avoid duplicate hw.usb_no_pf entry on loader.conf

25c088de 01 février 2013 16:57 Renato Botelho

Hide usbus# from interfaces list. Fixes #2306

7a04cd20 31 janvier 2013 12:07 Ermal

Create link_interface_to_track6 to make code more readble and easily trackble. Also improve the generation of rules to avoid creating problems during filter reload and some optimizations with it

a1613b62 30 janvier 2013 20:08 Renato Botelho

is_ipaddr_configured() now returns VIPS

2bbc5429 30 janvier 2013 20:08 Renato Botelho

Fix indent

5fa78adc 30 janvier 2013 20:08 Renato Botelho

Fix whitespaces and indent

ab873ccd 27 janvier 2013 16:52 Ermal

Catch up with code change. Pointy-hat: myself

abdd01f5 26 janvier 2013 12:59 Ermal

Correctly generate dhcpleases file to avoid issues with dhcpleases. Also while here correct code and make some optiomizations and corrections

5f921566 17 janvier 2013 17:15 Renato Botelho

Revert part of 0ff214f27d that was committed accidentally

0ff214f2 17 janvier 2013 12:31 Renato Botelho

Preserve "Idle timeout" parameter on interfaces gui. It fixes a problem pointed out on ticket #2641

76a7d8e4 16 janvier 2013 14:29 Ermal

Merge git pull request 313 from bcyrill with some modifications

e9ab2ddb 06 janvier 2013 10:20 smos

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

91117d33 04 janvier 2013 09:34 Ermal

Remove unused function

4111fcf5 03 janvier 2013 23:50 Ermal

Always commit the session fast to allow other consumers to proceed to their requests. This unbreaks now the lock up the GUI had allowing only one action from same source per time. Now even if you run a command that blocks indefinitely for example the GUI want lock anymore but allow you to proceed to other actions

adc0f2fe 03 janvier 2013 08:02 Phil Davis

Minimise rewriting of /etc/gettytab

See forum http://forum.pfsense.org/index.php/topic,57325.0.html
Avoid possible problems with having a partial /etc/gettytab file by not rewriting it at every boot.

4bdfa5dd 22 novembre 2012 13:46 Phil Davis

Fix in/out packet count reporting

There were a couple of wrong var names in the code, causing out packet counts to be reported wrong.
Should fix forum post http://forum.pfsense.org/index.php/topic,55933.0.html

a3da8f50 12 novembre 2012 10:53 Ermal

Send just line return rather than newline

b16d666d 05 septembre 2012 20:52 jim-p

No need for these other lines on nanobsd, and it can interfere with booting on some devices.

4c9e22b9 04 septembre 2012 22:38 jim-p

Add another test here for Nano+VGA to preserve the console selection.

2ef16014 27 août 2012 16:25 bcyrill

Fix bug reported in http://forum.pfsense.org/index.php/topic,53000.0.html

e961bd67 26 août 2012 21:36 phildd

Tidy console package install progress percentage

This makes the file download percentage progress come out at the end of the line. New values are updated by using backspaces to rub out the previous value.

8c4ac110 13 août 2012 18:54 Warren Baker

Remove comments which may begin with a ';' so URL Table entries like SpamHaus' drop list can be used

82acb8b3 03 août 2012 06:45 Phil Davis

Minor fix to percentage output on pkg install

A variable not changed in a cut-paste.
When on console, update_progress_bar should also only be called for 1-9 then every 10% progress, to reduce serial output volume.

2a315bee 02 août 2012 10:01 Phil Davis

Tidy up percentage logging to console

When on the console, the code only intended to update the percentage downloaded every 10%. Due to string-and-int type differences, the test was not working, all percentages were being logged. This is fixed.
Also, add a newline after 100% - then whatever outputs next gets a clean start on a new line of output....

03b2cab6 01 août 2012 12:40 Ermal

To not clobber the console add \r when outputing status information on console

37bc0466 27 juillet 2012 05:08 Chris Buechler

99./8 is not private IP space

8b1a7023 27 juillet 2012 04:43 smos

Add the new 100.64/10 nat 444 CGN/LSN shared transition space netblock here. Also add it as a private network in the private network block

baef6be8 08 juillet 2012 19:32 jim-p

Be more verbose during upgrade to see why nanobsd isn't carrying over the setting as expected.

a94c4e1f 07 juillet 2012 02:18 Vinicius Coque

Move locale files from /usr/share to /usr/local/share

f60156f6 06 juillet 2012 20:38 jim-p

Add an option to System > Advanced, misc tab to enable loading thermal modules (amdtemp, coretemp)

409bc1bd 06 juillet 2012 18:29 jim-p

Fixup serial console settings that get applied to nanobsd. Fixes #2484

41fe9ef0 30 juin 2012 15:11 ccesario

Change ereg_replace() to preg_replace() function

72c59dd8 30 juin 2012 14:59 ccesario

Change ereg() to preg_match() function

2e2eb012 18 juin 2012 02:20 Vinicius Coque

Brazilian Portuguese (pt_BR) translations added

0ed8d746 15 juin 2012 15:13 bcyrill

Add radvd to Status:Services #2485

7530177c 12 juin 2012 21:10 jim-p

Generalize the Crypto hardware option and add GUI support for AES-NI.

3e662cb0 07 juin 2012 10:51 Ermal

Get rid of carpdev, it will never be

4adf752c 02 juin 2012 16:25 smos

Add statistic functions for the ZTE modems

84aea606 29 mai 2012 16:51 jim-p

Add a knob to tune the maximum number of tables that can be defined, the pf default of 1000 is too low for systems with >500 aliases.

Conflicts:

etc/inc/filter.inc
e313da37 23 mai 2012 18:00 smos

Be a bit smarter about the stats interface for the huawei cards. Some of the K series have the stats on 0.2, the E series on 0.3
Some of the older E series only have 0.2 too. The new K3770 I got today is too new.

d23e157a 23 mai 2012 17:14 smos

Add more functions and expand the 3G status interfaces screen.
List the SIM state, service, speeds and mode

99f95f7d 23 mai 2012 12:15 smos

Add the 3G mode display, really needs a function that translates these into sane display numbers for strength and mode.
The mode is actually a combination of LED color 4 = blue(idle), 5 = cyan(connected), and submode 7 = HSDPA
I need to find some proper documentation, really.

852171dd 21 mai 2012 15:35 smos

Read in the correct interface file

5e589685 21 mai 2012 15:31 smos

Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global.

8dcca9b5 17 mai 2012 23:32 Darren Embry

- also rename $section arg to $section_name in some functions to clarify

- also robustify parsing for <tagname> and bulletproof the handling of
certain errors

86c707f3 13 avril 2012 20:10 Darren Embry

quiet change: fix indentation of xml2array function

i.e., tabs instead of 4 spaces

8b198c64 08 avril 2012 20:36 smos

Prevent duplicate 6rd or 6to4 interfaces, these conflict and both use the stf0 adapter. Only 1 can be active.
Move piece of code into function, we need it more places, tighten rules for proto 41 traffic.
Attempt to micro optimize the select box for large amounts of choices. Chrome likes this approach better.

a6610d82 03 avril 2012 10:27 smos

Automatically configure DHCPv6 servers for interfaces set to track6 another WAN.
If the prefix length permits it we setup DHPP-PD for the LAN clients so it can be daisy chained.

20a7cb15 31 mars 2012 20:41 smos

Add interface tracking support. With this it is now possible for dynamic IPv6 interfaces to setup the corresponding lan interface for RA.
DHCP6 with prefix delegation to follow later for automatic daisychaining.

966f359e 12 mars 2012 17:26 Ermal

An empty file is created so that the table is availblke for rules refrencing it so mark it as successful.

4aa0979f 12 mars 2012 16:53 Ermal

Prevent ruleset breaking from grep putting garbage on urltable files and as a result creating unparsable files breaking rulesets