opensnitch
opensnitch copied to clipboard
add support for incoming connections
Right now the daemon will only intercept and manage outgoing connections, add support for incoming connections ( ip address x.x.x.x is connecting to port 80 of httpd )
What exactly is the reason that incoming connections are not being queued? I can't find the info I'm looking for in any netfilter documentation.
Edit: after digging through the code more, it looks like the reason is simply because of the rule placement (all rules are -A in rules.go.) Would it be too much to stick our rules into the chains as number 1, for example:
rule := []string{
"-I",
"INPUT",
"1",
"--protocol", "udp",
"--sport", "53",
"-j", "NFQUEUE",
"--queue-num", fmt.Sprintf("%d", queueNum),
"--queue-bypass",
}
This is important. I've made a connection using SSH and I was surprised that OpenSnitch didn't prevent me from connecting.
Hello! Any update on this please?