=== zerick_ is now known as zerick [08:33] Good morning. [08:33] * CiPi wtf, i was disconnected [08:35] CiPi, Are you pasting some huge wall of text to some channel? [08:37] Nehhh [08:37] I did /list [08:37] Got excess flood? [08:38] Maybe don't do /list then [08:38] :P [08:56] Hehe, from the irssi help page: Trying to list all the channel names usually causes you to be disconnected from the server with the reason "Excess flood", as usually all 40000 channels form together and server naively attempts to send you them. [10:14] * CiPi https://www.youtube.com/watch?v=lUF6klWuB38 === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [18:45] Does anybody know how can I print specific emails from command line? (and also check for new emails all the time?) basically I have a gmail account and I want to be able to print automatically all receiving emails with specific subject. [19:25] Does anybody know how can I print specific emails from command line? (and also check for new emails all the time?) basically I have a gmail account and I want to be able to print automatically all receiving emails with specific subject. [19:27] You could setup a satellite SMTP server, receive your email, and use procmail. [22:40] Hi all newbie here. So I have vsftpd set up on my server to allow SFTP login which is working great. I also wanted to enable FTPS for other reasons (optional for my purposes though.) [22:41] Anyway, while trying to connect via FTPS I get an error: GnuTLS error -15: An unexpected TLS packet was received. [22:42] I only found one solution which was to revert back to an old version of vsftpd and I think that's not acceptable [22:43] Apparently it was documented as a bug in File Zilla which is the client I'm using but the page for the bug is here https://trac.filezilla-project.org/ticket/8313 which is way out dated. [22:43] Does anybody have any experience with this problem? It seemed to be pretty well known. I just couldn't find the solution. [22:44] Apparently they rejected the bug claiming it was a server problem. [22:46] are you using nat in there anywhere? [22:46] Okay this is the latest bug report on it https://trac.filezilla-project.org/ticket/10207 [22:46] ftps does NOT work with nat, won't ever, and is impossible [22:47] no I don't think so [22:47] no private ips on either side? only public? [22:47] without any firewalls [22:47] guess firewall would be ok if running in pasv mode [22:47] Forgive me I am very ignorant when it comes to networking but [22:47] the server is behind a router [22:47] what is the ip addresses on both machines? [22:48] the server's ufw is set to enable ftps and sftp [22:48] how can it enable ftps? [22:48] ftps uses all kinds of random ports [22:48] unless you configure those ports in your ftps server and in the firewall manually [22:48] Well I did sudo ufw allow ftps, sudo ufw allow sftp [22:48] and it accepted the rules.. [22:48] yes, it will accept the primary port [22:48] but not the data ports [22:48] ah [22:49] but that only is needed when doing a file transfer to directory listing [22:49] or [22:49] basically, ftps is impossible [22:49] due to the limitations of it living in the 70/80's [22:49] Well the ubuntu server documentation only mentioned that in order to enable ftps simply add one line in the my ftps daemon config file enabling SSL [22:49] and said nothing more at all about it lol [22:49] ok [22:49] yes, if you are running in active mode [22:50] but active mode won't work with any client side firewalls [22:50] or nat's [22:50] oh ok [22:50] so ftps is unusable to use basically outside a local network [22:50] Gotcha. I did not know that [22:50] well, your firewall has to do a lot of stuff to *fix* ftp [22:50] That would probably be the problem. [22:50] ftps blocks that cause it's encrypted [22:50] no fix, no work, unless you do it all manually [22:51] Okay. that makes sense because I am currently at work on a laptop on a secured wireless network. [22:51] and manually is normally way over peoples head [22:52] So to allow external secured FTP for users I should just allow a user to SFTP and maybe disable shell access? [22:52] yes [22:52] well [22:52] depends [22:52] the best way is normally use a ftp server that does sftp, put it on port 22 [22:52] then move ssh to a different port [22:52] you could go with real users, with only sftp access, and chroot them [22:53] Okay well I do my SSH on a different port anyway [22:53] but I really don't like openssh's way to do that, it's rather annoying [22:53] heh [22:53] or do what I did [22:53] and completely wrap the hell around sftp with apparmor [22:54] ah [22:54] would still be a good idea for whatever ftp server you use [22:54] but can be alittle annoying to get it nice and tight [22:54] So that basically controls what files users have access to right? [22:54] I wonder if any of the ftp server support apparmour profile changes [22:55] more than that [22:55] it controls everything, files, directorys, read, write, execute, socket, ... [22:55] Cool [22:55] so just incase they *break* out of the sftp program, they can't really go anywhere [22:55] or if chroot is broken, can't see anything [22:55] Gotcha [22:56] Well that definitely answers my question, thanks man. [23:54] hey all - how can I connect to my file server connected to router [23:55] tried mounting direct over smb but it fails out each time