httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Doe <jd...@yahoo.com>
Subject Re: [users@httpd] Trying to run expect from web page
Date Thu, 10 Oct 2013 08:33:19 GMT
From: Chuck Lidderdale <chucka@blackforest-co.com>

> I'm going on vacation and want to check in to my server.  I've written a 
> knock-3-times.php webpage with the idea of then running an expect script 
> to: telnet modem, echo iptables nat -s $IP etc.  which would allow me 
> get in to my server.
> 
> The expect script runs just fine but in the page:  exec 
> ("<path>/modfirewall.exp");  does nothing - it's as if the 
> line is #exec 
> ("...  commented out.  Suggestions?

There are many port knocking daemons/implementations for servers and clients already available...
knockd, fwknop, etc...
Why not use them?
You can even do it with iptables rules alone.
Just search for "port knocking iptables"

JD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message