Thomas Bernard
|
24d54ba13a
|
SA_SIZE() is >= sizeof(long)
|
2015-11-19 12:55:44 +01:00 |
Thomas Bernard
|
3d50adc170
|
bsd/getroute.c: check message length. Avoid buffer overread
|
2015-11-18 09:53:58 +01:00 |
Thomas Bernard
|
35aae6debb
|
bsd/getroute.c: fix parsing of address with SA_LEN() = 0
at least with OpenBSD 4.3, the minimum is 4 bytes
|
2015-11-18 09:52:54 +01:00 |
Daniel Becker
|
e5d30a1f4b
|
explicitly request interface name as well
|
2015-11-17 17:29:09 -08:00 |
Daniel Becker
|
eb5f179c9f
|
make get_src_for_route_to() actually return the source address on *BSD
|
2015-11-17 17:06:05 -08:00 |
Thomas BERNARD
|
7d19326ef9
|
get_src_for_route_to() is tested with Mac OS X 10.4
|
2015-11-17 11:25:10 +01:00 |
Thomas Bernard
|
191940467f
|
define SA_SIZE if needed
|
2015-11-17 10:55:17 +01:00 |
Daniel Becker
|
7ab525700d
|
fix parsing of sockaddr entries returned by routing socket on BSD
|
2015-11-17 10:16:51 +01:00 |
Thomas Bernard
|
5cfa875477
|
fill sa_len in address for rt_msg
|
2015-11-17 10:15:36 +01:00 |
Thomas Bernard
|
84b609849a
|
fix get_src_for_route_to() with IPv6
fixes #160
|
2015-11-16 23:01:44 +01:00 |
Thomas Bernard
|
66dceb5e94
|
Fix get_src_for_route_to() when args are NULL
fixes #160 ???
|
2015-11-16 20:32:02 +01:00 |
Thomas Bernard
|
c4d99670e7
|
miniupnpd: Use SA_LEN consistently
|
2014-04-01 11:44:39 +02:00 |
Thomas Bernard
|
43d3939602
|
miniupnpd: Implement get_src_for_route_to() for *BSD
Also modify get_src_for_route_to() to return
the network interface index
|
2013-02-06 15:08:10 +01:00 |