On 2006-02-20 12:29, Paul Bijnens wrote:
On Thu, 2006-02-16 at 17:52 +0100, Paul Bijnens wrote:You find this section: 229 230 /* next, make sure the remote port is a "reserved" one */ 231 232 if(ntohs(addr->sin_port) >= IPPORT_RESERVED) {233 ap_snprintf(number, sizeof(number), "%d", ntohs(addr->sin_port));234 *errstr = vstralloc("[", 235 "host ", remotehost, ": ", 236 "port ", number, " not secure", 237 "]", NULL); 238 amfree(remotehost); 239 return 0; 240 } and make test test succeed always, by changing line 232: 232 if(1 || ntohs(addr->sin_port) >= IPPORT_RESERVED) { i.e. add the "1 ||" string to the if statement.
Oops, that should have been: "0 &&" , not "1 ||". The ideas is to make this always fail, not always succeed. PS. btw, any mail to "[EMAIL PROTECTED]" bounces! -- Paul Bijnens, xplanation Technology Services Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *********************************************************************** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, * * F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***********************************************************************
