1. 06 Jan, 2015 3 commits
  2. 05 Jan, 2015 2 commits
  3. 01 Jan, 2015 2 commits
  4. 26 Dec, 2014 1 commit
  5. 25 Dec, 2014 2 commits
    • Mikio Hara's avatar
      icmp: prevent stripping off ipv4 header twice on darwin · 23996681
      Mikio Hara authored
      We cannot use net.ReadFrom on darwin because a) net.ReadFrom and
      net.ReadFromIP unconditionally try to strip off ipv4 header due to
      and c) icmp.ListenPacket calls ipv4.PacketConn internally.
      
      Instead, we use ipv4.PacketConn.ReadFrom that calls net.ReadMsgIP
      internally to prevent icmp.ReadFrom from returning corrupted ICMP
      message.
      
      Fixes #9395.
      
      Change-Id: I269f3724de72bf37eb26921c251c2acb1c720fa3
      23996681
    • Mikio Hara's avatar
      icmp: make Marshal of MessageBody, ParseMessage work correctly on parameter problem message · 7ed368b9
      Mikio Hara authored
      The wire format of parameter problem message is slightly different
      between ICMPv4 and ICMPv6. We need to distinguish each message's
      protocol family for avoiding dropping wrong wire format stuff on the
      wire.
      
      This is an API breaking change.
      
      type MessageBody interface, Marshal() ([]byte, error)
      
      is replaced with
      
      type MessageBody interface, Marshal(int) ([]byte, error)
      
      Fixes #9394.
      
      Change-Id: Id692c76f85a2714dd011342e648b31395ca668bf
      7ed368b9
  6. 24 Dec, 2014 1 commit
  7. 23 Dec, 2014 1 commit
  8. 10 Dec, 2014 1 commit
  9. 09 Dec, 2014 1 commit
  10. 07 Dec, 2014 2 commits
  11. 05 Dec, 2014 1 commit
  12. 04 Dec, 2014 3 commits
  13. 03 Dec, 2014 6 commits
  14. 02 Dec, 2014 2 commits
  15. 29 Nov, 2014 3 commits
  16. 26 Nov, 2014 2 commits
  17. 22 Nov, 2014 3 commits
  18. 19 Nov, 2014 1 commit
  19. 18 Nov, 2014 3 commits