OpenWrt Forum Archive

Topic: abort signal is being received as when pkt is received.

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I am using ARM cross compiled dnscrypt-proxy-1.9.5 in my openwrt along with dnsmasq. I am getting SIGABRT as and when dns query packet is received. What could be the reason for this please let me know. I got dnscrypt-proxy specific logs as below:

/etc/init.d/dnscrypt-proxy start
Tue Apr 17 13:27:01 2018 [INFO] - [cisco] does not support DNS Security Extensions
Tue Apr 17 13:27:01 2018 [WARNING] - [cisco] logs your activity - a different provider might be better a choice if privacy is a concern
Tue Apr 17 13:27:01 2018 [INFO] Generating a new session key pair
Tue Apr 17 13:27:01 2018 [INFO] Done
Tue Apr 17 13:27:01 2018 [INFO] Server certificate with serial #1517943461 received
Tue Apr 17 13:27:01 2018 [INFO] This certificate is valid
Tue Apr 17 13:27:01 2018 [INFO] Chosen certificate #1517943461 is valid from [2018-02-06] to [2019-02-06]
Tue Apr 17 13:27:01 2018 [INFO] The key rotation period for this server may exceed the recommended value. This is bad for forward secrecy.
Tue Apr 17 13:27:01 2018 [INFO] Server key fingerprint is 240B:11B7:AD02:FAC0:6285:1E88:6EAA:44E7:AE5B:AD2F:921F:9577:514D:E226:D552:6836
Tue Apr 17 13:27:01 2018 [NOTICE] Proxying from 127.0.0.1:40 to 208.67.220.220:443



Thanks

The output of strace -p is as follows:
root@routerB50211:/usr/sbin# strace -p 32417
Process 32417 attached
gettimeofday({1523951849, 968771}, NULL) = 0
epoll_wait(4,
{{EPOLLIN, {u32=8, u64=8}}}, 32, 2100000) = 1
gettimeofday({1523951909, 412525}, NULL) = 0
recvfrom(8, "\277N\1\0\0\1\0\0\0\0\0\0\7outlook\toffice365\3c"..., 65508, 0, {sa_family=AF_INET, sin_port=htons(35944), sin_addr=inet_addr("127.0.0.1")}, [16]) = 39
brk(0x1a73000) = 0x1a73000
brk(0x1a63000) = 0x1a63000
gettimeofday({1523951909, 436045}, NULL) = 0
write(7, "Tue Apr 17 13:28:29 2018\t127.0.0"..., 59) = 59
gettimeofday({1523951909, 444086}, NULL) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(32417, 32417, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=32417, si_uid=0} ---
write(2, "\nSignal [6] received.\n\n", 23) = 23
futex(0x76e6c630, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(2, "======== Stack trace ========\n", 30) = 30
kill(32417, SIGABRT) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_USER, si_pid=32417, si_uid=0} ---
+++ killed by SIGABRT (core dumped) +++

I am using Chaos Calmer openwrt release. What is wright version of dnscrypt-proxy to be integrated to this release?

The discussion might have continued from here.