diff --git a/connection_handler.go b/connection_handler.go index fbef9fc..a08ce4e 100644 --- a/connection_handler.go +++ b/connection_handler.go @@ -12,7 +12,7 @@ import "net" import "strconv" import "strings" import log "github.com/sirupsen/logrus" -import "github.com/wercker/journalhook" +// import "github.com/wercker/journalhook" import "git.wit.com/wit/shell" @@ -43,12 +43,14 @@ func GetRemoteAddr(conn net.TCPConn) string { // Then each hostname is verified with DNSSEC // func HandleConnection(conn *net.TCPConn) { - journalhook.Enable() + // Disable journalhook until it builds on Windows + // journalhook.Enable() + // spew.Dump(conn) // ipv6client := GetRemoteAddr(c) ipv6client := conn.RemoteAddr() log.Println("Serving to %s as the IPv6 client", ipv6client) - + // setup this TCP socket as the "standard input" // newStdin, _ := bufio.NewReader(conn.File()) newStdin, _ := conn.File() diff --git a/dnstrace.go b/dnstrace.go index 9c09392..39282cb 100644 --- a/dnstrace.go +++ b/dnstrace.go @@ -12,7 +12,9 @@ import "github.com/miekg/dns" import "github.com/rs/dnstrace/client" import log "github.com/sirupsen/logrus" -import "github.com/wercker/journalhook" + +// this is cool, but breaks the Windows build +// import "github.com/wercker/journalhook" // import "github.com/davecgh/go-spew/spew" @@ -157,5 +159,6 @@ func ResolveIPv6hostname(hostname string) *net.TCPAddr { } func UseJournalctl() { - journalhook.Enable() + log.Println("journalhook is disabled because it breaks the Windows build right now") + // journalhook.Enable() }