aboutsummaryrefslogtreecommitdiff
path: root/security/sshit
Commit message (Collapse)AuthorAgeFilesLines
* - After last update, sshit keeps exiting with signal 15 due to wrongRong-En Fan2007-11-072-5/+62
| | | | | | | | | | | | | | | | hostname regexp. Fix the regexp for hostname matching. - While fixing that, fix IPv6 regexp, too. - Reduce syslog level from ERROR to INFO for most informational messages. These changes are submitted to author for inclusion in next version. - Grab maintainership as current maintainer does not use it anymore. - Bump PORTREVISION. Approved by: portmgr (linimon), maintainer via irc Notes: svn path=/head/; revision=202561
* - make work with fqdnThomas Abthorpe2007-09-182-4/+4
| | | | | | | | | | | - bump PORTREVISION PR: ports/115210 Submitted by: Alex Keda <admin_AT_lissyara.su> Approved by: Jui-Nan Lin (maintainer), clsung (mentor) Notes: svn path=/head/; revision=199704
* Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.Mark Linimon2007-09-081-7/+1
| | | | | | | | | | | Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr Notes: svn path=/head/; revision=199069
* - Make sshit catch this type of error login:Rong-En Fan2007-07-022-0/+12
| | | | | | | | | | | PAM: authentication error for lissyara from 192.168.254.193 PR: ports/114194 Submitted by: Alex Keda <admin at lissyara.su> Approved by: maintainer via irc Notes: svn path=/head/; revision=194613
* - Update to 0.6Cheng-Lung Sung2006-11-033-45/+5
| | | | | | | | | PR: ports/104770 Submitted by: Joe Horn <joehorn_AT_leobbs dot net> Approved by: maintainer (Jui-Nan Lin) Notes: svn path=/head/; revision=176284
* (c) Rong-En Fan's, http://rafan.infor.org/patch/sshit.diffRong-En Fan2006-07-272-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the code, the author uses two level hash, and IPC::Shareable will create a share memory for those anonymouse object (the second level hash). Those share memory will not be removed when sshit exists or when the rule is removed. Running sshit for a period of time, the number of share memory and semaphore will reach the limit for one process, then sshit.pl can not get more share memory, thus it quits. The only solution is to manually remove all share memory and semaphore. This is somehow the limitation of using IPC::Shareable. To workaround this problem. The patch will removes associated firewall rules when syslogd closes the fd [1], and use IPC::Shareable->clean_up to remove all shm/sem created by this process. I also set 'destroy' to 1 so the shm tied to %list can be removed. The second hunk is to fix a typo for ipfw2. Due to this typo, ip in ipfw2's table cat not be removed. That means once blocked, the client is blocked until reboot or admin cleanup the table. [1] if any log files are rotated, newsyslog sends a HUP to syslogd, syslogd will close *all* current open fd and reopen them. At that time, the sshit.pl's stdin will be closed, thus the main program will exit. PR: ports/100726 Submitted by: Alex Samorukov <samm at os2.kiev.ua> Approved by: Jui-Nan Eric Lin <jnlin at csie.NCTU.edu.tw> (maintainer) Obtained from: rafan Notes: svn path=/head/; revision=168871
* Add sshit 0.5, checks for SSH/FTP bruteforce and blocks given IPs.Vanilla I. Shu2005-12-185-0/+84
PR: ports/90603 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> Notes: svn path=/head/; revision=151501