summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
Commit message (Collapse)AuthorAgeFilesLines
* fix text (remove entirely, comment is related to an open feature request). ↵Chris Buechler2011-02-081-2/+0
| | | | ticket #1262
* Ticket #943. Sleep 1 second to give dns time to reload.Ermal2011-01-031-0/+1
|
* Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the ↵Ermal2011-01-031-1/+1
| | | | 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.jim-p2010-11-026-36/+0
|
* Use a unified vpn-linkup script that detects the type based on interface name.jim-p2010-11-021-0/+11
|
* Add individual linkdown scripts so the service type can be set in the log.jim-p2010-11-013-0/+15
|
* Add service type to vpn logjim-p2010-11-013-3/+3
|
* Fix logging parameters.jim-p2010-10-281-1/+1
|
* Fix pfctl -b parameters to prevent the killing of unintended states.jim-p2010-10-281-2/+1
|
* Ticket #876. Actually the event to send is interface newip $ip rather ↵Ermal2010-09-153-2/+5
| | | | 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.Ermal2010-09-153-2/+5
|
* Ticket #876. Add the ip to the respective files on ppp linkup event so the ↵Ermal2010-09-092-2/+2
| | | | 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.Ermal2010-09-074-5/+5
|
* Delete previous route if present.Ermal2010-09-061-6/+2
|
* Switch to the right values for openvpn 2.1 according to the documentation.Ermal2010-08-261-1/+1
|
* Pass the new argumesnts to pfctl -b and correct variable name as reported on ↵Ermal2010-08-231-2/+3
| | | | Ticket #8.
* On ppp type interfaces down event signal for resolv.conf to be generated to ↵Ermal2010-08-231-0/+1
| | | | have the latest dns servers. Ticket #838.
* Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-06-084-484/+0
|\
| * Binaries should not be in the git repoScott Ullrich2010-06-071-484/+0
| |
| * Binaries should not be in the git repoScott Ullrich2010-06-071-0/+0
| |
| * Binaries should not be in the git repoScott Ullrich2010-06-071-0/+0
| |
| * Binaries should be in the git repoScott Ullrich2010-06-071-0/+0
| |
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-05-122-0/+18
|\ \ | |/ | | | | | | Conflicts: etc/inc/upgrade_config.inc
| * Add scpecific scripts for when ovpn goes up and down so we get neccessary ↵Ermal2010-05-072-0/+18
| | | | | | | | values for used in varius areas of pfSense. TODO is find out how to get DNS info form openvpn.
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-05-022-0/+0
|\ \ | |/
| * Make script files for getting ppp connection uptime executable.gnhb2010-05-022-0/+0
| |
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-05-021-0/+1
|\ \ | |/
| * Ticket #8. Delete states after link fails down.Ermal2010-04-301-0/+1
| |
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-04-221-2/+4
|\ \ | |/
| * Revert changes as requested by Ermalgnhb2010-04-121-2/+4
| |
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-04-123-5/+14
|\ \ | |/
| * Implement reporting and logging of historical PPP uptime with data ↵gnhb2010-04-103-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. This means we no longer have to write out mpd_<interface>.query files to /var/etc. Now, a simple calculation of the age of the /tmp/<interface>up file is used. This gives the same data within the second as the console data so it seems acceptable. I removed some "rm -f" calls from ppp-linkdown as there was already code in interfaces.inc interface_bring_down function that unlinks the <interface>up and <interface>_router files. There is still the rm -r nameserver_<interface> call in the linkdown script. Maybe this should be moved to the interfac_bring_down function for consistency? Also, I commented out the ngctl shutdown <interface>: call. I think it's probably not necessary any more.
* | more changes to mpd.script to make debugging easier.gnhb2010-04-051-2/+2
| |
* | Added some more information to error messages for easier debugging.gnhb2010-04-051-14/+18
|/
* Don't need the rm -f statement when using > redirect to overwrite thegnhb2010-03-281-4/+2
| | | | file, and add the "then" to the if statements
* Fix mistakes (now using "call" instead of "goto") and add check to SIM PIN ↵gnhb2010-03-281-4/+10
| | | | | | setting routine so 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.Ermal2010-03-271-2/+2
|
* Explicitly set the exit status of the script to not make mpd fail.Ermal2010-03-271-0/+1
|
* Use full patch to command and fix route add command parameter is -iface and ↵Ermal2010-03-271-4/+4
| | | | not -if.
* Tell that the interface is down.Ermal2010-03-271-0/+1
|
* Fixed error in command to send the PIN to the SIM card. Missing double quotes.gnhb2010-03-261-1/+1
|
* I have PPP with mpd5 working really well now, including setting the APN and APNgnhb2010-03-261-0/+1629
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 password <password> syntax in the mpd.conf file and got errors so I kept the mpd.secret file generation. PPP for modems does need the mpd.script file. It's the chat script file for the link establishment. Right now it has to be in /usr/local/sbin/mpd.script, and it's linked to /var/etc/ at boot time when ppp is first configured. I also took away the "Dialcmd" field in the PPP setup page (and a couple others) because the script is rather comprehensive and is designed to handle many modems. My two 3G modems worked without modification to the script. I did have to modify the scrip to handle the setting of APN and SIM PINs. I made the Init String field work, and the default init commands in the ATT&T, Verizion, and Sprint defaults now come up in the Init String field. You also no longer should put an "AT" at the beginning of modem commands entered in the web page because the script does that for you. I implemented interface renaming and that simplified the new code a lot, so that's nice. Now ppp interfaces start with ppp0 and go up as you add more. This patch refers to the ppp-linkup and linkdown scripts in the /usr/local/sbin/ directory so custom PPP linkup and linkdown scripts are not needed anymore. The persistent uptime tracking is still an open issue, but it works within each connected session. I'm already experiencing much smother conditions with mpd5 for PPP on 3G than I was with userland ppp. It's very nice.
* Actually its dns2 for the second entry.Ermal2010-03-231-1/+1
|
* Resolve problems with dns server setup when allow override is set. Also add ↵Ermal2010-03-232-7/+10
| | | | static routes for all nameservers to be friendly with multiwan.
* Add a few more commands for the lazysullrich2009-12-021-0/+2
|
* Add tab completionsullrich2009-12-021-1/+26
|
* Automatically source common items so that config is in the eval() contextScott Ullrich2009-10-051-1/+3
|
* Actually it needs an ip!Ermal Luçi2009-05-171-1/+1
|
* Add the state killing for now on VPN's pppoe/pptp/l2tp when the link goes ↵Ermal Luçi2009-05-121-0/+1
| | | | down. For the others some more thought is needed.
* Fix a lock leaking on CP.Ermal Luçi2009-05-081-12/+0
|
OpenPOWER on IntegriCloud