1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/security/sshit/files/pkg-message.in

25 lines
683 B
Plaintext
Raw Normal View History

===> CONFIGURATION NOTE:
Configuration of sshit is done via main configuration file
located at %%PREFIX%%/etc/sshit.conf
To run the script, add a line in /etc/syslog.conf:
auth.info;authpriv.info |exec %%PREFIX%%/sbin/sshit
and restart syslogd.
If you want to use pf as the firewall, you should add a table and the
corresponding deny rule. For example,
(In /etc/pf.conf)
table <badhosts> persist
block on $extdev from <badhosts> to any
and reload the pf rules.
If you want to use ipfw2 (with table) as the firewall, you should add a
table and the corresponding deny rule. For example,
# ipfw add deny ip from table(0) to any