Commit Graph

800 Commits (2e340bd68c0f2dc021ec4e9743c29d76c68f1d00)

Author SHA1 Message Date
Jay Sorg 25fd585d55 chansrv: some fixes to log file path
8 years ago
Itamar Reis Peixoto f7b0b0d89c Merge pull request #488 from metalefty/docs
8 years ago
metalefty 9deaa078fc Merge pull request #477 from proski/vnc-strerror
8 years ago
metalefty 8516e6f97b Merge pull request #476 from proski/auth
8 years ago
metalefty b89956d06e Merge pull request #485 from proski/code-standards
8 years ago
metalefty d335c93a75 Merge pull request #480 from proski/strncat
8 years ago
Pavel Roskin 35b336272b Fix compilation with C++
8 years ago
Pavel Roskin 16c3bbdb8d Remove all tabs in sources
8 years ago
Pavel Roskin e9d064e390 Don't try to create .vnc directory if it exists
8 years ago
Pavel Roskin 60029514a6 Report system error if the VNC password file cannot be created
8 years ago
Pavel Roskin e9a0324cb3 Fix compile warnings for non-default authentication methods
8 years ago
Pavel Roskin 92423a466e Fix potential buffer overflow in strncat() invocation
8 years ago
Koichiro IWAO cb1960e0fc config: use semicolon to comment out descriptions in config files
8 years ago
Koichiro IWAO 4f2d94505a config: unify all boolean values in config to true/false
8 years ago
Pavel Roskin 0d72cced46 Omit numbers from the "param" keys, they are not needed
8 years ago
metalefty 94901c9989 Merge pull request #454 from metalefty/change-chansrv-log-path
8 years ago
Dominik George c90bc13d39
Move -logfile /dev/null option for easier commenting in debug scenarios.
8 years ago
Koichiro IWAO 7d017482f6 chansrv: change chansrv log path to ${XDG_DATA_HOME}/xrdp
8 years ago
Pavel Roskin b28a986071 Fix memory leak in xrdp-sesman on config reload
8 years ago
Pavel Roskin dc60a80b86 Memory leak fix: keep X server path in the parameter list
8 years ago
Pavel Roskin e17a56efb6 Call auth_end() exactly once in scp_v0_process()
8 years ago
Pavel Roskin 65ac8e758b Fix memory leak: free session data
8 years ago
Pavel Roskin a370306f75 Get rid of EXTRA_LIBS, use variables with more specific names
8 years ago
Pavel Roskin 5c69f3cd57 Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS
8 years ago
Pavel Roskin 0422734fc7 Merge EXTRA_DEFINES and EXTRA_INCLUDES into AM_CPPFLAGS
8 years ago
Pavel Roskin 6fef1e4eb5 Use const pointers in function arguments when possible
8 years ago
Pavel Roskin c3b99de739 Fix wrong comments in sesman config printing code
8 years ago
Pavel Roskin bf08892622 Fix incorrect description of auth_userpass() return value
8 years ago
Pavel Roskin a618d4f757 Don't use final newline in log calls, it's already appended
8 years ago
Pavel Roskin 424cef464b Log malloc errors with LOG_LEVEL_ERROR
8 years ago
Pavel Roskin 945833a94f Don't close socket in scp_process_start(), the caller closes it
8 years ago
Pavel Roskin f7c27f05cf g_term_event is a wait object, not TCP socket, delete it correctly
8 years ago
Pavel Roskin 931fb90832 sesrun: remove unused g_sck and write-only g_pid
8 years ago
Pavel Roskin d605310bdc sesman: don't close listening socket in signal handler
8 years ago
Koichiro IWAO 9f277e4445 chansrv: pathname also should be URL decoded
8 years ago
jsorg71 8353baab3d Merge pull request #390 from proski/june21
8 years ago
jsorg71 81fe939dd3 Merge pull request #388 from metalefty/freebsd/fuse
8 years ago
speidy f2addd346f Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into devel
8 years ago
speidy c9b55e3691 sesman: env_set_user, fix potential bof issues
8 years ago
Kentaro Hayashi 8f3fb2f7c8 chansrv: avoid chansrv SEGV when xinode is NULL
8 years ago
Jay Sorg 9ccbfb6985 chansrv: added mp3 compression from Speidy
8 years ago
Pavel Roskin 2c13ef5c6d Use enum logLevels consistently for log levels
8 years ago
Pavel Roskin cbe413bd8b Fix return type of devredir_fuse_data_peek and devredir_fuse_data_dequeue
8 years ago
Pavel Roskin c5ca0332be Use cast when applying boolean OR to enum
8 years ago
Pavel Roskin d1efb0d5ba Fix signed to unsigned comparisons reported by g++ 6.1.0
8 years ago
Pavel Roskin 5829323ad8 Use g_new or g_new0 when C++ compiler would complain about implicit cast
8 years ago
Pavel Roskin bde4925f0e Cast appdata_ptr explicitly, needed for C++ compatibility
8 years ago
Pavel Roskin 4b05bb2ebd Mark g_drdynvc_chan_id as extern in g_drdynvc_chan_id, it's in chansrv.c
8 years ago
Pavel Roskin aaa89ad4e6 Use const unsigned for hex arrays
8 years ago
Pavel Roskin aeeb3d2c2e Fix warnings detected by -Wwrite-strings
8 years ago
Pavel Roskin 951e632757 Make program_name constant, don't duplicate or free it
8 years ago
Pavel Roskin b00ca6e03d Remove commented out config_read_logging(), the code is long dead
8 years ago
Pavel Roskin 1ded8ec437 Remove unused string support in scp_session_set_addr()
8 years ago
Pavel Roskin f908528a00 Downgrade "libscp initialized" to LOG_LEVEL_DEBUG, remove line number
8 years ago
Pavel Roskin f7ef9bb938 Fix scp_init() invocation, it takes no arguments
8 years ago
Pavel Roskin 77b380c0b5 Fix format warnings in log_message() calls
9 years ago
Pavel Roskin be1d034f91 Report pid and listening address/port for xrdp and xrdp-sesman
9 years ago
Pavel Roskin a77ae440a7 Rename SESMAN_CFG_X11DISPLAYOFFSET to SESMAN_CFG_SESS_X11DISPLAYOFFSET
9 years ago
Pavel Roskin ae5bb5bf9c Fix incorrect use of "it's" and "its", adjust wording
9 years ago
Koichiro IWAO c0ac8251f7 sesman: Add /sbin to PATH for FreeBSD
9 years ago
Pavel Roskin 1403652c72 Remove unused variable in devredir_cvt_from_unicode_len()
9 years ago
Pavel Roskin f2d326cbed Remove unused variables from dev_redir_proc_query_dir_response()
9 years ago
Pavel Roskin 0dd0426e6f Check XGetWindowProperty() return code in clipboard_event_property_notify()
9 years ago
Pavel Roskin 72019d3611 Use better symbols to protect include files
9 years ago
Pavel Roskin ca9cbcafc8 Typo fixes
9 years ago
jsorg71 fdb146740f Merge pull request #360 from proski/format-warnings
9 years ago
Pavel Roskin f93074a430 Add unnamed semaphore support on Mac OS
9 years ago
Pavel Roskin 70f3d4c5e2 Fix warnings for unused variables read from byte streams
9 years ago
Pavel Roskin 95e1603f9d Fix recently introduced warnings in session.c
9 years ago
Pavel Roskin 0629b25d5f Fix warnings about unused variables and functions
9 years ago
Pavel Roskin e65bd6b7d7 Fix more format warnings
9 years ago
jsorg71 00a11f77ce Merge pull request #359 from metalefty/sesman/configurable-xserver-path
9 years ago
Koichiro IWAO cfdce461c3 Do not attempt to trap SIGKILL part 2
9 years ago
Koichiro IWAO cf2b629462 sesman: do not hardcode Xorg/X11rdp/Xvnc executables
9 years ago
Koichiro IWAO fb08623b66 sesman: brief xorg_params, no logic change
9 years ago
NerdKnight 99ebe1340f Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
9 years ago
Jay Sorg a6cba63a89 fix a warning
9 years ago
Jay Sorg 689ffe79d9 fix warnings, move some calls to os_calls
9 years ago
Jay Sorg 38241f2a0b Fix all format warnings and some unused variable warnings
9 years ago
Jay Sorg 7393579205 Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
Itamar Reis Peixoto cfbb00c6cb Merge pull request #333 from proski/key-install
9 years ago
jsorg71 f53b3bb737 Merge pull request #326 from metalefty/pulseaudio-6.0
9 years ago
Pavel Roskin 22e6f3e2f7 Use SCRIPTS for executable scripts, don't use "chmod 755"
9 years ago
Pavel Roskin 7642675ddf Use "dist_" prefix to minimize use of EXTRA_DIST
9 years ago
Pavel Roskin 59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
9 years ago
Koichiro IWAO 93f7bcb71b pulse: fix build pulseaudio 6.0 or higher
9 years ago
Pavel Roskin 50cbf01044 xrdp-sesadmin: show help and exit if mandatory arguments are not given
9 years ago
Pavel Roskin 92a6833e9b Fix typos
9 years ago
Pavel Roskin fe055e989a Fix connection month display in xrdp-sesadmin
9 years ago
Pavel Roskin 81779ddb01 Use lowercase program names for syslog
9 years ago
Pavel Roskin dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
9 years ago
Pavel Roskin ffc4efb9ce Don't ignore files known to git
9 years ago
Pavel Roskin 22e808a186 Add missing spaces in the strings that are split for line wrapping
9 years ago
Pavel Roskin 09709d3ced xcon: include unistd.h, it's needed for select() on MacOS
9 years ago
Pavel Roskin 85840863da startwm.sh: make sure sourced scripts are readable
9 years ago
Jay Sorg ac901fd283 sesman: add missing break
9 years ago
Itamar Reis Peixoto 09a69fbec2 remove duplicated call to scp_session_set_bpp
9 years ago
Pavel Roskin a61349c1d3 Allow sessions with 32 bpp
9 years ago
Pavel Roskin 5d23d007e9 Check return value of scp_session_set_bpp()
9 years ago
Itamar Reis Peixoto ee436aeec9 Merge pull request #309 from proski/devel
9 years ago
Pavel Roskin 5575197eaa sesman: don't set LANG, let initialization scripts take care of it
9 years ago
Pavel Roskin 5de1d31a75 Change an unconditional #warning to a comment
9 years ago
Pavel Roskin f1ba2b2c9d xcon: include sys/types.h for select() and related macros
9 years ago
Pavel Roskin 5b0dcfc8fe rail: fix declaration of rail_desktop_resize()
9 years ago
Pavel Roskin 986fa94733 clipboard: undefine previously defined log level
9 years ago
Pavel Roskin 02c981e796 More spelling fixes found by codespell and aspell
9 years ago
Pavel Roskin 00e70a5c54 Use standard autotools means to detect X11
9 years ago
Pavel Roskin 334eeb970a clipboard_file: include sys/time.h for struct timeval, needed on Mac OS X
9 years ago
Pavel Roskin a452d8d36a Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
9 years ago
Pavel Roskin 309fca35ac Don't use a symlink where #include would suffice
9 years ago
Pavel Roskin 964e860072 Run through codespell
9 years ago
Jay Sorg ded462ab8e chansrv: fix some warnings
9 years ago
Jay Sorg 8261459707 chansrv: fix a crash in fuse
9 years ago
Jay Sorg 4e0d0f3ba0 sesman: remove the thread
9 years ago
Jan Losinski 844f01b937 Simplify session match logic.
9 years ago
Jay Sorg 6f90e27d80 tabs to spaces, no logic change
9 years ago
Jay Sorg dcdb617e63 for Xvnc sesman session, use hash of password for vnc auth
9 years ago
Jay Sorg 7889ee638e sesman: close sync and term sockets after fork
9 years ago
mirabilos 57a7f18cb3 add historic GPLv2+ to Simone’s files
9 years ago
Blindauer Emmanuel 12092e8098 Allow to reconnect with a different size while using the Xorg module
9 years ago
Jay Sorg d91de3c1cc sesman: remove rfbDes calls
9 years ago
Jay Sorg 870437ac42 sesman: don't use hard code path for Xorg
9 years ago
itamarjp c5cac75593 add more missing files into extra_dist
9 years ago
itamarjp 960cc62a0e add missing files into extra_dist,
9 years ago
Jay Sorg 6c23b85593 add timeout to trans_get_wait_objs_rw
9 years ago
Koichiro IWAO 67ff276d4d sesman: add copyright noice for code from OpenSSH
10 years ago
Koichiro IWAO 481653e5f3 sesman: merge FreeBSD local patch for session.c
10 years ago
Koichiro IWAO 53ea01d51e fuse: use EIO instead of EREMOTEIO for BSDs
10 years ago
jsorg71 f9c848f3ca Merge pull request #225 from metalefty/chansrv-explicit-include
10 years ago
Jay Sorg 9e310fbe06 clipboard file paste, don't add new line to last line
10 years ago
Koichiro IWAO 647c72b75b chansrv: explicit include in chansrv_fuse.c
10 years ago
jsorg71 4f60b58b17 Merge pull request #212 from robertalks/devel
10 years ago
Koichiro IWAO ac9ff52c1b sesman: void function should not return a value
10 years ago
mancha d432609c2a
sesman: fix so shadow accounts aren't incorrectly classified "inactive"
10 years ago
Jay Sorg 4dd78c1b8e minor change in opus encoding
10 years ago
Robert Milasan f59c925f8b fix possible segfault in chansrv if DISPLAY is not set
10 years ago
Jay Sorg 9c5c0660b2 chansrv: reset opus support on init
10 years ago
Jay Sorg 2f5b84b712 chansrv: added opus audio compression for playback
10 years ago
Jay Sorg bff2009147 chansrv: change to 44100 recording, disconnect / reconnect fixes
10 years ago
Jay Sorg 47de7a67f6 sesman: verify_user_bsd.c license change and indent
10 years ago
Thomas Goddard 22f1ff2f25 Merge pull request #188 from renaudallard/devel
10 years ago
Jay Sorg cb4f299899 sesman: fix for --enable-nopam
10 years ago
Renaud Allard 803af49a04 Some fixes to compile properly since this version has change a lot from 0.6.1
10 years ago
Renaud Allard 618ca587a5 Enable authenticate user using BSD password system
10 years ago
speidy c159505980 chansrv: fix for segfault issue in chansrv_common
10 years ago
Jay Sorg 942cdf300e sesman: avoid creation of .vnc directory if not vnc session
10 years ago
Jay Sorg 253f6ff555 sesman: only check vnc auth file if vnc session
10 years ago
Jay Sorg f41a11d2c4 chansrv: some recording fixes
10 years ago
Jay Sorg 290bafe173 pulse: fix for recording delay
10 years ago
Jay Sorg 851c762ee7 sesman: check for null from crypt()
10 years ago
Jay Sorg 29ebab2ce5 sesman: hand merge #176 from v0.6 branch, indent changes
10 years ago
Laxmikant Rashinkar a3e017cd58 restart listener when corresponding sound source/sink connections are closed
10 years ago
Laxmikant Rashinkar 122d8bc057 sound redirection: handle fragmented packets
10 years ago
Laxmikant Rashinkar c0839cd6a5 when closing audio source, don't flush audio data if audio buffer is empty
10 years ago
BLINDAUER Emmanuel b6eb6d9696 If auth fails, call pam_end so PAM backends can call _cleanup
10 years ago
Jay Sorg d17c4a78fb chansrv: check for nil
10 years ago
Jay Sorg 9597e90b31 chansrv: allow multiple xrdpapi connections
10 years ago
Jay Sorg 748b48d870 sesman: more checks when looking for a free display
10 years ago
Jay Sorg 8397055e8b move some hard code paths to defines in header
10 years ago
Jay Sorg e4d054654f pulse sink: check for partial sends
10 years ago
Jay Sorg 2e17b70fcd chansrv: sound_send_wave_data changes
10 years ago
Laxmikant Rashinkar 2363bf8af3 coverity: fixed miscellaneous issues
10 years ago
Laxmikant Rashinkar 162becfe55 coverity: fixed unsigned compare against 0
10 years ago
Laxmikant Rashinkar e4654b57ca coverity: Resource leak (2nd round)
10 years ago
Laxmikant Rashinkar a9d7c13147 coverity: read from pointer after free
10 years ago
Laxmikant Rashinkar 5e537ebdfe coverity: explicit null dereferenced
10 years ago
Laxmikant Rashinkar 0311a82c0a coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar 1c423dadf4 coverity: copy into fixed sized buffer
10 years ago
Laxmikant Rashinkar 0915d33d70 coverity: dead code
10 years ago
Laxmikant Rashinkar 27055d5762 coverity: improper use of negative value
10 years ago
Laxmikant Rashinkar fde7be5151 coverity: fixed issue argument cannot be negative
10 years ago
Laxmikant Rashinkar 0c63a8feb3 coverity: Dereference after null check
10 years ago
Laxmikant Rashinkar a990287c46 coverity: fixed unchecked return value from library
10 years ago
Laxmikant Rashinkar 023c0b5bc1 coverity: fixed out of bounds read-write
10 years ago
Laxmikant Rashinkar 73578bc612 coverity: fixed unchecked return value
10 years ago
Laxmikant Rashinkar 3bb31876e7 coverity: fixed resolution leak issues
10 years ago
Jay Sorg 6d3af904d3 sesman: sound.c: no logic change, remove tabs and warning
11 years ago
speidy cbc8317c6d chansrv: sound: prevent an infinite loop when the connection with pulse audio is closed improperly
11 years ago
Jay Sorg c8e61a8042 chansrv: more remove simple sound
11 years ago
Jay Sorg 17bbecabd3 chansrv: remove simple sound and load pulse modules
11 years ago
Jay Sorg 944be3afa3 chansrv: some rail fixes from A8
11 years ago
Jay Sorg d1ca03c9fb pcsc, add hexdump for debugging
11 years ago
Jay Sorg d5ea23ed48 pcsc smartcard fixes form 64 bit from Ken
11 years ago
Jay Sorg 380c1f6b7d sesman: change from using PULSE_CONFIG to PULSE_SCRIPT
11 years ago
Jay Sorg 49fcc23673 sesman: added SessionVariables to sesman.ini and some indent cleanup
11 years ago
Idan Freiberg 42de994741 Merge pull request #122 from speidy/devel
11 years ago
speidy eda3a2db65 chansrv: sound: zero out ack flags when sound_send_close called, to
11 years ago
speidy d7b49762fa pulseaudio: let module-xrdp-source compile on CentOS6 (PA 0.9.21)
11 years ago
speidy e17d2375ea Merge branch 'master' of https://github.com/neutrinolabs/xrdp into devel
11 years ago
Jay Sorg e65c237503 pulse: fix for build with pulseaudio 4.0+
11 years ago
Jay Sorg 1934c9ea00 sesman: more options for session lookup from Fredy Paquet
11 years ago
Jay Sorg 03a5914609 chansrv: make fuse mount directory configurable
11 years ago
jsorg71 4f4a7a8c8c Merge pull request #102 from bartw72/lock-on-add
11 years ago
speidy 5f7a4b46fb sesman: indentation fix
11 years ago
speidy 8566230442 sesman: do reconnect to an exisitng Xorg session
11 years ago
Jay Sorg 261d35eaac misc fixes for Xorg and compile
11 years ago
Jay Sorg c34ba69ad8 sesman: add -nolisten tcp to the ini file for Xorg
11 years ago
Laxmikant Rashinkar 6e85223a8a xorg driver module: we now access xorg driver module from /usr/lib/xorg
11 years ago
Laxmikant Rashinkar ac6717e32e fixed some connection issues when using xorg driver mode
11 years ago
Laxmikant Rashinkar 883650700f added support for using Xorg driver model
11 years ago