Examples of ModSecurity2AuditWriter


Examples of org.jwall.web.audit.io.ModSecurity2AuditWriter

        // SSL server sockets.
        SSLServerSocketFactory ssf = context.getServerSocketFactory();
        socket = ssf.createServerSocket( 8886 );
        //socket = new ServerSocket( 8886, 10, InetAddress.getByName( "127.0.0.1" ) );
        System.out.println( "Starting MLogc, listening at " + socket.getInetAddress().getHostAddress() + ":" + socket.getLocalPort() );
        writer = new ModSecurity2AuditWriter( new File( "/tmp/receiver-test-audit.log") );
    }
View Full Code Here

Examples of org.jwall.web.audit.io.ModSecurity2AuditWriter

    this.socket = socket;
    this.gzip = gzip;
    //writer = new ConcurrentAuditWriter( new File( "/tmp/" + socket.getInetAddress().getHostAddress() ) );
    File outFile = new File( File.separator + "tmp" + File.separator + socket.getInetAddress().getHostAddress() + "-" + socket.getPort() + "-audit.log" );
    System.out.println( "Writing to " + outFile.getAbsolutePath() );
    writer = new ModSecurity2AuditWriter( outFile );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.