Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
04c528e7 09/15/2010 07:47 PM Ermal LUÇI

Ticket #876. Actually the event to send is interface newip $ip rather interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.

0c452870 09/15/2010 07:24 PM Ermal LUÇI

Reload dns and interface properly on dynamic types.

3d471a14 09/09/2010 05:25 PM Ermal LUÇI

Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

cfdf9444 09/06/2010 03:04 PM Ermal LUÇI

Delete previous route if present.

4e56c0b8 08/26/2010 04:57 PM Ermal LUÇI

Switch to the right values for openvpn 2.1 according to the documentation.

b439dc01 08/23/2010 03:52 PM Ermal LUÇI

Pass the new argumesnts to pfctl -b and correct variable name as reported on Ticket #8.

228aec46 08/23/2010 03:05 PM Ermal LUÇI

On ppp type interfaces down event signal for resolv.conf to be generated to have the latest dns servers. Ticket #838.

b20f7363 06/08/2010 12:06 AM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

ac7609c2 06/07/2010 08:55 PM Scott Ullrich

Binaries should not be in the git repo

906bf57a 06/07/2010 08:54 PM Scott Ullrich

Binaries should not be in the git repo

80b38739 06/07/2010 08:54 PM Scott Ullrich

Binaries should not be in the git repo

571f89a2 06/07/2010 08:53 PM Scott Ullrich

Binaries should be in the git repo

37df6d7b 05/12/2010 12:27 PM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

Conflicts:
etc/inc/upgrade_config.inc

8d964cea 05/07/2010 11:02 AM Ermal LUÇI

Add scpecific scripts for when ovpn goes up and down so we get neccessary values for used in varius areas of pfSense. TODO is find out how to get DNS info form openvpn.

6fcc9db6 05/02/2010 08:09 AM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

44d57a2b 05/02/2010 08:08 AM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

d123e3bd 05/02/2010 08:03 AM Marcus Brown

Make script files for getting ppp connection uptime executable.

05f3ffa4 04/30/2010 11:22 AM Ermal LUÇI

Ticket #8. Delete states after link fails down.

dc8c0740 04/21/2010 10:38 PM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

d32a40c1 04/12/2010 03:41 PM Marcus Brown

Revert changes as requested by Ermal

f64f0f20 04/12/2010 12:15 PM Marcus Brown

Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp

63292199 04/10/2010 03:07 PM Marcus Brown

Implement reporting and logging of historical PPP uptime with data persistent through reboot.

Also, change the way uptime is captured. The mpd console is no longer used to
get PPP uptime data, which will prevent spamming of PPP logs with console access messages....

fc5324e9 04/05/2010 11:26 AM Marcus Brown

more changes to mpd.script to make debugging easier.

29851d8e 04/05/2010 10:18 AM Marcus Brown

Added some more information to error messages for easier debugging.

5ca41f8b 03/28/2010 03:04 PM Marcus Brown

Don't need the rm -f statement when using > redirect to overwrite the
file, and add the "then" to the if statements

158b5cc3 03/28/2010 03:00 PM Marcus Brown

Fix mistakes (now using "call" instead of "goto") and add check to SIM PIN setting routine
so we don't have to set the pin every time if it's already set.

29533e50 03/27/2010 08:17 AM Ermal LUÇI

Be safer use the remote-ip address for adding route.

1f0ddd30 03/27/2010 08:09 AM Ermal LUÇI

Explicitly set the exit status of the script to not make mpd fail.

8f4f1e30 03/27/2010 08:02 AM Ermal LUÇI

Use full patch to command and fix route add command parameter is -iface and not -if.

9a4147d4 03/27/2010 07:18 AM Ermal LUÇI

Tell that the interface is down.

1a904779 03/26/2010 10:12 PM Marcus Brown

Fixed error in command to send the PIN to the SIM card. Missing double quotes.

9ebe7028 03/26/2010 10:12 PM Marcus Brown

I have PPP with mpd5 working really well now, including setting the APN and APN
Number, and the SIM PIN and wait time for the SIM to settle after the PIN is
entered.

Still no work on multilink PPP with serial port links.

Right now the code creates the mpd.secret file. I tested it using the set auth...

1f559885 03/23/2010 10:40 PM Ermal LUÇI

Actually its dns2 for the second entry.

1033de74 03/23/2010 09:13 PM Ermal LUÇI

