Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-28 | ppp_net: Make static analysis tools happy | Denis Kenzior | 1 | -1/+1 | |
The kernel simply puts a null terminator at index 15 prior to ifr_name processing. So we do the same. Original report by: Sabas Rosales, Blanca E <blanca.e.sabas.rosales@intel.com> Buffer not null terminated (BUFFER_SIZE_WARNING) buffer_size_warning: Calling strncpy with a maximum size argument of 16 bytes on destination array ifr.ifr_ifrn.ifrn_name of size 16 bytes might leave the destination string unterminated. 67 strncpy(ifr.ifr_name, net->if_name, sizeof(ifr.ifr_name)); | |||||
2015-07-01 | build: make ofono build against musl | Sergey Alirzaev | 1 | -1/+1 | |
ifdef away GNU libc extensions and use a POSIXly correct pointer type | |||||
2012-08-30 | gatchat: Print error message if opening tun failes | Daniel Wagner | 1 | -1/+5 | |
This is a very common mistake. Let's help the users to configure their system correctly. | |||||
2011-10-10 | gatchat: Update copyright information | Marcel Holtmann | 1 | -1/+1 | |
2011-06-29 | ppp: Add basic length sanity checks | Denis Kenzior | 1 | -2/+8 | |
2011-05-27 | gatchat: Fix unused variable cases | Marcel Holtmann | 1 | -0/+2 | |
2011-05-25 | ppp_net: Keep valgrind happy | Denis Kenzior | 1 | -1/+2 | |
2011-05-24 | ppp_net: add ppp_net_resume_interface() API | Guillaume Zajac | 1 | -0/+10 | |
2011-05-24 | ppp_net: streamline ppp_net_new logic | Denis Kenzior | 1 | -16/+9 | |
2011-05-24 | gatppp: Add new contructor to use external fd | Guillaume Zajac | 1 | -15/+32 | |
2011-05-08 | ppp_net: Reset the watch to zero when removing | Denis Kenzior | 1 | -3/+10 | |
2011-05-08 | ppp_net: add ppp_net_suspend_interface() function | Guillaume Zajac | 1 | -0/+9 | |
2010-10-21 | ppp: Fix some coding style and memory leaks | Marcel Holtmann | 1 | -16/+16 | |
2010-05-19 | ppp: Trivial whitespace error | Denis Kenzior | 1 | -1/+1 | |
2010-05-19 | ppp: implement ppp_packet_new | Kristen Carlson Accardi | 1 | -9/+17 | |
2010-05-11 | ppp: fix another hardcode of ppp_packet size | Kristen Carlson Accardi | 1 | -1/+1 | |
2010-05-10 | ppp: set address and control field | Kristen Carlson Accardi | 1 | -1/+2 | |
Before sending to hdlc, set the address and control field. Fix hardcode of ppp header size. | |||||
2010-04-28 | ppp: Accept 1500 byte MTUs | Denis Kenzior | 1 | -1/+1 | |
2010-04-28 | ppp: Make ppp_net_process_packet const correct | Denis Kenzior | 1 | -1/+1 | |
2010-04-22 | ppp: Fix trivial style error | Denis Kenzior | 1 | -1/+1 | |
2010-04-22 | ppp: change MTU on TUN device when MRU option received | Kristen Carlson Accardi | 1 | -3/+20 | |
2010-04-22 | ppp: implement MRU option | Kristen Carlson Accardi | 1 | -2/+11 | |
If the peer requests a MRU option, set the mtu for the network phase. When we are in link establishment phase, we should continue to behave as if no option has been set and the peer should use the default MRU. This option is required for the Huawei E160G modem. | |||||
2010-04-13 | ppp: TUN channel should not be opened NONBLOCKING | Denis Kenzior | 1 | -1/+1 | |
We don't handle it as a nonblocking channel and getting it right would be a nightmare. | |||||
2010-04-13 | ppp: Get rid of net_open and net_close | Denis Kenzior | 1 | -49/+33 | |
There really isn't a need for these now | |||||
2010-04-13 | ppp: Hide ppp_net definition in ppp_net.c | Denis Kenzior | 1 | -23/+35 | |
2010-04-02 | ppp: implement net close | Kristen Carlson Accardi | 1 | -5/+6 | |
2010-04-02 | Refactor: Get rid of (now) pointless comments | Denis Kenzior | 1 | -2/+0 | |
2010-04-02 | Refactor: Get rid of packet handler registrations | Denis Kenzior | 1 | -10/+1 | |
There are only about 4 protocols that the current ppp code handles and it is doubtful that it will grow much more. There's no point in having an extensive packet handler registration framework. | |||||
2010-04-02 | Add missing arpa/inet.h includes | Marcel Holtmann | 1 | -0/+1 | |
2010-04-02 | Split out ipcp protocol into ppp_ipcp.c | Denis Kenzior | 1 | -216/+1 | |
2010-04-01 | Remove useless pppcp_protocol_data structure | Marcel Holtmann | 1 | -13/+4 | |
2010-04-01 | Remove forward declarations in PPP network handling | Marcel Holtmann | 1 | -81/+75 | |
2010-04-01 | Add debugging for PPP LCP and IPCP options | Marcel Holtmann | 1 | -0/+12 | |
2010-03-31 | Use ppp%d as PPP interface name instead of tun%d | Marcel Holtmann | 1 | -0/+1 | |
2010-03-31 | Refactor: GAtPPP connect callback | Denis Kenzior | 1 | -7/+25 | |
The connect callback was not giving enough information and the information it was providing was not in a convenient form. - Provide the ppp interface name (e.g. tun0) - Provide ip, dns1 & dns2 as strings - Do not send the ppp structure in the callback, it is most likely present in the user data anyway | |||||
2010-03-31 | Style: remove unneeded blank line | Denis Kenzior | 1 | -1/+0 | |
2010-03-31 | Fix whitespace damage in PPP implementation | Marcel Holtmann | 1 | -1/+1 | |
2010-03-26 | Add support for NBNS server options | Marcel Holtmann | 1 | -0/+12 | |
2010-03-25 | ppp: change debug output to include control protocol prefix | Kristen Carlson Accardi | 1 | -2/+10 | |
2010-03-22 | IP support for PPP | Kristen Carlson Accardi | 1 | -0/+356 | |
Adds IPCP support, and creates a TUN interface for sending/receiving IP packets. |