split is deprecated move to explode
Fix lineup of copyright lines
and module names and other bits of formatting and typos in headercomment sections.
Welcome 2015
Change copyright statement to reflect reality
fix ping_hosts.sh to not ping IPsec if CARP is in backup
Mark host as up or down before execute script, then script can use this information.
Submitted by: Jean Debogue <jean@wedebugyou.com>
Get rid of embedded platform. Its time to GC this
Start using filterlog
Remove another unused script
When WANTIME is empty, there is nothing to do here
test only does integer comparison, use bc to compare float
Save status even if no script is executed
On first run REVIOUSSTATUS doesn't exist, so it cannot be UP or DOWN, invert the logic to fix this. While I'm here, check if file exists before cat it
Fix CP stats generation for concurrent users. Fixes #3225
Fix #3113, fix multiple english spell errors s/seperet/separat/
Fix exec perms on mail.php
Add a simple CLI mail script capable of sending an SMTP message using echo/piped input, e.g. ifconfig -a | mail.php -s"ifconfig output"
Revert "Merge pull request #417 from miken32/cp-database-fix"
It breaks customizations, it's not a good time for such big change.
This reverts commit 40c7b1a98bfdc61261154adaac5fdefc234ecb08, reversingchanges made to d896f86751bae79625197da6c80d709fdf185448.
use associative array for captive portal to prevent confusion, messiness, and abuse
Adjust RRD captive portal graphs for CP zones
- Create RRD configs per zone- Add tabs to see graphs per zone- Migrate existing rrd files to default cpZone- While I'm here, call unset() for $rrdcreate and $rrdupdatesh
Resolves #2655
Fix indent and whitespaces
Disable Execution timeout for this script.
Round off the values.
Convert the Bytes per Second into kilobits per second like the status page says
Add more fields to the 3g stats
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 = HSDPAI need to find some proper documentation, really.
Initialize the statistics, also parse on MODE messages
Make sure to bail the stats script if we can not open the modem device.
Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global.
Include TCP flags in CLI filter parser output (if present)
Merge pull request #53 from jeandebogue/patch-1
Move the echo "UP|DOWN" earlier
No need for extra function and touching of file, just set the value and use grep from XML to determine to beep or not
Option to disable startup/shutdown sounds
Remove the -S $SRCIP to ping and added a timeout.
Update usr/local/bin/ping_hosts.sh
Revert "Remove the -S $SRCIP to ping and added a timeout."
This is functionality that can not be removed to properly keep VPN tunnels alive.
This reverts commit d4e37b2edd51ccc39e5d6f912d8079b3d447ee7b.
Allow using subnets and special nets in the CLI version of easyrule
Fix help text
Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets theinitial config. Most of the pfSense functionality will not work(pf rules, routing, etc) but it can be used for testing.
Merge remote branch 'upstream/master'
Ensure that $timestamp is only ever written out if it contains a value and let file be retained through reboots.
Swap if statement, add fields into ipsecpinghosts file
Add field 8 for address family
at least don't touch rrd here, that rrd won't exist anyway
Revert "the only thing ping_hosts.sh is used for is pinging IPsec hosts. comment out all this complexity that makes it do way more than it needs to (and was throwing an error on rrd, it shouldn't be touching rrd)" this is used by at least the DNS server pkg...
the only thing ping_hosts.sh is used for is pinging IPsec hosts. comment out all this complexity that makes it do way more than it needs to (and was throwing an error on rrd, it shouldn't be touching rrd)
Added Captive Portal RRD graphs, there are two graphs one for the number of logged in users since last rrd poll, and concurrent number of users logged in.
Use grep -c instead of wc and awk. Also use full paths.
Eliminate a cat-to-grep
Move this function to allow removing it from easyrule.
Do not run anymore the cron job for monitoring check_reload_status since it has a monitoring process that does this through kqueue.
Fix permissions.
Refactor the Easy Rule code a bit. Add a CLI version.
Fix double printing of log entries
ping_hosts.sh is no more in /etc. Remove some unneeded lines.
Set executable
Move two include files to /etc/inc instead of leaving them in the www dir. Move filterparser.php to /usr/local/bin since it's not meant to be used from the web interface.
this is super annoying in VMware, exit if running in VMware
Add shortcut command for manual config editing
Move ping_hosts.sh to usr/local/bin
Correctly deterimine if /boot/loader.conf exists.
Only process /boot/loader.conf if it exists avoiding asomehwhat ugly looking error on cdrom boot.
remove unnecessary grep
Ticket #1573
Detect vmware and embedded platforms and lower the note durationautomatically.
Correct script checks.
Change the beep duration /4 when the platform is embedded or we detect that the kern.hz has been altered in /boot/loader.conf.
Slow down the pipe even more
Fix loading and reloading config for IPSEC.MFC: Possible candidate, works for seth. Needs test.
Catch checkreload.sh back up to check_reload_status changes.
Add check_reload_status checker script to ensure that it is always running.
Prior attempts to restart from filter.inc lead to socket descriptor inheriting strangeness.
Output MSNTP to syslog so we can see whats happening underneat the hood.
Use awk
Add kill ghosts script
Check for /dev/speaker using -c
Wrap beep script in a check for /dev/speaker
Full path to beep
Requested-by: The Mob (support@)
Sleep 60 seconds in between calls to msntp incase the connection isnot up.
This should fix Ticket #82
Initial revision