Resolve problems with dns server setup when allow override is set. Also add static routes for all nameservers to be friendly with multiwan.

e788b01d 12/03/2009 02:06 AM Scott Ullrich

Add a few more commands for the lazy

f6907eb4 12/03/2009 02:03 AM Scott Ullrich

Add tab completion

8586a962 10/05/2009 05:20 PM Scott Ullrich

Automatically source common items so that config is in the eval() context

006e1787 05/17/2009 06:05 PM Ermal Luçi

Actually it needs an ip!

6660d316 05/12/2009 04:59 PM Ermal Luçi

Add the state killing for now on VPN's pppoe/pptp/l2tp when the link goes down. For the others some more thought is needed.

9befcca7 05/08/2009 07:20 PM Ermal Luçi

Fix a lock leaking on CP.

6849a176 12/08/2008 01:52 PM Ermal Luçi

Generate the {interface}up status file.

eb95ba84 11/23/2008 12:00 AM Scott Ullrich

Output welcome banner after globals.inc is required

4c1817bd 11/20/2008 01:25 AM Scott Ullrich

Turn off debugging text

88e46869 11/12/2008 07:42 PM Scott Ullrich
  • Use defined server from config.xml
  • Sleep for 5 seconds in between requests
b9e3a295 11/10/2008 04:12 AM Scott Ullrich

Use product_name

d271761b 11/09/2008 05:41 AM Scott Ullrich

Kill old ntpd process if it is around

9583064a 11/09/2008 03:11 AM Scott Ullrich

Sync

2e85f5ed 11/09/2008 02:51 AM Scott Ullrich

Add script that will keep trying to set the date time (for bootup) that
will run in the background to help speedup boot times.

bc8472b7 10/28/2008 07:52 PM Scott Ullrich

Adding custom grub-install

b87364eb 10/25/2008 02:37 PM Ermal Luçi

Fix issue reported on ticket #1825.

4c12ef0a 10/24/2008 12:32 AM Scott Ullrich

Break out item that can be its own function

28ec82f1 10/13/2008 10:49 PM Ermal Luçi

Actually apply fixes to the correct files.

5252f909 10/13/2008 10:43 PM Ermal Luçi

I always remember having done this long ago?!

8a7712ea 09/10/2008 07:59 PM Scott Ullrich

Require_once instead of require.

b1de6b8b 08/30/2008 07:13 AM Scott Ullrich

Show playback commands avaiable

6946d43d 08/15/2008 11:40 PM Scott Ullrich

Add a script to assist in removing all packages and or the package
configuration file from the command line.

cbe4111f 07/14/2008 09:12 PM Ermal Luçi

Add other needed files so everything works as expected.

da669e7f 06/18/2008 05:23 AM Seth Mos

Add apinger binary for gateway monitoring

9f2820d8 04/14/2008 05:31 PM Scott Ullrich
  • Fix help
  • Fix exit/quit
f42fa13f 01/31/2008 04:36 AM Scott Ullrich

Lower threshold to 86. Noticed a scenario where slbd was chewing up
roughtly 91% of the cpu.

e6d90778 01/07/2008 09:38 PM Scott Ullrich

Do not reset every hour. Wait until the process goes out of control.

1d47cc7a 11/25/2007 07:56 PM Chris Buechler

Really kill off slbd

Ticket #1533

e5b3e767 11/24/2007 05:02 AM Scott Ullrich

Remove extra C/R

47643f5b 11/23/2007 10:36 PM Scott Ullrich

Detect playback file not found when passed as argument. Example: pfSsh.php replay cvssync RELENG_1

96ebb0a6 11/23/2007 07:57 AM Scott Ullrich

Allow arguments to be passed to cvssync so you can do:

pfSsh.php playback cvssync RELENG_1

415c850d 11/23/2007 06:07 AM Scott Ullrich

Allow arguments to be passed to the pfSense php shell.

93a3d242 11/23/2007 04:03 AM Scott Ullrich

Bring us one step closer to being able to port cvs_sync.sh to pfSsh by adding multiline support. For example

00ea455f 11/22/2007 06:47 AM Scott Ullrich

Do not forget ; on php lines.

328ab0ae 11/22/2007 06:22 AM Scott Ullrich

Collect the help file into one variable and then pipe through more()

02105da4 11/22/2007 06:14 AM Scott Ullrich

Add recording related commands

60ff8601 11/22/2007 06:12 AM Scott Ullrich

