Project

General

Profile

Download (21 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
6c101e32 11/25/2014 04:55 PM Jim Pingle

s/Unbound DNS Forwarder/Unbound DNS Resolver/ to be consistent with other wording in the GUI

a8604dc6 11/24/2014 04:29 AM Phil Davis

Process unbound start from status services

This was missing, so nothing happened when the user tried to start Unbound from Status->Services

397e40d5 09/09/2014 08:50 PM Renato Botelho

find_dhclient_process() returns an int, not string

762e8cf9 08/08/2014 04:24 PM Jim Pingle

Avoid a "Cannot use string offset as an array" error if the packages section of the config is missing.

2f9951fe 06/06/2014 02:48 PM Renato Botelho

Add some protection to parameters that come through _GET

e381cc01 05/09/2014 03:01 PM Ermal LUÇI

Show proper status for ipsec

6f931ad2 04/22/2014 06:10 PM Phil Davis

Make sure /usr/local/etc/rc.d exists

On 2.2-ALPHA (i386)built on Mon Apr 21 13:01:11 CDT 2014 (for example) there was /usr/local/etc but not /usr/local/etc/rc.d - when I tried to install bandwidthd, that called write_rcfile() which failed because /usr/local/etc/rc.d did not already exist....

5e5c72be 04/17/2014 12:21 PM Frank Wall

support symlinked RC scripts from PBI packages

8b4abd59 03/12/2014 06:48 PM Ermal LUÇI

More removal of racoon from referenced in sources

873c1701 02/04/2014 02:34 PM Renato Botelho

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

33232486 01/29/2014 11:26 AM Warren Baker

Add Unbound to the services list

b4d772dc 01/20/2014 06:59 PM Ermal Luçi

Correct this i thought i already did. Thanks-to: Phil Davis for spotting

44b19298 01/20/2014 03:00 PM Ermal LUÇI
  • Do not call stop service in the start command.
  • Add some more checks into the functions to avoid errors
  • Also silence some output that can cause issues
aaa78416 12/27/2013 06:10 PM Jim Pingle

Add sshd service to list (if enabled)

17b8c60a 11/14/2013 01:44 PM Colin Fleming

Tidy up the "Helper Icons"

The "Helper Icons" at the top right of some service pages at present
produces 30+ HTML errors/warnings, this is due to the table cell being
wrapped in a span statement then in a div statement, table cells can
only be part of a table row then within a table statement....

aed00539 08/28/2013 01:00 PM Jim Pingle

Support the names used by the status page as well as those used internally by service entries.

b05a8f35 08/06/2013 08:38 PM Jim Pingle

Show apinger as a service when active, and display its status on gateway-related pages.

4701c8de 07/14/2013 04:15 PM Phil Davis

Correctly decide if dhcrelay is enabled

9590e0de 07/13/2013 04:18 PM Phil Davis

Teach service start stop restart about dhcrelay6

18725085 04/26/2013 07:33 AM Ermal LUÇI

Correct checking status of vhosts-http as submitted by: http://forum.pfsense.org/index.php/topic,61636.0.html

20202629 04/03/2013 08:15 AM phildd

Disabled package is also indicated by enable blank

9d7204aa 04/01/2013 03:40 PM Renato Botelho

Consider packages that set enable to 'false' or 'off'

ccfc0269 04/01/2013 02:26 AM phildd

Check for disabled services when displaying service lists

ab1cf455 03/22/2013 06:05 PM Jim Pingle

Add PHP shell playback script to control services from the command line (works like Status > Services)

ee6e6011 03/22/2013 04:44 PM Jim Pingle

Move these service control functions into service-utils.inc so they may be re-used.

bb877f44 03/05/2013 06:56 PM Colin Fleming

Tidy up "services" widget XHTML

Added ALT to img tags
Closed off IMG tags
Deprecated the ampersand in HREF tag
Added summary to table tags
Moved nowrap to class definition
Tidied up the CDATA section in scripts.

17098641 01/03/2013 10:25 AM Ermal LUÇI

Make is_pid_running function return more conisten results by using isvalidpid

d71fc5d3 08/14/2012 06:35 PM Jim Pingle

More shortcuts

36d1c798 08/13/2012 04:19 PM Jim Pingle

Refine the formatting of the service status icon a bit depending on its context.

d583aa71 08/13/2012 01:15 PM Jim Pingle

Add some safety belts.

7f4a7998 08/11/2012 06:46 PM Jim Pingle

Add/use some more similarly styled icons here, for a more consistent look.

6d9b1074 08/10/2012 07:30 PM Jim Pingle

Fixup openvpn shortcut bar status/control

92421710 08/10/2012 06:05 PM Jim Pingle

Give status icon a title/tooltip

f4daf025 08/10/2012 05:58 PM Jim Pingle

Print service title in tooltip for shortcut bar

76692ad2 08/10/2012 03:48 PM Jim Pingle

Start revamp of shortcuts, central file to hold links, also service status/control, added to dns forwarder as example.

1b462831 08/10/2012 03:32 PM Jim Pingle

Fixup output formatting

e48cdc01 08/10/2012 02:58 PM Jim Pingle

Consolodate a bunch of duplicate service status code

e9d66ed4 08/07/2012 10:27 AM phildd

Change rcfileprefix to a constant

6ae78f08 05/07/2012 03:53 PM Marcello Silva Coutinho

Stop service needs to wait process to be stopped before trying to restart/start it.

b27ade8e 05/17/2011 10:19 PM Ermal LUÇI

Test for null names passed to these functions as a safety precaution.

8bf2e9e5 05/17/2011 10:08 PM Ermal LUÇI

Test for null names passed to these functions as a safety precaution.

098820e2 05/17/2011 09:47 PM Ermal LUÇI

Ticket #1534. Check if a rc file exists before trying to run it. Also return if we execute a stop command through rc file to be consistent with the start_service function.

05c4bfa0 03/01/2011 11:40 PM Ermal LUÇI

Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.

9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

4dddf8c3 10/10/2010 01:12 PM Warren Baker

Cosmetic change from product_website to product_name

aeebce1b 10/06/2010 04:18 AM Erik Fonnesbeck

Use mwexec_bg instead of exec to run a service's start command so PHP doesn't hang in the likely event that it spawns a background process.

af799b48 09/20/2010 03:58 PM Renato Botelho

Fix write_rcfile() declaring $rcfileprefix as global and touching rcfile before check if it is writable

22d323b3 09/08/2010 04:06 AM Erik Fonnesbeck

Fix variable name typo in status_services.php and fix return value of is_pid_running. Fixes #877

319cbd5e 08/31/2010 07:11 PM Ermal LUÇI

Correct binaries and find_dhclient_process

c2151973 08/31/2010 07:03 PM Ermal LUÇI

$g is needed here.

ba8495f0 08/31/2010 07:01 PM Ermal LUÇI

Ticket #485. Correct code and use pkill/pgrep to match or kill process. Since these utilities know how to handle pidfiles and exact matches on process names.

246a887a 08/31/2010 05:55 PM Ermal LUÇI

Bring up openvpn up to speed and try to bring this file near to useful/readable.

6661ea25 03/12/2010 12:28 AM Andrew Thompson

Use procatat instead of ps as the latter always prints a header, also
use full paths.

cae1b7db 03/12/2010 12:18 AM Andrew Thompson

'\b' is not the word boundary on BSD, its actually '[[:<:]]' and '[[:>:]]',
change these functions to use better syntax and not grep at all.

99f98b80 12/03/2009 04:25 AM Scott Ullrich

Check to see if processes are running before killing

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

6dc3a5c2 04/26/2009 01:47 PM Ermal Luçi
  • Move other functions around to where it makes sense.
  • Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed.
    Some more analysis is needed on the include path
c2d49311 03/11/2009 10:05 PM Eirik Oeverby

Added custom_php_service_status_command support for packages.

Package authors can define a
custom_php_service_status_command
block in their package XML. Such block should only contain function
calls, and the first should be one to include their function library...

f2a5b5e4 03/10/2009 02:14 AM Chris Buechler

Fix display of DHCP status on Status -> Interfaces

36d0358b 12/16/2007 08:43 PM Scott Ullrich

Add product_copyright re-branding support
Add product_copyright_years re-branding support
Add product_website re-branding support
Add product_email re-branding support

Work sponsored-by: Centipede Networks

2cd5c340 06/21/2007 01:07 PM Timo Boettcher

remove part of solution of problem solved elsewhere

cd72ded3 06/21/2007 01:01 PM Timo Boettcher

Make OpenVPN usable in status_service.php

ca88e48f 12/23/2006 12:00 AM Scott Ullrich
  • Fix release / renew
  • Don't return immediately from dhclient to give it time to associate so we can return correct address back to status_interfaces.php
fda8dc28 12/22/2006 04:55 PM Seth Mos

Fix DHCP status on status_interfaces.php. Use find_dhclient_process() for test.

f80f3194 11/19/2006 06:55 PM Scott Ullrich

MFC 15382
fix: is_process_running() does inaccurate matches

34f7437f 09/30/2006 01:47 AM Scott Ullrich

Correctly start services from /usr/local/etc/rc.d/ first before any other method

4685e464 09/30/2006 01:44 AM Scott Ullrich

Correctly start services from /usr/local/etc/rc.d/ first before any other method

5b67f7ac 05/30/2006 07:50 PM Scott Ullrich

MFC 12461
"\t0\n" > 0, therefore is_process_running always returned 1. Btw, now it returns true or false, cause I don't see how it could be any different. Should just work now.

0e16b9ca 04/08/2006 02:04 AM Scott Ullrich

We're in 2006 now, toto

b39dc701 03/10/2006 11:01 PM Scott Ullrich

If we cannot find a service executable for an item and we make it to the bottom of stop_service() then simply killall service name

a4ea3340 01/30/2006 03:23 AM Scott Ullrich

Do one command or the other

2fc057fd 01/30/2006 03:21 AM Scott Ullrich

Correctly detect start script

c19a49e0 01/30/2006 03:20 AM Scott Ullrich

Correctly detect start script

ff074bf9 01/18/2006 09:05 PM Scott Ullrich

Remove trailing newline

6a3464b7 11/13/2005 12:13 AM Scott Ullrich

Use ps awux

c2b6723a 10/23/2005 05:36 PM Scott Ullrich

MFC 7080 7084
Minor cleanup and comment out old $ps code for the time being.
Fix backwards comment.

2523de53 10/07/2005 11:57 PM Scott Ullrich

Make sure service is stopped before starting

Ticket #590

8ff8520f 08/12/2005 09:59 PM Scott Ullrich
  • Add is_dhcp_running()
  • Modify status_interfaces.php to use is_dhcp_running()
d96e7a05 08/06/2005 11:17 PM Colin Smith

is_process_running(): * grep -v grep * 2 -> 0

25d3fbd5 07/30/2005 11:01 PM Scott Ullrich
  • Add ascii art from holger
  • Add base services to status -> services menu
0661a033 07/19/2005 07:49 AM Colin Smith

Add restart_service_if_running.

d1a87413 07/06/2005 07:20 PM Scott Ullrich

Comment cleanup

669e1adb 07/04/2005 09:00 PM Bill Marquette

Various code cleanups and a few actual bugfixes courtesy of Zend

8f24e17c 06/28/2005 12:43 AM Colin Smith

Add suggested fix for is_process_running(), which seems broken.

a8dbad89 06/26/2005 07:29 AM Colin Smith

Whoops. Don't forget to merge.

636ab238 06/26/2005 07:24 AM Colin Smith

Typos.

58f8fb10 06/26/2005 04:27 AM Colin Smith

Make *_service less picky.

1f846058 06/26/2005 03:57 AM Colin Smith

Revert is_service_running to rev 1.10.

1c4ec345 06/26/2005 02:59 AM Scott Ullrich

Comment cleanups

35916668 06/25/2005 11:14 PM Scott Ullrich

add a comment that if you change this function, ill kill ya.

750ad167 06/25/2005 11:07 PM Scott Ullrich

Really make is_process_running() work as it should for the frickin 5th time.

4c943221 06/25/2005 11:06 PM Scott Ullrich

Make is_process_running() work as it should for the frickin 5th time.

fbeb6d02 06/24/2005 12:33 AM Colin Smith

Move the actual ps component of is_service_running into is_process_running.

815af8fb 06/22/2005 07:34 PM Colin Smith

ps a -> ps ax

b9083801 06/22/2005 07:13 PM Colin Smith

We need to start services in the background to prevent blocking.

58826c73 06/22/2005 04:25 AM Colin Smith

More fixes.

a93f79c1 06/22/2005 04:22 AM Colin Smith

Fixes and updates.

ec4e071a 06/22/2005 03:46 AM Colin Smith

Add is_service_running.

dc312bf5 06/22/2005 03:32 AM Colin Smith

Add executable.

1ffc911a 06/22/2005 03:29 AM Colin Smith

Clean up restart_service.