- 01 Jan, 2015 1 commit
-
-
Mikio Hara authored
-
- 26 Dec, 2014 1 commit
-
-
mattn authored
Fixes #9253 Change-Id: I29ad04698e20c6e4d04a2b5b161693ac7cd482a2
-
- 25 Dec, 2014 1 commit
-
-
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
-
- 24 Dec, 2014 1 commit
-
-
Mikio Hara authored
For now we see three types of behaviors: conventional BSD, FreeBSD and other that including Linux, OpenBSD, Solaris and Windows. Change-Id: Iff7efe50b40bd3537b6ed8f02245552d8216c4f3
-
- 23 Dec, 2014 1 commit
-
-
Alex Brainman authored
Fixes #9281 Change-Id: I144afc9736d3d0ba1cdd2693efd0c7f07b1b8bf3
-
- 10 Dec, 2014 1 commit
-
-
David Symonds authored
Change-Id: I09adabf07366426451303f72b0f2e6a0869b7508
-
- 09 Dec, 2014 1 commit
-
-
David Symonds authored
Change-Id: Ifab0fdaec1d810d268b7c19ad30f476802203b37
-
- 07 Dec, 2014 2 commits
-
-
David Symonds authored
-
David Symonds authored
-
- 05 Dec, 2014 1 commit
-
-
Mikio Hara authored
There is no circular dependencies, no need to hesitate to use it. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/185900043
-
- 04 Dec, 2014 3 commits
-
-
Mikio Hara authored
This is an API breaking change. method (*ICMPFilter) Set(ICMPType, bool) is now replaced with method (*ICMPFilter) Accept(ICMPType) method (*ICMPFilter) Block(ICMPType) LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182450043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/179510043
-
Mikio Hara authored
Also fixes typos. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182410043
-
- 03 Dec, 2014 6 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/183040043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/183030043
-
Mikio Hara authored
This CL makes icmp an external package. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182370043
-
Mikio Hara authored
This CL adds PacketConn struct that implements net.PacketConn interface. Update golang/go#9166 LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182110043
-
Mikio Hara authored
This CL adds ParseIPv4Header for parsing an IPv4 header in ICMP error message. We cannot use ipv4.ParseHeader for it because they are different things processed by either ip_input or icmp_input. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/184850043
-
Mikio Hara authored
This CL introduces few ICMP error message body types such as DstUnreach, PacketTooBig, TimeExceeded or ParamProb. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/183850043
-
- 02 Dec, 2014 2 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/182950043
-
Mikio Hara authored
According to github.com/opensource-apple/xnu.git, IP_STRIPHDR sticky socket option was introduced in xnu-517 (Darwin 7.0, OS X 10.3). LGTM=iant R=iant, gobot CC=golang-codereviews https://golang.org/cl/176480043
-
- 29 Nov, 2014 3 commits
-
-
Mikio Hara authored
This reduces allocation and copy ops with net.IPConn-based ipv4.PacketConn on latest darwin kernels. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/184770043
-
Mikio Hara authored
This CL adds Header type and ParseHeader function for convenience in parsing ICMP error messages such as destination unreachable, packet too big, time exceeded and parameter problem. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/177530043
-
Mikio Hara authored
LGTM=iant R=iant, bradfitz CC=golang-codereviews https://golang.org/cl/173670044
-
- 26 Nov, 2014 2 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/183750044
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/181200043
-
- 22 Nov, 2014 3 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/177840043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/173300043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/174480043
-
- 19 Nov, 2014 1 commit
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/179930043
-
- 18 Nov, 2014 4 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/176960043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/178800043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/176980043
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/174310043
-
- 17 Nov, 2014 3 commits
-
-
Mikio Hara authored
LGTM=dsymonds R=iant, dsymonds CC=golang-codereviews https://golang.org/cl/176920043
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/174240043
-
Mikio Hara authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/177880043
-
- 16 Nov, 2014 3 commits
-
-
Mikio Hara authored
LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/173290043
-
Mikio Hara authored
Readjusts Traffic Class and ICMP test cases on older darwin kernels, per-interface link-local address multicasting and loopback interface required test cases on BSD variants. Also simplifies error logs. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/177790043
-
Mikio Hara authored
Readjusts ICMP test cases on older darwin kernels Also simplifies error logs. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/178740043
-