Adjust the +CPIN? cmd so it works for huawei 3G sticks too
On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever.
Conflicts:
etc/rc.newwanipv6
Fix syntax here too in case we need to revive it.
Make the ppp-linkup script understand both address families.
Bind the state killing to the interface they should kill the states so that it does not impact other services like in #1421
Make sure this does not operate on empty parameters, and also log when removing states.
Just break states based on the remote host ip and not with localip. The later might be the same as address used by other services and might interrupt them
Put a netmask of /32 to all parameters of -k/-K/-b of pfctl to avoid any issues.
Kill states from the previous ip the link had on all mpd consumers. Resolves #1629
Fix test for tun device, -f fails because it's a char device, not a regular file. -e works.
Do not add an automatic gateway on openvpn tap case since its only the netmask.
Disable state killing in VPN down scripts.
Fix ovpn-linkup so it writes out the proper gateway IP in all cases.(For some reason -n wasn't working properly, plus $5 is the right parameter for the remote IP here)
Reorder instructions and do not reload dns if its not allowed from the dns allow override setting.
Remove static routes that are added for dns servers when allow override is allowed when a ppp interface goes down. Code borrowed from dhclient-script.
Ticket #1408. Honor the allow override settings even for ppp devices.
Rework ntpdate_sync_once.sh, so it makes sure ntp/ntpdate/itself are not running before trying to sync time, and then launch ntpd at the end for time sync (last commit was premature)
Don't unconditionally start ntpd after doing ntpdate, it might be disabled.
Send ntpdate output to syslog
Test the existence of route_vpn_gateway variable and if set use it as a gateway. Recommended-by: http://forum.pfsense.org/index.php/topic,24436.msg158589.html#msg158589
fix text (remove entirely, comment is related to an open feature request). ticket #1262
Ticket #943. Sleep 1 second to give dns time to reload.
Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the correct reloading of gateways and services. Add a safe belt to avoid a recursion in openvpn itself from rc.newwanip.
Remove these now-obsolete linkup/linkdown scripts.
Use a unified vpn-linkup script that detects the type based on interface name.
Add individual linkdown scripts so the service type can be set in the log.
Add service type to vpn log
Fix logging parameters.
Fix pfctl -b parameters to prevent the killing of unintended states.
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.
Reload dns and interface properly on dynamic types.
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.
Use the new events mechanisms to dispatch events.
Delete previous route if present.
Switch to the right values for openvpn 2.1 according to the documentation.
Pass the new argumesnts to pfctl -b and correct variable name as reported on Ticket #8.
On ppp type interfaces down event signal for resolv.conf to be generated to have the latest dns servers. Ticket #838.
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Binaries should not be in the git repo
Binaries should be in the git repo
Conflicts: etc/inc/upgrade_config.inc
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.
Make script files for getting ppp connection uptime executable.
Ticket #8. Delete states after link fails down.
Revert changes as requested by Ermal
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 toget PPP uptime data, which will prevent spamming of PPP logs with console access messages....
more changes to mpd.script to make debugging easier.
Added some more information to error messages for easier debugging.
Don't need the rm -f statement when using > redirect to overwrite thefile, and add the "then" to the if statements
Fix mistakes (now using "call" instead of "goto") and add check to SIM PIN setting routineso we don't have to set the pin every time if it's already set.
Be safer use the remote-ip address for adding route.
Explicitly set the exit status of the script to not make mpd fail.
Use full patch to command and fix route add command parameter is -iface and not -if.
Tell that the interface is down.
Fixed error in command to send the PIN to the SIM card. Missing double quotes.
I have PPP with mpd5 working really well now, including setting the APN and APNNumber, and the SIM PIN and wait time for the SIM to settle after the PIN isentered.
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...
Actually its dns2 for the second entry.
Resolve problems with dns server setup when allow override is set. Also add static routes for all nameservers to be friendly with multiwan.
Add a few more commands for the lazy
Add tab completion
Automatically source common items so that config is in the eval() context
Actually it needs an ip!
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.
Fix a lock leaking on CP.
Generate the {interface}up status file.
Output welcome banner after globals.inc is required
Turn off debugging text
Use product_name
Kill old ntpd process if it is around
Sync
Add script that will keep trying to set the date time (for bootup) thatwill run in the background to help speedup boot times.
Adding custom grub-install
Fix issue reported on ticket #1825.
Break out item that can be its own function
Actually apply fixes to the correct files.
I always remember having done this long ago?!
Require_once instead of require.
Show playback commands avaiable
Add a script to assist in removing all packages and or the packageconfiguration file from the command line.
Add other needed files so everything works as expected.
Add apinger binary for gateway monitoring
Lower threshold to 86. Noticed a scenario where slbd was chewing uproughtly 91% of the cpu.
Do not reset every hour. Wait until the process goes out of control.
Really kill off slbd
Ticket #1533
Remove extra C/R
Detect playback file not found when passed as argument. Example: pfSsh.php replay cvssync RELENG_1
Allow arguments to be passed to cvssync so you can do:
pfSsh.php playback cvssync RELENG_1
Allow arguments to be passed to the pfSense php shell.
Bring us one step closer to being able to port cvs_sync.sh to pfSsh by adding multiline support. For example
Do not forget ; on php lines.
Collect the help file into one variable and then pipe through more()
Add recording related commands