summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-31test: Use session.Destroy()Patrik Flykt1-1/+1
Use session.Destroy() instead of the Manager API DestroySession() method call.
2011-10-31doc: Document that DestroySession will not send Release to sessionsPatrik Flykt1-2/+1
2011-10-31session: Implement Session API Destroy method callPatrik Flykt1-0/+6
Call session_disconnect() from destroy_session() thus adding functionality to Session API Destroy method call.
2011-10-31iptables: Fix xtables API version issuesTomasz Bursztyka1-4/+35
2011-10-31tools: Fix xtables API version issues with iptables-testTomasz Bursztyka1-4/+36
2011-10-28gdhcp: Possible file descriptor leakJukka Rissanen1-2/+2
2011-10-28session: Add a list of pending connect/disconnect actionsPatrik Flykt1-6/+76
deselect_service() and select_offline_service() want to clear up the session state machinery by setting up a zero second timeout function thereby letting the main loop run once through all waiting actions. Unfortunately, if a service is being removed meantime, the service structure stored in the timeout functions will become invalid. This is fixed by adding a list of pending connect/disconnect actions per struct service_entry and cancelling all of them if the service is removed. Fixes BMC#22879
2011-10-28iptables: Support builtin chain policies changesTomasz Bursztyka1-3/+50
2011-10-28iptables: Disable getopt unknown option displayTomasz Bursztyka1-0/+3
2011-10-28iptables: Support for rule matches listTomasz Bursztyka1-21/+23
2011-10-28iptables: Finalize matches extensions setupTomasz Bursztyka1-0/+4
2011-10-28iptables: Add extensions options parsing for matchesTomasz Bursztyka1-2/+24
2011-10-28iptables: Finalize target extensions setupTomasz Bursztyka1-0/+3
2011-10-28iptables: Add extensions options parsing for targetTomasz Bursztyka1-8/+9
2011-10-28iptables: Add x6_options matches handlingTomasz Bursztyka1-5/+17
2011-10-28iptables: Add x6_options target handlingTomasz Bursztyka1-2/+12
2011-10-28iptables: Move target and matches preparation routinesTomasz Bursztyka1-7/+8
2011-10-28iptables: Support matches rule list loadingTomasz Bursztyka1-3/+5
2011-10-28iptables: Refactor matches preparationTomasz Bursztyka1-26/+48
2011-10-28iptables: Move target options merge to prepare_targetTomasz Bursztyka1-11/+14
2011-10-28iptables: Code preparation for option handlingTomasz Bursztyka1-24/+24
2011-10-28tools: Add iptables_test builtin chain policy changesTomasz Bursztyka1-3/+50
2011-10-28tools: Initialize the iptables_test invert flag properlyTomasz Bursztyka1-0/+2
The invert flag is specific to each option so it needs to be initialized after each succesfully handled option.
2011-10-28tools: Disable getopt unknown option display in iptables_testTomasz Bursztyka1-0/+3
2011-10-28tools: Add support for rule matches list to iptables_testTomasz Bursztyka1-21/+23
2011-10-28tools: Finalize matches extensions setup in iptables_testTomasz Bursztyka1-0/+4
2011-10-28tools: Add extensions options parsing for matches to iptables-testTomasz Bursztyka1-2/+24
2011-10-28tools: Finalize target extensions setup in iptables_testTomasz Bursztyka1-0/+3
2011-10-28tools: Add extensions options parsing for target to iptables_testTomasz Bursztyka1-8/+9
2011-10-28tools: Add x6_options matches handling to iptables-testTomasz Bursztyka1-5/+17
2011-10-28tools: Add x6_options target handling to iptables_testTomasz Bursztyka1-2/+12
2011-10-28tools: Target and matches preparation function moves in iptables_testTomasz Bursztyka1-10/+8
2011-10-28tools: Add matches rule list loading support for iptables_testTomasz Bursztyka1-3/+5
2011-10-28tools: Refactor iptables_test matches preparationTomasz Bursztyka1-25/+48
2011-10-28tools: Move iptables_test target options merge in prepare_targetTomasz Bursztyka1-11/+14
2011-10-28tools: Code preparation for iptable-test option handlingTomasz Bursztyka1-24/+24
2011-10-28service: Remove the gateways when removing the serviceJukka Rissanen1-0/+3
This is needed because connection.c takes a reference of the service so we want to remove the gateways properly so that service can be deleted and IP addresses released when disconnection comes from network side (like when ethernet cable is disconnected).
2011-10-26tools: Fix compilation in MeeGoJukka Rissanen3-0/+3
The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in system header files. The source does not compile without the patch in MeeGo 1.2
2011-10-26core: Fix compilation in MeeGoJukka Rissanen4-6/+4
The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbols can be found in system header files. The source does not compile without the patch in MeeGo 1.2
2011-10-26plugins: Fix compilation in MeeGoJukka Rissanen2-0/+2
The _GNU_SOURCE needs to be defined so that O_CLOEXEC symbol can be found in system header files. The source does not compile without the patch in MeeGo 1.2
2011-10-25tools: Add SOCK_CLOEXEC to socket()Daniel Wagner3-3/+3
Make sure all file descriptor are closed.
2011-10-25core: Add SOCK_CLOEXEC to socket()Daniel Wagner7-39/+39
Make sure all file descriptor are closed.
2011-10-25plugins: Add SOCK_CLOEXEC to socket()Daniel Wagner2-2/+2
Make sure all file descriptor are closed.
2011-10-25gweb: Add SOCK_CLOEXEC to socket()Daniel Wagner2-2/+4
Make sure all file descriptor are closed.
2011-10-25gdhcp: Add SOCK_CLOEXEC to socket()Daniel Wagner4-10/+10
Make sure all file descriptor are closed.
2011-10-25core: Add O_CLOEXEC to open()Daniel Wagner5-10/+10
Make sure all file descriptor are closed.
2011-10-25plugins: Add O_CLOEXEC to open()Daniel Wagner2-4/+4
Make sure all file descriptor are closed.
2011-10-25tools: Add O_CLOEXEC to open()Daniel Wagner4-4/+5
Make sure all file descriptor are closed.
2011-10-21service: Activate loose mode routingJukka Rissanen1-2/+60
If more than one service is connected at the same time, then activate loose mode routing by setting the /proc/sys/net/ipv4/conf/all/rp_filter to value 2 If the loose mode routing is not activated, then packets are not routed properly if services are connected to same subnet. The original value of rp_filter is restored when the other services are disconnected and only one service is connected. For details of rp_filter setting, see Linux kernel file Documentation/networking/ip-sysctl.txt Fixes BMC#23606
2011-10-21ipconfig: Set/unset IPv4 rp_filter settingJukka Rissanen2-0/+57