/config.default.h (9c5f66db8962e15d99644ac8f42fc207e27d3178) (2570 bytes) (mode 100644) (type blob)

#ifndef CONFIG_H
#define CONFIG_H
/*
 * this code is protected by the GNU affero GPLv3 license
 * author:Sylvain BERTRAND
 */
/*
 * The originating email address:
 * CONFIG_SMTP_MAIL_FROM@CONFIG_SMT_EHLO_DN_AL
 */
/* #define CONFIG_SMTP_MAIL_FROM "sylvain.bertrand"
   #define CONFIG_SMTP_EHLO_DN_AL "[x.x.x.x]"
   #define CONFIG_SMTP_EHLO_DN_AL "[IPV6:....]" */
/*----------------------------------------------------------------------------*/
/*
 * define the following macro if you want to handle smtp transparency
 * manually, namely you will to escape yourself "<CRLF>.<CRLF>"
 */ 
/* #define CONFIG_DISABLE_SMTP_TRANSPARENCY 1 */
/*----------------------------------------------------------------------------*/
/* KEEP AN EYE ON ABBREVIATIONS */
/* legacy: will query ipv4 DNS servers */
#define CONFIG_DNS_IPV4 1	
/* legacy: will query DNS for smtp IPv4 servers and use them before IPv6 ones */
#define CONFIG_SMTP_IPV4 1
/*----------------------------------------------------------------------------*/
/* the amount of address space which will be booked in our process */
#define CONFIG_EMAIL_ADDRESS_SPACE (100 * 1000 * 1000)
/*----------------------------------------------------------------------------*/
/*
 * sending the same email to 32 ips/domain names is already insane for the
 * target scale of this tool
 */
#define CONFIG_DN_AL_N_MAX 32 
/*----------------------------------------------------------------------------*/
#define CONFIG_DN_SMTP_IPS_N_MAX 32 /* max 32 smtp server IPs per domain name */
/* kind of worst case, all above ips are each from an unique mx */
#define CONFIG_MXS_N_MAX CONFIG_DN_SMTP_IPS_N_MAX
/*----------------------------------------------------------------------------*/
/* where is the resolv.conf file for nameservers */
#define CONFIG_RESOLV_CONF_PATH "/etc/resolv.conf"
/*----------------------------------------------------------------------------*/
/* a "good enough" generic buffer size (2 pages) */
#define CONFIG_BUFSIZ 8192
/*----------------------------------------------------------------------------*/
#define CONFIG_DNS_NSS_N_MAX 3				/* max name servers */
#define CONFIG_DNS_NS_RESP_WAIT_TIME_SEC	4	/* second  */
#define CONFIG_DNS_NS_RESP_WAIT_TIME_NSEC	0	/* nanosecond */
/*----------------------------------------------------------------------------*/
#define CONFIG_DNS_LABEL_PTR_DEPTH_MAX 128
/*----------------------------------------------------------------------------*/
#define CONFIG_SMTP_REPLY_LINES_N_MAX 16
/*----------------------------------------------------------------------------*/
#endif


Mode Type Size Ref File
100644 blob 853 cfee40c9af4999813fcbb3a32e07de953696d003 ABBREVIATIONS
100644 blob 3802 1058e91164c6384b9d271e249ee74a7df9952884 README
100644 blob 967 eb0eb02192cae4ec269d7836bcccf789dd3baa09 RULES_GLOBAL_NAMESPACE
100644 blob 226 47e8cbfba1358960f381e80943afaa64d6083673 RULES_POINTER
100644 blob 141 a7eef9c825adfb6cb392c5f61048ae1a9961144f TODO
100644 blob 186 e08b0072d50fa683daf4b72ffcca9afe28f33928 all.S
100644 blob 907 68a9ab080cac0188391966e29be979548a77b537 all.c
100644 blob 2570 9c5f66db8962e15d99644ac8f42fc207e27d3178 config.default.h
100644 blob 448 b3b72c25ea89e0f17ab77ead13e89b915186ec95 dns.h
040000 tree - 60975c8ad01566be3264e1648a304087dae2e6e4 dns
100755 blob 1246 6ebc4041142bda951a9a02320d45deb7ee43f39b make_gcc_aarch64
100755 blob 1245 303ed53e1ef0a6f89a5d13c2eb21c271e0b6dcd0 make_gcc_x86_64
040000 tree - fcae74b207287320abbbd373133626ae7ee67ed0 namespace
100644 blob 434 6b73d3e06f341d75c9f17c00b0720b85498ef628 perr.h
100644 blob 450 88813b86df39c72cc32605e178edfdd544297e42 smtp.h
040000 tree - eca08c8db66629459c72e1223d89a03895dc8bab smtp
100644 blob 13459 1169541482e1d1c3e5a2e61c0dcb338d2d3c5689 syncsm.c
100644 blob 1948 678eed4da259f00ba708f070aeddb69229322df6 syncsm.h
100644 blob 880 82aad126f033e8ecb5c919dbd27996b094bbfbe8 ulinux.h
040000 tree - 503817b57582aa9b3b6a5482104fe81605a6a035 ulinux
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/syncsm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/syncsm

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/syncsm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main