User contributions for Eric

A user with 116 edits. Account created on 4 April 2022.
Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

5 April 2022

  • 09:2609:26, 5 April 2022 diff hist +509 N MySQL BackupCreated page with " #!/bin/bash USERNAME="root" PW="pass" BACKUPDIR=/crew/data/backup DBDIR=/crew/data/backup/DB MYSQLDIR=/var/lib/mysql rm $DBDIR/*.sql `mv $BACKUPDIR/sql.tar.gz $BACKUPDIR/sql.tar.gz.1` `mv $BACKUPDIR/sql.md5 $BACKUPDIR/sql.md5.1` for DB in $MYSQLDIR/*; do DB=`basename $DB` mysqldump -c -e -a -B $DB -u $USERNAME -p$PW > $DBDIR/$DB.sql echo "$DB is dumped..." done tar -zvcf $BACKUPDIR/sql.tar.gz $DBDIR 1> /dev/null rm $DBDIR/*.sql `/usr/bin/md5sum $BACKUPDI..." current
  • 09:2609:26, 5 April 2022 diff hist +956 N Reboot na kernel panicCreated page with "Het is een kleine moeite om in te stellen maar kan soms uren downtime voorkomen. Om de pc in kwestie automatisch te laten rebooten na een kernel panic moet je deze waarde instellen in /proc/sys/kernel/panic. Om de huidige waarde te bekijken typ je: cat /proc/sys/kernel/panic (0 betekend niet rebooten) Om deze waarde te veranderen typ je: echo 10 > /proc/sys/kernel/panic waar 10 het aantal seconden is dat de machine wacht voor hij gaat rebooten Omdat je dit commando na..." current
  • 09:2609:26, 5 April 2022 diff hist +2,178 N PuttyCreated page with "=Putty: inloggen= Nodig: - puttygen - pageant - putty In dit artikel gaan we proberen met putty op een veilige manier in te loggen op een linux machine, zonder gebruik te maken van een wachtwoord bij het inloggen op de SSH server. Dit inloggen zal plaatsvinden met behulp van public en private keys. Het idee achter deze login methode is dat de server een public key heeft en u zelf de bijbehorende private key. Op deze manier controleerd de server of hij u kan herken..." current
  • 09:2509:25, 5 April 2022 diff hist +1,987 N VPN over SSHCreated page with "=Software nodig= - pppd, gebruikt in deze opstelling was ppp-2.4.4b1-i486-1 - OpenSSH - pty-redir (http://www.study-area.org/linux/src/pty-redir-0.1.tgz) =Netwerk info= == Subnet A == IP Range: 192.168.1.0/24 Router IP: 192.168.1.1 == Subnet B == IP Range: 192.168.3.0/24 Router IP: 192.168.3.1 == VPN Link == IP Range: 192.168.2.0/24 Side A: 192.168.2.1 Side B: 192.168.2.2 de pppd link heb ik voor het gemak even in een andere range gezet om verwarri..." current
  • 09:2509:25, 5 April 2022 diff hist +7,184 N SSH TunnelsCreated page with "=HOWTO: Sending Email from a Laptop= I own two laptops and one desktop computer, all of which run Linux. Most modern Linux distributions come with postfix and/or sendmail that allows them to send email. Unfortunately, in an attempt to reduce spam, many sysadmins have configured their mail servers not to accept email sent this way. On a desktop machine you can simply configure your mail client software to use your institute's or your Internet service provider's mail rel..." current
  • 09:2509:25, 5 April 2022 diff hist +91 N SSHCreated page with "- SSH Tunnels - VPN over SSH - Bruteforce SSH - Putty {{:Category:SSH}}" current
  • 09:2509:25, 5 April 2022 diff hist +121 N Mail RelatedCreated page with "- Backup MX - Courier SSL certificaten - Cyrus SASL - Installatie Maildrop Category:Mail Related" current
  • 09:2409:24, 5 April 2022 diff hist +328 N Linux firewall voor IIS2k3 Passive FTP achter natCreated page with "Wanneer je IIS achter een firewall zet gooit hij misleidende berichten naar buiten. Zo wordt altijd het interne IP weergegeven PORT 192.168.0.8,23,443 Dit is op te lossen met 2 modules: modprobe ip_conntrack_ftp ports=21,5500,5700 modprobe ip_nat_ftp ports=21,5500,5700 5500-5700 is in dit voorbeeld de passive port range" current
  • 09:2309:23, 5 April 2022 diff hist +797 N RPI: Headless BTCreated page with "Prepare bluetooth service sudo joe /lib/systemd/system/bluetooth.service ExecStart=/usr/lib/bluetooth/bluetoothd -C ExecStartPost=/usr/bin/sdptool add SP ExecStartPost=/bin/hciconfig hci0 piscan Reboot PI Prepare new rfcomm service sudo joe /etc/systemd/system/rfcomm.service [Unit] Description=RFCOMM service After=bluetooth.service Requires=bluetooth.service [Service] ExecStart=/usr/bin/rfcomm watch hci0 1 getty rfcomm0 115200 vt100 -a pi [Instal..." current
  • 09:2309:23, 5 April 2022 diff hist +419 N RPI: Headless USBCreated page with "Only works on Raspberry Pi Zero, Zero W and 4b!!! Edit /boot/config.txt in [all] section: dtoverlay=dwc2 cmdline.txt, after rootwait (take care the line does not break up!!) modules-load=dwc2,g_ether g_ether.host_addr=dc:a6:32:xx:xx:xx g_ether.dev_addr=dc:a6:32:xx:xx:yy g_ether.dev_addr is the Pi Zero interface. g_ether.host_addr is the host PC interface. Reboot! Category:RaspberryPiCategory:Linux" current
  • 09:2209:22, 5 April 2022 diff hist +99 N Category:RaspberryPiCreated page with "Projects on my rpi's: * Raspberry Pi Zero W * Raspberry Pi 1B+ * Raspberry Pi 3B+ * Raspberry Pi 4B" current
  • 09:2209:22, 5 April 2022 diff hist +3,609 N OpenVPNCreated page with "=Installatie in Ubuntu= Bron: [https://help.ubuntu.com/community/OpenVPN] De installatie van OpenVPN kan eenvoudig via de apt-get repository apt-get install openvpn =Opbouwen CA= OpenVPN is gebaseerd op een CA systeem. Dit kan je handmatig opbouwen maar hier gebruiken we een set scripts welke bij OpenVPN worden geleverd: mkdir /etc/openvpn/easy-rsa/ cp -R /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/ In de vars file kan je de informatie ove..." current
  • 09:2109:21, 5 April 2022 diff hist +171 N Linux Tips and TricksCreated page with "Repeat last command: !! Sudo last command: sudo !! Correct previous statement (in editor) fc Prevent cmd from entering in history: [space]cmd Category:Linux" current
  • 09:2009:20, 5 April 2022 diff hist +2,262 N Installatie SABnzbdCreated page with "Gelieve deze howto niet over te nemen op andere sites zonder toestemming =Installatie SABnzbd= Deze howto beschrijft de installatie van SABnzbd vanaf source. In deze howto worden alle benodigde programma's vanaf source gecompiled en geinstalleerd in /usr/local/sabnzbd. ==Installatie Python== Download Python vanaf http://www.python.org/download/ wget http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz Pak Python uit tar -xzvf Python-2.4.2.tgz cd Python-2.4.2 Confi..." current
  • 09:2009:20, 5 April 2022 diff hist +2,787 N Installatie Postfix SASLCreated page with "= SASL = Download sasl van ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ uitpakken: tar -zvxf cyrus-sasl-2.1.21.tar.gz cd cyrus-sasl-2.1.21 Compilen: ./configure make make install Intressant leesvoer: CYRUS SASL Before installing CYRUS, you should know that mysql libraries are assumed to be stored in /usr/local/mysql/lib/mysql and header files are in /usr/local/mysql/include/mysql directories. If you are using Redhat, your mileage may differ a little bit. You..." current
  • 09:1909:19, 5 April 2022 diff hist +2,693 N Installatie Courier-IMAP3Created page with "---- PAS OP: Versie 3.0.8 is sterk verouderd! deze guide moet nog aangepast worden voor de huidige versie welke ook authlib nodig heeft! ---- Vervolg op Installatie Postfix Nu postfix klaar is gaan we verder met courier-imap Download de laatste versie van Courier-IMAP van: http://www.courier-mta.org/?download.php om courier te configuren moeten we eerst inloggen als een gewone user! normaluser@blaataap:~/courier-imap-3.0.8$ ./configure make make check n..." current
  • 09:1809:18, 5 April 2022 diff hist +48,376 N Installatie AmavisdCreated page with "=postfix config= voeg toe: content_filter=smtp-amavis:[127.0.0.1]:10024 =Amavisd Config= Download laatste versie: http://www.ijs.si/software/amavisd/#download De standaard voorbeeld config is redelijk duidelijk. mijn config: ---- use strict; # Sample configuration file for amavisd-new (traditional style, chatty, # you may prefer to start with the more concise supplied amavisd.conf) # # See amavisd.conf-default for a list of all variables with their defaul..." current
  • 09:1809:18, 5 April 2022 diff hist +1,195 N Bruteforce SSHCreated page with "Onderstaand script beperkt het aantal nieuwe ssh connecties per host tot 1 per 15 sec Iedere keer dat hij een host blokkeerd moet hij opnieuw 15 sec wachten # Change the value of external_if to the name of your Internet-facing interface! external_if=eth1 /sbin/iptables --new-chain sshthrottle /sbin/iptables --append sshthrottle \ --match recent --update --seconds 15 --name sshthrottlelog \ --jump DROP /sbin/iptables --append sshthrottle \..." current
  • 09:1709:17, 5 April 2022 diff hist +2,215 N Installatie Courier-AuthLibCreated page with "Deze pagina beschrijft de installatie van Courier-AuthLib, de bibliotheek welke voor de authorisatie zorgt van gebruikers van bijvoorbeeld Courier-IMAP De source kan worden gedownload op http://www.courier-mta.org/?download.php Vervolgens gaan we het zaakje uitpakken tar -jvxf courier-authlib-0.57.tar.bz2 cd courier-authlib-0.57 Courier producten (vooral Courier-IMAP) vinden het niet altijd prettig om als root geinstalleerd te worden dus ik raad je aan in te loggen..." current
  • 09:1609:16, 5 April 2022 diff hist +3,485 N Installatie MaildropCreated page with "De installatie van maildrop is een eitje als je reeds courier-authlib en courier imap geinstalleerd hebt. Indien dit nog niet het geval is: - Installatie Courier-IMAP - Installatie Courier-AuthLib =Installatie= Op http://www.courier-mta.org/?download.php of [http://sourceforge.net/project/showfiles.php?group_id=5404&package_id=7979 Hier] staan alle benodigde downloads van courier waaronder Courier-IMAP, Courier-AuthLib en Courier-Maildrop. Als je klaar bent m..." current
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)