Collect the help file into one variable and then pipe through more()

da30a386 11/22/2007 01:26 AM Scott Ullrich

Really cleanup c/r usage.

f9fd2b14 11/22/2007 01:04 AM Scott Ullrich
  • Fix ! commands (do not echo commands but execute as shell)
  • Fix grep commands in playback session for restart ftp helper
8c4c46c3 11/22/2007 12:32 AM Scott Ullrich

Add showrecordings command which will show available sessions for playback

a07fbc84 11/22/2007 12:09 AM Scott Ullrich

Teach pfSense's php shell how to record and playback a set of commands.

For instance you could automate a series of reptitive developer commands. For example:

pfSense shell: record restartftp
pfSense shell: = killall ftp-proxy
pfSense shell: system_start_ftp_helpers();...

34af0cab 11/22/2007 12:05 AM Scott Ullrich

Teach pfSense's php shell how to record and playback a set of commands.

For instance you could automate a series of reptitive developer commands. For example:

pfSense shell: record restartftp
pfSense shell: = killall ftp-proxy
pfSense shell: system_start_ftp_helpers();...

19886913 11/19/2007 08:38 PM Scott Ullrich

Add carriage return after outputting help screen

376807d7 11/19/2007 08:23 PM Scott Ullrich

Remove debugging echo

50fa05d1 11/19/2007 05:38 AM Scott Ullrich

Add pipe_cmd() function

7aa6eee6 11/19/2007 04:30 AM Scott Ullrich

Missed a c/r

7116ab7f 11/19/2007 04:30 AM Scott Ullrich
  • Allow shell commands to be executed if you proceed the command with =
  • Clean up carriage returns and make presentation look nicer
3d3be836 11/19/2007 03:23 AM Scott Ullrich

If readline is not included in PHP then fall back to normal boring text input methods.

cd8ca22f 11/19/2007 02:57 AM Scott Ullrich

Add second argument of more allowing control of when press Return is displayed

5003c48a 11/19/2007 02:52 AM Scott Ullrich

add more($text) function. With this function it will ask the person to press return after 24 rows of output. Good for stuff like this:

$temp = print_r($config, true);
more($temp);

ebe2951e 11/09/2007 02:09 AM Scott Ullrich

Add libreadline support for command histories.

Requested-by: CMB

1b8a2f5c 08/28/2007 07:19 PM Scott Ullrich

Set $pkg_interface='console'; in php shell.

b1d7bc01 06/27/2007 07:37 PM Scott Ullrich

Reset SLBD every 5 hours to avoid 100% cpu utilization

Ticket #1316

46d53988 05/03/2007 05:42 AM Scott Ullrich

Move help / common usage scenarios to the "help" command.

4fca174c 05/03/2007 04:51 AM Scott Ullrich

Show how to output the wireless options such as channels, modes, etc.

94e2459b 05/03/2007 04:17 AM Scott Ullrich

Clarify DHCP server comment

8ea3c329 05/03/2007 03:55 AM Scott Ullrich
  • Correct printr typo.
  • Show how to output the interfaces and dhcpd portions of the configuration
c64bccc0 05/03/2007 03:49 AM Scott Ullrich

Show the reboot command as well for php pfSense shell

Sponsored-by: Bluegrass.net

73b2c799 05/03/2007 03:38 AM Scott Ullrich

Minor text updates

2ae83127 05/03/2007 03:37 AM Scott Ullrich

Minor text updates

03b85ded 05/03/2007 03:32 AM Scott Ullrich

Show common commands in the php pfsense shell such as:

  • Enabling SSH
  • Enabling wireless on an interface (hostap, channel, ssid, etc)
  • Enabling DHCP Server on an interface
  • Disable firewall filter
  • Set up an interface for DHCP and enable
  • Set up an interface for static and enable

These commands come in handy when configuring a 1 port ethernet wrap with 2 wireless cards.

Sponsored-by: Bluegrass.net

40a1b7af 04/30/2007 12:51 AM Scott Ullrich

Add multiline support for multi-line mini programs/scripts.

123bfdac 04/29/2007 11:58 PM Scott Ullrich

Show that exit is a valid command

6855dff0 04/29/2007 11:51 PM Scott Ullrich

Escape $ so that it does not try to print out the variable

d776e077 04/29/2007 11:49 PM Scott Ullrich

Add a pfSense interactive php shell for developers.