1. 07 Jan, 2015 1 commit
  2. 06 Jan, 2015 3 commits
  3. 05 Jan, 2015 2 commits
  4. 01 Jan, 2015 2 commits
  5. 26 Dec, 2014 1 commit
  6. 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
  7. 24 Dec, 2014 1 commit
  8. 23 Dec, 2014 1 commit
  9. 10 Dec, 2014 1 commit
  10. 09 Dec, 2014 1 commit
  11. 07 Dec, 2014 2 commits
  12. 05 Dec, 2014 1 commit
  13. 04 Dec, 2014 3 commits
  14. 03 Dec, 2014 6 commits
  15. 02 Dec, 2014 2 commits
  16. 29 Nov, 2014 3 commits
  17. 26 Nov, 2014 2 commits
  18. 22 Nov, 2014 3 commits
  19. 19 Nov, 2014 1 commit
  20. 18 Nov, 2014 2 commits