David Woodhouse
|
0d2eb51ab7
Fix ESP recv() error handling for Windows
|
2 anni fa |
David Woodhouse
|
e1eb88cdca
Merge branch 'errors' into 'master'
|
2 anni fa |
David Woodhouse
|
6f8c5ed00e
esp: Close socket on error
|
2 anni fa |
Dimitri Papadopoulos
|
62866e179e
No need to cache errno before _()
|
2 anni fa |
Daniel Lenski
|
89c5cc7433
The option '--force-dpd' should be followed even if the server specifies a lesser DPD interval
|
3 anni fa |
Daniel Lenski
|
3d1ec6e0a1
Juniper/NC ESP rekey fix
|
3 anni fa |
David Woodhouse
|
dc86e96ee2
Fix epoll support for connection pause/restart
|
3 anni fa |
Dimitri Papadopoulos
|
fe795bf5b3
Reorganize #include
|
3 anni fa |
David Woodhouse
|
51615cbb10
Use epoll() instead of select()
|
3 anni fa |
David Woodhouse
|
6e7f451574
Add alloc_pkt() and free_pkt() helpers
|
3 anni fa |
Daniel Lenski
|
35e3374fcb
Log address family of ESP packets sent/received
|
3 anni fa |
David Woodhouse
|
74cffb6343
Add DTLS_ESTABLISHED state
|
3 anni fa |
Daniel Lenski
|
950bdf0f2c
Remove attempt_period from protocol-specific udp_setup() functions
|
3 anni fa |
David Woodhouse
|
7b6103ee36
Add 'proto' integer value to struct vpn_proto
|
3 anni fa |
Daniel Lenski
|
38a1931a85
oncp_control_queue → tcp_control_queue
|
4 anni fa |
Daniel Lenski
|
21da883971
make --passtos work with ESP as well as DTLS
|
4 anni fa |
Corey Wright
|
096902824a
Only add packet to oNCP control queue with nc and pulse protocols
|
5 anni fa |
David Woodhouse
|
b4f50f8bd5
For Pulse, send ESP only of the same IP protocol as we're connected over
|
5 anni fa |
David Woodhouse
|
59d1622992
Set ESP Next Header correctly for IPv6 again
|
5 anni fa |
David Woodhouse
|
a6fe0d0d80
Revert "Set ESP Next Header field to 0x29 for IPv6 packets"
|
5 anni fa |
David Woodhouse
|
02ae906bb6
Set ESP Next Header field to 0x29 for IPv6 packets
|
5 anni fa |
David Woodhouse
|
931bdf10b4
Split out construct_esp_packet() to avoid duplication
|
5 anni fa |
David Woodhouse
|
8349cfdecd
Add HMAC-SHA256-128 support for ESP
|
5 anni fa |
David Woodhouse
|
347060a852
Consolidate common parts of setup_esp_keys()
|
5 anni fa |
David Woodhouse
|
7d14e11619
Don't read from non-readable fds
|
5 anni fa |
David Woodhouse
|
3014e3059d
Fix retry when ESP socket send() fails EAGAIN
|
5 anni fa |
Daniel Lenski
|
a1d2fb97b7
decruft esp.c: these headers are only needed for GP's probe-sending/catching (which are in gpst.c now)
|
5 anni fa |
Daniel Lenski
|
a4b9d85dcc
Clarify a few uncommented corners of the ESP support
|
6 anni fa |
Daniel Lenski
|
0281a8e1db
Align naming and commenting of mechanism for receiving oversize packets across protocols
|
6 anni fa |
Daniel Lenski
|
38a3bbcfca
check for oversize ESP packets, with 256 bytes of headroom above calculated MTU
|
6 anni fa |