Configure port settings for use by the login failure daemon.
juggernaut --task=other:port
Option |
Value | Default | Description |
---|---|---|---|
--PORTS_sshd |
<string1,string2> | 22 | The port numbers for sshd. |
--PORTS_ftpd |
<string1,string2> | 20,21 | The port numbers for ftpd. |
--PORTS_smtpauth |
<string1,string2> | 25,465,587 | The port numbers for smtpauth. |
--PORTS_pop3d |
<string1,string2> | 110,995 | The port numbers for pop3d. |
--PORTS_imapd |
<string1,string2> | 143,993 | The port numbers for imapd. |
--PORTS_htpasswd |
<string1,string2> | 80,443,7080,7081 | The port numbers for htpasswd. |
--PORTS_mod_security |
<string1,string2> | 80,443,7080,7081 | The port numbers for mod_security. |
--PORTS_mod_qos |
<string1,string2> | 80,443,7080,7081 | The port numbers for mod_qos. |
--PORTS_bind |
<string1,string2> | 53;udp,53;tcp | The port numbers for bind. |
--default |
<yes> | Reset all settings to their default values. | |
--default_option |
<option> | Reset a specific setting to its default value. | |
--restart |
<yes> | Restart the service after saving settings. |
// set PORTS_sshd
juggernaut --task=other:port --PORTS_sshd=2288 --restart=yes
// reset PORTS_sshd back to default
juggernaut --task=other:port --default_option=PORTS_sshd --restart=yes
// reset all settings back to default
juggernaut --task=other:port --default=yes --restart=yes