simkim / tcpdam

A parking proxy for tcp connections
GNU General Public License v3.0
18 stars 1 forks source link

TCP Wrappers or IP address filtering? #10

Open pataquets opened 7 years ago

pataquets commented 7 years ago

I would like to have some sort of mechanism to filter/drop connections based on black/white lists. I'm fine (actually I prefer) with being able to do it via TCP Wrappers, since I understand it could not be considered a 'core' feature. I've followed http://www.ducea.com/2006/07/02/how-to-find-out-if-a-daemon-was-build-with-tcp-wrappers-support-hostsallowhostsdeny/ and looks like it's not linked. I'm not deep in Golang to know if linking against libwrap is even possible.

simkim commented 7 years ago

Hi @pataquets.

Thanks for considering my program. Sorry for the response delay.

I havn't found any libwrap module. Even if there was, I'm not sure if it could be compatible.

Maybe you could directly use netfilter/iptables

Regards