diff --git a/CHANGELOG.txt b/CHANGELOG.txt
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,8 @@
+3.0.4
+-----
+- Update `iproute` upper bound
+- Handle `SockAddrCan` from network >= 2.6.1
+
 3.0.3
 -----
 - Update `iproute` upper bound
diff --git a/cql.cabal b/cql.cabal
--- a/cql.cabal
+++ b/cql.cabal
@@ -1,8 +1,8 @@
 name:                 cql
-version:              3.0.3
+version:              3.0.4
 synopsis:             Cassandra CQL binary protocol.
 stability:            experimental
-license:              OtherLicense
+license:              MPL-2.0
 license-file:         LICENSE.txt
 author:               Toralf Wittner, Roman S. Borschel
 maintainer:           Toralf Wittner <tw@dtex.org>
@@ -36,7 +36,6 @@
     default-language: Haskell2010
     hs-source-dirs:   src
     ghc-options:      -Wall -O2 -fwarn-tabs -funbox-strict-fields
-    ghc-prof-options: -prof -auto-all
 
     exposed-modules:
         Database.CQL.Protocol
@@ -58,7 +57,7 @@
         , bytestring       >= 0.10   && < 1.0
         , cereal           >= 0.3    && < 0.5
         , Decimal          >= 0.3    && < 1.0
-        , iproute          >= 1.3    && < 1.5
+        , iproute          >= 1.3    && < 2.0
         , network          >= 2.4    && < 3.0
         , text             >= 0.11   && < 2.0
         , template-haskell
diff --git a/src/Database/CQL/Protocol/Codec.hs b/src/Database/CQL/Protocol/Codec.hs
--- a/src/Database/CQL/Protocol/Codec.hs
+++ b/src/Database/CQL/Protocol/Codec.hs
@@ -3,6 +3,7 @@
 -- file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 {-# LANGUAGE BangPatterns      #-}
+{-# LANGUAGE CPP               #-}
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE TupleSections     #-}
 
@@ -251,6 +252,9 @@
     putWord32host d
     putWord32be (fromIntegral p)
 encodeSockAddr (SockAddrUnix _) = fail "encode-socket: unix address not allowed"
+#if MIN_VERSION_network(2,6,1)
+encodeSockAddr (SockAddrCan _) = fail "encode-socket: can address not allowed"
+#endif
 
 decodeSockAddr :: Get SockAddr
 decodeSockAddr = do
