I do a lot of work with the Smoothwall Express firewall and have created a "mod" for SWE that allows Squid 3.3.x to filter SSL connections. I have also included e2guardian with the mod. Currently e2guardian only filters HTTP but I would like to enable HTTPS filtering, as well.
I followed the steps from another thread here:
1. Added #define _SSLMITM to the dansguardian.h config file
2. Added the SWE distro's ssl lib path to the LIBS= directive in src/Makefile.
-I don't know if I did this one correctly. Smoothwall's ssl library is located in /usr/lib/ssl. The LIBS line in the Makefile looks like this LIBS= -lz /usr/lib/ssl: Is this correct?
Currently, in the e2guardian.conf file the filterip line is blank to filter all IPs: filterip = . The filterports line has e2guardian listening for HTTP requests on port 8080: filterports = 8080. with an iptables rule that redirects port 80 to 8080 when e2guardian is enabled. What additional IPs and/or ports to I need to add to the e2guardian.conf file to tell e2guardian to also filter SSL port 443 traffic? Do I just add another ffilterports line, such as filterports = 8081 with a separate iptables rule to redirect port 443 to 8081?
Thank you.
Stan