| Update issue templates | 3 years ago |
| Updating system_tray's get_status_from_file method Contirbution by github user: username34 | 7 years ago |
| Updating debian/chagnelog for 1.3.18 | 3 years ago |
| Adding documentation on common scnerios and how to address them | 3 years ago |
| Upgrade options (in global contex) according to their keyword words in 'file.c'. | 13 years ago |
| Update VERSION to 1.3.18 | 3 years ago |
| remove script in favour of packaging one | 20 years ago |
| Update .gitignore vim swap file | 6 years ago |
| Add support for Ubuntu Jammy (22.04) when testing with travis.yml Dropping Ubuntu Xenial (16.04) support | 3 years ago |
| Update URL in BUGS file | 10 years ago |
| modify socket Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |
| Update VERSION to 1.3.18 | 3 years ago |
| Add compatability information for Watchguard Firewall | 3 years ago |
| Fix spacing of CONTRIBUTION.md | 7 years ago |
| Updated credits | 16 years ago |
| Update License file | 9 years ago |
| Applying patch that reduces compile warnings and fixes warnings from gcc and clang. Patch contributed by: Gareth (gareth@oneroi.org.uk) | 7 years ago |
| Update VERSION to 1.3.18 | 3 years ago |
| Updating README.md | 3 years ago |
| Update TODO file to specify branch work that needs to be completed | 4 years ago |
| Remove unnecessary casting of malloc() results AIUI in C, code like ptr = (char *)malloc(30); should be written as ptr = malloc(30); as the casting can lead to problems if you forget to include stdlib.h due to implicitly declared functions having a return type of int. Though these days GCC will warn loudly about any implicitly declared functions. See here[0] for a lengthy discussion on the subject, more so the comments. There are it seems arguments both for casting as well as not to. Personally I don't and most C code I read doesn't. In the case of xl2tpd there are currently 17 calls to malloc and of those, 10 cast the result and 7 don't. [0] - https://www.securecoding.cert.org/confluence/display/c/MEM02-C.+Immediately+cast+the+result+of+a+memory+allocation+function+call+into+a+pointer+to+the+allocated+type?src=contextnavpagetreemode Signed-off-by: Andrew Clayton <andrew@digital-domain.net> | 10 years ago |
| Revert "Patches from Fedora to use Openssl MD5 instead of our own" This patch forced us to ask for a license exception, which we cannot do. This reverts commit f6a1c043ac5ce31bb1ee368e1161d8474dc41646. | 12 years ago |
| avp: Error Code field in Result Code AVP is optional RFC 2661 section "4.4.2 Result and Error Codes" states the Error Code field is optional. Before this patch, if an LNS sent a Result Code AVP without Error Code, xl2tpd incorrectly logged that an AVP with wrong length was received: xl2tpd[4516]: message_type_avp: message type 14 (Call-Disconnect-Notify) xl2tpd[4516]: result_code_avp: avp is incorrect size. 8 < 10 xl2tpd[4516]: handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet. xl2tpd[4516]: call_close: Call 41797 to 185.32.16.105 disconnected xl2tpd[4516]: message_type_avp: message type 4 (Stop-Control-Connection-Notification) xl2tpd[4516]: result_code_avp: avp is incorrect size. 8 < 10 xl2tpd[4516]: handle_avps: Bad exit status handling attribute 1 (Result Code) on mandatory packet. | 7 years ago |
| fixes for gcc 4.xx (cherry picked from bfbd2c3c96ffc17453427ea3ea62c70572be5cae commit) | 20 years ago |
| Fixing minor spelling typo in code. | 10 years ago |
| add third_party/xl2tpd building Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |
| Applying patch that reduces compile warnings and fixes warnings from gcc and clang. Patch contributed by: Gareth (gareth@oneroi.org.uk) | 7 years ago |
| Place the PPP frame buffer to the call structure Place the frame buffer to the call structure and recycle it only after sending data from buffer. Also correct calculation of the buffer initial write position, taking into account the existing data in the buffer. These changes save buffer content between read_packet() calls and make read code "fragmenation-aware". | 11 years ago |
| change SOL_IP to IPPROTO_IP. Fixes for OpenBSD. patch by Stephen Ayotte | 17 years ago |
| Update control.c Converting a negative int to size_t will be positive. If conversion is necessary at all, ssize_t is better. | 3 years ago |
| change handle_special to return a value indicating if it frees the buffer | 11 years ago |
| set_flow: result of operation is garbage or undefined There is no check for the return value of set_boolen() call, so 'v' could be stil undefined if set_boolen() returns -1. This patch definenes 'v' to -1, what in this case will means immediately return -1. | 6 years ago |
| modify socket Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |
| * SAREF: added option "ipsec refinfo" with a new default value of 30 This is to set the IP_IPSEC_REFINFO value, which needs to match the kernel value. This kernel value changed because our option is not recognised so it got used in 2.6.36+ for IP_NODEFRAG. Added to man page, config example, and listed the old 22 value in comment. | 14 years ago |
| modify socket Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |
| Minor compilation fixes - memset with sizeof actual context struct instead of pointer - check existence of SO_NO_CHECK before use it | 10 years ago |
| random fixes | 11 years ago |
| Applying patch that reduces compile warnings and fixes warnings from gcc and clang. Patch contributed by: Gareth (gareth@oneroi.org.uk) | 7 years ago |
| xl2tpd: Mark internal symbols as static | 7 years ago |
| Set IP_PKTINFO even if setting of IPPROTO_IP fails (as it was in 1.3.9) This commit was made avaible by github user: shadyhh | 6 years ago |
| osport.h: replace SUSv3-specific functions by POSIX variants Replace SUSV3-specific functions index, bcopy, bzero and bcmp by their POSIX variants. [Retrieved from: https://git.buildroot.net/buildroot/tree/package/xl2tp/0001-legacy.patch] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> | 7 years ago |
| Remove unnecessary casting of malloc() results AIUI in C, code like ptr = (char *)malloc(30); should be written as ptr = malloc(30); as the casting can lead to problems if you forget to include stdlib.h due to implicitly declared functions having a return type of int. Though these days GCC will warn loudly about any implicitly declared functions. See here[0] for a lengthy discussion on the subject, more so the comments. There are it seems arguments both for casting as well as not to. Personally I don't and most C code I read doesn't. In the case of xl2tpd there are currently 17 calls to malloc and of those, 10 cast the result and 7 don't. [0] - https://www.securecoding.cert.org/confluence/display/c/MEM02-C.+Immediately+cast+the+result+of+a+memory+allocation+function+call+into+a+pointer+to+the+allocated+type?src=contextnavpagetreemode Signed-off-by: Andrew Clayton <andrew@digital-domain.net> | 10 years ago |
| Remove unnecessary casting of malloc() results AIUI in C, code like ptr = (char *)malloc(30); should be written as ptr = malloc(30); as the casting can lead to problems if you forget to include stdlib.h due to implicitly declared functions having a return type of int. Though these days GCC will warn loudly about any implicitly declared functions. See here[0] for a lengthy discussion on the subject, more so the comments. There are it seems arguments both for casting as well as not to. Personally I don't and most C code I read doesn't. In the case of xl2tpd there are currently 17 calls to malloc and of those, 10 cast the result and 7 don't. [0] - https://www.securecoding.cert.org/confluence/display/c/MEM02-C.+Immediately+cast+the+result+of+a+memory+allocation+function+call+into+a+pointer+to+the+allocated+type?src=contextnavpagetreemode Signed-off-by: Andrew Clayton <andrew@digital-domain.net> | 10 years ago |
| Patch by Shingo Yamawaki I noticed SIGALRM is allowed only when select is called, and call raise(SIGALRM) unconditionally. So, I think events can be handled without SIGALRM. I modified alarm_handler to return the timeval value, and I can pass it to select function. | 17 years ago |
| modify socket Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |
| modify socket Signed-off-by: song_yuanbing <song_yuanbing@hoperun.com> | 2 years ago |