pfsense/etc
Phil Davis e6abcccc54 Validation of y/n answers in setlanip
At the moment the user can answer "yes" to most of the questions, but then later code only checks if the answer is "y". Thus you can type in "yes" in some places, have it accepted, but actually the negative action is taken. That is weird and will mess up people who try typing a whole string starting with "y".
With this change it makes the user type one of "y", "yes", "n", "no". When they type 1 of those, it is turned into either "y" or "n". Then the existing implementation logic all works as expected.
Hopefully this is the "final" version that fixes the behavior of the (y/n) questions.
I also included the bit at 296-297 which adds the CIDR bit-count range to the prompt, so the user can see exactly what input is valid/expected there.
Redmine issue #4100
2014-12-12 23:01:07 +05:45
..
ascii-art
inc Split ICMP and ICMPv6 types on Firewall Rules 2014-12-11 19:50:00 -02:00
mtree
phpshellsessions Add RELENG_2_2 to gitsync 2014-12-05 11:05:46 -02:00
skel remove the command number shown in the shell prompt, it's a pointless 2014-10-21 12:46:38 -05:00
ssh
ssl cherry pic from 'hotfix/3347-Certificate_Authority_SAN_names_not_working': 2014-08-14 02:18:32 +02:00
bogons
bogonsv6
ca_countries
crontab
ddb.conf
devd.conf
dh-parameters.1024
dh-parameters.2048
dh-parameters.4096
disktab
ecl.php Change copyright statement to reflect reality 2014-11-10 23:36:14 -06:00
fbtab
gettytab Sync gettytab with FreeBSD 10-STABLE, also reduce customizations, the only difference is al.Pc entry, for Pc with auto login 2014-07-01 13:33:07 -03:00
group
host.conf
hosts.allow
inetd.conf
login.conf
master.passwd
motd
networks
passwd
pf.os
pfSense.obsoletedfiles don't include cert.pem in the obsoletedfiles list. 2014-12-02 11:08:08 -06:00
platform
printcap
protocols
pubkey.pem
rc Setup ddb on all platforms. On full install it will save the dump, on NanoBSD it will print to console and auto-reboot. 2014-12-10 11:36:26 -05:00
rc.backup_dhcpleases.sh
rc.backup_rrd.sh Process RRD backup compression in var 2014-11-28 23:24:10 +05:45
rc.banner
rc.bootup Properly unset booting flags to allow dynamic ipsec tunnels to work correctly 2014-12-04 10:18:44 +01:00
rc.captiveportal_configure
rc.carpbackup
rc.carpmaster
rc.cdrom
rc.conf_mount_ro
rc.conf_mount_rw
rc.create_full_backup
rc.dhclient_cron
rc.disable_hdd_apm
rc.dumpon Setup ddb on all platforms. On full install it will save the dump, on NanoBSD it will print to console and auto-reboot. 2014-12-10 11:36:26 -05:00
rc.dyndns.update isset($_GET) seems to always evaluate to true, use something more specific. Fixes use of rc.linkup when run from CLI. Others likely fix similar circumstances, though maybe not ones that are used anywhere. 2014-11-05 19:47:22 -06:00
rc.embedded
rc.expireaccounts Do not expire already disabled users, it fixes #3644 2014-06-12 09:31:03 -03:00
rc.filter_configure
rc.filter_configure_sync
rc.filter_configure_xmlrpc
rc.filter_synchronize Fix #4099: 2014-12-11 16:43:19 -02:00
rc.firmware Make sure scripts have necessary attributes and use its shebang line instead of force sh to call it. This will help to prevent or workaround issues similar to #3749 in the future 2014-07-11 08:23:04 -03:00
rc.firmware_auto
rc.halt
rc.initial Use clog -f /var/log/filter.log to view firewall log entries, so they are displayed in the new format. 2014-12-02 12:46:14 -05:00
rc.initial.defaults
rc.initial.firmware_update Remove these booting settings since are useless 2014-11-28 13:00:47 +01:00
rc.initial.halt
rc.initial.password
rc.initial.ping
rc.initial.reboot
rc.initial.setlanip Validation of y/n answers in setlanip 2014-12-12 23:01:07 +05:45
rc.initial.setports
rc.initial.store_config_to_removable_device Remove exit and also properly close open files 2014-12-02 11:28:37 +01:00
rc.initial.toggle_sshd
rc.interfaces_carp_configure
rc.interfaces_lan_configure
rc.interfaces_opt_configure
rc.interfaces_wan_configure isset($_GET) seems to always evaluate to true, use something more specific. Fixes use of rc.linkup when run from CLI. Others likely fix similar circumstances, though maybe not ones that are used anywhere. 2014-11-05 19:47:22 -06:00
rc.kill_states Remove exit and also properly close open files 2014-12-02 11:28:37 +01:00
rc.linkup Lock rc.linkup based on interface to avoid races in between up/down events which might create a loop. This is more a timing issue but better enforce serialization here. check_reload_status forces this but not between start and stop but just between similar events. Probably need to bring more inteligence there. 2014-12-02 11:24:47 +01:00
rc.nanobsd_switch_boot_slice Remove exit from as much as possible backend code 2014-12-02 11:33:21 +01:00
rc.newipsecdns
rc.newroutedns
rc.newwanip Call filter_configure_sync() is a better fix for #4066, as pointed by Ermal 2014-12-05 17:04:07 -02:00
rc.newwanipv6 Rather than set the g['booting'] on globals provide a function to test for that doing the right checks 2014-11-26 13:10:01 +01:00
rc.notify_message
rc.ntpdate
rc.openvpn Improve check if no OpenVPN defined 2014-12-11 08:24:26 +05:45
rc.packages
rc.php_ini_setup Add filter.so to list of extensions loaded for 2.2 2014-08-18 09:34:21 -05:00
rc.php-fpm_restart show user that something is actually happening when they choose php-fpm_restart 2014-11-15 23:37:38 -06:00
rc.prunecaptiveportal
rc.reboot
rc.reload_all
rc.reload_interfaces
rc.resolv_conf_generate
rc.restart_webgui
rc.restore_config_backup
rc.restore_full_backup
rc.savecore
rc.savevoucher
rc.shutdown Remove extra noise from rc.shutdown 2014-08-20 08:40:47 -03:00
rc.start_packages Use the same strategy as on CP by putting a file to detect running instances and if older than 90seconds continue otherwise just let the previous one continue. 2014-11-24 19:59:55 +01:00
rc.stop_packages
rc.update_alias_url_data
rc.update_bogons.sh wait 10 minutes before retrying on soft failures to avoid us getting DoSed 2014-12-02 11:14:03 -06:00
rc.update_urltables Remove exit from as much as possible backend code 2014-12-02 11:33:21 +01:00
services
shells
sshd Remove variable use here since it's confusing sshdcond package, ticket #3959 2014-11-26 08:15:21 -02:00
syslog.conf
ttys Back to cons25 for now since we found some issues with xterm on serial console 2014-07-02 17:24:25 -03:00
version The time has come - bump to 2.2-RC 2014-12-04 17:20:53 -06:00