path: root/src/osmo_common.c
AgeCommit message (Collapse)AuthorFilesLines
2016-11-09client: Allow to configure and connect multiple serversHolger Hans Peter Freyther1-0/+4
Allow to configure multiple servers and connect. Introduce a new VTY node to allow multiple servers. Add an explicit connect. Do not put the main connection into the same list but assume it exists. Change-Id: I9448ad4a005dd7c7eb1c615d03e57d6cb058ae4d
2016-09-08client: Initial support for TLS in the clientHolger Hans Peter Freyther1-0/+6
Use GNUtls because it is GPL compatible and instead of mbedTLS seems to have a working non-blocking I/O integration. GNUtls has various issues that could not be resolved easily: * Pick spdy as sub protocol * gmt_time not randomized * private key loaded to RAM (but not verified) This is the beginning and not the end. Client support might need more work with actual tls verification. Maybe more manual x509 cert verification is needed and maybe client certs don't work at all. I try to ignore renegotiation as I threw away the key. Reload x509 creds and keys as they might have changed from one connection to another. Change-Id: I9128e14084da1fc2705f858393f98b8133996172
2016-08-13vty: Fix compiler warning about type changesHolger Hans Peter Freyther1-1/+1
osmo_client_main.c:57:2: warning: initialization from incompatible pointer type .go_parent_cb = osmopcap_go_parent, ^ osmo_client_main.c:57:2: warning: (near initialization for ‘vty_info.go_parent_cb’) CCLD osmo_pcap_client CC osmo_server_main.o osmo_server_main.c:56:2: warning: initialization from incompatible pointer type .go_parent_cb = osmopcap_go_parent, ^ osmo_server_main.c:56:2: warning: (near initialization for ‘vty_info.go_parent_cb’) Change-Id: If73c85a64789ef4bff63dcfe008e918e650b428f
2011-05-31common: Add the default case, e.g. needed for the logging codeHolger Hans Peter Freyther1-1/+1
2011-05-31osmo_pcap_client: Start with the framework for the pcap clientHolger Hans Peter Freyther1-0/+90
This is just the normal skeleton for the osmocom code.