Show HN: No PortScan
git.encryp.ch
Show HN: No PortScan
1–10 of 21 posts
Re: Show HN: No PortScan
#2What do you guys think about GitHub vs Gitlab vs Gitea? Kind of want to make me give a try.
Re: Show HN: No PortScan
#3Not the subject of the thread but the GitHub clone used here seems pretty neat. Gitea. https://gitea.io/en-us/ What do you guys think about GitHub vs Gitlab vs Gitea? Kind of want to make me give a try.
Re: Show HN: No PortScan
#4Interesting approach, though it seems like it should have a "floor/minimum" count first. Otherwise, 2 syns, 1 syn-ack is 2:1. Fairly easy to trigger accidentally with bad timing.
Re: Show HN: No PortScan
#5Not the subject of the thread but the GitHub clone used here seems pretty neat. Gitea. https://gitea.io/en-us/ What do you guys think about GitHub vs Gitlab vs Gitea? Kind of want to make me give a try.
So, it will depend on what you need.
Re: Show HN: No PortScan
#6Not the subject of the thread but the GitHub clone used here seems pretty neat. Gitea. https://gitea.io/en-us/ What do you guys think about GitHub vs Gitlab vs Gitea? Kind of want to make me give a try.
Re: Show HN: No PortScan
#7Not the subject of the thread but the GitHub clone used here seems pretty neat. Gitea. https://gitea.io/en-us/ What do you guys think about GitHub vs Gitlab vs Gitea? Kind of want to make me give a try.
Gitea is a perfectly fine lightweight Git hosting platform. However you need external CI/CD, project management and what not; with GitLab that and a lot of other things come included. So, it will depend on what you need.
Re: Show HN: No PortScan
#8Earlier quoted context omitted.
Gitea is a perfectly fine lightweight Git hosting platform. However you need external CI/CD, project management and what not; with GitLab that and a lot of other things come included. So, it will depend on what you need.
How hard is it to set up CI? I know there are open-source CI solutions (Drone, SourceHut) but I don't know how hard they are to install and connect to Gitea. I don't think I'd use a platform with no CI.
Re: Show HN: No PortScan
#9"to check counters ratio in a background - if it exceeds some value (i.e. 1.5) we will execute user-defined action and reset counters for triggered IP" Interesting approach, though it seems like it should have a "floor/minimum" count first. Otherwise, 2 syns, 1 syn-ack is 2:1. Fairly easy to trigger accidentally with bad timing.
Re: Show HN: No PortScan
#10 iptables -A FORWARD -i eth0 -m recent --update --seconds 600 --hitcount 10 --name scan --mask 255.255.255.255 --rsource -j DROP
iptables -A FORWARD -d 173.165.141.72/29 -i vmexfwbr -m recent --update --seconds 86400 --name instaban --mask 255.255.255.255 --rsource -j DROP
…PUT STANDARD ACCEPT/REJECT RULES HERE…
iptables -A FORWARD -d 173.165.141.72/29 -i vmexfwbr -p tcp -m multiport --dports 21,23,110,1433,3389,5060,8080,8088 -m recent --mask 255.255.255.0 --set --name instaban --rsource -m comment --comment "Instabans port scanning bots."
iptables -A FORWARD -d $YOUR_IP_RANGE/29 -i eth0 -m recent --mask 255.255.255.0 --set --name scan --rsource
iptables -A FORWARD -j REJECT --reject-with icmp-port-unreachable
The above would start dropping packets from anyone who hits 10 or more ports not previously accepted by an accept rule, and block the /24 of anyone who hits one of the more commonly scanned ports.